agentleFS
fredfortierfredfortier/theaetetus/skills/architecture-conformance/SKILL.md

architecture-conformance

Skill1 starsChanged 3 months agoMITView on GitHub

Classifies a proposed change or history operation against applicable accepted architecture decisions. Use when repository instructions or affected scope identify governing architecture records for implementation, review, merge, rebase, conflict resolution, revert, or suspected omission. Do not use when no architecture record applies or to authorize an amendment on the owner's behalf.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat accepted architecture decisions as authority over affected behavior, not as commentary inferred from current implementation.

    line 8
  2. Distinctive:

    Read every applicable record completely, then select only decisions relevant to the affected behavior.

    line 16
  3. Very specific:

    Treat a required fact that remains missing, contradictory, stale, or unsupported after evidence-grounding as uncertain.

    line 24
  4. Distinctive:

    Treat uncertainty as an amendment boundary until it is resolved.

    line 34
  5. Distinctive:

    Treat behavior and its verification disappearing together as a conflict signal, not evidence of cleanup.

    line 46

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

Architecture Conformance

Treat accepted architecture decisions as authority over affected behavior, not as commentary inferred from current implementation.

Discover the governing decisions

  1. Identify the behavior and paths the proposed operation can affect.
  2. Discover applicable architecture records from repository instructions, affected scope, and explicit cross-scope correspondence. If none applies, stop and return to the caller.
  3. Read every applicable record completely, then select only decisions relevant to the affected behavior.
  4. Apply evidence-grounding to authority, implementation correspondence, observations, history, inferences, and assumptions.
  5. For each decision, establish its scope, status, owner, rationale, consequences, valid state, illegal state, implementation correspondence, verification correspondence, and supersession history.

Treat a required fact that remains missing, contradictory, stale, or unsupported after evidence-grounding as uncertain.

Classify the complete proposal

  • conforming: preserves every applicable decision, correspondence, and verification obligation;
  • amendment: adds, removes, weakens, reinterprets, supersedes, or transfers an applicable decision; or
  • uncertain: lacks enough authority or evidence to distinguish conformance from amendment.

Treat uncertainty as an amendment boundary until it is resolved. Do not plan, edit, approve, merge, or resolve toward an amendment without explicit authority from the named owner for that semantic change. Urgency, failure, a smaller diff, precedent, or passing checks do not waive this gate.

Reconcile history when applicable

For a merge, rebase, replay, squash, conflict resolution, force-push, revert, or suspected omission:

  1. Resolve the focal, target, and relevant prior states exactly.
  2. Compare changed paths and behavior correspondence before interpreting the patch.
  3. Account for every removed accepted behavior, configuration owner, verification obligation, trigger, and protected constraint as retained, explicitly superseded, or authorized for amendment.
  4. Treat behavior and its verification disappearing together as a conflict signal, not evidence of cleanup.

Return

Report the applicable records and decisions, exact compared states when history matters, classification and authority basis, confirmed deviations, unresolved uncertainties, and checks run at the resulting state. Never claim verification that was not performed.

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.