skills/docs/SKILL.md
Update repo documentation and durable agent-facing artifacts such as AGENTS.md, README.md, docs/, specs, plans, decisions, and runbooks. Use when code, skill, or infrastructure changes risk doc drift or when documentation needs cleanup or restructuring. Do not use for code review, runtime verification, or boot/readiness infrastructure setup.
npx skillsauth add uinaf/skills docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Keep the repo legible to humans and agents.
Not docs work: boot/readiness setup; baseline PR, issue, contributor, or security policy templates; independent code review; runtime verification.
Check the files humans and agents actually rely on:
AGENTS.mdCLAUDE.mdREADME.mdCONTRIBUTING.mdSECURITY.mddocs/Flag stale commands, dead paths, duplicate guidance, routing failures, and repo-internal details leaking into reader-facing docs.
Before editing, classify the target as repo docs, agent guidance, or work artifacts such as plans, specs, decisions, and handoffs.
Use the source-boundary table in references/documentation.md before writing cross-repo, private workspace, or local-machine facts into checked-in docs.
Keep top-level docs terse and navigational.
AGENTS.md should be a table of contents, not a wikiAGENTS.md, make CLAUDE.md a symlink or @AGENTS.md import instead of maintaining a second authored fileREADME.md should lead with value, quick use, and links to deeper docsCONTRIBUTING.md and SECURITY.md when they already exist or when moving existing policy out of an overloaded README.md; do not invent baseline policy from scratchREADME.md point to itRefresh the detailed documents that carry the knowledge.
Write each updated section as the reader's current source of truth.
When the user asks to save a durable rule, prompt, plan, or decision, choose the owning surface: docs/decisions/, docs/specs/, docs/plans/, or agent guidance for behavior future agents must repeat.
For new features, use the directory layout and templates in references/structuring.md — specs, plans, and decisions each have their own shape.
Example — fixing a stale path after a rename:
# AGENTS.md
-- Run the old bootstrap command to set up the dev environment.
+- Run the current setup command to set up the dev environment.
Verify prose against the repo.
Concrete checks:
rg -n "old/path|stale-command" AGENTS.md CLAUDE.md README.md docs/ when paths or commands movedrg -n "<new command|new path|decision keyword>" AGENTS.md CLAUDE.md README.md docs/ to find duplicate or conflicting homestest -e <path-from-docs> before keeping a file referencetest ! -e AGENTS.md || { test -L CLAUDE.md && test "$(readlink CLAUDE.md)" = "AGENTS.md"; } when normalizing agent entrypointsAfter docs work, report a compact docs footer:
nonenoneKeep the footer to 5 labeled lines or fewer. List changed files once.
development
Ban direct `useEffect` in React code. Use when writing, refactoring, reviewing, or migrating React components or hooks that import, call, add, or replace direct `useEffect`; when an agent reaches for effects for derived state, fetching, event reactions, resets, or external sync; or when adding lint/agent rules for a no-direct-useEffect policy. Do not use for ordinary React work with no effect smell, non-React code, or legitimate effect architecture outside React.
development
Independently audit existing code, diffs, branches, or pull requests by spawning mandatory concern-specific reviewer subagents, then synthesizing their evidence into a ship decision. Use when triaging PR risk, deciding whether someone else's change is safe to ship, or following up after runtime proof. Invocation is explicit authorization to use reviewer subagents. Produces a `ship it` / `needs review` / `blocked` verdict. Do not use to self-check a change you just authored.
testing
Set up or align a repository's GitHub collaboration and delivery surface: repo settings, branch/ruleset policy, PR and security templates, Actions hardening, GitHub Environments, release workflows, and deploy workflows. Use when standardizing GitHub setup for repos, CI/CD, publishing versioned packages, or deploying running apps; route app deploy details to deploy references and package publish details to release references.
development
Run structured Codex/Claude autoreview closeout for local changes, pull requests, branch diffs, or commits: choose the target, validate findings, rerun focused tests, and repeat review until clean. Use when asked for autoreview, second-model review, pre-merge review, or readiness-to-ship review.