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,282 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/.

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,282 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.01282
Opus 5 $0.00000 $0.00641
Sonnet 5 $0.00000 $0.00256
Haiku 4.5 $0.00000 $0.00128

Measured 9d ago against content hash 439709667c36, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 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, ARCHITECTURE.md, EXTENSIONS.md, CHANGELOG.md, etc.)

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: Only images referenced from these two 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

Images referenced only in other docs (USERGUIDE.md, ARCHITECTURE.md, EXTENSIONS.md, docs/**/*.md, etc.) are served from GitHub/external and do NOT need a config entry.


Step 1 — Collect all image references

1a. App-facing references (must be in config) Scan dynamic-mapper-ui/src/introduction/**/*.html and dynamic-mapper-ui/README.md. Extract every <img src="..."> and ![alt](...). For each: record source file, line number, image filename (basename only).

1b. Other doc references (config not required) Scan all other markdown files in scope (including USERGUIDE.md, ARCHITECTURE.md, EXTENSIONS.md, docs/**/*.md). Extract image references the same way — these are tracked for file-existence only, not config registration.

Step 2 — Collect all known images

A. List every file in resources/image/ (all extensions: .png, .jpg, .gif, .svg).

B. Parse dynamic-mapper-ui/cumulocity.config.ts and extract every filename from the buildTime.copy array from paths (strip the ../resources/image/ prefix to get bare filenames).

Step 3 — Run the image audit

A. Referenced in app sources but file missing from resources/image/ For each image from Step 1a: check if the file exists in resources/image/. List: source file + line, image name. Fix = "add the PNG to resources/image/".

Read the full file on GitHub · 114 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. 9d 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,282 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.