senior-architect-engineering
Skill28 starsChanged 3 months agoApache-2.0View on GitHub
Architects, designs, and develops complex software systems using industry best practices and Carnegie Mellon SEI architecture frameworks. Use this skill when needing high-level system design, quality attribute scenarios (NFRs), SEI architectural tactics (Availability, Performance, Security, Modifiability), ATAM trade-off analysis, implementation of patterns (Hexagonal, Clean, Event-Driven, CQRS), or authoring Architectural Decision Records (ADRs).
In this repository34 other files it gives its agents.
- bigquery-query-optimizationSkill
- build-and-ci-gatesSkill
- cdc-scd-patternsSkill
- code-implementerSkill
- code-smells-expertSkill
- commit-expertSkill
- compliance-verifierSkill
- context-captureSkill
- context-restoreSkill
- database-migration-expertSkill
- design-spec-expertSkill
- documentation-expertSkill
- flutter-architecture-decisionsSkill
- flutter-performance-profilingSkill
- flutter-release-engineeringSkill
- flutter-review-checklistSkill
- flutter-senior-orchestrationSkill
- flutter-test-strategySkill
- flutter-upgrade-migrationSkill
- gcp-data-engineeringSkill
- guidelines-karpathySkill
- loop-engineeringSkill
- performance-scalabilitySkill
- product-analystSkill
- pull-request-expertSkill
- python-expertSkill
- qa-testerSkill
- refactoring-code-expertSkill
- repo-researchSkill
- security-auditSkill
- senior-dev-orchestratorSkill
- sql-query-optimizationSkill
- test-driven-developmentSkill
- testing-expertSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Document the trade-offs for major architectural choices:
- Distinctive: line 49
Hexagonal Architecture (Ports & Adapters): Keep the Domain Core completely free of framework and database dependencies.
- Distinctive: line 50
Event-Driven Resilience: Use the Transactional Outbox pattern for atomic state persistence and reliable messaging.
- Distinctive: line 51
KISS & YAGNI: Default to the simplest architecture that satisfies the quality scenarios.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Senior Architect Engineering Skill
Overview
This skill guides the design and evaluation of complex software systems using Carnegie Mellon Software Engineering Institute (SEI) architectural frameworks (Software Architecture in Practice by Bass, Clements, Kazman). It acts as a Pragmatic Senior Software Architect, translating business drivers into 6-part concrete quality attribute scenarios, selecting proven architectural tactics, conducting Architecture Tradeoff Analysis Method (ATAM) evaluations, and enforcing clean architectural boundaries (Hexagonal Architecture / Ports & Adapters).
When to Use
Trigger Scenarios
- Designing high-level software architectures, component topologies, and service boundaries.
- Formalizing non-functional requirements (NFRs) into measurable 6-part SEI quality attribute scenarios.
- Authoring Architectural Decision Records (ADRs) to document technical trade-offs and decisions.
- Applying resiliency and performance tactics (Circuit Breakers, Outbox Pattern, Cache-Aside, Protocols).
- Decoupling core domain logic from frameworks, databases, and third-party APIs.
When NOT to Use
- Day-to-day feature implementation: Route to
code-implementerorpython-expert. - Initial business requirements gathering: Route to
product-analyst. - Unit and regression test authoring: Route to
test-driven-development. - Pre-commit and CI automation: Route to
build-and-ci-gates.
Process
Phase 1: SEI Quality Attribute Scenarios (NFR Specification)
Define non-functional requirements using SEI's 6-part concrete scenario format:
- Source of Stimulus: Who or what generates the stimulus (e.g., external user, rogue client, network spike).
- Stimulus: The condition arriving at the system (e.g., sudden 10x traffic surge, primary DB failover).
- Artifact: The system subsystem affected (e.g., authentication service, search index).
- Environment: Operational state when stimulus occurs (e.g., normal peak hours, maintenance window).
- Response: How the system responds (e.g., shed non-critical load, failover to read replica).
- Response Measure: Concrete measurable metric (e.g., p99 latency < 200ms, zero lost transactions).
Phase 2: Architectural Tactics & Resiliency
Apply proven architectural tactics across critical quality attributes:
- Availability: Circuit Breaker, Active/Passive Redundancy, Graceful Degradation, Heartbeat Monitoring.
- Performance: Cache-Aside, Connection Pooling, Asynchronous Task Offloading, Query Optimization.
- Modifiability: Dependency Inversion (
typing.Protocol/ interfaces), Ports & Adapters, Separation of Concerns. - Security: Zero Trust validation, Authentication/Authorization at boundaries, Encryption at rest/transit.
Phase 3: ATAM Trade-off & Sensitivity Analysis
Document the trade-offs for major architectural choices:
- Trade-off Points: Competing quality attributes (e.g. distributed caching boosts Performance but complicates Consistency).
- Sensitivity Points: Critical parameters influencing behavior (e.g., connection pool sizing).
- Risks & Non-Risks: Single points of failure, mitigations, and explicit non-goals.
Phase 4: Clean Boundaries & Pattern Selection
- Hexagonal Architecture (Ports & Adapters): Keep the Domain Core completely free of framework and database dependencies. Expose Primary (inbound) and Secondary (outbound) ports.
- Event-Driven Resilience: Use the Transactional Outbox pattern for atomic state persistence and reliable messaging.
- KISS & YAGNI: Default to the simplest architecture that satisfies the quality scenarios; avoid premature distributed microservices.
Phase 5: Architectural Decision Record (ADR) Generation
Scaffold and record the architectural decision using the automated ADR generator:
python3 ./skills/senior-architect-engineering/scripts/create_adr.py "<Title>" [Proposed]Usage
Commands & Automation Scripts
# Generate a standardized Architectural Decision Record (ADR)
python3 ./skills/senior-architect-engineering/scripts/create_adr.py "Adopt Hexagonal Architecture for Payment Service"Example Prompts
- "Design the architecture for our payment gateway integration using Hexagonal Architecture and author an ADR."
- "Evaluate the trade-offs between WebSockets and Server-Sent Events (SSE) for real-time notifications using ATAM."
- "Formulate 6-part SEI quality attribute scenarios for our new order processing pipeline."
Host Execution Instructions
- Claude Code: Execute
create_adr.pyin the workspace shell to generate documentation, then populate architectural sections. - Antigravity: Generate architectural blueprints and ADR files before delegating implementation to coding subagents.
Red Flags
- Vague, untestable quality attributes ("the API must be fast, secure, and scalable").
- Selecting complex distributed patterns (microservices, Kafka) when a modular monolith satisfies all requirements.
- Making architectural decisions without documenting trade-offs, sensitivity points, and rejected alternatives.
- Coupling core business domain models to database ORM models or web framework decorators.
Verification
- Every NFR specified using the 6-part SEI concrete scenario format.
- ATAM trade-off analysis documents competing quality attributes.
- Architectural boundaries strictly isolate domain logic from external infrastructure.
- ADR generated and committed using the automated tool:
python3 ./skills/senior-architect-engineering/scripts/create_adr.py "<Title>"
References
- SEI Architectural Tactics & ATAM Trade-off Reference
- ADR Template Reference
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

