skills/en/tao-architecture-decision/SKILL.md
Architecture Decision Record (ADR) writing with trade-off analysis matrix and decision evaluation framework. Use when making architectural decisions, choosing technologies, or documenting design decisions.
npx skillsauth add andretauan/tao tao-architecture-decisionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use when making technology choices, designing system architecture, or evaluating design alternatives.
# ADR-NNN — [Decision Title]
**Date:** YYYY-MM-DD
**Status:** PROPOSED | ACCEPTED | DEPRECATED | SUPERSEDED by ADR-XXX
**Deciders:** [who was involved]
## Context
[What is the issue? What forces are at play?]
## Options Considered
### Option A — [Name]
- **Pros:** ...
- **Cons:** ...
- **Cost:** ...
### Option B — [Name]
- **Pros:** ...
- **Cons:** ...
- **Cost:** ...
## Decision
[Which option was chosen and WHY]
## Consequences
### Positive
- ...
### Negative
- ...
### Risks
- ...
Score each option 1-5 on weighted criteria:
| Criteria | Weight | Option A | Option B | Option C | |----------|--------|----------|----------|----------| | Performance | 3 | 4 (12) | 3 (9) | 5 (15) | | Maintainability | 4 | 5 (20) | 3 (12) | 2 (8) | | Team expertise | 2 | 3 (6) | 5 (10) | 1 (2) | | Cost | 3 | 4 (12) | 3 (9) | 2 (6) | | Total | | 50 | 40 | 31 |
Before accepting a decision, verify:
testing
Estratégia de pirâmide de testes com análise de cobertura, identificação de edge cases e planejamento de testes. Use ao planejar testes, melhorar cobertura, identificar edge cases ou escrever especificações de teste.
development
Auditoria de segurança alinhada ao OWASP Top 10 com checklist para injection, XSS, autenticação, autorização, gestão de secrets e vulnerabilidades comuns. Use ao auditar segurança, revisar código de auth ou hardening de aplicação.
development
Metodologia de refatoração segura com detecção de code smells, transformação passo-a-passo e prevenção de regressão. Use ao refatorar código, reduzir dívida técnica ou melhorar estrutura.
testing
Decomposição expert de tarefas para criar PLAN.md no TAO. Quebra features em fases e tarefas com critérios de aceite, estimativas e dependências. Use ao planejar trabalho, criar fases ou decompor features.