Works with the AI Agents you already use
Clean Architecture, DDD & Resilience Design Guide
by ScStudy5
Clean Architecture, DDD, SOLID, 3-option ADR comparisons, code-quality audits, and Circuit Breaker/Bulkhead resilience guide (ISO 42010/25010).
Free
Clean Architecture, DDD & Resilience Design Guide
Example session with this skill installed
Compare 3 hosting/architecture options for our Level 2 SaaS notification service (avoiding free-tier cold starts and vendor lock-in), draft ADR-0001, and outline resilience patterns for external email/SMS providers.
- Read your context and instructions
- Compiled the clean architecture ddd
ADR-0001: Notification Service Architecture & Provider Abstraction
Evaluated Options Matrix: Compares (A) Modular monolith worker on always-on container (zero cold start, high portability, low ops), (B) Serverless sleep-on-idle tier (~15s cold starts, low cost), and (C) Edge runtime + managed queue (<50ms latency, medium lock-in).
Decision: Select Option A with a clean NotificationProvider port interface so email/SMS vendors can be swapped without touching domain logic (Exit Strategy aligned with ISO/IEC 19941).
Resilience Patterns: Wrap outbound email/SMS adapters with a
Circuit Breaker, isolate bulk marketing blasts from transactional OTPs using the
Bulkhead Pattern, and degrade gracefully to queued retries without crashing the API.
Verification & Follow-up: Update ARCHITECTURE.md and define a quantitative exit trigger (e.g., >500 notifications/sec sustained) to re-evaluate dedicated workers.
Connects securely to your tools. The creator never sees your data.
About this skill
Establish clean module boundaries, compare candidate architectures before committing, and keep codebases maintainable without premature over-engineering.
This free engineering guide equips your AI coding agent with a rigorous, tier-aware architecture and code-quality workflow (MVP, Professional, Enterprise) grounded in ISO/IEC/IEEE 42010, ISO/IEC 25010, and IEEE 1016.
What It Covers
- Architecture Before Implementation: Explicitly compare 2–3 candidate architectures before locking in a stack—weighing real UX latency and cold starts, monthly cost, vendor lock-in portability, and operational complexity—while keeping MVPs simple (KISS & YAGNI) and scaling cleanly into Clean Architecture and Domain-Driven Design (DDD) only when domain complexity justifies it.
- Core Design Principles: High cohesion, low coupling, SOLID (SRP, OCP, LSP, ISP, DIP), DRY, Dependency Injection, API First, versioning, modularity, and traceable Architecture Decision Records (ADRs) with exit criteria.
- Code Quality & Audit Workflow: Systematic inspection for tangled business/UI/DB logic, circular dependencies, high cyclomatic/cognitive complexity, code duplication, dead code, mutable shared state, swallowed exceptions, PII leaks in logs, type safety, and static-analysis/linting setups (ESLint, Prettier, EditorConfig, Roslyn/StyleCop, SonarQube, CodeQL, Semgrep).
- Resilience, Portability & Green Software: Design for Failure, Graceful Degradation, Circuit Breaker, Bulkhead Pattern, anti-vendor-lock-in abstractions with Exit Strategies (ISO/IEC 19941), and memory/polling efficiency.
Included Files (3)
SKILL.md— Core architecture-first workflow, rigor levels, code-audit protocol, and verification criteria.references/architecture-and-code-quality.md— Complete catalog of architecture patterns, code-quality practices, standards, static analysis tools, and resilience/portability patterns.examples/ADR_TEMPLATE.md— Structured ADR template with a 3-option comparison matrix (UX/cold starts, monthly cost, portability, operational complexity, exit triggers).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
This skill provides architectural methodology, code-review heuristics, and ADR templates—it does not run static analysis scanners (SonarQube, CodeQL, Semgrep) or benchmarks automatically unless you configure and run those tools separately in your environment.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
Requires
Nothing to install.
Permissions
File Scopes
Reads source files for architecture and code-quality audits and writes ADRs, diagrams, or config baselines only when requested. Makes no network calls.