Skip to content
Back to skills

Documentation Generation

ASecurity

`task-agent`: change source-owned documentation; `review-agent`: assess documentation without mutation. Skip tasks requiring neither documentation change nor review.

  • 7 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
documentationapisecuritydocumentation

Works with

  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add machenjie/rd-skills --skill documentation-generation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Documentation Generation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Documentation Generation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/machenjie-documentation-generation/badge)](https://www.skillsdirectory.com/skills/machenjie-documentation-generation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: documentation-generation
description: "`task-agent`: change source-owned documentation; `review-agent`: assess documentation without mutation. Skip tasks requiring neither documentation change nor review."
---

# documentation-generation

## Registry Trigger

**Use when**

- task mode generates or updates README API docs ADR changelog runbook or migration notes
- review mode assesses documentation accuracy freshness or audience impact

**Do not use when**

- no task-local documentation generation decision is required
- an implementation diff has no separate documentation artifact

## Skill Role

Support source-grounded documentation work with an explicit role boundary.

- **Task mode (`task-agent`):** Produce the changed owning documentation source from current evidence.
- **Review mode (`review-agent`):** Return a documentation verdict and findings from non-mutating inspection.

## High-Value Rules

- Trace factual claims to current source, schemas, generated artifacts, tests, command output, accepted decisions, or release plans.
- Match depth to audience: operators need recovery actions, API consumers need semantics, contributors need validation, and users need impact.
- Classify deprecated, experimental, environment-specific, unverified, or inferred behavior explicitly in affected documentation.
- Update misleading documentation with behavior or record an owner and release consequence.
- Make examples executable, generated, or explicitly illustrative with proof limits.
- State compatibility, order, rollback, forward-fix, and ownership when versions diverge.

## Anti-Patterns

- Local success substituted for evidence of the documentation generation contract.

## Stop Conditions

Return unresolved contract, security/privacy, compliance-authority, migration, production, incident, release, or recovery judgments to Main for the relevant owner. A documentation topic alone does not require another gate. Stop for exposed secrets, source conflicts, unvalidated generation, or ownerless release documentation.

## Output Contract

- **Task mode (`task-agent`):** changed source-grounded documentation artifact; audience and behavior mapping; validation result; proof limits; residual documentation debt
- **Review mode (`review-agent`):** documentation verdict; severity-ranked findings; reviewed and unverified scope; proof limits; no mutation

## Targeted References

| Path | Type | Load when | Do not load when | Required by | Required output |
|---|---|---|---|---|---|
| [benchmarks and patterns](references/benchmarks-and-patterns.md) | benchmark-pattern | Source mapping, generation, command safety, or no-docs decisions need depth | A small wording fix has one current authoritative source | task-agent, review-agent | option-comparison, selected-approach |
| [checklist](references/checklist.md) | decision-checklist | Documentation changes APIs, migrations, operations, examples, or compatibility | No audience-facing behavior or procedure changes | task-agent, review-agent | checklist-result, residual-risk |
| [evidence patterns](references/evidence-patterns.md) | evidence-pattern | Documentation claims need fresh source, generator, or example validation | No factual or no-docs claim awaits proof | task-agent, review-agent | evidence-record, proof-limit, residual-risk |

Files in this skill

  • SKILL.md3.4 KB
  • examples/example-output.md1.6 KB
  • references/benchmarks-and-patterns.md5.7 KB
  • references/checklist.md651 B
  • references/evidence-patterns.md3.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…