원클릭으로
resolve
Review pending drift warnings and fix affected documentation or dismiss false positives
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Review pending drift warnings and fix affected documentation or dismiss false positives
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Make a codebase agent-ready by scaffolding AGENTS.md, ARCHITECTURE.md, and docs/ structure. Analyzes codebase structure, generates documentation artifacts following progressive disclosure patterns, and audits existing artifacts for staleness and coherence. Use when improving a codebase for AI agent work.
Full-codebase documentation drift scan — find every doc that references code reality incorrectly
Configure doc-sentinel drift detection for a project — detect docs root, watched files, and ignore patterns
This skill should be used to run an Agent-Ready Codebase Assessment — scoring a codebase across 8 dimensions with parallel agents, producing a weighted score (0-100), band rating, and improvement roadmap. Supports Ruby, Python, PHP, TypeScript, JavaScript, Go, Java, Scala, and Rust.
Audit codebase documentation for accuracy, completeness, and freshness. Compares docs against actual code structure, auto-fixes small discrepancies, reports structural changes. Works with any language/framework. Companion to agent-ready.
Use this skill when planning and designing gridfinity baseplates for 3D printing. This includes calculating optimal grid sizes from given measurements, determining how to slice large grids into printable chunks based on printer bed dimensions, and calculating padding requirements for non-exact fits. The skill handles both metric and imperial measurements and provides guidance for using gridfinity.perplexinglabs.com to generate the actual STL files.
| name | resolve |
| description | Review pending drift warnings and fix affected documentation or dismiss false positives |
| disable-model-invocation | true |
| allowed-tools | Read, Bash, Glob, Grep, Write, Edit, Agent |
Process accumulated drift warnings from .doc-sentinel-drift.json. For each warning, verify whether the doc actually drifted, fix it if so, or dismiss if it is a false positive.
cat .doc-sentinel-drift.json 2>/dev/null || echo "No drift warnings pending"
If the file is empty or missing, report "No drift warnings to resolve" and exit.
Group warnings by doc file. Multiple source changes may affect the same doc — process them together for coherent updates.
Example grouping:
ARCHITECTURE.md
- src/routes/auth.ts changed (commit abc123)
- src/routes/users.ts changed (commit def456)
docs/api.md
- src/controllers/payments.ts changed (commit abc123)
Present the grouped summary and total count before proceeding.
For each doc file with drift warnings:
Read the doc file and the changed source files to understand what actually changed.
Determine what kind of drift occurred:
| Classification | Description | Action |
|---|---|---|
| Path moved | Source file was renamed or moved | Update path references in doc |
| API changed | Function signatures, endpoints, or interfaces changed | Update API documentation |
| Config changed | Env vars, ports, or settings changed | Update config references |
| Structure changed | Directories added/removed, module reorganized | Update codemap/architecture sections |
| Behavioral change | Logic changed but interface stayed the same | Update descriptions if they mention specific behavior |
| False positive | Doc references the file but the relevant content did not change | Dismiss |
For real drift:
<!-- TODO: verify --> comment rather than guessingFor false positives:
After processing all groups:
# Stage only modified doc files
git add <fixed-doc-files>
git commit -m "docs: resolve documentation drift from recent changes
Updated docs to reflect code changes detected by doc-sentinel:
- <brief summary of fixes>"
Use the docs: commit prefix to prevent the post-commit hook from re-triggering on this commit.
# Remove the drift file — it is session-scoped
rm -f .doc-sentinel-drift.json
Print resolution summary:
doc-sentinel: resolved N drift warning(s)
Fixed:
- ARCHITECTURE.md — updated 2 path references
- docs/api.md — updated endpoint documentation
Dismissed (false positives):
- README.md — logo path unchanged despite src/ changes
Remaining:
- None (all warnings resolved)
If any warnings could not be resolved automatically (require human judgment about intent), list them separately under "Needs Review" with specific questions.
docs: commit prefix to avoid hook feedback loopsdrift-resolver agent for complex cases.doc-sentinel-drift.json after processing, even if some warnings were dismissed