Agent skill

Architecture Decisions and ADRs

by first-fluke in first-fluke/oh-my-agent

Evaluates system boundaries and tradeoffs and writes architecture recommendations, option comparisons or ADRs, with a Mermaid diagram when structure changes.

MITAuto-check passedDevelopment

Install Architecture Decisions and ADRs

skills CLI
$ npx skills add first-fluke/oh-my-agent --skill oma-architecture -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install first-fluke/oh-my-agent oma-architecture --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/first-fluke/oh-my-agent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/oma-architecture .claude/skills/oma-architecture && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
oma-architecture
GitHub stars
1.3k
Token cost
~2.6k tokens
SKILL.md length
1,035 words
Files
31 (incl. references)
Skills in repo
57
Repo updated
First seen
Licence
MIT

At a glance

Evaluates system boundaries and tradeoffs and writes architecture recommendations, option comparisons or ADRs, with a Mermaid diagram when structure changes.

  • Works in 4 steps: Identify the architecture problem,… → Gather existing constraints, source… → Read prior decisions in… → …
  • Choosing between two architectures for a new system or module
  • SKILL.md covers Scheduling, Structural Flow, Logical Operations and References
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Starting from an architecture question, pain point or decision context, plus any code, diagrams, constraints or stakeholder concerns, the agent weighs options against quality attributes such as scalability, reliability, security, operability, cost and delivery speed. Methods it can apply include diagnostic routing, design-twice comparison, ATAM-style risk analysis and CBAM-style prioritization.

Outputs are a diagnosis, recommendation, comparison, prioritization or ADR that lists assumptions, tradeoffs, risks and validation steps, plus a Mermaid context or container diagram when the decision changes boundaries or data flow. Durable results are saved under .agents/results/architecture/. API versioning and deprecation strategy are covered too, while visual design, feature planning, infrastructure code, bug fixing and security or performance review are handed to sibling oma skills.

When your agent uses it

  • Choosing between two architectures for a new system or module
  • Defining service or module boundaries and ownership
  • Writing an ADR for a significant technical decision
  • Planning API versioning and deprecation windows

Example prompts

  • “Compare a modular monolith with separate services for our billing system and write the ADR.”
  • “Every change touches five modules. Diagnose the architecture pain and rank the fixes.”
  • “Plan the deprecation window and versioning strategy for our public v1 API.”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Identify the architecture problem, decision, or pain signal.
  2. Gather existing constraints, source evidence, and stakeholder context.
  3. Read prior decisions in .agents/results/architecture/ — new decisions supersede old ones explicitly, never contradict them silently.
  4. Select the lightest sufficient method.

What it can do on your machine

Read from SKILL.md and the folder at commit 268bb4a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Architecture Decisions and ADRs loads about 2.6k tokens when it runs, and up to ~18k if it reads all its reference files. Until then it costs about 33 tokens; SKILL.md has 1,035 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~2.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~18k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from first-fluke/oh-my-agent at commit 268bb4a, republished under its MIT licence (© first-fluke). 1,035 words, ~2,612 tokens.

