- Home
- Skills
- Technical Documentation
- Keep AGENTS.md & Project Docs in Sync with Code
Keep AGENTS.md & Project Docs in Sync with Code
by Vivek Dahiya
Your AI agent updates AGENTS.md, CLAUDE.md, README and other docs right after it changes code, so they never go stale.
Free
Keep AGENTS.md & Project Docs in Sync with Code
Example session with this skill installed
I renamed src/utils/format.ts to src/lib/format.ts. Sync the docs.
- Read your context and instructions
- Compiled the keep agents md
Docs: updated AGENTS.md Folder structure and the "Where things live" table to point to src/lib/format.ts. No broken links left.
Connects securely to your tools. The creator never sees your data.
About this skill
Agent docs like AGENTS.md are only useful if they're true. The next agent (or person) trusts them instead of reading the code, so a doc that still names a deleted file or an old command sends them the wrong way.
This skill makes your AI agent check and fix the docs as the last step of every coding task, while it still knows exactly what changed:
- Finds the docs:
AGENTS.md,CLAUDE.md,README.md,CONTRIBUTING.md,docs/,.cursorrules,.github/copilot-instructions.md, and nested ones in subfolders. It follows any update rules a doc sets for itself. - Reads the real diff with git, including untracked files, or a commit range you give it (e.g.
HEAD~3..HEAD). - Finds every claim the change touches: old names, paths and commands, folder trees, tables, and negative claims like "there is no test script".
- Makes the smallest edit in the doc's own style, and deletes statements that are no longer true.
- Checks its work: no old names left, no broken relative links.
- Reports in one line which docs and sections changed, or why nothing needed to.
It never creates docs nobody asked for, and asks before touching a very large change (50+ files).
Only updates docs that already exist; it never creates new docs. Needs a git repository to see what changed.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 3 days ago
- Free with an Agensi account
- Software
Git
Permissions
File Scopes
What's inside
Frequently Asked Questions
New in Technical Documentation
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Technical Documentation.