Skill

update-documents

Synchronizes documentation between CLAUDE.md, README.md, and docs/. Resolves documentation inconsistencies across project files with configurable sync rules and whitespace-tolerant comparison.

From development
Install
1
Run in your terminal
$
npx claudepluginhub talent-factory/claude-plugins --plugin development
Tool Access

This skill uses the workspace's default tool permissions.

Supporting Assets
View in Repository
config/sync_rules.json
scripts/__init__.py
scripts/extractor.py
scripts/main.py
scripts/sync_rules.py
scripts/writer.py
Skill Content

Update Documentation

Automatically synchronize project documentation between the various documentation files.

Sync Rules

SourceSectionTargets
CLAUDE.mdTech StackREADME.md, docs/index.md
CLAUDE.mdDevelopment CommandsREADME.md, docs/development/local-setup.md
CLAUDE.mdProject StructureREADME.md
README.mdQuick Startdocs/getting-started/quickstart.md

Principle: CLAUDE.md is the technical source of truth; README.md is the user-facing entry document.

Workflow

1. Run Analysis

First check the current sync status:

cd ${PROJECT_ROOT} && python ${SKILL_DIR}/scripts/main.py --analyze

2. Interpret Output

The script displays:

  • Synchronized: sections are identical
  • Outdated: target differs from source
  • Missing: section does not exist

3. Synchronize When Differences Are Found

If differences were found:

cd ${PROJECT_ROOT} && python ${SKILL_DIR}/scripts/main.py --sync

4. Review Results

After synchronization:

  • Check the updated files for correct formatting
  • Ensure no context-specific adjustments were lost
  • If needed: manual post-processing for target-specific phrasing

5. Output Summary

Provide the user with a brief summary:

Documentation synchronized

Updated:
  - README.md: Tech Stack, Development
  - docs/index.md: Tech Stack

Unchanged:
  - docs/getting-started/quickstart.md

Customize Configuration

The sync rules are defined in ${SKILL_DIR}/config/sync_rules.json.

Add a new rule:

{
  "id": "new-rule",
  "source": {"file": "SOURCE.md", "section": "Section Name"},
  "targets": [
    {"file": "TARGET.md", "section": "Target Section"}
  ]
}

Notes

  • No automatic commits: The skill only modifies files, it does not commit
  • Whitespace-tolerant: Minor formatting differences are ignored
  • Section matching: Case-insensitive heading search
  • Backup: Create manually before synchronization if needed
Stats
Parent Repo Stars3
Parent Repo Forks0
Last CommitFeb 27, 2026