architecture
Skill1 starsChanged 5 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".
82 other projects use a version of this.
Adopted by
Most recently taken up by
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- wellwelwel/lagunetheir own version, first seen Oct 4, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Oct 4, 2026
- fabiandistler/agentstheir own version, first seen Sep 30, 2026
- afonsoft/skillstheir own version, first seen Sep 30, 2026
- rafaelh/skillstheir own version, first seen Sep 30, 2026
Used with
Projects with it also use deployment-procedures, behavioral-modes 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.
xfstudioSkilldeployment-procedures
Production deployment principles and decision-making. Safe deployment workflows, rollback strategies, and verification. Teaches thinking, not scripts.
Also in 5 projects that use this
xfstudioSkillbehavioral-modes
AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
Also in 4 projects that use this
tiendatworkSkill2d-games
2D game development principles. Sprites, tilemaps, physics, camera.
Also in 3 projects that use this
tiendatworkSkill3d-games
3D game development principles. Rendering, shaders, physics, cameras.
Also in 3 projects that use this
CES-LtdSkilloss-pr
Use when creating a pull request, after committing changes, or when user invokes /oss-pr. Covers branch management, quality checks, commit, push, and PR creation.
Also in 3 projects that use this
CES-LtdSkillpr-automation
PR Automation Orchestrator: poll open PRs, check CI, run review, fix, and merge eligible PRs. Use when: (1) Invoked by daemon via scripts/pr-automation.sh, (2) User says "/pr-automation".
Also in 3 projects that use this
- +1 more from xfstudio
- +5 more from tiendatwork
Other versions82 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 82
- iOfficeAI/AionUi★ 33ksame name
- anthropics/knowledge-work-plugins★ 26ksame name
- ktnyt/cclsp★ 675same name
- patrickjaja/claude-desktop-extra★ 657same name
- FerroxLabs/wayland★ 608same name
- owainlewis/blueprint★ 410same name
- microsoft/powerplatform-build-tools★ 308same name
- techygarg/lattice★ 197same name
- sd0xdev/sd0x-harness★ 191same name
- wellwelwel/lagune★ 172same name
72 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.

