architecture-patterns
Use when choosing a structural pattern for a system or module — hexagonal/clean architecture, DDD, event-driven, microservices decomposition.
Skill by ad-free
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ad-free-architecture-patterns
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/architecture-patterns
What's inside
- Skill name
architecture-patterns- Description
- Use when choosing a structural pattern for a system or module — hexagonal/clean architecture, DDD, event-driven, microservices decomposition. Do NOT use for scanning an existing codebase for smells (see dev-craft's ARCH-SCAN phase, which this skill supports but doesn't replace) and do NOT use to justify a pattern chosen for resume-driven reasons rather than the problem's actual shape.
- License
- MIT
- Metadata
- domain: specialized-engineering · origin: agent-master-skills · version: 2.0.0 · preferred-model: nemotron-3-ultra-free · source-enhancements: v2.0.0 Master Template alignment
- Instructions
- 31 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- allowed-tools: must be a space-separated string
Files (1)
- SKILL.md
SKILL.md (first lines)
TOKEN CEILING: ~2K tokens. If skill exceeds, extract sections to references/. # architecture-patterns ## Relationship to existing skills dev-craft's ARCH-SCAN phase detects existing codebase smells; its DESIGN phase produces the spec. This skill is what DESIGN should invoke when the change requires a structural pattern decision — it supplies the trade-off analysis, DESIGN still owns the final spec output. This skill never recommends a pattern without stating what it costs, since every pattern here trades simplicity for some other property. ## Iron Law **NO PATTERN WITHOUT A STATED TRADE-OFF.** Every pattern below buys something at a cost. If you can't state the cost in one sentence, you're pattern-matching to familiarity, not solving the actual problem. ## Decision tree 1. **Is business logic getting tangled with infrastructure concerns (DB, HTTP, third-party SDKs) in the same layer?** - Yes → **Hexagonal/Clean Architecture** (ports & adapters) isolates domain logic behind interfaces. Cost: more indirection, more files for simple CRUD. Don't apply to a project that's genuinely just CRUD. → `reference/hexagonal-architecture.md` 2. **Is the domain itself complex** (many business rules, not just data shuffling)? - Yes → **DDD** — entities/value objects/aggregates, bounded contexts to stop one team's model leaking into another's. Cost: upfront modeling effort; overkill for a thin CRUD service. → `reference/domain-driven-design.md` 3. **Do multiple parts of the system need to react to the same event independently, or does an operation span multiple services/aggregates?** - Yes → **Event-driven** (event sourcing/CQRS if audit history matters, saga pattern if the operation spans services with no single transaction). Cost: eventual consistency, harder to reason about linearly. → `reference/event-driven-architecture.md` 4. **Is this being split into independently deployable services?** - Only if team/deploy boundaries actually require it — not by default. If yes: API gateway, service mesh for cross-cutting concerns, circuit breaker at every network call. Cost: operational complexity, network failure modes that didn't exist in a monolith. → `reference/microservices-patterns.md` ## Output A short trade-off memo: pattern chosen, what it costs, and why the alternative (usually: staying simpler) was rejected for this specific case — handed to DESIGN as input, filed as an ADR via documentation-engineering.
From ad-free/agent-master-skills, MIT.
More from ad-free/agent-master-skills
- 0.566score
agent-eval
ad-free
Use when comparing coding agents head-to-head on custom tasks with pass rate, cost, time, and consistency metrics.
SkillAFreshness: AClaude Code +9 - 0.560score
agent-shield
ad-free
Use when you need AgentShield security scanner integration.
SkillAFreshness: AClaude Code +9 - 0.560score
animation-and-interactions
ad-free
Craft smooth CSS/Framer Motion animations, micro-interactions, and visual polish without performance degradation.
SkillAFreshness: AClaude Code +9 - 0.560score
api-contract-designer
ad-free
Design OpenAPI/Swagger specs, GraphQL schemas, type definitions, and mock data for clean frontend-backend integration.
SkillAFreshness: AClaude Code +9 - 0.560score
architecture-decision-records
ad-free
Draft, evaluate, and maintain ADRs, technical trade-off matrices, and system architecture blueprints.
SkillAFreshness: AClaude Code +9 - 0.560score
caveman-discover
ad-free
Use when you need compact, lazy exploration of a codebase or problem.
SkillAFreshness: AClaude Code +9 - 0.557score
agent-router
ad-free
Primary entry point for all agent work.
SkillAFreshness: AClaude Code +9 - 0.556score
backend-patterns
ad-free
Apply proven backend architectural patterns — hexagonal/clean architecture, layered design, repository pattern, CQRS, event sourcing, saga pattern.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 18, 2026 (10 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 2.0.0
- License
- MIT
- Repository
- github.com/ad-free/agent-master-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ad-free
- 0.566score
agent-eval
ad-free
Use when comparing coding agents head-to-head on custom tasks with pass rate, cost, time, and consistency metrics.
SkillAFreshness: AClaude Code +9 - 0.560score
agent-shield
ad-free
Use when you need AgentShield security scanner integration.
SkillAFreshness: AClaude Code +9 - 0.560score
animation-and-interactions
ad-free
Craft smooth CSS/Framer Motion animations, micro-interactions, and visual polish without performance degradation.
SkillAFreshness: AClaude Code +9 - 0.560score
api-contract-designer
ad-free
Design OpenAPI/Swagger specs, GraphQL schemas, type definitions, and mock data for clean frontend-backend integration.
SkillAFreshness: AClaude Code +9 - 0.560score
architecture-decision-records
ad-free
Draft, evaluate, and maintain ADRs, technical trade-off matrices, and system architecture blueprints.
SkillAFreshness: AClaude Code +9 - 0.560score
caveman-discover
ad-free
Use when you need compact, lazy exploration of a codebase or problem.
SkillAFreshness: AClaude Code +9
Cite this page
architecture-patterns skill. Agent Mart. https://agentmart.dev/skills/ad-free-architecture-patterns (last updated 2026-10-24)