agentleFS
nishant-tamilselvannishant-tamilselvan/AEGIS/.claude/skills/add-adr/SKILL.md

add-adr

Skill1 starsChanged 50 days agoMITView on GitHub

Record a significant architectural decision as an ADR.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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:

    If it needs a decision, ask the user with AskUserQuestion and send the answer back to it.

    line 12
  2. Distinctive:

    If its final message hands work to another agent, delegate that work to the named subagent.

    line 13
  3. Very specific:

    Create the record with the tooling (auto-numbered, indexed): python -m artifact_tools adr new "<title>" …

    line 26
  4. Very specific:

    If this replaces an earlier decision, add --supersedes ADR-000X.

    line 28

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

How to run this in Claude Code

Delegate this request to the adr-author subagent with the Agent tool. Pass it the request below, the user's arguments and the application's docs/artifacts/<app> path. If it needs a decision, ask the user with AskUserQuestion and send the answer back to it. If its final message hands work to another agent, delegate that work to the named subagent. Report the outcome to the user.

This request

Record an architecture decision.

  1. Identify the target application's docs/artifacts/<app-name>/ folder (from the app name above, or ask me if unclear). Restate the decision in one line and confirm it is architecturally significant (hard to reverse or under scrutiny). If it is trivial, tell me it does not need an ADR.
  2. Gather context from docs/artifacts/<app-name>/ — the driving FR-* / NFR-* / BP-* and the real alternatives that were considered.
  3. Create the record with the tooling (auto-numbered, indexed): python -m artifact_tools adr new "<title>" docs/artifacts/<app-name>/architecture-decisions --status <status> --component "<domain>". If this replaces an earlier decision, add --supersedes ADR-000X.
  4. Fill Context, Decision Drivers, Considered Alternatives (pros/cons), Decision and Consequences, referencing the driving ids.
  5. Validate with python -m artifact_tools validate docs/artifacts/<app-name> and report the ADR id, status, and the validation result.

Arguments from the user: $ARGUMENTS

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.