agentleFS
ruokeeruokee/ruokee-agent-kit/.agents/skills/maintain-adr/SKILL.md

maintain-adr

Skill4 starsChanged 14 days agoMITView on GitHub

Maintain or review ADRs and their adopted mechanism. Load before creating, repairing, updating, reversing, archiving, or reviewing a decision, and when feature work affects a durable decision. Not for ordinary reading, general architecture discussion, or routine changes with no durable choice.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read the project's ADR supplements, terminology, and applicable documentation rules.

    line 15
  2. Distinctive:

    Read Record rules and Writing rules before maintaining or reviewing an ADR.

    line 16
  3. Very specific:

    Read confirmed requirements and relevant current decisions, including their Changes, before classifying the requirement.

    line 17
  4. Distinctive:

    Create a decision for an approved durable choice after its required implementation.

    line 27
  5. Very specific:

    Update a decision with non-conflicting content under dated Changes.

    line 29
  6. Very specific:

    Use Writing rules for the complete record, including alternatives and risk-like claims in Consequences.

    line 47

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

Maintain ADRs

An ADR records a durable choice, its rationale, and its necessary contract. Maintain the project's adopted mechanism, rather than replacing it with another system or manufacturing a decision for an ordinary edit.

Read the basis

  1. Resolve the request, working location, affected topic, and current authorization. Review and analysis stay read-only. Loading this Skill grants no editing, approval, archival, merge, or task-lifecycle permission.
  2. Read the project's ADR supplements, terminology, and applicable documentation rules. In this repository, start with ADR supplements. They define local language, Git, and permission policy. Explicit project overrides govern their stated differences; the remaining method below still applies.
  3. Read Record rules and Writing rules before maintaining or reviewing an ADR. These files own the default structure, lifecycle, and content rules.
  4. Read confirmed requirements and relevant current decisions, including their Changes, before classifying the requirement. Read relevant component documents. Consult task discussions for approval and rejected options. Read archives or Git history when identity, authorship, direct relationships, or historical rationale require them.

A suggested choice, an existing implementation, a task status, or a generated document is not by itself approval. Reuse effective authorization without adding a universal approval sequence. If a necessary source, semantic decision, or protected permission is missing, preserve that gap and finish unaffected authorized work.

Classify the operation

Use an ADR when a choice has real alternatives and changes a long-lived boundary such as architecture, ownership, a public or host contract, persisted format, compatibility, or repository-wide development and release policy. Local bug fixes, mechanical refactors, routine documentation edits, status reports, and temporary plans need no ADR unless they change such a choice.

Distinguish these operations before editing:

  • Create a decision for an approved durable choice after its required implementation. A document-only choice needs no implementation stage.
  • Repair an evidenced fact, expression, name, or link without changing the recorded choice.
  • Update a decision with non-conflicting content under dated Changes.
  • Reverse a conflicting decision through an approved choice and a complete successor preserving all still-effective clauses in that decision's scope.
  • Archive a replaced decision only under the project's lifecycle authority. Unadopted drafts are not archived decisions.

Code size, an added feature, another host dependency, or a renamed file alone does not establish a reversal. Do not disguise a conflicting choice as factual maintenance. Do not archive by age, length, or an arbitrary quota.

Keep discussion, approval, ordinary rejection, and pending execution in the project's task materials. Preserve material rejected alternatives in the adopted decision. A durable choice not to adopt an option may itself merit a decision. Do not introduce a proposal document type or replacement mandatory RFC process.

Determine the edit set

List the logical records and their required language versions, metadata, lifecycle moves, direct relationships, current-authority and historical citations, project supplements, affected component documents, inbound links, and heading fragments. Determine each identity and its next archive revision from actual records, not from today's date or an assumed shared ancestor.

A related document does not expand the current write boundary, and this Skill does not maintain task Goals.

Maintain the records

Apply the applicable creation, repair, update, reversal, or archival procedure in Record rules. Preserve requirements, quantities, conditions, exceptions, permissions, original authorship, actual event dates, and historical capabilities. An authorized correction of an evidenced metadata error is a factual repair, not permission to replace the original writer during ordinary maintenance.

Use Writing rules for the complete record, including alternatives and risk-like claims in Consequences. Do not invent entries to fill sections. Keep unique contracts or necessary reasons even when removing an unsupported entry.

Project supplements determine languages and Git workflow. A single-language project does not acquire translations from this Skill. Maintain required language versions as one logical record; unresolved semantic conflicts need an authorized decision, not silent preference for one language. Follow effective project permission without imposing this repository's Git sequence on other projects.

Check the result

Compare the result with the request, accepted choice, prior contract, current decisions and their changes, and project supplements. Confirm that each successor contains the still-effective clauses, each archive explains the historical choice, and no unchanged contract disappeared during relocation.

Check identity dates, continuous revision order, owner and writer fields, actual archival and change dates, direct predecessor and successor links, and the distinction between historical and current authority. Resolve language links, relative paths, inbound links, and heading fragments from each source's location. A stable current path does not make its fragments immutable.

Run the applicable project checks. Separately judge semantic agreement, language equivalence, and historical relationships; formatting does not prove them. For reviews, report actionable findings and evidence without changing the reviewed target. For maintenance, report actual changed records, preserved relationships, checks, and unresolved issues in the owning work materials. Keep task state, candidate identifiers, and verification logs out of the ADR.

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.