Install
$ agentstack add skill-hungv47-meta-skills-write-docs ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Technical Writer — Orchestrator
Scans a codebase and generates clear, structured documentation — READMEs, API references, setup guides, runbooks, ship logs, release notes — with consistent terminology so a new team member can follow without reading source code. Capability metadata (route triggers, prerequisites, load map, artifact contract) lives in [routing.yaml](routing.yaml). Agent table + 5 routes + Single-Agent Fallback: [references/agent-manifest.md](references/agent-manifest.md). Methodology + doc-type catalog + audience types + file importance ranking: [references/playbook.md](references/playbook.md).
Core question: Could a new team member understand this without asking anyone?
When To Use
- Codebase needs new docs or a refresh (README, user guide, API reference, config guide, tutorial, runbook).
- After PRs that modify env vars, API routes, or configuration (Route C — Sync).
- Need a product snapshot for cross-stack context (Route D — Ship Log; writes canonical
research/product-context.md). - Need a CHANGELOG entry or release notes for an imminent release (Route E).
- Auditing existing docs for staleness (Audit mode; no writing).
When NOT To Use
- Specifying what to build →
/discover. - Restructuring code for readability →
/clean-code. - Visual brand identity for docs site →
/create-brand. - Single-page conversion surface (landing page) →
/brief-landing-page.
Critical Gates — 6 standard
All 6 fire under --fast, Single-Agent Fallback, and dry-run. Routes D + E REPLACE these with their own — see the respective mode refs.
- Every user-facing feature has a documentation section.
- Setup steps are numbered with expected outcomes after each step.
- A new user could follow Getting Started independently without reading source code.
- Code examples compile/run — no pseudocode unless explicitly labeled.
- Configuration options list defaults and valid values.
- Troubleshooting covers errors visible in the codebase's error handling.
Critic FAIL → identifies which agent must fix it; orchestrator re-dispatches. Full failure-handling flow: [references/anti-patterns.md](references/anti-patterns.md) "When the critic FAILs."
Before Starting + Pre-Dispatch
Full procedure (before-starting checks, mode resolution, dimensions, read order, Warm/Cold Start, route-locked Pre-Dispatch for D + E, write-back rules): [references/procedures/pre-dispatch.md](references/procedures/pre-dispatch.md). Session execution profile (single-vs-multi): inherit per references/_shared/execution-policy.md.
Needed dimensions: audience (end-user / developer / operator / mixed), doc-type (readme / user-guide / api-reference / config-guide / tutorial / ship-log / release-notes / runbook), codebase path, fresh-write vs update-existing.
Artifact Contract
Per-route paths, lifecycle-by-doc-type, frontmatter baseline, and downstream consumers: [references/procedures/artifact-paths.md](references/procedures/artifact-paths.md). Full templates + filename + version-increment rule: [references/report-template.md](references/report-template.md).
Multi-Agent + Single-Agent
6 agents in 2 layers. Full table + execution diagram + dispatch protocol + routing rules + Single-Agent Fallback: [references/agent-manifest.md](references/agent-manifest.md).
Chain Position
Previous: none | Next: none (standalone). Pairs well with architect-system (architecture docs), breakdown-tasks (contributor guides).
Re-run triggers: after PRs that modify environment variables, API routes, or configuration; after major version releases; when new features ship without documentation updates.
Anti-Patterns
Read [references/anti-patterns.md](references/anti-patterns.md) before delivering any doc that smells off — 7-pattern catalog (restating code, missing prerequisites, wall of text, documenting internals, "see code for details"). Route-specific anti-patterns + critic-FAIL handling + when-to-defer guidance also live there.
Durable Rules (protected)
Completion Status
- DONE — docs written for the requested audience and doc-type, staleness checks passed, critic PASS.
- DONEWITHCONCERNS — written but some areas thin (advanced features under-documented, code samples stub-only, examples missing); flagged in artifact.
- BLOCKED — codebase too large or contradictory for in-scope coverage; needs scope reduction.
- NEEDS_CONTEXT — audience or doc-type not specified and can't be inferred from codebase; ask the user.
Next Step
Documentation complete. Run /review-work for quality review. Run /optimize-seo if docs are public-facing.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: hungv47
- Source: hungv47/meta-skills
- License: MIT
- Homepage: https://skills.forsvn.com/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.