Generate human-readable documentation (READMEs, guides, API references, contributor docs). Triggers: "document this", "write docs", "create a README", "write a guide for".
From provenpx claudepluginhub mjmorales/claude-prove --plugin proveThis skill uses the workspace's default tool permissions.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Proposes cuts, reorganization, and simplification to improve document structure, clarity, and flow while preserving comprehension. Use for structural or editorial reviews.
Delegate writing to the technical-writer subagent. Follow references/interaction-patterns.md for all AskUserQuestion usage.
technical-writer with structured promptAskUserQuestion header "Subject" if ambiguous. For <=3 choices, include "Research & proceed".
| Subject | Indicators | Key Sections |
|---|---|---|
| Project | Root directory, package.json, multiple components | Quick start, usage, architecture, config |
| API | HTTP handlers, REST/GraphQL endpoints | Endpoints, request/response, errors, examples |
| Module | Package exports, public interfaces | Installation, API surface, examples |
| Script | Executable file, CLI flags | Usage, flags table, examples |
| Workflow | Multi-step process, multiple tools | Prerequisites, steps, troubleshooting |
AskUserQuestion header "Audience" if ambiguous. For <=3 choices, include "Research & proceed".
| Audience | Tone | Depth | Assumes |
|---|---|---|---|
| Contributor | Casual, direct | Deep on internals | Tech stack familiarity |
| Consumer | Precise, professional | Interface-level only | No internal knowledge |
| Operator | Practical, task-oriented | Config and operations | Infra/deployment experience |
| End user | Friendly, no jargon | Surface-level | Minimal technical background |
Invoke with:
Document [SUBJECT_TYPE]: [SUBJECT_NAME]
Audience: [AUDIENCE_TYPE]
Source: [FILE_PATH]:[LINE_RANGE]
Context:
[MINIMAL RELEVANT CODE/CONFIG]
Requirements:
- Output: [project-readme | api-reference | module-docs | script-docs | workflow-guide]
- Audience: [contributor | consumer | operator | end-user]
- Include: [sections beyond the standard template only]
- Format: Markdown, no YAML frontmatter unless docs system requires it
Include: lists only subject-specific sections the template does not cover by default.
| Component | Document |
|---|---|
| Skills | Purpose, when to use, workflow phases, interaction points |
| Agents | Role, invocation triggers, output format |
| Commands | What it does, arguments, delegated skill |
| Scripts | Usage, flags, output format, examples |
Reference .claude/.prove.json scopes for canonical component list.
Verify before accepting technical-writer output:
foo/bar/...)AskUserQuestion header "Quality": "Approve" / "Revise".
| Anti-Pattern | Instead |
|---|---|
| Reading entire files | Grep target, read specific lines |
Re-listing template sections in Include: | Only add non-default sections |
| Interleaving gathering and writing | Complete all reads before delegating |
| Omitting audience from prompt | Always include Audience: |
Delegate to commit skill. Example: docs(docs-writer): add README for cafi tool