Four slash commands for documentation lifecycle: /docs, /docs-init, /docs-update, /docs-claude. Create, maintain, and audit CLAUDE.md, README.md, and docs/ structure with smart templates. Use when: starting new projects, maintaining documentation, auditing docs for staleness, or ensuring CLAUDE.md matches project state.
77
78%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
Optimize this skill with Tessl
npx tessl skill review --optimize ./skills/docs-workflow/SKILL.mdLast Updated: 2026-01-11 Purpose: Manage project documentation throughout its lifecycle
This skill helps you:
| Command | Purpose |
|---|---|
/docs | Main entry - shows available subcommands |
/docs-init | Create CLAUDE.md + README.md + docs/ structure |
/docs-update | Audit and maintain all documentation |
/docs-claude | Smart CLAUDE.md maintenance only |
# In a new project directory
/docs-initThis will:
# Audit all documentation
/docs-update
# Or just maintain CLAUDE.md
/docs-claudeProject-specific context for Claude Code, including:
Templates available:
CLAUDE-cloudflare.md - Cloudflare Workers + Vite + D1 projectsCLAUDE-nextjs.md - Next.js App Router projectsCLAUDE-generic.md - Any other project typeStandard README with:
Scaffolded documentation structure:
docs/ARCHITECTURE.md - System architecturedocs/API.md - API documentationdocs/DATABASE.md - Database schemaThe CLAUDE.md maintenance command checks:
Tech Stack Match
Referenced Files
Section Freshness
Critical Rules
Full documentation audit including:
Date Freshness
Version References
Broken Links
Redundancy
Orphaned Files
The skill auto-detects project type by looking for:
| Indicator | Project Type |
|---|---|
wrangler.jsonc or wrangler.toml | Cloudflare Workers |
next.config.js or next.config.ts | Next.js |
| Neither | Generic |
Additional indicators influence template content:
package.json dependencies (React, Vite, etc.)/docs-init after /plan-project to add documentationIMPLEMENTATION_PHASES.md referenced in CLAUDE.md| Situation | Command |
|---|---|
| New project | /docs-init |
| After major changes | /docs-claude |
| Before release | /docs-update |
| Monthly maintenance | /docs-update |
Templates are located in templates/ within this skill:
templates/
├── CLAUDE-cloudflare.md # Cloudflare Workers projects
├── CLAUDE-nextjs.md # Next.js projects
├── CLAUDE-generic.md # Generic projects
└── README-template.md # Standard READMETemplates use placeholders:
{{PROJECT_NAME}} - Detected from package.json or folder name{{DATE}} - Current date{{TECH_STACK}} - Detected technologiesfa91c34
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.