architecture-patterns
This skill should be used when evaluating architecture options, checking dependency direction, or deciding between onion, MVC, and simple patterns. Contains YAGNI-based decision criteria.
Install
With your agent
Install OMGSkills skill "incubyte/ai-plugins:bee/skills/architecture-patterns" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.
Manual command
git clone https://github.com/incubyte/ai-plugins /tmp/ai-plugins && ln -s /tmp/ai-plugins/bee/skills/architecture-patterns ~/.claude/skills/architecture-patterns
From README
Architecture Patterns When to Use What Simple (No Layers) Use when: Scripts, utilities, CLI tools, small services with minimal business logic, CRUD with no rules beyond validation. Structure: Functions or modules organized by feature. No layers, no ports. Tradeoff: Fastest to build. Hardest to extend if complexity grows. Refactor to layers when it hurts, not before. MVC (Model-View-Controller) Use when: Web apps, APIs, most CRUD-heavy applications. The default for Rails, Django, Express, Spring. Structure: Route -> Controller (thin, delegates) -> Service (business logic) -> Model/Repository (data). Dependency direction: Controller depends on Service, Service depends on Model. Never the reverse. Tradeoff: Familiar, well-tooled, lots of examples. Services can grow large as business logic gets complex. At that point, consider extracting a domain layer. Onion / Hexagonal Use when: Complex domain logic with many business rules. Multiple input channels (HTTP, CLI, events).
More from this repo
ai-ergonomics
This skill should be used when evaluating how well code supports LLM-assisted development.
ai-workflow
This skill should be used when explaining why Bee follows spec-first TDD workflows, or when teaching mode is on.
brainstorming
This skill should be used when the user wants to brainstorm, explore ideas, think through options, says 'let's...
