architecture-anti-patterns
Detect and remediate architecture anti-patterns - Big Ball of Mud, Distributed Monolith, Golden Hammer, Vendor Lock-in, Premature Microservices, Lava Flow…
Skill by SwapnilPopat
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/swapnilpopat-architecture-anti-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
Use cases: backend
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-anti-patterns
What's inside
- Skill name
architecture-anti-patterns- Description
- Detect and remediate architecture anti-patterns - Big Ball of Mud, Distributed Monolith, Golden Hammer, Vendor Lock-in, Premature Microservices, Lava Flow, God Service, and Shared Database. Use during audits, review prep, or when a system shows symptoms (slow change, cascading failures, ballooning ops cost).
- License
- MIT
- Instructions
- 83 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Architecture Anti-Patterns Anti-patterns are recurring "solutions" that look reasonable locally and fail systemically. Naming them precisely shortens debate, justifies refactors, and sharpens reviews. ## Stack Baseline (2026) | Concern | Recommended | | --- | --- | | Catalog reference | Richards & Ford, *Fundamentals of Software Architecture* 2e (anti-patterns chapter) | | Distributed pitfalls | Richards & Ford, *The Hard Parts* | | Detection signals | DORA metrics regression, change-failure rate, MTTR, lead time | | Visualization | C4 component + dependency graph (Structurizr) | | Decision capture | ADR with "trigger to revisit" | | Radar context | ThoughtWorks Tech Radar Hold ring | ## When to Use - System audit or due diligence. - Architecture review where the team is defending a fragile design. - Post-incident analysis showing systemic (not local) cause. - Framing a refactor or re-platform business case. ## Prerequisites - Read access to code, deployment topology, and runtime metrics. - A list of recent incidents and change-failure data (last 90 days). - A C4 container diagram (or willingness to draw one). ## Instructions ```mermaid flowchart LR S[Symptoms<br/>incidents, slow change] --> D[Diagnose vs catalog] D --> C[Confirm with metrics + diagrams] C --> R[Rank by blast radius x cost-to-fix] R --> A[ADR: contain, refactor, or replace] A --> M[Measure DORA delta] ``` 1. **Collect symptoms**: incident timeline, lead-time trend, deploy coupling, on-call load. 2. **Match against the catalog** below; require at least two independent signals per match. 3. **Rank** anti-patterns by blast radius (users x revenue x compliance) divided by cost-to-fix. 4. **Decide** per item: contain (guardrails), refactor (strangler fig), or replace. 5. **Track** DORA + reliability deltas after each remediation. ```markdown # Anti-Pattern Quick Reference | Anti-pattern | Telltale signal | First move | |---|---|---| | Big Ball of Mud | No module boundaries, cyclic deps | Modularization sprint, ArchUnit fitness functions | | Distributed Monolith | Services deploy together, shared DB | Re-establish contracts; split data | | Golden Hammer | Same tech for every problem | Force option analysis in ADRs | | Vendor Lock-in | Business logic in vendor SDK | Hexagonal port; abstraction + exit plan | | Premature Microservices | More services than teams | Recompose into modular monolith | | Lava Flow | Dead code, unused features | Delete with confidence via tests + telemetry | | God Service | One service owns most domains | Bounded-context split (DDD) | | Shared Database | Cross-service writes to same tables | Database-per-service + outbox pattern | | Reporting on OLTP | Analytics queries kill prod | CDC to warehouse / lakehouse | | Synchronous chains | One slow hop tanks everything | Async + bulkheads + timeouts | ``` ## Common Pitfalls | Pitfall | Why it hurts | Fix | | --- | --- | --- | | Naming without evidence | Becomes blame, not analysis | Require two metric signals per label | | Big-bang rewrites | New system inherits old anti-patterns | Strangler fig with measurable milestones | | Treating symptoms locally | Same anti-pattern reappears | Address root cause + add fitness function | | Ignoring socio-technical cause | Conway's Law re-creates the mess | Adjust team boundaries with topology change | | No revisit trigger | Containment becomes permanent | ADR includes metric threshold to revisit | ## Output Format - An audit report listing detected anti-patterns with evidence and blast-radius scores. - A prioritized remediation backlog (contain / refactor / replace). - ADRs for each accepted remediation with trigger metrics. - A fitness-function suite (ArchUnit, dependency rules) to prevent regression. ## Authoritative References - Mark Richards & Neal Ford, *Fundamentals of Software Architecture*, 2e (O'Reilly, 2024). - Mark Richards & Neal Ford, *Software Architecture: The Hard Parts* (O'Reilly). - Brian Foote & Joseph Yoder, *Big Ball of Mud* (laputan.org/mud). - Eberhard Wolff, writings on modular monolith vs microservices — ewolff.com. - ThoughtWorks Technology Radar — Hold ring entries. - GitHub ADR templates — github.com/joelparkerhenderson/architecture-decision-record.
From SwapnilPopat/ai-assistant-skills, MIT.
More from SwapnilPopat/ai-assistant-skills
- 0.497score
fitness-function-design
SwapnilPopat
Design executable architectural fitness functions per quality attribute.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
cloudflare-deploy
SwapnilPopat
Deploy Cloudflare Workers, Pages, and Workers-with-static-assets safely using Wrangler 4.x with versioned uploads, gradual deployments, preview/production…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
netlify-deploy
SwapnilPopat
Deploy static sites, framework apps (Next.js, Astro, Remix, SvelteKit, Nuxt), Edge Functions, and serverless Functions to Netlify with deploy previews, branch…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
openai-transcribe
SwapnilPopat
Transcribe audio with OpenAI speech-to-text models (gpt-4o-transcribe, gpt-4o-mini-transcribe, whisper-1) using prompt-guided terminology, segment-level…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
render-deploy
SwapnilPopat
Deploy Web Services, Private Services, Background Workers, Cron Jobs, Static Sites, PostgreSQL, and Key-Value (Redis-compatible) on Render via Blueprints…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
sentry-observability
SwapnilPopat
Operate Sentry end-to-end — error monitoring, performance tracing, session replay, profiling, release health, source-map upload, ownership routing, alert…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architect-review
SwapnilPopat
Conduct a rigorous architecture review covering scope, drivers, quality attributes, risks, decisions, and action items.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
dependency-governance
SwapnilPopat
Govern third-party and OSS dependencies via SBOM, SLSA, OpenSSF Scorecard, and license policy.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
anthropic-claude
SwapnilPopat
Build production integrations with Anthropic Claude (Claude 4.5 Sonnet, Claude Opus 4, Claude Haiku 4) via the Messages API — system prompts, multi-turn…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architecture-patterns-catalog
SwapnilPopat
Select the right macro-architecture pattern by mapping drivers (scale, change rate, team topology, NFRs) to a curated 2026 catalog covering layered…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
architecture-review-facilitation
SwapnilPopat
Facilitate effective architecture reviews using ATAM-lite, structured agendas, decision logs, and clear action items.
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
interview-prep
SwapnilPopat
Prepare for system-design interviews using a repeatable framework - requirements clarification, capacity estimation, API and data design, deep dives, and…
SkillCFreshness: C★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- May 1, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from SwapnilPopat
- 0.497score
cloudflare-deploy
SwapnilPopat
Deploy Cloudflare Workers, Pages, and Workers-with-static-assets safely using Wrangler 4.x with versioned uploads, gradual deployments, preview/production…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
netlify-deploy
SwapnilPopat
Deploy static sites, framework apps (Next.js, Astro, Remix, SvelteKit, Nuxt), Edge Functions, and serverless Functions to Netlify with deploy previews, branch…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
openai-transcribe
SwapnilPopat
Transcribe audio with OpenAI speech-to-text models (gpt-4o-transcribe, gpt-4o-mini-transcribe, whisper-1) using prompt-guided terminology, segment-level…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
render-deploy
SwapnilPopat
Deploy Web Services, Private Services, Background Workers, Cron Jobs, Static Sites, PostgreSQL, and Key-Value (Redis-compatible) on Render via Blueprints…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
sentry-observability
SwapnilPopat
Operate Sentry end-to-end — error monitoring, performance tracing, session replay, profiling, release health, source-map upload, ownership routing, alert…
SkillCFreshness: C★ 1Claude Code +9 - 0.497score
anthropic-claude
SwapnilPopat
Build production integrations with Anthropic Claude (Claude 4.5 Sonnet, Claude Opus 4, Claude Haiku 4) via the Messages API — system prompts, multi-turn…
SkillCFreshness: C★ 1Claude Code +9
Cite this page
architecture-anti-patterns skill. Agent Mart. https://agentmart.dev/skills/swapnilpopat-architecture-anti-patterns (last updated 2026-10-24)