Detect drift from specs, tests, world models, or governance norms.
Inputs
SPEC Card
TEST Card
World model
Recent Metrics Records
Recent Experience Records
Output: Drift Report
Drift Report
Drift type:
Spec drift
Test drift
Invariant erosion
Governance bypass
Severity: LOW | MED | HIGH
Evidence pointers:
Recommended action:
Rules
HIGH drift requires immediate flag to Driver.
Repeated MED drift escalates to HIGH.
Record to appropriate ledger: .agents/memory/drift_ledger.md (BUILD_SWARM) or .agents/user_memory/drift_ledger.md (RUN_SDLC)
Spec drift: Implementation deviates from SPEC Card
Test drift: Tests no longer align with specs or reality
Invariant erosion: Core assumptions or constraints violated
Governance bypass: Quality gates skipped or weakened without justification
HIGH drift blocks release until addressed
1---2name: drift-detector3description: Skill: DriftDetector4---5# Skill: DriftDetector67## Purpose8Detect drift from specs, tests, world models, or governance norms.910## Inputs11- SPEC Card12- TEST Card13- World model14- Recent Metrics Records15- Recent Experience Records1617## Output: Drift Report1819### Drift Report20- Drift type:21 - Spec drift22 - Test drift23 - Invariant erosion24 - Governance bypass25- Severity: LOW | MED | HIGH26- Evidence pointers:27- Recommended action:2829## Rules30- HIGH drift requires immediate flag to Driver.31- Repeated MED drift escalates to HIGH.32- Record to appropriate ledger: `.agents/memory/drift_ledger.md` (BUILD_SWARM) or `.agents/user_memory/drift_ledger.md` (RUN_SDLC)33- Spec drift: Implementation deviates from SPEC Card34- Test drift: Tests no longer align with specs or reality35- Invariant erosion: Core assumptions or constraints violated36- Governance bypass: Quality gates skipped or weakened without justification37- HIGH drift blocks release until addressed
Run npx skillmds@latest add farmountain/drift-detector in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Skill: DriftDetector It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
farmountain (@farmountain) published this skill. Their other Agent Skills are listed on their SkillMD profile.