Download SKILL.mdSave it as .claude/skills/oma-architecture/SKILL.md (or your agent's skills folder). This skill also uses 30 other files; get the full folder from GitHub.
name
oma-architecture
description
Evaluate system boundaries and architectural tradeoffs. Use for architecture decisions, design reviews, and ADRs.

Architecture Agent - Software Architecture Specialist

Scheduling

Goal

Analyze, compare, and document software architecture decisions with explicit tradeoffs, risks, stakeholder concerns, and validation steps.

Intent signature
  • User asks for architecture, system design, module/service boundaries, ADRs, or design tradeoffs.
  • User needs a decision method such as diagnostic routing, design-twice comparison, ATAM-style risk analysis, or CBAM-style prioritization.
  • User reports architecture pain such as change amplification, hidden dependencies, unclear ownership, or awkward APIs.
  • User needs an API versioning, deprecation, or published-contract evolution strategy.
When to use
  • Choosing or reviewing system architecture
  • Defining module, service, or ownership boundaries
  • Comparing architectural options with explicit tradeoffs
  • Investigating architectural pain: change amplification, hidden dependencies, awkward APIs
  • Prioritizing architecture investments or refactors
  • Writing architecture recommendations or ADRs
  • Deciding API versioning, deprecation windows, and published-contract evolution strategy
When NOT to use
  • Visual design, design systems, branding, or landing pages -> use oma-design
  • Feature planning and task decomposition -> use oma-pm
  • Infrastructure provisioning or Terraform implementation -> use oma-tf-infra
  • Bug diagnosis and code fixes -> use oma-debug
  • Security/performance/accessibility review -> use oma-qa
Expected inputs
  • Architecture question, pain point, or decision context
  • Existing codebase, diagrams, docs, constraints, or stakeholder concerns
  • Quality attributes such as scalability, reliability, security, operability, cost, and delivery speed
  • Optional target artifact type such as recommendation, option comparison, or ADR
Expected outputs
  • Architecture diagnosis, recommendation, comparison, prioritization, or ADR
  • Assumptions, tradeoffs, risks, and validation steps
  • A Mermaid context/container diagram when the decision changes structure (boundaries, dependencies, data flow)
  • When oma diagram resolve reports engine: archify (the normal case — oma auto-fetches the latest archify release), an interactive sibling <artifact-stem>.archify.json + .archify.html derived from that Mermaid (see _shared/conditional/diagram-engine.md)
  • Saved architecture artifacts under .agents/results/architecture/ when producing durable outputs
yaml
outputs:
  - name: architecture-artifact
    description: ADR, comparison, or recommendation written to durable storage when the run is meant to persist
    artifact: ".agents/results/architecture/*.md"
    required: false
  - name: architecture-diagram-html
    description: archify interactive HTML diagram (+ JSON spec) next to the Markdown artifact; only when the archify engine resolves and the decision is structural
    artifact: ".agents/results/architecture/*.archify.html"
    required: false
Dependencies
  • resources/execution-protocol.md for workflow
  • resources/methodology-selection.md for method choice
  • resources/stakeholder-synthesis.md when cross-cutting stakeholder consultation is justified
  • resources/output-templates.md for final artifact shapes
  • resources/api-evolution.md for published-contract versioning/deprecation decisions (MAP evolution patterns)
  • resources/migration-patterns.md for transition plans when the chosen architecture requires restructuring a live system
  • _shared/conditional/diagram-engine.md (+ oma diagram resolve) when a structural diagram is emitted — chooses archify vs Mermaid and owns the validate/deliver loop
Control-flow features
  • Branches by request clarity, decision materiality, risk level, and need for stakeholder consultation
  • May compare multiple options before recommending one
  • Produces source-grounded docs rather than directly changing implementation

Structural Flow

Entry
  1. Identify the architecture problem, decision, or pain signal.
  2. Gather existing constraints, source evidence, and stakeholder context.
  3. Read prior decisions in .agents/results/architecture/ — new decisions supersede old ones explicitly, never contradict them silently.
  4. Select the lightest sufficient method.
Scenes
  1. PREPARE: Clarify scope, quality attributes, constraints, and artifact target.
  2. ACQUIRE: Read code/docs and collect stakeholder or operational evidence when needed.
  3. REASON: Diagnose, compare options, analyze tradeoffs, and evaluate risks.
  4. VERIFY: Check assumptions, validation steps, and fit against constraints.
  5. FINALIZE: Produce recommendation, ADR, or architecture artifact.
Transitions
  • If the request is vague, use Diagnostic Mode before recommending.
  • If the decision is material, compare at least two genuinely different options.
  • If risk/quality attributes dominate, use ATAM-style analysis.
  • If prioritizing architecture investments, use CBAM-style cost/benefit framing.
  • If the decision is final, format it as an ADR.
Failure and recovery
  • If evidence is insufficient, state assumptions and request or search for missing context.
  • If stakeholder interests conflict, synthesize tradeoffs instead of forcing consensus.
  • If the task belongs to another domain, route to the relevant skill.
Exit
  • Success: recommendation or artifact states assumptions, options, tradeoffs, risks, and validation.
  • Partial success: unresolved assumptions or missing evidence are explicit.

Logical Operations

Actions
ActionSSL primitiveEvidence
Classify architecture requestSELECTMethod selection summary
Read code/docs/contextREADSource-grounded architecture evidence
Compare optionsCOMPAREDesign-twice or recommendation mode
Infer risks and tradeoffsINFERATAM/CBAM-style analysis
Validate decision fitVALIDATEChecklist and validation steps
Write artifactWRITEADR or architecture result
Notify outcomeNOTIFYFinal recommendation summary
Show full SKILL.md (419 more words)Show less
Tools and instruments
  • Local file reading and search for codebase/docs
  • Architecture method references and output templates
  • Optional stakeholder-agent consultation only when cross-cutting enough to justify cost
Canonical workflow path

Use the configured code-intelligence provider for structure, symbols, references, and integration points. If unavailable, use native search only for paths outside this project or ignored paths:

text
1. Read prior decisions in .agents/results/architecture/.
2. Discover the configured provider's file, symbol, reference, and pattern tools.
3. Inspect architecture-relevant modules, ownership, and integration points within the selected scope.

Then choose Diagnostic, Recommendation, Design-Twice, ATAM-style, CBAM-style, or ADR mode before writing the artifact.

Resource scope
ScopeResource target
CODEBASEArchitecture-relevant source files and docs
LOCAL_FS.agents/results/architecture/ artifacts
MEMORYAssumptions, option matrix, tradeoff notes
Preconditions
  • The architecture concern or decision boundary is identifiable.
  • Relevant context can be read or assumptions can be stated.
Effects and side effects
  • Creates architecture recommendations or ADR-style records.
  • May influence implementation direction, ownership boundaries, and future refactors.
  • Does not directly modify product code unless a separate implementation task is requested.
Guardrails
  1. Diagnose the architecture problem before selecting a method.
  2. Use the lightest sufficient methodology for the current decision.
  3. Distinguish architectural design from UI/visual design and from Terraform delivery.
  4. Consult stakeholder agents only when the decision is cross-cutting enough to justify the cost.
  5. Recommendation quality matters more than consensus theater: consult broadly, decide explicitly.
  6. Every recommendation must state assumptions, tradeoffs, risks, and validation steps.
  7. Be cost-aware by default: implementation cost, operational cost, team complexity, and future change cost.
  8. When a decision is material, compare at least two genuinely different options before recommending one.
  9. Save architecture artifacts to .agents/results/architecture/.
  10. Read prior artifacts in .agents/results/architecture/ before deciding; when replacing an old decision, mark it superseded rather than contradicting it.
  11. When a durable artifact is finalized in an active OMA workflow, record its actual recommendation, authority status, rationale, revision, and evidence with architecture.adr-complete (execution protocol Step 7). A completed proposal does not supply user approval or authorize implementation.
Method Selection Summary
  • Diagnostic Mode: vague pain, unclear architecture symptom
  • Recommendation Mode: choose a direction for a concrete architecture decision
  • Design-Twice Mode: compare 2+ materially different designs before committing
  • ATAM-style Mode: quality-attribute scenarios, tradeoff points, architectural risks
  • CBAM-style Mode: cost/benefit prioritization of architecture investments
  • ADR Mode: concise final decision record after analysis

References

  • Local code tools: references/_shared/core/code-intelligence.md (code search/navigation)

  • Execution steps (follow for the selected task): resources/execution-protocol.md

  • Checklist (run before handoff): resources/checklist.md

  • Method selection: resources/methodology-selection.md

  • Stakeholder protocol: resources/stakeholder-synthesis.md

  • Output templates: resources/output-templates.md

  • API evolution patterns (versioning, deprecation, lifecycle guarantees): resources/api-evolution.md

  • Migration/transition patterns (strangler fig, branch by abstraction, expand-contract): resources/migration-patterns.md

  • Context loading: references/_shared/core/context-loading.md

  • Task decomposition: references/_shared/core/difficulty-guide.md (unresolved scope or dependencies)

  • Clarification protocol: references/_shared/core/clarification-protocol.md

  • Quality principles: references/_shared/core/quality-principles.md

© first-fluke, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 30 other files (references) in skills/oma-architecture of first-fluke/oh-my-agent.

  • SKILL.md
  • references/_shared/conditional/experiment-ledger.md
  • references/_shared/conditional/exploration-loop.md
  • references/_shared/conditional/quality-score.md
  • references/_shared/core/api-contracts/README.md
  • references/_shared/core/api-contracts/template.md
  • references/_shared/core/clarification-protocol.md
  • references/_shared/core/code-intelligence.md
  • references/_shared/core/common-checklist.md
  • references/_shared/core/context-budget.md
  • references/_shared/core/context-loading.md
  • references/_shared/core/difficulty-guide.md
  • references/_shared/core/execution-policy.md
  • references/_shared/core/lessons-learned.md
  • references/_shared/core/prompt-structure.md
  • references/_shared/core/quality-principles.md
  • … and 15 more

Open the folder on GitHubat commit 268bb4a

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders. This page covers the copy in first-fluke/oh-my-agent, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Architecture Decisions and ADRs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Architecture Decisions and ADRs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Architecture Decisions and ADRs this skillfirst-fluke/oh-my-agent1.3k—~2.6kAutomated safety check: PassMIT
System Architecture DesignerJeffallan/claude-skills12k—~1.2kAutomated safety check: PassMIT
Senior Architectalirezarezvani/claude-skills28k4 repos~2.7kAutomated safety check: PassMIT
Archify Diagramstt-a1i/archify81k—~2.9kAutomated safety check: PassMIT
Archify Diagram BuilderUnclecheng-li/AI_Animation1.5k2 repos~4.1kAutomated safety check: PassMIT
GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram18k—~427Automated safety check: PassMIT

Similar skills

  • System Architecture Designer

    Jeffallan/claude-skills

    Guides system architecture design end to end: gathering requirements, matching them to a pattern, documenting trade-offs with ADRs, and reviewing.

    12k GitHub stars~1.2k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Senior Architect

    alirezarezvani/claude-skills

    This skill should be used when the user asks to "design system architecture", "evaluate microservices vs monolith", "create architecture diagrams", "analyze dependencies", "choose a database", "plan…

    28k GitHub starsUsed in 4 repos~2.7k tokens
    DevelopmentAuto-check passed
  • Archify Diagrams

    tt-a1i/archify

    Creates interactive architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone HTML with inline SVG, themes and image or video export.

    81k GitHub stars~2.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Archify Diagram Builder

    Unclecheng-li/AI_Animation

    Builds validated architecture, workflow, sequence, data-flow and lifecycle diagrams as standalone interactive HTML from a small JSON spec, with optional motion and image export.

    1.5k GitHub starsUsed in 2 repos~4.1k tokens
    DevelopmentAuto-check passed
  • GitDiagram Repository Overview

    ahmedkhaleel2004/gitdiagram

    Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.

    18k GitHub stars~427 tokensUpdated today
    DevelopmentAuto-check passed
  • Code Graph Mermaid Diagrams

    trailofbits/skills

    Official

    Generates Mermaid diagrams from Trailmark code graphs, including call graphs, class hierarchies, module dependency maps, complexity heatmaps and attack surface data flows.

    7.5k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed

More from first-fluke/oh-my-agent

All 57 skills in this repo
  • OMA Multi-Agent Orchestration

    first-fluke/oh-my-agent

    Decomposes a complex feature into tasks, dispatches parallel specialist agents with durable state, and supervises verification, QA review and retries.

    1.3k GitHub stars~4.1k tokensUpdated today
    Auto-check passed
  • OMA Multi-Agent Orchestrator

    first-fluke/oh-my-agent

    Splits a complex feature into prioritized tasks, spawns specialist CLI subagents in parallel, tracks them through shared memory and verifies each result.

    1.3k GitHub stars~3.1k tokensUpdated today
    Auto-check passed
  • OMA Brainstorm

    first-fluke/oh-my-agent

    Explores goals, constraints and alternative designs one question at a time and saves an approved design document before any planning or coding starts.

    1.3k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Oma Coordination

    first-fluke/oh-my-agent

    Coordinate assigned specialist tasks and handoffs manually. An agent skill from first-fluke/oh-my-agent.

    1.3k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Oma Image

    first-fluke/oh-my-agent

    Generate raster images or reference-guided variations through the OMA image CLI.

    1.3k GitHub stars~2k tokensUpdated today
    Auto-check passed
  • Oma PDF

    first-fluke/oh-my-agent

    Extract PDF text, headings, tables, and images into Markdown using opendataloader-pdf.

    1.3k GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Architecture Decisions and ADRs

What does Architecture Decisions and ADRs do?

Evaluates system boundaries and tradeoffs and writes architecture recommendations, option comparisons or ADRs, with a Mermaid diagram when structure changes. Starting from an architecture question, pain point or decision context, plus any code, diagrams, constraints or stakeholder concerns, the agent weighs options against quality attributes such as scalability, reliability, security, operability, cost and delivery speed. Methods it can apply include diagnostic routing, design-twice comparison, ATAM-style risk analysis and CBAM-style prioritization.

When should I use Architecture Decisions and ADRs?

Architecture Decisions and ADRs fits situations like: choosing between two architectures for a new system or module; defining service or module boundaries and ownership; writing an ADR for a significant technical decision; planning API versioning and deprecation windows.

How do I install Architecture Decisions and ADRs in Claude Code?

Run `npx skills add first-fluke/oh-my-agent --skill oma-architecture -a claude-code`. Or copy the skill folder (skills/oma-architecture in first-fluke/oh-my-agent) into .claude/skills/oma-architecture in your project. Claude Code loads it when a task matches its description.

How do I install Architecture Decisions and ADRs in Codex?

Run `npx skills add first-fluke/oh-my-agent --skill oma-architecture -a codex`. Or copy the skill folder (skills/oma-architecture in first-fluke/oh-my-agent) into .agents/skills/oma-architecture in your project. Codex loads it when a task matches its description.

Can I use Architecture Decisions and ADRs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add first-fluke/oh-my-agent --skill oma-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/oma-architecture, .gemini/skills/oma-architecture, .github/skills/oma-architecture and .opencode/skills/oma-architecture in your project.

What does Architecture Decisions and ADRs need to run?

SKILL.md names no scripts, command-line tools or credentials: Architecture Decisions and ADRs is instructions for the agent only.

Does Architecture Decisions and ADRs access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Architecture Decisions and ADRs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Architecture Decisions and ADRs use?

Architecture Decisions and ADRs is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Architecture Decisions and ADRs use?

About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.

What are the alternatives to Architecture Decisions and ADRs?

Skills that share tags, products or a category with Architecture Decisions and ADRs: System Architecture Designer (Jeffallan/claude-skills, 12k stars), Senior Architect (alirezarezvani/claude-skills, 28k stars), Archify Diagrams (tt-a1i/archify, 81k stars) and Archify Diagram Builder (Unclecheng-li/AI_Animation, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Architecture Decisions and ADRs?

first-fluke (a GitHub organization) maintains it in first-fluke/oh-my-agent, which has 1,336 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on October 10, 2026.

Source: first-fluke/oh-my-agent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.