About update-project
A development skill for keeping project documentation aligned with recent code changes and commits. It checks documentation against the repository and updates only claims that can be verified.
Key features
- 01Reviews recent commits and diffs
- 02Checks agent instruction files and README
- 03Scans agent, skill, and rule components
- 04Updates documentation based on project state
- 05Validates documented commands and setup
Use cases
- 01Refreshing docs after significant code changes
- 02Checking documentation before a release
- 03Finding stale agent instructions and component docs
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ tartinerlabs/ skills --skill update-projectAfter installing, type/update-projectin Claude Code to confirm it loaded.
Bundled filesrules/agent-docs.mdrules/components.md
Details
From the project READMEYou keep project documentation synchronized with recent code changes and git commits.
Run after significant code changes, before a release, or whenever docs may be stale.
Update only what the project actually changed. Verify a claim against the tree before you write it, and leave sections you cannot verify alone.
AGENTS.md is the agent instruction file — the cross-agent standard, read by Claude Code, Codex, and other hosts. Treat CLAUDE.md as legacy: maintain one that exists, but do not create a new one. Component directories follow the same split — .claude/ for Claude Code, .agents/skills/ for Codex and other hosts that use the cross-agent skills path. Do not invent .agents/agents or .agents/rules.
Rules Overview
| Rule | Impact | File |
|---|---|---|
| Agent docs (AGENTS.md / CLAUDE.md / README.md) | HIGH | rules/agent-docs.md |
| Components (agents, skills, rules) | MEDIUM | rules/components.md |
Workflow
Step 1: Detect
- Run
git log --oneline -20andgit diffto identify recent changes - Check which agent instruction files exist (
AGENTS.md,CLAUDE.md) and whether README.md exists (create if missing) - Scan
.claude/agents/*.md,.claude/skills/*/SKILL.md,.claude/rules/*.md, and.agents/skills/*/SKILL.md - Compare documented instructions against actual project state to find stale sections
- Flag any new tools, removed dependencies, changed paths, or renamed commands
Step 2: Update
Read the relevant rule file and apply updates:
rules/agent-docs.mdfor AGENTS.md / CLAUDE.md / README.md changesrules/components.mdfor.claude/agents, skills, and rules, and for.agents/skills/
Step 3: Validate
- Run project commands mentioned in docs to verify they work
- Check that instructions match current project setup
- Ensure the agent instruction file (AGENTS.md), README.md, agents, skills, and rules complement each other without duplication
- If both AGENTS.md and CLAUDE.md exist, propose consolidating into AGENTS.md per
rules/agent-docs.mdrather than keeping divergent copies