arquitetar-sistema

Guides architectural decisions with trade-off analysis, ADR records, and C4 diagrams.

Updated Aug 3, 2026
One-click install
npx skills add https://github.com/GuilhermeBrancalhao/ENGINE-CODEX --skill arquitetar-sistema-guilhermebrancalhao
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: arquitetar-sistema
Source: https://github.com/GuilhermeBrancalhao/ENGINE-CODEX/tree/main/motores/arquitetar-sistema
Command: npx skills add https://github.com/GuilhermeBrancalhao/ENGINE-CODEX --skill arquitetar-sistema-guilhermebrancalhao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? It turns vague architecture questions ("where should this code live", "monolith or microservices", "which pattern here") into grounded decisions with explicit trade-offs, recorded rationale in ADRs, and C4 diagrams, instead of unrecorded habits that get re-litigated later. ## Core Features & Use Cases - Diagnosis before design: Distinguishes real architecture problems (wrong boundaries, coupling) from issues that belong to code review or performance optimization, and routes accordingly. - Boundary and coupling analysis: Evaluates module frontiers by reason-for-change, dependency direction, and testability, including monolith-vs-services guidance with named criteria. - Decision records and communication: Produces ADRs with discarded alternatives and accepted costs, plus C4-level diagrams matched to the audience. - Use Case: A team debating whether to split a billing module into a separate service gets a comparison of alternatives across maintenance cost, coupling, and reversibility, a clear recommendation, and an ADR documenting why the option was chosen. ## Quick Start Ask the assistant to help decide how to structure a module or whether to split a service, for example: "Should I extract the payment logic into a separate microservice or keep it in the monolith?"

Frequently Asked Questions about arquitetar-sistema

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decide between a monolith and microservices?▼

Default to a modular monolith with clear internal boundaries. Split into services only for named reasons: independent teams blocked on shared deploys, genuinely different scaling profiles, required fault isolation, or compliance constraints on data location.

How do I write an Architecture Decision Record (ADR)?▼

Keep it short: context, decision, discarded alternatives with reasons, and accepted consequences. The discarded-alternatives section matters most because it prevents the same debate from restarting a year later.

When should a code problem not be treated as an architecture problem?▼

When the real cause is local: slow performance needs measurement and optimization, ugly code needs review and refactoring. Re-architecting code that only needed a function extraction is the most expensive mistake in this domain.

How do I know if my module boundaries are wrong?▼

Check what changes together: code changing for the same reason belongs together. Warning signs include the domain importing framework details, persistence types crossing module edges, and tests that require a database to exercise business rules.

Does every architecture decision need an ADR and diagram?▼

No. Local decisions like where to place a function deserve a two-line answer. ADRs and C4 diagrams are reserved for structural decisions: new boundaries, contracts between modules, or stack choices that other teams feel.