Update Documentation

VerifiedSafe

One-click command to update all project documentation after code changes. Syncs KNOWLEDGE_BASE.md, README.md, and README_ZH.md.

Sby Skills Guide Bot
DocumentationIntermediate
306/2/2026
Claude Code
#documentation-updates#readme#knowledge-base#sync#code-changes

Recommended for

Our review

Updates all project documentation after code changes by analyzing git status and syncing README and knowledge base files.

Strengths

  • One-command automation of the documentation update workflow
  • Ensures consistency between English and Chinese README versions
  • Includes verification (tests and command checks) before committing
  • Reviews differences to avoid unintended changes

Limitations

  • Requires pre-existing documentation files (KNOWLEDGE_BASE.md, README.md, README_ZH.md)
  • Only covers text documentation, not diagrams or other media
  • May be too broad for projects with highly specialized documentation needs
When to use it

After any user-facing or architectural change, such as adding a new adapter, modifying CLI commands, or changing configuration format.

When not to use it

For purely internal or minor changes that do not affect user experience or existing documentation.

Security analysis

Safe
Quality score80/100

The skill instructs running git status, 'npm test', and invoking other documentation skills. These actions are common development tasks and do not pose a security risk of data exfiltration or system damage in a trusted environment.

No concerns found

Examples

Update docs after adding OpenCode support
Update all docs after adding OpenCode support.
Update documentation after CLI command changes
I've modified the CLI commands for the project. Please update the documentation accordingly.
Full documentation refresh after configuration change
We changed the config format. Update all documentation files including README, README_ZH, and KNOWLEDGE_BASE.

name: update-docs description: Update all project documentation after code changes.

Update Documentation

Instructions

One-click command to update all project documentation after code changes.

Steps

  1. Analyze Changes

    • Check git status for modified files
    • Review recent commits if no uncommitted changes
    • Identify what documentation needs updating
  2. Update KNOWLEDGE_BASE.md

    • Run the update-knowledge-base skill
    • Document any architectural or feature changes
  3. Update README.md

    • Add new features or commands
    • Update examples if API changed
    • Ensure accuracy of all documented commands
  4. Sync README_ZH.md

    • Run the sync-readme skill
    • Ensure Chinese documentation matches English
  5. Verify

    • Run tests to ensure nothing broken: npm test
    • Check that all documented commands work
    • Review diff before committing

When to Use

  • After adding a new adapter
  • After adding or modifying CLI commands
  • After changing the configuration format
  • After any user-facing changes

Output

All documentation files updated and in sync:

  • KNOWLEDGE_BASE.md (if exists)
  • README.md
  • README_ZH.md

Examples

Request: Update all docs after adding OpenCode support Result: KNOWLEDGE_BASE.md, README.md, and README_ZH.md all updated

Related skills