Documentation updates

From aspiers/ai-config · View interactive version

Documentation updates is an AI agent skill from the GitHub repository aspiers/ai-config. Capture durable project or workflow knowledge discovered during work. Use when a mistake, hidden constraint, repeated question, or changed behavior reveals a documentation gap. To root-cause one specific mistake the agent just made and let the user pick fixes, use `learn` (`/learn`) instead.

How to use this skill

Skill file

Documentation Updates

Record knowledge where future readers will naturally look for it, without

turning instruction files into a transcript or catch-all memory store.

Research reports

Store durable research, investigation, audit, and comparison reports under

docs/research/ relative to the current repository root by default. Defer to a

location specified by the user, the repository, or a focused workflow.

Workflow

  1. Identify the durable lesson and who needs it.
  2. Find the authoritative home: nearby code or tests, project documentation,

an applicable agent rule, a focused skill, or the project's task/memory

system. For agent rules, prefer AGENTS.md over CLAUDE.md, and the

shared global rules file (e.g. ~/.agents/AGENTS.md) over any single

agent's global file, so all agents stay in parity. Use an agent-specific

file only for that agent's own features. The shared global rules file

loads into every session, so it takes only rules for almost any task.

Guidance for one kind of work, such as writing skills or agent config,

goes in that work's skill. If an agent needed that skill and didn't load

it, fix the skill's description so it triggers; don't copy the rule into

an always-loaded file.

  1. Update the smallest relevant source. Link to existing detail rather than

duplicating it.

  1. Check for conflicting or stale guidance and update it in the same scope.
  2. Validate examples, commands, links, and any generated or mirrored files.
  3. Summarize what changed and why.

Include

Exclude

Do not block unrelated work for a documentation review unless the user asked

for an approval checkpoint or the documentation is required for safe use.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.