Imported from tartinerlabs/skills (
plugins/tooling/skills/update-project/SKILL.md). Install upstream withnpx skills add tartinerlabs/skills --skill update-project. Copyright stays with the author (MIT).
You 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 differ per host; rules/components.md maps them.
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 the agent, skill, and rule files of each host the project uses, at the paths rules/components.md lists
- 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.md for AGENTS.md / CLAUDE.md / README.md changes
- rules/components.md for agents, skills, and rules
Step 3: Validate
- Check that commands mentioned in docs exist in the project manifests (
package.jsonscripts,Makefiletargets, and similar) - 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.md rather than keeping divergent copies
