Skip to content

gracefullight/pkgs / .agents/skills/oma-architecture

oma-architecture

Verified

Evaluate system boundaries and architectural tradeoffs. Use for architecture decisions, design reviews, and ADRs.

resources/output-templates.md

View on GitHub
# Output Templates

Templates track ISO/IEC/IEEE 42010 concepts: stakeholders and concerns (Problem / Constraints), viewpoints (Diagram), and rationale (Tradeoffs / Decision).

## Diagram Guidance

Include a Mermaid diagram whenever the decision changes structure — boundaries, dependencies, or data flow. Default to a C4-style context or container view, scoped to only the elements the decision touches:

```
graph LR
  Client[Web Client] --> API[API Service]
  API --> Notif[Notification Module]
  Notif -->|extracted?| NotifSvc[Notification Service]
  NotifSvc --> Queue[(Queue)]
```

Skip the diagram for non-structural decisions (e.g., a versioning policy).

The Mermaid block is the text SSOT. When `oma diagram resolve --json` returns `engine: archify`, additionally derive an interactive artifact per `_shared/conditional/diagram-engine.md` and link it directly under the Mermaid block:

```md
Interactive: [adr-<topic>.archify.html](./adr-<topic>.archify.html)
```

Never replace the Mermaid block with the link — readers of the Markdown (and git diffs) must not depend on the HTML.

## Recommendation Template

```md
# Architecture Recommendation: <topic>

## Problem

## Constraints and Quality Attributes

## Options

## Diagram (if structural)

## Tradeoff Comparison

## Recommendation

## Transition Plan (if restructuring a live system)

## Risks

## Assumptions

## Validation Steps
```

## ATAM-style Template

```md
# Architecture Review: <topic>

## Scope

## Quality Attribute Scenarios

## Architectural Approaches

## Sensitivity Points

## Tradeoff Points

## Risks / Non-Risks

## Recommendations
```

## CBAM-style Template

```md
# Architecture Investment Analysis: <topic>

## Candidate Investments

## Benefit Estimate

## Cost Estimate

## Operational / Team Impact

## Priority Ranking

## Recommended Sequence
```

## ADR Template

```md
# ADR: <topic>

- Status: Proposed | Accepted | Superseded by <adr-file>
- Date: <YYYY-MM-DD>
- Supersedes: <adr-file or none>

## Context

## Decision

## Diagram (if structural)

## Alternatives Considered

## Consequences

## Follow-up Validation
```
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall