From agent-methodology
Use this skill ALWAYS at the end of ANY code-changing task to synchronize project memory with reality. Trigger this skill after closing any TZ, after fixing any bug, after completing any refactor, after adding any feature, after creating any ADR — even if the user did not explicitly request docs update. This skill is MANDATORY before declaring a task complete.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-methodology:docs-syncThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Synchronize `docs/agent/` with what ACTUALLY happened in code. Code is truth, docs are derived.
Synchronize docs/agent/ with what ACTUALLY happened in code. Code is truth, docs are derived.
git log --oneline <last_synced_commit>..HEAD
git diff --stat <last_synced_commit>..HEAD
The last_synced_commit is in docs/agent/00_current_state.md frontmatter.
00_current_state.md — for durable facts cache03_active_plan.md — for closed task removal04_changelog.md — to append new entries06_known_issues.md — to update resolved/new issues07_handoff.md — to refresh next-step00_current_state.md — only DURABLE facts:
04_changelog.md — concise entries from diff:
## YYYY-MM-DD — TZ-NN: <title>
- Added: ... (what new code does)
- Changed: ... (what behavior changed)
- Fixed: ... (what bug is no longer)
- Commit: <hash>
03_active_plan.md — remove closed tasks, surface next ones.
07_handoff.md — diff-based, NOT narrative:
## What was done (facts from git)
- Commit abc123: feat(tz-15) summary
- Files: src/api/foo.py (+45/-12), src/db/models.py (+8/-0)
- Tests: pytest tests/test_foo.py PASS (12/12), mypy clean
## Where we stopped
- Current position: TZ-15 stage 4 of 7
- Next concrete action: <exact command or exact edit>
## NOT what we think is true
- (no hypotheses here, only facts)
/adr slash commandAt the top of each modified docs/agent/ file:
---
last_updated_at: 2026-MM-DD
last_updated_commit: <new HEAD hash>
last_updated_by: <session-id or "claude-code-sync">
---
npx claudepluginhub engsimsoft/universal-agent-starter --plugin agent-methodologyProvides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.