Documentation Workflow Order
This skill provides the execution order for documentation workflows. Reference this when completing any /docs.* workflow to know what to run next.
Execution Order
| Step | Workflow | What It Does |
|---|---|---|
| 1 | /docs.rust | Documents Rust code, adds CLI long_about/after_help |
| 2 | /docs.frontend | Documents TSX code, updates frontend/README, api-reference |
| 3 | /docs.skills | Generates SKILL.md and command docs from CLI attributes |
| 4 | /docs.update | Updates crates/docs/*.md and crate READMEs |
| 5 | /docs.readme | Updates main README, CONTRIBUTING, npm/README |
Dependency Graph
code
/docs.rust ──────┬──► /docs.skills ──► /docs.update ──► /docs.readme
│
/docs.frontend ──┘
Key Dependencies
- •
/docs.skillsmust run after/docs.rust(reads CLIlong_about/after_help) - •
/docs.updatemust run after/docs.skills(references CLI command docs) - •
/docs.readmemust run last (reads fromcrates/docs/*.md) - •
/docs.rustand/docs.frontendcan run in parallel
When to Run Each
| If you changed... | Run these workflows... |
|---|---|
| Rust code logic | /docs.rust → /docs.update |
| CLI commands | /docs.rust → /docs.skills → /docs.update → /docs.readme |
| Frontend components | /docs.frontend |
| API endpoints | /docs.frontend → /docs.update |
| Vision/messaging | /docs.readme only |
| Everything | All in order |
Full Refresh
bash
# Complete documentation refresh (in order): /docs.rust /docs.frontend /docs.skills /docs.update /docs.readme