c/writing › command
0votes

Update AI context docs (peterkrueck)

SkillLow risk
submitted by CommandVault editors to c/writing

Keeps a project's AI-facing docs and CLAUDE.md in sync after architectural changes.

After a change that adds new architecture, Claude updates four docs under docs/ai-context (spec, project structure, progress, deployment) and CLAUDE.md, or creates them if missing. The rules favor deleting lines, describe only the current state, and skip anything an agent can learn from the code or git history. It also says when not to run, such as after bug fixes, small refactors or styling changes.

Try asking:

  • "Update the docs for the new queue worker we just added"
  • "/update-docs"
  • "Set up the ai-context docs for this project"

Source: peterkrueck/Claude-Code-Development-Kit · MIT · by peterkrueck

0 commentsreport

Install this skill

Agent Skills are folders with a SKILL.md file. Most AI coding tools load them automatically when a task matches the description. Tip: .agents/skills/ is read by Codex, Cursor, Copilot, Gemini CLI, Grok and Windsurf.

One command
npx commandvault add update-ai-context-docs-peterkrueck-f92af14c --tool claude
Install (run in your project folder)
mkdir -p .claude/skills/update-docs && curl -fsSL https://raw.githubusercontent.com/peterkrueck/Claude-Code-Development-Kit/main/skills/update-docs/SKILL.md -o .claude/skills/update-docs/SKILL.md

Use it: Claude uses it automatically when a task matches, or type /update-docs.

From Claude Code's docs , checked Oct 17, 2026.

Made by peterkrueck, MIT license. Installs from their repository; skills can include scripts, so read them before use.

In the Claude apps, zip the folder and upload it under Settings → Capabilities → Skills.

Use this file with your AI tool

Each tool reads project instructions from a different file name. Fill in the blanks above, then save it where your tool looks.

One command
npx commandvault add update-ai-context-docs-peterkrueck-f92af14c --tool claude
Save as CLAUDE.md
After a change that adds new architecture, Claude updates four docs under docs/ai-context (spec, project structure, progress, deployment) and CLAUDE.md, or creates them if missing. The rules favor deleting lines, describe only the current state, and skip anything an agent can learn from the code or git history. It also says when not to run, such as after bug fixes, small refactors or styling changes.

**Try asking:**
- "Update the docs for the new queue worker we just added"
- "/update-docs"
- "Set up the ai-context docs for this project"

**Source:** [peterkrueck/Claude-Code-Development-Kit](https://github.com/peterkrueck/Claude-Code-Development-Kit/tree/HEAD/skills/update-docs) · MIT · by peterkrueck

Use it: Claude Code loads it at the start of every session. Check with /context (Memory files).

From Claude Code's docs , checked Oct 17, 2026.

More from c/writing

See all of c/writing →
0 comments

Log in to join the discussion.