Agent skill
repository-drift-control
Enforce coordinated updates across specs, templates, prompts, samples, and docs to prevent repository guidance drift.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/repository-drift-control
Metadata
Additional technical details for this skill
- source docs
- AGENTS.md, README.md, specs/context_aware_ai_session_spec.md
- workflow type
- governance
SKILL.md
Repository Drift Control
Purpose
Prevent divergence between authoritative specification, operational prompts/templates, and repository-facing documentation.
When To Use
- Use this skill when specification or governance files change.
- Use this skill during repo-wide refactors affecting canonical paths or precedence rules.
- Do not use this skill for isolated content edits without cross-artifact impact.
Required Inputs
- Changed authoritative artifact(s), especially
specs/context_aware_ai_session_spec.md. - Current canonical path map.
- List of dependent files expected to be audited.
Workflow
- Identify source-of-truth changes and affected dependency set.
- Audit templates, prompts, samples, README, and AGENTS for alignment.
- Apply consistent terminology and path references.
- Verify policy and precedence remain coherent after updates.
- Record drift-control outcomes in commit/PR summary.
Output Expectations
- Aligned artifacts with no stale references.
- Stable canonical paths and precedence documentation.
- Clear audit trail of what was updated and why.
Resources
- Governance contract:
../../AGENTS.md - Repository guide:
../../README.md - Authoritative model:
../../specs/context_aware_ai_session_spec.md
Constraints And Safety
- Treat specification as authoritative when conflicts exist.
- Keep guidance provider-neutral.
- Preserve canonical path stability unless explicitly migrating.
- Avoid partial updates that leave dependent artifacts inconsistent.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?