architecture
Skill1 starsChanged 4 months agoMITView on GitHub
Decisões de arquitetura de software opinativas e rastreáveis: escolha de estilo (monolito modular, hexagonal, event-driven, microserviços), ADRs, fronteiras, trade-offs e non-functionals. Use quando o usuário mencionar: "arquitetura", "como estruturar", "monolito ou microserviço", "ADR", "decisão de arquitetura", "boundaries", "acoplamento", "escolher stack", "design de módulos".
136 other projects use a version of this.
Adopted by
Most recently taken up by
- thistleknot/skillstheir own version, first seen Nov 8, 2026
- lklimek/claudiustheir own version, first seen Nov 8, 2026
- nisarth/claude-skills-storetheir own version, first seen Nov 8, 2026
- DnsQueen/orcinus-skillstheir own version, first seen Nov 8, 2026
- denormans/claude-code-workflowtheir own version, first seen Nov 8, 2026
- xiaoyangtx996/Searching-skilltheir own version, first seen Nov 8, 2026
Used with
Projects with it also use intelligent-routing, bash-linux and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SKB3002Skillintelligent-routing
Automatic agent selection and intelligent task routing. Analyzes user requests and automatically selects the best specialist agent(s) without requiring explicit user mentions.
Also in 6 projects that use this
xenitV1Skillbash-linux
Bash/Linux terminal patterns. Critical commands, piping, error handling, scripting. Use when working on macOS or Linux systems.
Also in 8 projects that use this
xenitV1Skillred-team-tactics
Red team tactics principles based on MITRE ATT&CK. Attack phases, detection evasion, reporting.
Also in 8 projects that use this
SKB3002Skillnextjs-react-expert
React and Next.js performance optimization from Vercel Engineering. Use when building React components, optimizing performance, eliminating waterfalls, reducing bundle size, reviewing code for performance issues, or implementing server/client-side optimizations.
Also in 3 projects that use this
- +8 more from xenitV1
Other versions136 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 136
- anthropics/knowledge-work-plugins★ 35ksame name
- iOfficeAI/AionUi★ 34ksame name
- vudovn/ag-kit★ 8.2ksame name
- vudovn/antigravity-kit★ 8.2ksame name
- nativewind/nativewind★ 8.1ksame name
- PaulWoitaschek/Voice★ 3.3ksame name
- wellwelwel/poku★ 1.2ksame name
- Alwurts/simple-ai★ 755same name
- patrickjaja/claude-desktop-extra★ 734same name
- ktnyt/cclsp★ 673same name
126 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- agent-creationSkill
- handoffSkill
- task-distributorSkill
- task-plannerSkill
- accessibilitySkill
- airbnb-designSkill
- airtable-designSkill
- atlassian-designSkill
- carbon-designSkill
- cloudscape-designSkill
- coinbase-designSkill
- discord-designSkill
- duolingo-designSkill
- figma-designSkill
- fluent-designSkill
- linear-designSkill
- material-designSkill
- meta-designSkill
- netflix-designSkill
- notion-designSkill
- nubank-designSkill
- one-ui-designSkill
- pinterest-designSkill
- polaris-designSkill
- premium-web-designSkill
- primer-designSkill
- reddit-designSkill
- revolut-designSkill
- robinhood-designSkill
- salesforce-lightning-designSkill
- slack-designSkill
- spectrum-designSkill
- spotify-designSkill
- stripe-designSkill
- tiktok-designSkill
- twitch-designSkill
- uber-base-designSkill
- vercel-geist-designSkill
- visionos-designSkill
- whatsapp-designSkill
- economicsSkill
- legal-basicsSkill
- negotiationSkill
- politicalSkill
- api-designSkill
- caching-strategiesSkill
- ci-cdSkill
- database-designSkill
- event-drivenSkill
- observabilitySkill
- payment-systemsSkill
- performanceSkill
- qaSkill
- refactoringSkill
- securitySkill
- system-designSkill
- testingSkill
- clone-websiteSkill
- graphifySkill
- remotionSkill
- The first 60 shown.
The file
Files
Architecture
Você atua como arquiteto de software sênior — opinativo, mas explícito nos trade-offs. Arquitetura é o conjunto de decisões caras de reverter. O trabalho aqui é tomá-las conscientemente e registrá-las, não empurrar hype.
Princípios
- Simplicidade primeiro — comece no mais simples que resolve (quase sempre um monolito modular). Distribua só quando houver dor real (escala, times independentes, isolamento de falha).
- Fronteiras por domínio, não por camada — módulos alinhados a capacidades de negócio; acoplamento baixo entre eles, coesão alta dentro.
- Decisões reversíveis vs irreversíveis — gaste rigor onde é caro voltar (persistência, contratos, limites de serviço); seja rápido onde é barato.
- Non-functionals são requisitos — latência, disponibilidade, custo, segurança e operabilidade entram no design desde o início, não depois.
- Registre o porquê — toda decisão relevante vira um ADR. Sem isso, o time reverte suas escolhas sem saber o motivo.
Escolha de estilo — árvore de decisão
Precisa de deploy/escala independentes por time? ── não ──▶ Monolito modular
│ sim
▼
Fronteiras de domínio já estáveis e testadas? ── não ──▶ Monolito modular (extraia depois)
│ sim
▼
Acoplamento temporal é problema (picos, async)? ── sim ──▶ Event-driven / filas
│ não
▼
Serviços por capacidade de negócio (microserviços) — só com maturidade de ops (CI/CD, observabilidade, on-call)| Estilo | Quando | Custo escondido |
| Monolito modular | Default; time único/poucos; produto em evolução | Disciplina p/ manter fronteiras |
| Hexagonal (ports/adapters) | Isolar domínio de I/O; testabilidade alta | Boilerplate de adapters |
| Event-driven | Desacoplar no tempo, picos, integração | Consistência eventual, debugging |
| Microserviços | Times independentes, escala heterogênea | Rede, ops, consistência distribuída |
ADR — registre a decisão
# ADR-001: <título curto da decisão>
## Status: proposto | aceito | substituído por ADR-XXX
## Contexto
<forças em jogo: requisitos, restrições, non-functionals>
## Decisão
<o que escolhemos, na voz ativa>
## Consequências
<positivas e negativas; o que fica mais fácil e o que fica mais difícil>
## Alternativas consideradas
<opções descartadas e por quê>Fluxo
- Requisitos + non-functionals — o que precisa ser verdade (escala, latência, custo, prazo, time).
- Restrições — o que é fixo (stack existente, budget, compliance).
- 2–3 opções de estilo com trade-offs à luz do acima.
- Recomendação com razão (modo arquitetura: seja opinativo).
- ADR para cada decisão irreversível.
- Diagrama C4 (nível 1 contexto + nível 2 containers) para comunicar.
Sinais de alerta (aponte proativamente)
- Microserviços sem CI/CD, observabilidade e ownership → monolito distribuído.
- Non-functionals ausentes → design sobre suposição.
- Sem Definition of Done arquitetural → escopo infinito.
- Over-engineering: abstração para requisito que não existe (YAGNI).
Recursos externos
| Recurso | O que pegar |
| Martin Fowler — Architecture Guide | Padrões, microserviços, refactoring, evolutionary architecture. |
| ADR (adr.github.io) | Formato e exemplos de Architecture Decision Records. |
| C4 Model | Diagramar contexto→container→componente→código. |
| The Twelve-Factor App | Non-functionals de apps modernos (config, logs, processos). |
| AWS Well-Architected | 6 pilares: operacional, segurança, confiabilidade, performance, custo, sustentabilidade. |
| Team Topologies | Como a arquitetura espelha a organização (Conway). |
Do / Don't
| Do | Don't |
| Começar no monolito modular | Microserviço por default |
| Fronteiras por domínio | Fronteiras por camada técnica |
| ADR para o irreversível | Decisão importante sem registro |
| Non-functionals no design | "A gente vê performance depois" |
Checklist
- Non-functionals explícitos (escala, latência, custo, disponibilidade)
- 2–3 opções com trade-offs, não uma só
- Recomendação com razão
- ADR para cada decisão irreversível
- Diagrama C4 (contexto + containers)
- Checado over-engineering (YAGNI) e Definition of Done
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.

