Skip to content
Development
Command

/update-docs

Sync documentation from source-of-truth:

From plugin
claude-forge
80038 skills12 agents38 commands8 hooks
+1
Install
> /plugin marketplace add sangrokjung/claude-forge
> /plugin install claude-forge@claude-forge

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update-docs

Context preview

What this command does when you run it.

Sync documentation from source-of-truth:

Command definition

update-docs.md

Update Documentation

Sync documentation from source-of-truth:

1. Read package.json scripts section

  • Generate scripts reference table
  • Include descriptions from comments

2. Read .env.example

  • Extract all environment variables
  • Document purpose and format

3. Generate docs/CONTRIB.md with:

  • Development workflow
  • Available scripts
  • Environment setup
  • Testing procedures

4. Generate docs/RUNBOOK.md with:

  • Deployment procedures
  • Monitoring and alerts
  • Common issues and fixes
  • Rollback procedures

5. Identify obsolete documentation:

  • Find docs not modified in 90+ days
  • List for manual review

6. Show diff summary

Single source of truth: package.json and .env.example

Ships withclaude-forge

Supercharge Claude Code with 11 AI agents, 36 commands & 15 skills — the claude-code plugin framework inspired by oh-my-zsh. 6-layer security hooks included. 5-min install.

Get the whole plugin