agentleFS
nisarthnisarth/claude-skills-store/skills/engineering/architecture/SKILL.md

architecture

Skill1 starsChanged 7 months agoMITView on GitHub

Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component for an existing system.

136 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use intelligent-routing, bash-linux and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SKB3002Skill

    intelligent-routing

    Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.

    Also in 6 projects that use this

  • xenitV1Skill

    bash-linux

    Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.

    Also in 8 projects that use this

  • xenitV1Skill

    red-team-tactics

    Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.

    Also in 8 projects that use this

  • SKB3002Skill

    nextjs-react-expert

    React and Next.js performance optimization from Vercel Engineering. Use when building React components, optimizing performance, eliminating waterfalls, reducing bundle size, reviewing code for performance issues, or implementing server/client-side optimizations.

    Also in 3 projects that use this

  • +8 more from xenitV1

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 118 edited versions we read keep these.

  • 9

    Distinctive

    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:

    Create, evaluate, or manage Architecture Decision Records (ADRs) that document significant technical decisions with their context, …

    line 25
  2. Distinctive:

    What existing decisions does this relate to?: Check for prior ADRs in the project.

    line 36
  3. Very specific:

    If the project has an docs/adr/ or docs/decisions/ directory, read existing ADRs to understand established patterns and numbering …

    line 38
  4. Distinctive:

    Check the project's tech stack for compatibility.

    line 51
  5. Distinctive:

    Consider operational complexity (deployment, monitoring, debugging).

    line 52
  6. Distinctive:

    Use the output format below.

    line 71
  7. Very specific:

    If docs/adr/ or docs/decisions/ exists, write there.

    line 75
  8. Very specific:

    Use the naming convention: NNNN-short-title.md (e.g., 0001-use-postgres-for-primary-store.md).

    line 77
  9. Distinctive:

    Action: Write an ADR capturing the context, alternatives considered (polyrepo, hybrid), and the reasoning for choosing a monorepo.

    line 160
  10. Distinctive:

    Action: Read the proposal, identify strengths, gaps, risks, and unstated assumptions, and produce a structured evaluation.

    line 163
  11. Distinctive:

    Keep ADRs immutable once accepted.

    line 170
  12. Distinctive:

    When evaluating existing proposals, be constructive.

    line 173

“Common” is measured: kept by at least 6 in 10 of the 118 edited versions of this file we could read. “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 Decision Records

Create, evaluate, or manage Architecture Decision Records (ADRs) that document significant technical decisions with their context, trade-offs, and consequences.

Workflow

Step 1: Understand the Decision Context

Gather information about the decision:

  • What problem are we solving? Understand the requirement or constraint driving the decision.
  • What are the constraints? Budget, timeline, team skills, existing infrastructure, compliance.
  • Who are the stakeholders? Teams affected by this decision.
  • What existing decisions does this relate to? Check for prior ADRs in the project.

If the project has an docs/adr/ or docs/decisions/ directory, read existing ADRs to understand established patterns and numbering conventions.

Step 2: Identify and Research Options

For each viable option:

  • Describe how it would work in this specific context.
  • List concrete pros (benefits, strengths, alignment with constraints).
  • List concrete cons (risks, costs, operational burden).
  • Identify unknowns or assumptions that affect the evaluation.
  • Note team experience and ecosystem maturity.

Research considerations:

  • Check the project's tech stack for compatibility.
  • Consider operational complexity (deployment, monitoring, debugging).
  • Evaluate vendor lock-in and migration paths.
  • Assess the total cost of ownership, not just initial implementation.

Step 3: Evaluate Trade-offs

Build a comparison matrix across dimensions:

CriterionWeightOption AOption BOption C
PerformanceHigh.........
Operational costMedium.........
Team familiarityMedium.........
Vendor lock-inLow.........

Weight criteria based on the specific project context, not generic importance.

Step 4: Write the ADR

Use the output format below. If a numbering scheme exists in the project, follow it. Otherwise, use the date-based format.

Step 5: Place the File

  • If docs/adr/ or docs/decisions/ exists, write there.
  • Otherwise, suggest creating docs/adr/ and write the first ADR.
  • Use the naming convention: NNNN-short-title.md (e.g., 0001-use-postgres-for-primary-store.md).

Output Format

# ADR-NNNN: <Title of Decision>

## Status

Proposed | Accepted | Deprecated | Superseded by ADR-XXXX

## Date

YYYY-MM-DD

## Context

<2-4 paragraphs describing the problem, constraints, and why a decision
is needed now. Include relevant technical context, business requirements,
and any forcing functions.>

## Decision Drivers

- <driver 1: e.g., "Must handle 10k events/second at peak">
- <driver 2: e.g., "Team has no Kafka operational experience">
- <driver 3: e.g., "Budget constraint of $500/month for messaging">

## Options Considered

### Option 1: <Name>

<Description of how this would work in our context.>

**Pros:**
- <concrete benefit>
- <concrete benefit>

**Cons:**
- <concrete drawback>
- <concrete drawback>

### Option 2: <Name>

<Same structure.>

### Option 3: <Name>

<Same structure.>

## Decision

We will use **<chosen option>** because <primary rationale>.

<1-2 paragraphs explaining the reasoning, how it aligns with decision
drivers, and why the trade-offs are acceptable.>

## Consequences

### Positive
- <expected benefit>

### Negative
- <accepted trade-off or new burden>

### Risks
- <risk and mitigation>

## Follow-up Actions

- [ ] <action item with owner>
- [ ] <action item with owner>

## References

- <link or citation>

Examples

User: "Should we use Kafka or SQS for our event pipeline?" Action: Research both options in context of the project, compare on throughput, cost, operational complexity, team experience, and write an ADR recommending one with clear reasoning.

User: "Document our decision to use a monorepo" Action: Write an ADR capturing the context, alternatives considered (polyrepo, hybrid), and the reasoning for choosing a monorepo.

User: "Evaluate this architecture proposal" (with a document or description) Action: Read the proposal, identify strengths, gaps, risks, and unstated assumptions, and produce a structured evaluation.

Best Practices

  • ADRs capture the decision AND the context — future readers need to understand why, not just what.
  • Include options that were rejected. Understanding what was NOT chosen is as valuable as what was.
  • Be specific about consequences. "Increased complexity" is vague. "Requires the team to learn and operate Kubernetes, estimated 2-week ramp-up" is actionable.
  • Keep ADRs immutable once accepted. If a decision changes, write a new ADR that supersedes the old one.
  • Link related ADRs to each other to create a navigable decision history.
  • Weight trade-offs by what matters for THIS project, not in the abstract. A startup prototype and a regulated financial system have very different priorities.
  • When evaluating existing proposals, be constructive. Identify gaps and risks, but also acknowledge strengths.

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.