Skip to content

/quality-checking

Validate API documentation against quality standards. Use when you need to verify generated docs are complete and correct.

shell
$ npx -y skills add huangjia2019/claude-code-engineering --skill quality-checking --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/quality-checking
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Validate API documentation against quality standards. Use when you need to verify generated docs are complete and correct.

SKILL.md

quality-checking.SKILL.md
name: quality-checking
description: Validate API documentation against quality standards. Use when you need to verify generated docs are complete and correct.
allowed-tools: [Read, Grep, Glob]

Quality Checking Skill

Validate generated API documentation against quality standards.

Input

You will receive a documentation manifest from the previous pipeline stage, listing generated files and documented routes.

Process

Step 1: Load Quality Rules

Read the rules at `rules/doc-standards.md` for the complete checklist.

Step 2: Check Each Documentation File

For each generated doc file, verify:

1. **Completeness**: Every route from the scanner manifest is documented 2. **Structure**: Each endpoint has method, path, description, parameters, responses 3. **Auth markers**: Endpoints with auth middleware have 🔒 markers 4. **Examples**: Request/response examples are valid JSON 5. **Consistency**: All files follow the same format

Step 3: Cross-Reference with Source

For each documented endpoint, spot-check against the source file:

  • Does the documented path match the actual route?
  • Are the middleware requirements correctly noted?
  • Are the response codes accurate?

Output Format

Return a quality report:

# Documentation Quality Report

## Score: {PASS / NEEDS_REVISION}

## Coverage
- Routes in manifest: {N}
- Routes documented: {N}
- Coverage: {percentage}%

## Issues Found
{list each issue with file, line, and description}

## Verdict
{PASS: all checks passed / NEEDS_REVISION: list what needs fixing}
Read more
Read it on GitHub ↗
Ships withclaude-code-engineering

This repository demonstrates how to use Claude Code to do real engineering work, not just writing code. 本项目是极客时间专栏 《Claude Code 工程化实战》 的官方配套示例仓库,目标就是: 👉 把 Claude Code 从“对话式编码工具”,变成 可设计、可复用、可治理的工程系统。

Get the whole plugin, auto-invoked
Stats
1,038
Stars
0
Views
371
Forks
Active
Maintenance
JavaScript
Language
11d ago
Last commit
6mo ago
Created

Repo: huangjia2019/claude-code-engineering