docs
Skill5 starsChanged 4 months agoMITView on GitHub
Generates developer documentation (API reference, developer guide) and user-facing help docs organized by user journey. This skill should be used when the user asks to "generate documentation", "create API docs", "write developer guide", "generate help docs", "create onboarding docs", "document the codebase", or "write a changelog", or when the transmute-pipeline agent reaches Stage 6D of the pipeline.
- Reads credentials
165 other projects use a version of this.
Adopted by
Most recently taken up by
- Adelie-Squad/solosquadtheir own version, first seen Nov 8, 2026
- hhtower/price-comparisontheir own version, first seen Nov 8, 2026
- vladtrc/iw4Ltheir own version, first seen Nov 8, 2026
- igorkasyanchuk/diffnotestheir own version, first seen Nov 8, 2026
- tiankonglan/TomeWikitheir own version, first seen Nov 8, 2026
- Canonry/aeo-audittheir own version, first seen Nov 8, 2026
Used with
Projects with it also use import-memory, perf and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
amirbironSkillimport-memory
Import a memory export from another AI assistant into Claude's memory — conversationally, additively, and with the content treated as data.
Also in 3 projects that use this
MicrosoftSkillperf
Speed and memory performance rules for Rust crates, the Node addon, webui-framework, and webui-delivery.
Also in 4 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
JkudjoSkillincident
Production incident response — structured triage, hypothesis tree, safe remediation, incident record
Also in 4 projects that use this
vbrevikSkillwork
Use when the user says 'plan', 'todo', 'copy plan', 'append plan', 'resume plan', 'priorities', or 'what's next'.
Also in 7 projects that use this
mbwsimsSkillimpact
This skill should be used when the user asks to "check the impact", "what will break if I change this", "blast radius", "impact analysis", "what depends on this", "who imports this", "is it safe to change this", mentions "/impact", or wants to understand the consequences of modifying a specific file or function before making changes.
Also in 3 projects that use this
Other versions165 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 165
- remotion-dev/remotion★ 72ksame name
- PrefectHQ/fastmcp★ 28ksame name
- jlowin/fastmcp★ 28ksame name
- ccusage/ccusage★ 19ksame name
- ryoppippi/ccusage★ 19ksame name
- micronaut-projects/micronaut-core★ 6.4ksame name
- latitude-dev/latitude-llm★ 4.7ksame name
- samuelgursky/davinci-resolve-mcp★ 4ksame name
- TanStack/ai★ 3.3ksame name
- patrykandpatrick/vico★ 3.2ksame name
155 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- templates/CLAUDE.mdCLAUDE.md
- audit-a11ySkill
- audit-completenessSkill
- audit-securitySkill
- brdSkill
- feedbackSkill
- hardenSkill
- implementSkill
- maintainSkill
- optimizeSkill
- polishSkill
- prdSkill
- prelaunchSkill
- redesignSkill
- refactorSkill
- remediateSkill
- scaffoldSkill
- seed-dataSkill
- smokeSkill
- tech-stackSkill
- user-guideSkill
- validate-specsSkill
- verifySkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
48 rules. 0 are common, 29 are distinctive, and 19 are very specific to this project.
0
Common
Most of the 129 edited versions we read keep these.
29
Distinctive
This author's own choices. Worth a look.
19
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read the detailed guide at ${CLAUDE_SKILL_DIR}/references/docs-detailed-guide.md for the complete documentation procedures, teammate spawn …
- Distinctive: line 24
Before any documentation work, verify:
- Very specific: line 26
Check that ./plancasting/_audits/implementation-completeness/report.md exists and shows PASS or CONDITIONAL PASS.
- Distinctive: line 27
If CONDITIONAL PASS, read documented Category C issues.
- Very specific: line 28
Check if ./plancasting/_audits/refactoring/report.md exists (Stage 6E).
- Very specific: line 29
Check if ./plancasting/_audits/resilience/report.md exists (Stage 6G).
- Very specific: line 30
Check if ./seed/README.md exists (Stage 6F).
- Very specific: line 31
Read ./CLAUDE.md and ./plancasting/tech-stack.md for project conventions.
- Distinctive: line 35
If running before Stage 6G, the gate decision should be CONDITIONAL PASS at most, with a note that documentation will need updating after …
- Very specific: line 79
Check ./plancasting/tech-stack.md for the Session Language setting:
- Distinctive: line 92
Read CLAUDE.md Part 2 for project-specific conventions.
- Very specific: line 94
Package Manager: Use the package manager specified in plancasting/tech-stack.md (default: bun).
- Distinctive: line 98
PRD-as-docs copy: Do not copy PRD text verbatim.
- Distinctive: line 99
Hallucinated API signatures: Always read the actual source file before documenting.
- Distinctive: line 101
Generic changelog: Always list specific features with FEAT-IDs.
- Distinctive: line 102
Broken internal links: Verify all links resolve correctly.
- Distinctive: line 104
Non-compiling code examples: Verify against actual code.
- Very specific: line 105
Documentation stale after 6E/6F/6G: If running 6D before 6G, API docs may reference pre-refactoring module boundaries.
- Very specific: line 111
Read codebase structure, PRD, BRD, plancasting/tech-stack.md, and ./ARCHITECTURE.md (if it exists.
- Very specific: line 113
Write ./plancasting/_audits/documentation/_doc-context.md with the documentation map and writing style guidelines:
- Distinctive: line 117
BLOCKING GATE: Before spawning teammates, verify implementation completeness.
- Distinctive: line 118
Create a task list for all teammates with dependency tracking.
- Distinctive: line 120
Anti-Hallucination Rule (ALL teammates): Before documenting ANY feature, API, or process, read the actual source code or PRD.
- Distinctive: line 130
Read PRD product overview, epics/user stories, user flows, and screen specifications.
- Very specific: line 142
Read schema file and all backend function files (excluding generated code and tests).
- Distinctive: line 144
CRITICAL — 100% Source Verification: Read the actual source file for EVERY function documented.
- Very specific: line 155
Read ARCHITECTURE.md (or derive from plancasting/tech-stack.md/CLAUDE.md/codebase), package.json, plancasting/tech-stack.md.
- Distinctive: line 169
When api-docs-writer finalizes function names/signatures, notify help-docs-writer (help docs may reference feature behaviors mapping to …
- Distinctive: line 170
When developer-guide-writer documents setup steps, verify they match api-docs-writer's prerequisites.
- Distinctive: line 171
Ensure terminology consistency across all three documentation areas.
- Distinctive: line 175
Verify all internal links between docs resolve correctly.
- Distinctive: line 176
Verify all code examples compile (extract and type-check).
- Distinctive: line 177
Ensure consistent terminology across help, API, and developer docs.
- Very specific: line 179
Run bun run typecheck && bun run lint && bun run build && bun run test to verify no regressions.
- Distinctive: line 189
PASS: All features documented, all code examples verified, all internal links resolve.
- Distinctive: line 196
Verify all file modifications are saved and committed.
- Very specific: line 197
Delete ./plancasting/_audits/documentation/_doc-context.md — temporary coordination file.
- Distinctive: line 201
never copy PRD text verbatim into user documentation — rewrite for the audience.
- Distinctive: line 202
never document function signatures from memory — always read the source file first.
- Distinctive: line 203
never describe ideal behavior instead of actual implementation.
- Distinctive: line 204
always verify code examples compile by checking types against source files.
- Very specific: line 205
always cross-reference .env.local.example when documenting setup procedures.
- Distinctive: line 206
always verify internal links resolve correctly.
- Very specific: line 207
If ARCHITECTURE.md does not exist, derive architecture from plancasting/tech-stack.md, CLAUDE.md, and codebase structure.
- Very specific: line 210
If ./docs/ already exists, read first and update rather than overwrite — preserve any manual additions.
- Distinctive: line 211
Use commands from CLAUDE.md for testing.
- Distinctive: line 215
If a documentation issue cannot be resolved without access to information that doesn't exist:
- Very specific: line 216
Document the gap with a > DOCUMENTATION GAP: [description] marker in the affected doc file.
“Common” is measured: kept by at least 6 in 10 of the 129 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Generation — Stage 6D
Read the detailed guide at ${CLAUDE_SKILL_DIR}/references/docs-detailed-guide.md for the complete documentation procedures, teammate spawn prompts, writing style guidelines, and report templates.
Lead a multi-agent documentation generation project. Generate comprehensive documentation for the complete product: user-facing help docs, API/backend reference, and a developer onboarding guide, all derived from the codebase, PRD, and BRD.
Stage Sequence (recommended ordering): Stage 5B → 6A/6B/6C (parallel) → 6E (Code Refactoring) → 6F (Seed Data) → 6G (Resilience Hardening) → 6D (this stage) → 6H (Pre-Launch) → 6V → 6R → 6P/6P-R → 7 (Deploy)
Prerequisite Checks
Before any documentation work, verify:
- Check that
./plancasting/_audits/implementation-completeness/report.mdexists and shows PASS or CONDITIONAL PASS. If missing, WARN: 'Stage 5B report not found — implementation completeness is unverified. Assuming all features are implemented and proceeding.' If FAIL, STOP: "Stage 5B FAIL — resolve implementation gaps before generating documentation." - If CONDITIONAL PASS, read documented Category C issues. Document those features as "Planned" rather than "Available".
- Check if
./plancasting/_audits/refactoring/report.mdexists (Stage 6E). If missing, WARN: "Stage 6E has not completed. If 6E restructures modules after 6D, documentation structure may need regeneration." Proceed with caution. - Check if
./plancasting/_audits/resilience/report.mdexists (Stage 6G). If missing, note that documentation may need updating after 6G completes. - Check if
./seed/README.mdexists (Stage 6F). If missing, WARN: "Stage 6F has not completed — seed data documentation will be omitted from developer setup guide." - Read
./CLAUDE.mdand./plancasting/tech-stack.mdfor project conventions.
Stage 6D produces internal developer documentation (API reference, architecture, dev guide). Stage 7D produces the external user-facing Mintlify site. Stage 6D always runs; Stage 7D is optional per plancasting/tech-stack.md.
If running before Stage 6G, the gate decision should be CONDITIONAL PASS at most, with a note that documentation will need updating after subsequent stages modify code.
Inputs
- Codebase: Backend directory and
./src/(adapt paths per tech stack) - Tech Stack:
./plancasting/tech-stack.md - PRD:
./plancasting/prd/(screen specs, user flows, API specs, architecture) - BRD:
./plancasting/brd/ - Architecture Doc:
./ARCHITECTURE.md(if it exists — derive from plancasting/tech-stack.md and codebase if not) - Project Rules:
./CLAUDE.md - Implementation Completeness:
./plancasting/_audits/implementation-completeness/report.md - Refactoring Report (if exists):
./plancasting/_audits/refactoring/report.md - Seed Data Report (if exists):
./plancasting/_audits/seed-data/report.md - Resilience Report (if exists):
./plancasting/_audits/resilience/report.md - Security Report (if exists):
./plancasting/_audits/security/report.md - Accessibility Report (if exists):
./plancasting/_audits/accessibility/report.md - Performance Report (if exists):
./plancasting/_audits/performance/report.md
Output Structure
Generate all documentation under ./docs/:
docs/
help/ # Product help documentation (internal, NOT Stage 7D Mintlify site)
index.md
getting-started.md
features/
<feature-name>.md
api/ # Backend function reference
index.md
<domain>.md
developer/ # Developer onboarding guide
index.md
architecture.md
local-setup.md
conventions.md
testing.md
deployment.md
changelog.md # Initial changelog entryLanguage Rules
Check ./plancasting/tech-stack.md for the Session Language setting:
docs/help/— Generate in Session Language (product help for end users)docs/api/— Generate in English (developer-facing, API identifiers are English)docs/developer/— Generate in English (engineer-facing, code examples are English)docs/changelog.md— Generate in Session Language
Stack Adaptation
Adapt all references to your actual stack per plancasting/tech-stack.md:
convex/becomes your backend directoryconvex/schema.tsbecomes your schema/migration filessrc/app/becomes your frontend pages directory
Read CLAUDE.md Part 2 for project-specific conventions.
Package Manager: Use the package manager specified in plancasting/tech-stack.md (default: bun).
Known Failure Patterns
- PRD-as-docs copy: Do not copy PRD text verbatim. Rewrite for the target audience.
- Hallucinated API signatures: Always read the actual source file before documenting. This is the #1 cause of Stage 6D failures.
- Documenting ideal, not actual: Code is the source of truth, not the PRD.
- Generic changelog: Always list specific features with FEAT-IDs.
- Broken internal links: Verify all links resolve correctly.
- Missing env vars in setup: Cross-reference
.env.local.example. Extract ALL required environment variables and document what each is for and where to find the value. - Non-compiling code examples: Verify against actual code. Type-check all code examples on critical paths (auth, mutations, data fetching). Spot-check others (at least 50% sample).
- Documentation stale after 6E/6F/6G: If running 6D before 6G, API docs may reference pre-refactoring module boundaries. Document known placeholders with
> DOCUMENTATION GAP: May need updating after Stage 6G completes.
Phase 1: Analysis and Planning
Complete before spawning teammates:
- Read codebase structure, PRD, BRD,
plancasting/tech-stack.md, and./ARCHITECTURE.md(if it exists; otherwise derive architecture from plancasting/tech-stack.md, CLAUDE.md, and codebase structure). - Build a Documentation Map: which features need user docs, which backend functions need API docs, what developers need to know.
- Write
./plancasting/_audits/documentation/_doc-context.mdwith the documentation map and writing style guidelines:- Help docs: conversational tone, task-oriented, no jargon, describe what the user sees
- API docs: technical, precise, include argument types and return types
- Developer guide: practical, code-example-heavy, assumes stack familiarity
- BLOCKING GATE: Before spawning teammates, verify implementation completeness. Read Stage 5B report. If >25% Category C or any P0 feature is Category C, STOP — documentation of unbuilt features will create misleading docs.
- Create a task list for all teammates with dependency tracking.
Anti-Hallucination Rule (ALL teammates): Before documenting ANY feature, API, or process, read the actual source code or PRD. Do not write documentation from memory or assumption.
Phase 2: Spawn Documentation Teammates
Spawn 3 teammates. Each prompt must include the documentation map and writing style guidelines. All teammates: check if ./docs/ already exists; if so, read existing content and UPDATE rather than overwrite. Preserve sections marked with <!-- MANUAL: Do not regenerate --> and <!-- END MANUAL -->.
Teammate 1: help-docs-writer
Scope: Product help documentation (internal markdown, distinct from Stage 7D Mintlify site).
Read PRD product overview, epics/user stories, user flows, and screen specifications.
- Getting started guide (
docs/help/getting-started.md): Account creation/sign-in, first-time setup, quick interface tour (referencing PRD screen specs), "your first [primary action]" walkthrough. - Feature guides (
docs/help/features/<feature-name>.md): One per feature. Cover what it does (user terms), how to access it (navigation path), step-by-step instructions (from user flows), tips/best practices, common issues, related features. - Index (
docs/help/index.md): Table of contents, search-friendly descriptions, quick links to common tasks.
Writing style: Conversational, task-oriented. Use "you". Describe UI by visible labels. No jargon.
Teammate 2: api-docs-writer
Scope: Backend function API reference.
Read schema file and all backend function files (excluding generated code and tests). Read plancasting/tech-stack.md for backend details.
CRITICAL — 100% Source Verification: Read the actual source file for EVERY function documented. Never document signatures, types, or errors from memory. This is a mandatory requirement, not a best practice.
- Domain docs (
docs/api/<domain>.md): Module overview. For each exported function: name, type (query/mutation/action), description, arguments (name, type from validators, required/optional), return value, authentication requirements, error codes, example usage (TypeScript frontend code), related functions, data model entities. - Index (
docs/api/index.md): API structure overview, function table by domain, authentication overview, error handling conventions, rate limiting/pagination patterns.
Writing style: Technical, precise. TypeScript type notation. Code examples for every function.
Teammate 3: developer-guide-writer
Scope: Developer onboarding guide and changelog.
Read ARCHITECTURE.md (or derive from plancasting/tech-stack.md/CLAUDE.md/codebase), package.json, plancasting/tech-stack.md.
- Architecture (
docs/developer/architecture.md): System overview, directory structure with "where to find things", data flow (user to component to hook to backend to database to reactive update), key design decisions. - Local setup (
docs/developer/local-setup.md): Prerequisites, step-by-step setup (clone, install, env vars, dev servers), common issues, test data seeding. must cross-reference.env.local.example— extract all required environment variables and document what each is for and where to find the value. - Conventions (
docs/developer/conventions.md): Quick-reference summary of CLAUDE.md (link rather than duplicate). Code examples for adding: new backend function, new page, new component, new hook, new test. Naming conventions and traceability requirements. Before writing code examples, read actual source files to verify types and imports. - Testing (
docs/developer/testing.md): Strategy overview. How to run tests (unit, component, E2E). How to write each test type with examples. - Deployment (
docs/developer/deployment.md): Architecture, production deployment, preview environments, env vars reference, rollback procedures, feature flags. - Index (
docs/developer/index.md): Quick start (5-minute summary), links to all guides, new developer FAQ. - Changelog (
docs/changelog.md): "v1.0.0 — Initial release". List all features with PRD feature IDs. Organize by priority (P0 first, then P1, P2, P3). Include format template for future entries.
Exception: Changelog should be in Session Language even though it is developer guide scope.
Phase 3: Coordination
- When api-docs-writer finalizes function names/signatures, notify help-docs-writer (help docs may reference feature behaviors mapping to those functions).
- When developer-guide-writer documents setup steps, verify they match api-docs-writer's prerequisites.
- Ensure terminology consistency across all three documentation areas.
Phase 4: Review and Publish
- Verify all internal links between docs resolve correctly.
- Verify all code examples compile (extract and type-check). Examples must use correct imports and types matching actual source files.
- Ensure consistent terminology across help, API, and developer docs.
- Documentation Accuracy Verification: The api-docs-writer (Teammate 2) must perform 100% source verification during their task — read the actual source file for EVERY documented function, not a sample. The lead spot-checks a random sample of at least 10 functions (or all if fewer than 10) against source files as a final failsafe. Verify: argument types match validators, return types match actual returns, error codes match actual throws, auth requirements match actual checks, code examples use correct imports/types.
- Run
bun run typecheck && bun run lint && bun run build && bun run testto verify no regressions. - Generate
docs/index.md— top-level navigation hub linking to help, API, and developer docs. - Generate
./plancasting/_audits/documentation/report.mdwith gate decision, completeness summary (pages created, features covered, functions documented, code examples verified). Stage 6H verifies bothdocs/and this report exist.
Gate Decision
Gate: PASS / CONDITIONAL PASS / FAIL — see prompt for criteria.
Include in the report under a ## Gate Decision heading (6H parses this heading):
- PASS: All features documented, all code examples verified, all internal links resolve.
- CONDITIONAL PASS: Core features documented, minor gaps noted (incomplete features per 5B skipped).
- FAIL: Major documentation gaps, code examples on critical paths fail type-checking, or critical features undocumented.
Phase 5: Shutdown
- Request shutdown for all teammates.
- Verify all file modifications are saved and committed.
- Delete
./plancasting/_audits/documentation/_doc-context.md— temporary coordination file.
Critical Rules
- never copy PRD text verbatim into user documentation — rewrite for the audience.
- never document function signatures from memory — always read the source file first.
- never describe ideal behavior instead of actual implementation.
- always verify code examples compile by checking types against source files.
- always cross-reference
.env.local.examplewhen documenting setup procedures. Extract all required environment variables and include them in the developer guide's setup section. Document what each var is for and where to find the value. - always verify internal links resolve correctly.
- If
ARCHITECTURE.mddoes not exist, derive architecture from plancasting/tech-stack.md, CLAUDE.md, and codebase structure. - Reference Stage 5B output: mark incomplete features as "Planned" with a callout:
> Planned: This feature is not yet available. See the product roadmap for timeline.Each teammate must check. - Reference Stage 6A-6G audit reports when documenting security, accessibility, and performance. If running before those stages, skip missing references and note documentation may need updating.
- If
./docs/already exists, read first and update rather than overwrite — preserve any manual additions. - Use commands from CLAUDE.md for testing.
Unfixable Violation Protocol
If a documentation issue cannot be resolved without access to information that doesn't exist:
- Document the gap with a
> DOCUMENTATION GAP: [description]marker in the affected doc file. - Include the gap in the Stage 6D report under a "Documentation Gaps" section.
- Continue with remaining documentable content.
Documentation Gap vs. Unfixable Violation: A documentation gap (marked inline) is missing information. An unfixable documentation violation (written to plancasting/_audits/documentation/unfixable-violations.md) is a critical error that could mislead developers. Both are reported in the final report.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

