doc-project
Original:🇺🇸 English
Translated
Update all project documentation in one pass: CLAUDE.md, AGENTS.md, README.md, SKILLS.md, CHANGELOG.md. Orchestrates doc-claude-md, doc-readme, doc-skills-md, and doc-changelog skills sequentially. Use when: project docs are stale, after major changes, initial project setup, sync all docs. Triggers: update all docs, update project docs, sync documentation, refresh docs, doc-project.
20installs
Added on
NPX Install
npx skill4agent add molechowski/claude-skills doc-projectTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Project Documentation Sync
Update all project documentation files in one pass by delegating to specialized skills.
Workflow
1. Analyze codebase → 2. CLAUDE.md + AGENTS.md → 3. README.md → 4. SKILLS.md → 5. CHANGELOG.md → 6. Summary1. Analyze Codebase
Before updating any docs, gather project state:
bash
# Project type signals
ls package.json go.mod pyproject.toml Cargo.toml Dockerfile *.tf 2>/dev/null
# Current doc state
ls CLAUDE.md AGENTS.md README.md SKILLS.md 2>/dev/null
# Recent changes since docs were last updated
git log --oneline -20
# Plugin/skill count if marketplace repo
ls plugins/ 2>/dev/null | wc -l2. CLAUDE.md + AGENTS.md
CRITICAL: Never manually edit the AGENTS.md directory tree. It uses non-breaking spaces () from the command that the Edit tool cannot match. Always use the script — it regenerates the tree from scratch.
\xa0treeRun from the doc-claude-md skill:
validate_docs.py --fixbash
python3 ~/.claude/skills/doc-claude-md/scripts/validate_docs.py --path <project> --fixThis handles:
- Regenerating the directory tree (from command)
tree - Validating CLAUDE.md (pointer file)
- Checking AGENTS.md structure and codebase consistency
- Updating timestamp
last_validated
After the script runs, manually update any non-tree content in AGENTS.md (e.g., skill counts in prose, new naming conventions).
3. README.md
Delegate to skill:
doc-readmeSkill(skill="doc-readme")This handles:
- Creating or updating README.md
- Syncing with current codebase state (features, structure, install steps)
4. SKILLS.md
Delegate to skill:
doc-skills-mdSkill(skill="doc-skills-md")This handles:
- Analyzing project to recommend relevant marketplace plugins
- Creating or updating Required/Recommended tables
- Updating plugin counts
Skip this step if the project does not use a plugin marketplace.
5. CHANGELOG.md
Delegate to skill:
doc-changelogSkill(skill="doc-changelog")This handles:
- Generating changelog entries from git history since last release/tag
- Classifying commits by type (Added, Changed, Fixed, Removed)
- Enriching entries with PR references
- Updating the Unreleased section
Skip this step if the project does not maintain a CHANGELOG.md.
6. Summary
After all updates, report what changed:
## Documentation Updated
| File | Action | Changes |
|------|--------|---------|
| CLAUDE.md | Updated/Created/No change | ... |
| AGENTS.md | Updated/Created/No change | ... |
| README.md | Updated/Created/No change | ... |
| SKILLS.md | Updated/Created/Skipped | ... |
| CHANGELOG.md | Updated/Created/Skipped | ... |Modes
Full Sync (default)
Update all five files. Use for initial setup or after major changes.
"Update all project docs"
Selective
Update only specified files. Name them explicitly.
"Update AGENTS.md and README.md"
Validate Only
Check docs without modifying. Report what's stale.
"Check if project docs are up to date"
For validate-only, read each file and compare against codebase state. Report discrepancies without editing.