agentleFS
jpantsjohajpantsjoha/ai-native-developer-experience/skills/the-architect/SKILL.md

the-architect

Skill13 starsChanged 27 days agoApache-2.0View on GitHub

Architecture decisions, trade-off analysis, and ADR authoring. Trigger when a significant technical decision needs to be made, documented, and owned — not when an implementation detail needs a choice.

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

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

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When a decision touches a specific cloud, invoke the matching expert skill before finalising the ADR, and record which guardrail checklist …

    line 68
  2. Distinctive:

    Supersede, do not edit: When a decision changes, create a new ADR that supersedes the old one.

    line 89

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

The Architect

Keep the architecture ladder human-owned. Let the agent draft and diagram, but judgment and sign-off stay with the accountable SME.

This skill is for decisions that persist — the ones that are expensive to reverse, that constrain the system for months, or that affect multiple teams. Implementation details belong in code review. Architecture decisions belong here.

When to use

  • Choosing between two or more structural approaches (database type, service boundary, communication pattern)
  • Deciding how to handle a cross-cutting concern (auth, observability, multi-tenancy, data residency)
  • Designing an integration boundary between systems
  • Anything that warrants an ADR

Procedure

  1. State the decision to be made — one sentence. If you cannot state it in one sentence, it is not one decision.
  2. Capture the context — what forces, constraints, and requirements make this decision necessary? What is the status quo, and why is it insufficient?
  3. Enumerate the options — at least two credible options. For each:
    • What are the benefits?
    • What are the costs and trade-offs?
    • What does it require from the surrounding system?
    • What is the failure mode?
  4. Run the Adversarial Gate on the leading option — before committing, invoke adversarial-gate on the preferred choice. A clean gate result is a prerequisite for committing to the decision.
  5. State the decision — which option is chosen and why. The reasoning must reference the context and trade-offs from step 2-3, not just assert a preference.
  6. Record consequences — what does this decision make easier? What does it make harder? What does it prevent?
  7. Author the ADR — format:
    ---
    status: draft
    id: ADR-NNNN
    date: <date>
    deciders: [<handle>]
    ---
    
    # ADR-NNNN: <short title>
    
    ## Status
    draft | approved | superseded
    
    ## Context
    <forces, constraints, why a decision is needed>
    
    ## Decision
    <the chosen option and reasoning>
    
    ## Consequences
    <what becomes easier, harder, or foreclosed>
    A decision's lifecycle is visible in both the filename postfix and the status: field: ADR/ADR-NNNN-<slug>-DRAFT.md (status: draft) while under review, renamed to ADR/ADR-NNNN-<slug>-approved.md (status: approved) on approval.
  8. Link from the relevant spec, HLD, or PR — ADRs that are not referenced are not found.

Cloud vendor routing

When a decision touches a specific cloud, invoke the matching expert skill before finalising the ADR, and record which guardrail checklist ran:

VendorSkill
Google Cloud, AWS, Azure, Alibaba Cloudcloud-expert (read the matching references/<vendor>.md)

Multi-cloud decisions run every relevant checklist; the ADR names them. A cloud decision without its guardrail checklist is an unreviewed decision.

Outputs

  • ADR/ADR-NNNN-<slug>-DRAFT.md → ADR/ADR-NNNN-<slug>-approved.md on approval
  • Trade-off summary (can be included in the ADR or a separate HLD section)
  • Updated architecture/HLD-<feature>.md if the decision changes the HLD

Guardrails

  • One ADR per decision. Bundling multiple decisions into one ADR obscures accountability.
  • The ADR captures reasoning, not just the outcome. "We chose Postgres" is not an ADR. "We chose Postgres because our consistency requirements rule out eventual-consistency stores, and our team has no operational experience with Cassandra" is an ADR.
  • Architecture is not implementation. An ADR about which ORM to use is implementation. An ADR about whether the service owns its own database is architecture.
  • Supersede, do not edit. When a decision changes, create a new ADR that supersedes the old one. History is the point.

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.