Oma architecture

From first-fluke/oh-my-agent · View interactive version

Oma architecture is an AI agent skill from the GitHub repository first-fluke/oh-my-agent. Architecture specialist for software/system design, module and service boundaries, tradeoff analysis, and stakeholder synthesis. Uses context-aware methods such as diagnostic routing, design-twice comparison, ATAM-style risk analysis, CBAM-style prioritization, and ADR-style decision records.

How to use this skill

Skill file

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

When to use

When NOT to use

Expected inputs

Expected outputs

Dependencies

Control-flow features

Structural Flow

Entry

  1. Identify the architecture problem, decision, or pain signal.
  2. Gather existing constraints, source evidence, and stakeholder context.
  3. 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

Failure and recovery

Exit

Logical Operations

Actions

| Action | SSL primitive | Evidence |

|--------|---------------|----------|

| Classify architecture request | SELECT | Method selection summary |

| Read code/docs/context | READ | Source-grounded architecture evidence |

| Compare options | COMPARE | Design-twice or recommendation mode |

| Infer risks and tradeoffs | INFER | ATAM/CBAM-style analysis |

| Validate decision fit | VALIDATE | Checklist and validation steps |

| Write artifact | WRITE | ADR or architecture result |

| Notify outcome | NOTIFY | Final recommendation summary |

Tools and instruments

Canonical workflow path

rg --files
rg "ADR|architecture|boundary|service|module|dependency|owner|interface" .

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

Resource scope

| Scope | Resource target |

|-------|-----------------|

| CODEBASE | Architecture-relevant source files and docs |

| LOCAL_FS | .agents/results/architecture/ artifacts |

| MEMORY | Assumptions, option matrix, tradeoff notes |

Preconditions

Effects and side effects

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/.

Method Selection Summary

References

Follow resources/execution-protocol.md step by step.

See resources/examples.md for output examples.

Use resources/methodology-selection.md to select the right method.

Use resources/stakeholder-synthesis.md when stakeholder consultation is needed.

Use resources/output-templates.md to format the final artifact.

Before submitting, run resources/checklist.md.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.