agentleFS
MSiccDevMSiccDev/ai-context-kit/skills/ack-drift-control/SKILL.md

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.

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
  1. Distinctive:

    Use this skill when specification or governance files change.

    line 19
  2. Distinctive:

    Use this skill during repo-wide refactors affecting canonical paths or precedence rules.

    line 20
  3. Distinctive:

    Do not use this skill for isolated content edits without cross-artifact impact.

    line 21
  4. Distinctive:

    Check that policy and precedence still agree across the spec, AGENTS.md and README.md.

    line 32
  5. Very specific:

    Check OpenSpec project context: when openspec/config.yaml exists, its context points to AGENTS.md instead of copying it, and anything it …

    line 33
  6. Very specific:

    Check attribution: every skill with a metadata.credits entry has a row in THIRD_PARTY_NOTICES.md, every row names an existing skill, and …

    line 34
  7. Distinctive:

    Treat specification as authoritative when conflicts exist.

    line 50
  8. Distinctive:

    Avoid partial updates that leave dependent artifacts inconsistent.

    line 53

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.md and AGENTS.md.
  • Current canonical path map.
  • List of dependent files expected to be audited.

Workflow

  1. List the changed source-of-truth files and, for each, the dependent files to audit. Done when every changed file has its dependent set.
  2. 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.
  3. 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.
  4. Check that policy and precedence still agree across the spec, AGENTS.md and README.md. Done when no two files give different rules for the same case.
  5. Check OpenSpec project context: when openspec/config.yaml exists, its context points to AGENTS.md instead of copying it, and anything it does state (project name, stack, conventions) matches AGENTS.md. Done when the field is aligned or each mismatch is listed.
  6. Check attribution: every skill with a metadata.credits entry has a row in THIRD_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.
  7. 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.yaml at 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.