cumulocity-dynamic-mapper: Command for Claude Code

.claude/commands/doc-qa.md

doc-qa is a command for Claude Code from Cumulocity-IoT/cumulocity-dynamic-mapper. It costs 0 tokens per session (1,546 once invoked), scanned A, original, Apache-2.0.

A documentation audit command for finding broken image references, stale links, and content-quality problems in project Markdown files. It also checks image files and the application build configuration where relevant.

In plain words
What is it for?
Use it to inspect project and docs Markdown files, report each problem, and suggest a concrete fix.
Why use it?
It identifies documentation issues that can leave readers with missing images, dead links, or misleading instructions.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is Cumulocity-IoT/cumulocity-dynamic-mapper's own configuration. It tells Claude Code how to work on cumulocity-dynamic-mapper itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cumulocity-dynamic-mapper configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Cumulocity-IoT/cumulocity-dynamic-mapper. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Cumulocity-IoT/cumulocity-dynamic-mapper/main/.claude/commands/doc-qa.md
Clone the repo
git clone --depth 1 https://github.com/Cumulocity-IoT/cumulocity-dynamic-mapper

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for doc-qa

README.md
[![agentmods](https://agentmods.dev/badge/commands/cumulocity-iot/cumulocity-dynamic-mapper/doc-qa/github.svg)](https://agentmods.dev/commands/cumulocity-iot/cumulocity-dynamic-mapper/doc-qa)
Your own site
<a href="https://agentmods.dev/commands/cumulocity-iot/cumulocity-dynamic-mapper/doc-qa"><img src="https://agentmods.dev/badge/commands/cumulocity-iot/cumulocity-dynamic-mapper/doc-qa/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for doc-qa

Your own site · 80×15
<a href="https://agentmods.dev/commands/cumulocity-iot/cumulocity-dynamic-mapper/doc-qa"><img src="https://agentmods.dev/badge/commands/cumulocity-iot/cumulocity-dynamic-mapper/doc-qa.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,546 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01546
Opus 5.5 $0.00000 $0.00618
Sonnet 5.5 $0.00000 $0.00309
Haiku 4.5 $0.00000 $0.00155

Measured 1mo ago against content hash 0bf5fa477030, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

doc-qa scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/doc-qa.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Quality Assurance

Audit all project documentation for broken image references, stale cross-links, and content quality issues. Report every problem with a concrete fix.

Scope

Markdown files to audit (search recursively from repo root, skip node_modules, .git, target):

  • docs/**/*.md
  • *.md at repo root (README.md, CHANGES.md, FAQ.md, CLAUDE.md, AGENTS.md, CONTRIBUTING.md)
  • dynamic-mapper-ui/public/docs/*.md — in-app documentation, fetched and rendered live by the deployed plugin

Image registries:

  • Filesystem: resources/image/ — source-of-truth for image files
  • Build config: dynamic-mapper-ui/cumulocity.config.ts buildTime.copy array — images bundled into the Angular app

Config requirement rule: Images referenced from these sources need to be in cumulocity.config.ts:

  1. dynamic-mapper-ui/src/introduction/**/*.html — Angular in-app documentation components
  2. dynamic-mapper-ui/README.md — the README bundled with the UI plugin
  3. dynamic-mapper-ui/public/docs/*.md — see note below

Images referenced only in other docs (docs/**/*.md, root README.md/CHANGES.md/FAQ.md, etc.) are served from GitHub and do NOT need a config entry.

public/docs/*.md image syntax is deliberately GitHub-shaped, but still config-required. These files write image references as a repo-relative path — ![...](../../../resources/image/<name>.png) — identical in shape to a docs/**/*.md reference, so that the raw .md file also renders correctly when browsed directly on GitHub. DocMarkdownService.resolveImageHref() (dynamic-mapper-ui/src/introduction/doc-markdown.service.ts) rewrites that prefix to the bundled asset path (/apps/<contextPath>/image/<name>.png, resolved against document.baseURI) at render time in the deployed app — so despite the relative-looking source syntax, these images are still app-facing and do need the cumulocity.config.ts entry (rule 1a below). Don't misclassify them as 1b just because the path looks like a docs/**/*.md reference.

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +14 lines 0bf5fa477030
  2. 2mo ago First seen · 114 lines · 0 tokens per session scan A 439709667c36

Subscribe to this mod's changes

doc-qa is a command published in the GitHub repository Cumulocity-IoT/cumulocity-dynamic-mapper (19 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,546 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.