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

repository-drift-control

Skill12 starsChanged 4 months agoMITView on GitHub

Enforce coordinated updates across specs, templates, prompts, samples, and docs to prevent repository guidance drift.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 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.

  • 0

    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 17
  2. Distinctive:

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

    line 18
  3. Distinctive:

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

    line 19
  4. Distinctive:

    Verify policy and precedence remain coherent after updates.

    line 30
  5. Distinctive:

    Treat specification as authoritative when conflicts exist.

    line 44
  6. Distinctive:

    Avoid partial updates that leave dependent artifacts inconsistent.

    line 47

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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 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

  1. Identify source-of-truth changes and affected dependency set.
  2. Audit templates, prompts, samples, README, and AGENTS for alignment.
  3. Apply consistent terminology and path references.
  4. Verify policy and precedence remain coherent after updates.
  5. 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.

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.