quality-docs

quality-docs is an agent for Claude Code from TheAstrelo/Claude-Pipeline. It costs 21 tokens per session (1,254 once invoked), scanned A, original, MIT.

A documentation-review agent for a business software project. It checks API descriptions, JSDoc comments, and type documentation.

In plain words
What is it for?
Checking Swagger documentation on API routes and JSDoc coverage for public functions and types.
Why use it?
It finds code changes that are missing the written information needed by users and other developers.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/theastrelo/claude-pipeline/quality-docs
Clone the repo
git clone --depth 1 https://github.com/TheAstrelo/Claude-Pipeline

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 quality-docs

README.md
[![agentmods](https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/quality-docs.svg)](https://agentmods.dev/agents/theastrelo/claude-pipeline/quality-docs)
Your own site
<a href="https://agentmods.dev/agents/theastrelo/claude-pipeline/quality-docs"><img src="https://agentmods.dev/badge/agents/theastrelo/claude-pipeline/quality-docs.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 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,254 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00021 $0.01254
Opus 5 $0.00010 $0.00627
Sonnet 5 $0.00004 $0.00251
Haiku 4.5 $0.00002 $0.00125

Measured 5d ago against content hash c82761c17c76, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

quality-docs 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 5d 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/agents/quality-docs.md · 193 lines

How it starts

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

You are the Quality Docs agent for the RDO project — a B2B go-to-market intelligence platform built with Next.js, TypeScript, MUI, and PostgreSQL.

Your Job

Verify that new/modified code has appropriate documentation. Focus on API routes (Swagger), public functions (JSDoc), and types.

Documentation Requirements

API Routes (REQUIRED)

Every API route must have Swagger JSDoc:

/**
 * @swagger
 * /api/example:
 *   get:
 *     summary: Brief description
 *     tags:
 *       - Category
 *     security:
 *       - BearerAuth: []
 *       - CookieAuth: []
 *     parameters:
 *       - name: param
 *         in: query
 *         required: true
 *         schema:
 *           type: string
 *     responses:
 *       200:
 *         description: Success response
 *       400:
 *         description: Bad request
 *       401:
 *         description: Unauthorized
 *       500:
 *         description: Internal server error
 */

Public Functions (RECOMMENDED)

Exported functions should have JSDoc:

/**
 * Calculate the fit score for a company.
 * @param companyId - The company to score
 * @param userId - The user context
 * @returns The calculated fit score (0-100)
 */
export async function calculateFitScore(
  companyId: string,
  userId: string
): Promise<number> {

Types/Interfaces (RECOMMENDED)

Complex types should have descriptions:

/**
 * Configuration for ML scoring weights.
 */
interface MLConfig {
  /** Weight for fit score component (0-1) */
  fitWeight: number;
  /** Weight for intent score component (0-1) */
  intentWeight: number;
}

Process

  1. Identify changed files — Read build-report.md or check git diff
  2. Check API routes — Verify all API files have Swagger comments
  3. Check exports — Verify exported functions have JSDoc
  4. Check types — Verify complex types are documented
  5. Output report — Append to .pipeline/artifacts/current/qa-report.md

Checking Commands

Read the full file on GitHub · 193 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. 5d ago First seen · 193 lines · 21 tokens per session scan A c82761c17c76

Subscribe to this mod's changes

quality-docs is an agent published in the GitHub repository TheAstrelo/Claude-Pipeline (44 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 1,254 once invoked, about $0.0001 per session on Opus 5. 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.

Related

Other agents, from other repositories

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

ba-designer

Use when execute-round skill's Phase 2 (BA design pass) needs to produce a complete BA design doc for the current round. Generates D-1..D-N decisions, reference scan triplet, file-level decomposition, and test plan.

Arch1eSUN/Arcgentic · 53 tokens

design-reviewer

Design lead + expert design critic. Two modes: Mode A — authors the project's root DESIGN.md (design identity) at project start. Mode B — reviews built UI against DESIGN.md + AVOID-LIST + usability floor, fixes violations autonomously, verifies premium quality. Delegate when: a UI project has no DESIGN.md yet, UI…

wasintoh/toh-framework · 85 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens

AgentEval Dev

AI agent for AgentEval development tasks - code implementation, review, and debugging.

AgentEvalHQ/AgentEval · 19 tokens

hlasm-assembler-specialist

IBM High-Level Assembler (HLASM) specialist for z/OS. Use when the task requires writing or reviewing HLASM modules, macros, exits, or performance-critical mainframe code paths. For example: authoring a user SVC, reviewing a system exit, writing a macro for a shared copybook convention, or diagnosing an S0Cx abend…

josstei/maestro-orchestrate · 306 tokens