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.
Manages project documentation lifecycle with slash commands for initialization, maintenance, and staleness audits.
/plugin marketplace add jezweb/claude-skills/plugin install jezweb-tooling-skills@jezweb/claude-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
README.mdcommands/docs-claude.mdcommands/docs-init.mdcommands/docs-update.mdcommands/docs.mdrules/claude-md-patterns.mdtemplates/CLAUDE-cloudflare.mdtemplates/CLAUDE-generic.mdtemplates/CLAUDE-nextjs.mdtemplates/README-template.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-init
This will:
# Audit all documentation
/docs-update
# Or just maintain CLAUDE.md
/docs-claude
Project-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 README
Templates use placeholders:
{{PROJECT_NAME}} - Detected from package.json or folder name{{DATE}} - Current date{{TECH_STACK}} - Detected technologiesThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.