skills/docs-protocol/SKILL.md
Full documentation auto-update protocol: trigger tables, structural change rules, policy-change mappings for ~/claude-projects/docs/.
npx skillsauth add tesseract-ripple/claude-research-config docs-protocolInstall 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.
Reference for keeping ~/claude-projects/docs/ in sync with config reality.
| Docs file | Triggered by file edits in... |
|---|---|
| claude-setup.md | ~/.claude/ structure, settings.json, agents, skills, MCP servers, ~/claude-projects/ directory tree |
| latex-setup.md | LaTeX toolchain, VS Code LaTeX extensions, .latexmkrc, bib tools |
| terminal-setup.md | ~/.config/kitty/, ~/.config/tmux/, ~/.claude/keybindings.json, fish config, readline |
| claude-usage-widget.md | ~/claude-projects/claude-usage/, SwiftBar plugin, ~/.claude/usage-*.json |
CLAUDE.md that affect a documented domain| Docs file | Also triggered by policy changes about... |
|---|---|
| latex-setup.md | LaTeX compilation policies, document conventions, formatting rules, package usage guidelines |
| terminal-setup.md | Shell conventions, keybinding policies, tmux workflow rules |
| claude-setup.md | Hook behavior policies, memory system rules, subagent model selection rules, cost guidelines |
A policy change is anything in CLAUDE.md that a reader of the corresponding docs file would want to know.
If you edit a config file or add a policy not covered above, create a new file under docs/ and add a row to the relevant table.
Doc updates are also triggered by structural changes that don't involve editing existing files:
~/.claude/ or ~/claude-projects/ (e.g., git clone, mkdir)These happen via Bash, not Edit/Write. The PostToolUse hook on Bash catches structural commands (mkdir, cp, mv, git clone) in monitored paths.
claude-setup.md scopeUpdate when you add, remove, or change:
~/.claude/ or ~/claude-projects/Do not put user artifact documentation (LaTeX setups, paper notes, tool configs) in claude-setup.md. That content belongs in its own file under docs/.
documentation
Draft or refine a LaTeX section for a research paper, note, or proof writeup.
development
Computationally verify a mathematical identity, construction, or cryptographic property using Python.
testing
Cross-reference all citations in .tex files against bibliography entries. Find missing entries, unused references, and quality issues.
research
Survey a research topic — find approaches, compare tradeoffs, summarize key papers and results.