architecture-patterns

architecture-patterns is a skill for Claude Code from synaptiai/synapti-marketplace. It costs 66 tokens per session (994 once invoked), scanned A, original, Apache-2.0.

A system-design guide for mapping user, administrator, and automatic system flows before choosing components. It records design decisions, dependencies, failure cases, and deliberate non-goals.

In plain words
What is it for?
Use it to design a new system, assess structural changes, review architecture choices, and document the reasoning behind them.
Why use it?
It helps prevent architecture that exists without serving a real user flow, and exposes hidden dependencies or failure points before they become expensive changes.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: agent in frontmatter.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit Use it to design a new system, assess structural changes, review architecture choices, and document the reasoning behind them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synaptiai/synapti-marketplace/architecture-patterns
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synaptiai/synapti-marketplace --skill architecture-patterns
Clone the repo
git clone --depth 1 https://github.com/synaptiai/synapti-marketplace

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architecture-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/architecture-patterns/github.svg)](https://agentmods.dev/skills/synaptiai/synapti-marketplace/architecture-patterns)
Your own site
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/architecture-patterns"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/architecture-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/synaptiai/synapti-marketplace/architecture-patterns"><img src="https://agentmods.dev/badge/skills/synaptiai/synapti-marketplace/architecture-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 994 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.00994
Opus 5.5 $0.00026 $0.00398
Sonnet 5.5 $0.00013 $0.00199
Haiku 4.5 $0.00007 $0.00099

Measured 1mo ago against content hash 03a0d8052255, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture-patterns scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/flow/skills/architecture-patterns/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Architecture Patterns

Contract

Iron law: design architecture from functionality, not to functionality — a component that cannot be traced to a user, admin, or system flow is deleted. Invoked by /flow:design Phase 1 (map flows), Phase 2 (C4 level, design proposal), Phase 3 (coupling review), and Phase 4 (decision record). Returns the enumerated flows, a coupling analysis with red flags, a proposal (components, responsibilities, dependencies, data flow, API surface) at the right C4 level, and a decision record with context, options, trade-offs, decision, consequences, non-goals, and failure modes. Permitted skips: none — a record without non-goals and failure modes is incomplete and does not ship; failure modes may be deferred only where /flow:design marks them optional.

Map Flows First

Track the five tasks /flow:design creates. First enumerate user flows (what the user does, step by step), admin flows (operator actions), and system flows (cron, webhooks, events). Each is trigger, steps, outcome; every component must serve at least one.

C4 Level

Context, Containers, Components, or Code — start at the highest relevant level and zoom in only when needed; most design discussion happens at Components. Level guide in architecture-decision-record.md.

Coupling Analysis

Check actual imports (grep -rln "import\|require\|from " --include='*.ts' --include='*.js' --include='*.tsx' --include='*.jsx' --include='*.py' --include='*.rb' .; look for A imports B and B imports A). Red flags:

  • Circular dependencies — break with interfaces or events.
  • God objects — one module imported by >50% of files; split by responsibility.
  • Hidden coupling — shared mutable state, globals, implicit ordering.
  • Shotgun surgery — one feature change touches 5+ unrelated files.

Dependencies flow one way: UI → Application → Domain, with Infrastructure depending inward; Domain depends on nothing. Never Domain → UI or Domain → Infrastructure. Endpoints follow user flows (one per user action, not per table), version only for unavoidable breaking changes, and validate at the boundary.

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed 03a0d8052255
  2. 1mo ago Changed df0b1c31dc4b
  3. 2mo ago Changed · -123 lines ec4d511ef0a8
  4. 3mo ago First seen · 186 lines · 66 tokens per session scan A a23780bfc6e5

Subscribe to this mod's changes

architecture-patterns is a skill published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 994 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

architecture-patterns compared with skills from other repositories

architecture-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-patternssynaptiai/synapti-marketplaceSkill9todayApache-2.0A66Claude Code
create-or-update-conceptsCaptainMe-AI/lead-dev-osSkill224d agoMITA46Claude Code
step2-scope-tasksCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
step1-write-specCaptainMe-AI/lead-dev-osSkill224d agoMITA20Claude Code
plan-productCaptainMe-AI/lead-dev-osSkill224d agoMITA32Claude Code
plan-roadmapCaptainMe-AI/lead-dev-osSkill224d agoMITA25Claude Code
create-prCaptainMe-AI/lead-dev-osSkill224d agoMITA70Claude Code