architecture-patterns

architecture-patterns is a skill for Claude Code from joao-aires/agent-skills-public. It costs 122 tokens per session (2,691 once invoked), scanned A, original, MIT.

A guide for comparing backend architecture patterns, such as a modular monolith, layered design, microservices and serverless. It focuses on the constraints and costs that make one structure a better fit than another.

In plain words
What is it for?
Use it when an architecture proposal needs candidate patterns, a comparison of their fit and a possible path from the current design.
Why use it?
It prevents choosing an architecture pattern just because its name is familiar. It makes trade-offs, operational work and possible migration steps explicit.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it when an architecture proposal needs candidate patterns, a comparison of their fit and a possible path from the current design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/joao-aires/agent-skills-public/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 joao-aires/agent-skills-public --skill architecture-patterns
Clone the repo
git clone --depth 1 https://github.com/joao-aires/agent-skills-public

Made for: Claude Code.

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/joao-aires/agent-skills-public/architecture-patterns/github.svg)](https://agentmods.dev/skills/joao-aires/agent-skills-public/architecture-patterns)
Your own site
<a href="https://agentmods.dev/skills/joao-aires/agent-skills-public/architecture-patterns"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/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/joao-aires/agent-skills-public/architecture-patterns"><img src="https://agentmods.dev/badge/skills/joao-aires/agent-skills-public/architecture-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,691 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.00122 $0.02691
Opus 5.5 $0.00049 $0.01076
Sonnet 5.5 $0.00024 $0.00538
Haiku 4.5 $0.00012 $0.00269

Measured today against content hash b3dec88fb315, 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 today.

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/backend-development/skills/architecture-patterns/SKILL.md · 116 lines

How it starts

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

Select patterns from forces, not familiarity

An architecture pattern is a reusable answer to recurring forces. The name is shorthand for a set of boundaries, dependencies and operational obligations; it is not evidence that those obligations fit this system. Pattern selection is the work of matching candidate structures to accepted constraints and naming what each one costs.

This skill owns the pattern vocabulary, fit conditions, tradeoffs, operational consequences and the shape of a migration. It does not own the architecture decision: design-system establishes constraints, compares options, selects boundaries and records the decision. backend-design owns service behavior, authority, transactions and recovery inside those boundaries. event-driven-design owns event and message contracts, including how a projection consumes and evolves them. distributed-systems owns cross-service consistency, failure and capacity reasoning. Use this skill to supply and test candidates inside those activities; it does not authorize a pattern.

Pattern-first design reverses the burden of proof: it chooses a familiar name and then invents requirements that justify it. Start with the forces. A pattern that answers no force is decoration, and a pattern whose operational cost exceeds the force it answers is a liability.

Establish the forces

Read the accepted outcome, current system evidence and operating constraints before naming a candidate. Distinguish measured facts from estimates.

Force What to establish
Ownership and team topology Which capability and data one team owns, and whether it must deploy and operate independently.
Transaction boundaries Which state changes must commit together, and which may complete later.
Consistency What a read may see after a write, and how much staleness the journey permits.
Change cadence Which parts change or deploy on different schedules, and which must stay in lockstep.
Load and latency Which parts scale independently, and what the end-to-end budget is.
Operational capacity Who runs the system, with what platform, observability, on-call and recovery skills.
Cost The cost curve at expected and peak load, including idle time and recovery capacity.
Migration risk What must remain compatible, and which changes are expensive or impossible to reverse.

Read the full file on GitHub · 116 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed · +8 lines · +27 tokens per session b3dec88fb315
  2. 11d ago Changed · -3 lines 4ea79800fc9f
  3. 12d ago Changed c13e4449e9d3
  4. 16d ago Changed 1948dc5e98bd
  5. 19d ago First seen · 111 lines · 95 tokens per session scan A fd6a7c77ea34

Subscribe to this mod's changes

architecture-patterns is a skill published in the GitHub repository joao-aires/agent-skills-public (2 stars, last pushed yesterday), licensed MIT. It adds 122 tokens to every session and 2,691 once invoked, about $0.0005 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-11-17.

Related

architecture-patterns compared with skills from other repositories

architecture-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-patternsjoao-aires/agent-skills-publicSkill2yesterdayMITA122Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70k2d agoApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.4kyesterdayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k2d agoMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3k2d agoMITA46Claude Code
dev-runtimelangwatch/langwatchSkill5.1ktodayApache-2.0A172Claude Code
api-designericrisco/rsc-harnessSkill7094d agoMITA105Claude Code, Codex