docs
Documentation generation and explanation
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Documentation generation and explanation
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Outcome-first fix with a guided intake form — pick scope and probes from derived candidates, preview the contract, run with a verified receipt. Triggers on: attune fix, scoped fix, fix with receipt, outcome fix, fix intake.
Outcome-first fix with a guided intake form — pick scope and probes from derived candidates, preview the contract, run with a verified receipt. Triggers on: attune fix, scoped fix, fix with receipt, outcome fix, fix intake.
Spec-driven development — brainstorm, plan, review, and execute with quality gates. Triggers on: spec, brainstorm and build, plan and execute, idea to code, build from scratch.
Spec-driven development — brainstorm, plan, review, and execute with quality gates. Triggers on: spec, brainstorm and build, plan and execute, idea to code, build from scratch.
Developer workflow hub — routes to the right skill based on what you need. Triggers on: attune, what can attune do, what can you do, capabilities, where do I start, get started.
Outcome-first fix with a guided intake form — pick scope and probes from derived candidates, preview the contract, run with a verified receipt. Triggers on: attune fix, scoped fix, fix with receipt, outcome fix, fix intake.
| name | docs |
| description | Documentation generation and explanation |
Documentation generation, explanation, and accuracy auditing.
| Subcommand | Action |
|---|---|
audit | Quick inline accuracy checks (10 checks) |
audit-deep | Full DocAuditWorkflow with auto-fix |
explain | Explain how code works |
generate | Generate documentation |
readme | Update README |
changelog | Generate changelog |
overview | High-level project overview |
/docs # Ask what to do
/docs audit # Verify doc accuracy
/docs explain # Explain code
/docs generate # Generate documentation
/docs readme # Update README
/docs changelog # Generate changelog
Cross-reference documentation claims against the actual codebase. Run all checks below and report a summary table with pass/fail per check and file:line references for any mismatches.
Run:
pytest --collect-only -q 2>/dev/null | tail -1
Compare the collected/passing count against:
img.shields.io/badge/tests- URL)Flag if the README count exceeds the actual count by more than 5%.
Count entries under [project.entry-points."attune.workflows"]
in pyproject.toml. Compare against any "N built-in" claims
in README.md. Flag mismatches.
Count directories in plugin/skills/ (each directory with
a SKILL.md is one skill). Compare against:
.claude-plugin/marketplace.jsonplugin/.claude-plugin/marketplace.jsonFlag mismatches.
Count @server.tool() decorators or tool registrations in
src/attune/mcp/server.py. Compare against any "N tools" or
"N MCP tools" claims in README.md and plugin/README.md.
Flag mismatches.
If README.md claims a maximum file size (e.g., "no file exceeds X lines"), verify by running:
find src/attune -name "*.py" -exec wc -l {} + \
| sort -rn | head -5
Flag any files that exceed the claimed limit.
Grep README.md and plugin/README.md for attune-ai[ to
find all referenced extras. Verify each extra name exists
in pyproject.toml under [project.optional-dependencies].
Flag any extras that are referenced in docs but do not exist
in pyproject.toml (e.g., [redis] when the actual extra is
[memory]).
Grep all *.md files for these removed/legacy patterns:
empathy-memory (removed in v2.6.2)empathy workflow (renamed to attune workflow)empathy as a CLI prefix (e.g., empathy workflow)Report file:line for each occurrence. Exclude CHANGELOG entries that document historical changes (those are intentionally referencing old names).
Compare the version string across:
pyproject.toml (version = "X.Y.Z")src/attune/__init__.py (__version__)CHANGELOG.md (latest ## [X.Y.Z] heading)plugin/.claude-plugin/plugin.json.claude-plugin/marketplace.jsonplugin/.claude-plugin/marketplace.jsonFlag any that do not match.
Check that the same metric uses the same number everywhere:
Flag any contradictions.
For each markdown link in README.md that points to a local file (not a URL), verify the target file exists. Report broken links.
Present results as:
## Doc Audit Results
| # | Check | Status | Details |
|---|-------|--------|---------|
| 1 | Test count | PASS/FAIL | ... |
| 2 | Workflow count | PASS/FAIL | ... |
...
### Issues Found
- [README.md:76](README.md#L76): claims "14,000+ tests"
but actual count is 11,016
...
Trigger the DocAuditWorkflow for a full documentation audit with automatic fixes. This is the autonomous pipeline with 4 stages:
Show audit results and fix plan for approval before the execute phase.
# Interactive mode (default)
uv run attune workflow run doc-audit
# With --batch flag for fire-and-forget
uv run attune workflow run doc-audit --batch
Use AskUserQuestion before running:
Use AskUserQuestion to scope:
Then read the code and provide a clear explanation with context.
Use AskUserQuestion to scope:
Then generate documentation using the codebase.
Read the current README and project structure, then suggest or apply updates based on current state.
Use git log to generate a changelog:
git log --oneline --since="last tag"
Format as a markdown changelog grouped by type (features, fixes, refactoring).
Use AskUserQuestion to scope:
Then read the project structure and generate a high-level overview covering purpose, key modules, and how they connect.