Apply technology-agnostic architecture principles when designing, reviewing, or changing an application. Use for component boundaries, modularity, dependency direction, and maintainability decisions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Architecture Guidelines?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sivaprasadreddy-architecture-guidelines)
---
name: architecture-guidelines
description: Apply technology-agnostic architecture principles when designing, reviewing, or changing an application. Use for component boundaries, modularity, dependency direction, and maintainability decisions.
---
# Architecture Guidelines
## Purpose
Guide application architecture without prescribing a programming language, framework, hosting platform, or architectural style.
## When to use
Use this skill when starting an application or feature, changing module boundaries, introducing a new dependency, reviewing architectural complexity, or deciding where business rules belong.
## Working principles
1. **Start with requirements and constraints.** Identify business capabilities, quality attributes, scale assumptions, team constraints, regulatory needs, and deployment realities before choosing an architecture.
2. **Prefer the simplest architecture that meets current needs.** Do not introduce microservices, distributed messaging, CQRS, event sourcing, repositories, factories, or layers merely because they are familiar patterns.
3. **Organize around business capabilities.** Keep related behavior and data close. Prefer cohesive modules with explicit responsibilities over arbitrary technical-layer fragmentation.
4. **Make boundaries explicit.** Define each component's responsibility, public interface, owned data, and dependencies.
5. **Control dependency direction.** High-level business policy should not be coupled unnecessarily to infrastructure details or delivery mechanisms.
6. **Encapsulate change.** Place volatile implementation details behind boundaries only when doing so reduces meaningful coupling.
7. **Avoid both duplication and premature generalization.** Share stable concepts; do not create generic frameworks for hypothetical future requirements.
8. **Treat data ownership as an architectural decision.** Avoid multiple components independently mutating the same state without an explicit consistency model.
9. **Design for operability.** Architecture must account for deployment, configuration, observability, security, backup, recovery, and support.
10. **Evolve incrementally.** Prefer reversible decisions and small refactorings over speculative redesigns.
## Workflow
1. Summarize the relevant functional requirements and quality attributes.
2. Identify actors, major business capabilities, core workflows, and external systems.
3. Propose the smallest useful set of components or modules.
4. For each component, state its responsibility, owned data, public interface, and dependencies.
5. Explain important dependency and data-flow directions.
6. Identify consistency, transaction, failure, and security boundaries.
7. Compare simpler alternatives before recommending additional infrastructure or patterns.
8. Record material decisions, assumptions, and consequences.
9. Check whether the design can be tested, deployed, observed, and changed independently where needed.
## Design review checklist
- Are responsibilities cohesive and boundaries understandable?
- Are business rules located in the component that owns the relevant capability?
- Are dependencies explicit and directed intentionally?
- Is shared mutable state minimized?
- Are interfaces smaller than their implementations?
- Are cross-module calls and data ownership clear?
- Does the design avoid unnecessary distributed-system complexity?
- Are failure modes and operational requirements addressed?
- Can the design be introduced incrementally?
## Expected output
For non-trivial design work, provide:
- A concise architecture summary.
- Components/modules and their responsibilities.
- Key interactions and dependency directions.
- Data ownership and consistency notes.
- Important risks and trade-offs.
- Decisions that should be recorded.
Do not force a diagram or lengthy architecture document for a trivial change. Ask focused questions only when missing information materially changes the design.