adr/skills/adr-ref-guard/SKILL.md
Quick advisory scan of markdown files for stale references to superseded/deprecated ADRs. Lightweight check — use the adr skill for full consistency audits.
npx skillsauth add musingfox/cc-plugins adr-ref-guardInstall 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.
Check markdown files for references to superseded or deprecated ADRs. Advisory only — never auto-replace.
This is a manual check skill — invoke it when you want to audit ADR references:
This skill does NOT auto-activate on Write/Edit operations.
Scan the content being written/edited for:
ADR-NNNN or ADR NNNN (any digit count)[...](path/to/NNNN-*.md){docs/decisions,docs/adr,adr,decisions}/[0-9][0-9][0-9][0-9]-*.mdNNNN-*.md in the ADR directorystatus fieldstatus starts with superseded by: warn with the replacement ADRstatus is deprecated: warn about relevancestatus is proposed or accepted: no warning neededPresent warnings after the write/edit operation completes. Include the file being edited:
ADR Reference Warning (in docs/setup.md):
- ADR-0003 (Use PostgreSQL) is superseded by ADR-0007 (Use SQLite).
Consider updating the reference to ADR-0007.
- ADR-0005 (Legacy Auth) is deprecated.
Verify this reference is still relevant.
data-ai
Unified entry point for Obsidian daily-note captures and long-form notes. Triggers on "記一下 / log / 紀錄 / capture this / 寫到 journal" (→ cap mode) and "建立筆記 / new note / 寫一份筆記 / create a note on" (→ note mode). Also via `/obw:cap` and `/obw:note`. Requires `.obsidian.yaml`.
tools
Use the `gog` CLI to operate Google Workspace — Gmail (read/search/send/labels/drafts), Calendar (events/RSVP/freebusy/focus-time/out-of-office), and Drive (list/search/upload/ download/share/move). Triggers on any Gmail, inbox, email, calendar, agenda, meeting, schedule, RSVP, Drive, Google Doc/Sheet/Slides, file share, or upload/download request.
documentation
Interactively create .obsidian.yaml for a project and install starter templates (task / doc / adr) into the vault's Templates folder. Skips templates that already exist; never overwrites.
tools
Manage project hook-guard installation — set up, diagnose, or update Claude Code hooks, git pre-commit, and commit-msg scripts with security checks, code-quality gates, and CLAUDECODE skip logic. Triggers on "set up hooks", "configure pre-commit", "add linting hooks", "initialize hook-guard", "check hooks", "hook doctor", "verify hook setup", "troubleshoot hooks", "update hooks", "regenerate hooks", "sync hooks with current tools", or similar requests.