ack-drift-control
Skill13 starsChanged 5 months agoMITView on GitHub
Enforce coordinated updates across specs, templates, skills, samples, and docs to prevent repository guidance drift.
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- openspec-apply-changeSkill
- openspec-archive-changeSkill
- openspec-exploreSkill
- openspec-proposeSkill
- openspec-sync-specsSkill
- openspec-update-changeSkill
- ack-create-agents-mdSkill
- ack-create-checkpointSkill
- ack-create-skillSkill
- ack-create-user-contextSkill
- ack-guideSkill
- ack-interviewSkill
- ack-interview-with-contextSkill
- ack-loop-01-readinessSkill
- ack-loop-02-implementSkill
- ack-loop-03-reviewSkill
- ack-loop-04-learningsSkill
- ack-loop-05-commitSkill
- ack-openspec-checkSkill
- ack-restore-checkpointSkill
- ack-sessionSkill
- ack-setupSkill
- ack-tddSkill
- ack-validate-agents-mdSkill
- ack-validate-skillSkill
- ack-validate-user-contextSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Use this skill when specification or governance files change.
- Distinctive: line 20
Use this skill during repo-wide refactors affecting canonical paths or precedence rules.
- Distinctive: line 21
Do not use this skill for isolated content edits without cross-artifact impact.
- Distinctive: line 32
Check that policy and precedence still agree across the spec, AGENTS.md and README.md.
- Very specific: line 33
Check OpenSpec project context: when openspec/config.yaml exists, its context points to AGENTS.md instead of copying it, and anything it …
- Very specific: line 34
Check attribution: every skill with a metadata.credits entry has a row in THIRD_PARTY_NOTICES.md, every row names an existing skill, and …
- Distinctive: line 50
Treat specification as authoritative when conflicts exist.
- Distinctive: line 53
Avoid partial updates that leave dependent artifacts inconsistent.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository Drift Control
Purpose
Prevent divergence between authoritative specification, operational skills and 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.mdandAGENTS.md. - Current canonical path map.
- List of dependent files expected to be audited.
Workflow
- List the changed source-of-truth files and, for each, the dependent files to audit. Done when every changed file has its dependent set.
- Audit each dependent file (templates, skills, samples,
README.md,AGENTS.md) for terminology, paths and rules that no longer match the source. Done when every file in the set is marked aligned or has a listed finding. - Fix each finding with consistent terms and relative paths. Done when a repository-wide search for each old term or path returns no stale hits.
- Check that policy and precedence still agree across the spec,
AGENTS.mdandREADME.md. Done when no two files give different rules for the same case. - Check OpenSpec project context: when
openspec/config.yamlexists, itscontextpoints toAGENTS.mdinstead of copying it, and anything it does state (project name, stack, conventions) matchesAGENTS.md. Done when the field is aligned or each mismatch is listed. - Check attribution: every skill with a
metadata.creditsentry has a row inTHIRD_PARTY_NOTICES.md, every row names an existing skill, and each source's license text is present (ADR-014). Done when skills and rows match one to one. - Record what was updated and why in the commit or pull request 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 - OpenSpec project context:
openspec/config.yamlat the repository root, when present (spec section 11) - Attribution:
../../THIRD_PARTY_NOTICES.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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

