@onion-architect-ai/cli 4.1.0-beta.1 → 4.1.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -7
- package/dist/cli.js.map +1 -1
- package/package.json +4 -3
- package/templates/.cursor/agents/compliance/iso-22301-specialist.md +917 -0
- package/templates/.cursor/agents/compliance/iso-27001-specialist.md +641 -0
- package/templates/.cursor/agents/compliance/pmbok-specialist.md +669 -0
- package/templates/.cursor/agents/compliance/security-information-master.md +824 -0
- package/templates/.cursor/agents/compliance/soc2-specialist.md +818 -0
- package/templates/.cursor/agents/deployment/docker-specialist.md +1192 -0
- package/templates/.cursor/agents/meta/agent-creator-specialist.md +1135 -0
- package/templates/.cursor/agents/meta/command-creator-specialist.md +1519 -0
- package/templates/.cursor/agents/meta/metaspec-gate-keeper.md +240 -0
- package/templates/.cursor/agents/meta/onion.md +753 -0
- package/templates/.cursor/agents/research/research-agent.md +292 -0
- package/templates/.cursor/agents/review/corporate-compliance-specialist.md +370 -0
- package/templates/.cursor/commands/common/prompts/README.md +187 -0
- package/templates/.cursor/commands/common/prompts/clickup-patterns.md +144 -0
- package/templates/.cursor/commands/common/prompts/code-review-checklist.md +168 -0
- package/templates/.cursor/commands/common/prompts/git-workflow-patterns.md +235 -0
- package/templates/.cursor/commands/common/prompts/output-formats.md +240 -0
- package/templates/.cursor/commands/common/prompts/technical.md +172 -0
- package/templates/.cursor/commands/common/prompts/validation-rules.md +173 -0
- package/templates/.cursor/commands/common/templates/abstraction-template.md +400 -0
- package/templates/.cursor/commands/common/templates/agent-template.md +353 -0
- package/templates/.cursor/commands/common/templates/business_context_template.md +748 -0
- package/templates/.cursor/commands/common/templates/command-template.md +273 -0
- package/templates/.cursor/commands/common/templates/technical_context_template.md +526 -0
- package/templates/.cursor/commands/development/runflow-dev.md +465 -0
- package/templates/.cursor/commands/docs/build-compliance-docs.md +143 -0
- package/templates/.cursor/commands/git/README.md +606 -0
- package/templates/.cursor/commands/meta/all-tools.md +50 -0
- package/templates/.cursor/commands/meta/analyze-complex-problem.md +186 -0
- package/templates/.cursor/commands/meta/create-abstraction.md +859 -0
- package/templates/.cursor/commands/meta/create-agent-express.md +83 -0
- package/templates/.cursor/commands/meta/create-agent.md +210 -0
- package/templates/.cursor/commands/meta/create-command.md +203 -0
- package/templates/.cursor/commands/meta/create-knowledge-base.md +143 -0
- package/templates/.cursor/commands/meta/create-task-structure.md +150 -0
- package/templates/.cursor/commands/meta/setup-integration.md +257 -0
- package/templates/.cursor/commands/onion/setup.md +843 -0
- package/templates/.cursor/commands/onion.md +168 -0
- package/templates/.cursor/commands/product/README.md +230 -0
- package/templates/.cursor/commands/quick/analisys.md +17 -0
- package/templates/.cursor/commands/validate/collab/pair-testing.md +633 -0
- package/templates/.cursor/commands/validate/collab/three-amigos.md +505 -0
- package/templates/.cursor/commands/validate/qa-points/estimate.md +660 -0
- package/templates/.cursor/commands/validate/test-strategy/analyze.md +1134 -0
- package/templates/.cursor/commands/validate/test-strategy/create.md +392 -0
- package/templates/.cursor/commands/validate/workflow.md +360 -0
- package/templates/.cursor/commands/warm-up.md +91 -0
- package/templates/.cursor/docs/architecture/acoplamento-clickup-problema-analise.md +446 -0
- package/templates/.cursor/docs/architecture/desacoplamento-roadmap.md +360 -0
- package/templates/.cursor/docs/architecture/validacao-fase-1.md +219 -0
- package/templates/.cursor/docs/c4/c4-detection-rules.md +395 -0
- package/templates/.cursor/docs/c4/c4-documentation-templates.md +579 -0
- package/templates/.cursor/docs/c4/c4-mermaid-patterns.md +331 -0
- package/templates/.cursor/docs/c4/c4-templates.md +256 -0
- package/templates/.cursor/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
- package/templates/.cursor/docs/clickup/clickup-auto-update-strategy.md +318 -0
- package/templates/.cursor/docs/clickup/clickup-comment-formatter.md +239 -0
- package/templates/.cursor/docs/clickup/clickup-description-fix.md +355 -0
- package/templates/.cursor/docs/clickup/clickup-dual-comment-strategy.md +505 -0
- package/templates/.cursor/docs/clickup/clickup-formatting.md +302 -0
- package/templates/.cursor/docs/clickup/separador-tamanho-otimizado.md +256 -0
- package/templates/.cursor/docs/engineer/pre-pr-acceptance-validation.md +256 -0
- package/templates/.cursor/docs/onion/ESPERANTO.md +278 -0
- package/templates/.cursor/docs/onion/agents-reference.md +832 -0
- package/templates/.cursor/docs/onion/clickup-integration.md +738 -0
- package/templates/.cursor/docs/onion/commands-guide.md +807 -0
- package/templates/.cursor/docs/onion/engineering-flows.md +865 -0
- package/templates/.cursor/docs/onion/getting-started.md +741 -0
- package/templates/.cursor/docs/onion/maintenance-checklist.md +388 -0
- package/templates/.cursor/docs/onion/naming-conventions.md +268 -0
- package/templates/.cursor/docs/onion/practical-examples.md +782 -0
- package/templates/.cursor/docs/product/story-points-integration.md +254 -0
- package/templates/.cursor/docs/product/story-points-validation.md +224 -0
- package/templates/.cursor/docs/reviews/task-manager-docs-review-2025-11-24.md +167 -0
- package/templates/.cursor/docs/strategies/clickup-comment-patterns.md +766 -0
- package/templates/.cursor/docs/strategies/clickup-integration-tests.md +599 -0
- package/templates/.cursor/docs/strategies/clickup-mcp-wrappers-tests.md +854 -0
- package/templates/.cursor/docs/strategies/clickup-regression-tests.md +589 -0
- package/templates/.cursor/docs/strategies/visual-patterns.md +308 -0
- package/templates/.cursor/docs/templates/README.md +624 -0
- package/templates/.cursor/docs/templates/adr-template.md +226 -0
- package/templates/.cursor/docs/templates/analysis-template.md +280 -0
- package/templates/.cursor/docs/templates/execution-plan-template.md +430 -0
- package/templates/.cursor/docs/templates/guide-template.md +367 -0
- package/templates/.cursor/docs/templates/phase-execution-prompt-template.md +504 -0
- package/templates/.cursor/docs/templates/reference-template.md +522 -0
- package/templates/.cursor/docs/templates/solution-template.md +390 -0
- package/templates/.cursor/docs/tools/README.md +325 -0
- package/templates/.cursor/docs/tools/agents.md +330 -0
- package/templates/.cursor/docs/tools/commands.md +606 -0
- package/templates/.cursor/docs/tools/cursor.md +498 -0
- package/templates/.cursor/docs/tools/mcps.md +858 -0
- package/templates/.cursor/docs/tools/rules.md +423 -0
- package/templates/.cursor/rules/language-and-documentation.mdc +371 -0
- package/templates/.cursor/rules/onion-patterns.mdc +197 -0
- package/templates/.cursor/rules/validation-rules.mdc +194 -0
- package/templates/.cursor/utils/clickup-mcp-wrappers.md +671 -0
- package/templates/.cursor/utils/date-time-standards.md +182 -0
- package/templates/.cursor/utils/task-manager/README.md +94 -0
- package/templates/.cursor/utils/task-manager/adapters/asana.md +377 -0
- package/templates/.cursor/utils/task-manager/adapters/clickup.md +467 -0
- package/templates/.cursor/utils/task-manager/adapters/linear.md +421 -0
- package/templates/.cursor/utils/task-manager/detector.md +290 -0
- package/templates/.cursor/utils/task-manager/factory.md +363 -0
- package/templates/.cursor/utils/task-manager/interface.md +248 -0
- package/templates/.cursor/utils/task-manager/types.md +409 -0
- package/templates/.cursor/validation/product-task-validation.md +344 -0
- package/templates/.onion/contexts/business/.context-config.yml +52 -0
- package/templates/.onion/contexts/business/README.md +222 -0
- package/templates/.onion/contexts/business/agents/branding-specialist.md +1030 -0
- package/templates/.onion/contexts/business/agents/clickup-specialist.md +397 -0
- package/templates/.onion/contexts/business/agents/extract-meeting-specialist.md +395 -0
- package/templates/.onion/contexts/business/agents/gamma-specialist.md +1169 -0
- package/templates/.onion/contexts/business/agents/meeting-consolidator.md +483 -0
- package/templates/.onion/contexts/business/agents/pain-price-specialist.md +509 -0
- package/templates/.onion/contexts/business/agents/presentation-orchestrator.md +1191 -0
- package/templates/.onion/contexts/business/agents/product-agent.md +202 -0
- package/templates/.onion/contexts/business/agents/story-points-specialist.md +539 -0
- package/templates/.onion/contexts/business/agents/storytelling-specialist.md +891 -0
- package/templates/.onion/contexts/business/agents/task-specialist.md +618 -0
- package/templates/.onion/contexts/business/agents/whisper-specialist.md +373 -0
- package/templates/.onion/contexts/business/commands/advanced/analyze-pain-price.md +709 -0
- package/templates/.onion/contexts/business/commands/advanced/branding.md +460 -0
- package/templates/.onion/contexts/business/commands/advanced/checklist-sync.md +241 -0
- package/templates/.onion/contexts/business/commands/advanced/presentation.md +189 -0
- package/templates/.onion/contexts/business/commands/advanced/transform-consolidated.md +592 -0
- package/templates/.onion/contexts/business/commands/help.md +212 -0
- package/templates/.onion/contexts/business/commands/intermediate/check.md +48 -0
- package/templates/.onion/contexts/business/commands/intermediate/collect.md +96 -0
- package/templates/.onion/contexts/business/commands/intermediate/consolidate-meetings.md +306 -0
- package/templates/.onion/contexts/business/commands/intermediate/convert-to-tasks.md +220 -0
- package/templates/.onion/contexts/business/commands/intermediate/extract-meeting.md +241 -0
- package/templates/.onion/contexts/business/commands/intermediate/feature.md +431 -0
- package/templates/.onion/contexts/business/commands/intermediate/light-arch.md +97 -0
- package/templates/.onion/contexts/business/commands/intermediate/task-check.md +340 -0
- package/templates/.onion/contexts/business/commands/intermediate/validate-task.md +294 -0
- package/templates/.onion/contexts/business/commands/intermediate/whisper.md +325 -0
- package/templates/.onion/contexts/business/commands/starter/estimate.md +519 -0
- package/templates/.onion/contexts/business/commands/starter/refine.md +186 -0
- package/templates/.onion/contexts/business/commands/starter/spec.md +107 -0
- package/templates/.onion/contexts/business/commands/starter/task.md +585 -0
- package/templates/.onion/contexts/business/commands/starter/warm-up.md +187 -0
- package/templates/.onion/contexts/technical/.context-config.yml +64 -0
- package/templates/.onion/contexts/technical/README.md +238 -0
- package/templates/.onion/contexts/technical/agents/branch-code-reviewer.md +200 -0
- package/templates/.onion/contexts/technical/agents/branch-doc-writer.md +162 -0
- package/templates/.onion/contexts/technical/agents/branch-metaspec-checker.md +68 -0
- package/templates/.onion/contexts/technical/agents/branch-test-planner.md +177 -0
- package/templates/.onion/contexts/technical/agents/c4-architecture-specialist.md +712 -0
- package/templates/.onion/contexts/technical/agents/c4-documentation-specialist.md +658 -0
- package/templates/.onion/contexts/technical/agents/code-reviewer.md +155 -0
- package/templates/.onion/contexts/technical/agents/cursor-specialist.md +249 -0
- package/templates/.onion/contexts/technical/agents/docs-reverse-engineer.md +418 -0
- package/templates/.onion/contexts/technical/agents/gitflow-specialist.md +1207 -0
- package/templates/.onion/contexts/technical/agents/linux-security-specialist.md +676 -0
- package/templates/.onion/contexts/technical/agents/mermaid-specialist.md +516 -0
- package/templates/.onion/contexts/technical/agents/nodejs-specialist.md +673 -0
- package/templates/.onion/contexts/technical/agents/nx-migration-specialist.md +867 -0
- package/templates/.onion/contexts/technical/agents/nx-monorepo-specialist.md +619 -0
- package/templates/.onion/contexts/technical/agents/postgres-specialist.md +1124 -0
- package/templates/.onion/contexts/technical/agents/react-developer.md +132 -0
- package/templates/.onion/contexts/technical/agents/runflow-specialist.md +278 -0
- package/templates/.onion/contexts/technical/agents/system-doc-orchestrator.md +1388 -0
- package/templates/.onion/contexts/technical/agents/test-agent.md +425 -0
- package/templates/.onion/contexts/technical/agents/test-engineer.md +295 -0
- package/templates/.onion/contexts/technical/agents/test-planner.md +118 -0
- package/templates/.onion/contexts/technical/agents/zen-engine-specialist.md +421 -0
- package/templates/.onion/contexts/technical/commands/advanced/bump.md +43 -0
- package/templates/.onion/contexts/technical/commands/advanced/consolidate-documents.md +424 -0
- package/templates/.onion/contexts/technical/commands/advanced/e2e.md +392 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-finish.md +90 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-publish.md +91 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-start.md +158 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix-finish.md +98 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix-start.md +94 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix.md +186 -0
- package/templates/.onion/contexts/technical/commands/advanced/refine-vision.md +27 -0
- package/templates/.onion/contexts/technical/commands/advanced/release-finish.md +98 -0
- package/templates/.onion/contexts/technical/commands/advanced/release-start.md +95 -0
- package/templates/.onion/contexts/technical/commands/advanced/reverse-consolidate.md +160 -0
- package/templates/.onion/contexts/technical/commands/advanced/validate-phase-sync.md +118 -0
- package/templates/.onion/contexts/technical/commands/help.md +329 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-business-docs.md +276 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-index.md +128 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-tech-docs.md +204 -0
- package/templates/.onion/contexts/technical/commands/intermediate/code-review.md +215 -0
- package/templates/.onion/contexts/technical/commands/intermediate/docs-health.md +142 -0
- package/templates/.onion/contexts/technical/commands/intermediate/fast-commit.md +45 -0
- package/templates/.onion/contexts/technical/commands/intermediate/integration.md +523 -0
- package/templates/.onion/contexts/technical/commands/intermediate/pr-update.md +198 -0
- package/templates/.onion/contexts/technical/commands/intermediate/pre-pr.md +91 -0
- package/templates/.onion/contexts/technical/commands/intermediate/start.md +266 -0
- package/templates/.onion/contexts/technical/commands/intermediate/sync-sessions.md +320 -0
- package/templates/.onion/contexts/technical/commands/intermediate/unit.md +378 -0
- package/templates/.onion/contexts/technical/commands/intermediate/validate-docs.md +159 -0
- package/templates/.onion/contexts/technical/commands/starter/docs.md +39 -0
- package/templates/.onion/contexts/technical/commands/starter/help.md +306 -0
- package/templates/.onion/contexts/technical/commands/starter/init.md +139 -0
- package/templates/.onion/contexts/technical/commands/starter/plan.md +111 -0
- package/templates/.onion/contexts/technical/commands/starter/pr.md +136 -0
- package/templates/.onion/contexts/technical/commands/starter/sync.md +228 -0
- package/templates/.onion/contexts/technical/commands/starter/warm-up.md +173 -0
- package/templates/.onion/contexts/technical/commands/starter/work.md +169 -0
- package/templates/.onion/core/commands/help.md +388 -0
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: warm-up
|
|
3
|
+
description: |
|
|
4
|
+
Preparação de contexto de produto e negócio.
|
|
5
|
+
Foca em documentação de produto, especificações, knowledge bases de negócio e frameworks de produto.
|
|
6
|
+
model: sonnet
|
|
7
|
+
category: product
|
|
8
|
+
tags: [warmup, context, product, business]
|
|
9
|
+
version: "4.0.0"
|
|
10
|
+
updated: "2025-12-20"
|
|
11
|
+
level: starter
|
|
12
|
+
context: business
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# 🔥 Warm-up de Produto
|
|
16
|
+
|
|
17
|
+
Preparação específica para trabalho de produto, negócio e gestão de features.
|
|
18
|
+
|
|
19
|
+
## 🎯 Objetivo
|
|
20
|
+
|
|
21
|
+
Estabelecer contexto focado em:
|
|
22
|
+
- Documentação de produto e negócio
|
|
23
|
+
- Especificações de features e domínios
|
|
24
|
+
- Knowledge bases de produto
|
|
25
|
+
- Frameworks de produto (Story Points, etc)
|
|
26
|
+
- Comandos e agentes de produto
|
|
27
|
+
|
|
28
|
+
## 📋 Checklist de Preparação
|
|
29
|
+
|
|
30
|
+
### 1. Contexto Geral (Base)
|
|
31
|
+
- ✅ Revisar `README.md` para visão geral do Sistema Onion
|
|
32
|
+
- ✅ Entender estrutura de documentação em `docs/`
|
|
33
|
+
|
|
34
|
+
### 2. Meta Especificações
|
|
35
|
+
- ✅ Revisar `docs/meta-specs/index.md`
|
|
36
|
+
- ✅ Memorizar hierarquia de especificações
|
|
37
|
+
- ✅ Entender quando consultar meta specs para decisões de produto
|
|
38
|
+
|
|
39
|
+
### 3. Documentação de Produto
|
|
40
|
+
- ✅ Revisar `docs/onion/commands-guide.md` - Seção "Comandos de Produto"
|
|
41
|
+
- ✅ Mapear comandos de produto disponíveis:
|
|
42
|
+
|
|
43
|
+
**Gestão de Tasks:**
|
|
44
|
+
- `/product/task` - Criar tasks com estimativas automáticas
|
|
45
|
+
- `/product/feature` - Criar tasks de feature para backlog
|
|
46
|
+
- `/product/collect` - Coletar ideias de features/bugs
|
|
47
|
+
- `/product/task-check` - Verificar status de tasks
|
|
48
|
+
- `/product/validate-task` - Validar tasks contra meta-specs
|
|
49
|
+
- `/product/checklist-sync` - Sincronizar checklists
|
|
50
|
+
|
|
51
|
+
**Especificação e Refinamento:**
|
|
52
|
+
- `/product/spec` - Especificações técnicas
|
|
53
|
+
- `/product/refine` - Refinamento de requisitos
|
|
54
|
+
- `/product/estimate` - Estimar story points
|
|
55
|
+
- `/product/light-arch` - Arquitetura leve
|
|
56
|
+
|
|
57
|
+
**Processamento de Reuniões:**
|
|
58
|
+
- `/product/extract-meeting` - Extrair insights de reuniões (Framework EXTRACT)
|
|
59
|
+
- `/product/consolidate-meetings` - Consolidar múltiplas reuniões
|
|
60
|
+
|
|
61
|
+
**Análise e Validação:**
|
|
62
|
+
- `/product/check` - Verificar requisitos contra meta-specs
|
|
63
|
+
- `/product/analyze-pain-price` - Analisar dor do cliente e precificação
|
|
64
|
+
|
|
65
|
+
**Comunicação:**
|
|
66
|
+
- `/product/branding` - Trabalhar em branding e posicionamento
|
|
67
|
+
- `/product/presentation` - Criar apresentações
|
|
68
|
+
|
|
69
|
+
**Documentação Relacionada:**
|
|
70
|
+
- `/docs/consolidate-documents` - Consolidar documentos de produto/negócio
|
|
71
|
+
|
|
72
|
+
### 4. Knowledge Bases de Produto
|
|
73
|
+
- ✅ Revisar `docs/knowbase/frameworks/framework_story_points.md`
|
|
74
|
+
- ✅ Revisar `docs/knowbase/concepts/task-manager-abstraction.md`
|
|
75
|
+
- ✅ Revisar `docs/knowbase/concepts/meeting-transcription-to-knowledge-base.md`
|
|
76
|
+
- ✅ Revisar `docs/knowbase/concepts/identificar-precificar-dor-cliente.md`
|
|
77
|
+
- ✅ Revisar `docs/knowbase/concepts/branding-posicionamento-marca.md`
|
|
78
|
+
|
|
79
|
+
### 5. Agentes de Produto
|
|
80
|
+
- ✅ Conhecer agentes especializados:
|
|
81
|
+
- `@product-agent` - Orquestração estratégica
|
|
82
|
+
- `@story-points-framework-specialist` - Estimativas ágeis
|
|
83
|
+
- `@extract-meeting-specialist` - Extração de reuniões
|
|
84
|
+
- `@meeting-consolidator` - Consolidação de reuniões
|
|
85
|
+
- `@storytelling-business-specialist` - Narrativas de negócio
|
|
86
|
+
- `@branding-positioning-specialist` - Branding e posicionamento
|
|
87
|
+
|
|
88
|
+
### 6. Task Manager Integration
|
|
89
|
+
- ✅ Verificar `TASK_MANAGER_PROVIDER` no `.env`
|
|
90
|
+
- ✅ Entender abstração de Task Manager (ClickUp, Asana, Linear)
|
|
91
|
+
- ✅ Revisar `docs/knowbase/concepts/task-manager-abstraction.md`
|
|
92
|
+
|
|
93
|
+
### 7. Especificações de Features
|
|
94
|
+
- ✅ Mapear estrutura de especificações:
|
|
95
|
+
- Domain Specs (L1) - Regras de negócio
|
|
96
|
+
- Feature Specs (L2) - Especificações de features
|
|
97
|
+
- ✅ Entender formato de especificações do projeto
|
|
98
|
+
|
|
99
|
+
## 🔍 Contexto Específico de Produto
|
|
100
|
+
|
|
101
|
+
### Documentação Essencial
|
|
102
|
+
- `docs/onion/commands-guide.md` - Comandos de produto
|
|
103
|
+
- `docs/onion/practical-examples.md` - Exemplos práticos
|
|
104
|
+
- `docs/knowbase/frameworks/framework_story_points.md` - Framework de estimativas
|
|
105
|
+
- `docs/knowbase/concepts/meeting-transcription-to-knowledge-base.md` - Processamento de reuniões
|
|
106
|
+
|
|
107
|
+
### Workflows de Produto
|
|
108
|
+
|
|
109
|
+
**Workflow Completo de Feature:**
|
|
110
|
+
1. **Coletar**: `/product/collect` → Coletar ideias de features/bugs
|
|
111
|
+
2. **Criar Task**: `/product/task` → Cria com story points automáticos
|
|
112
|
+
3. **Criar Feature**: `/product/feature` → Criar task de feature para backlog
|
|
113
|
+
4. **Validar**: `/product/check` → Verificar requisitos contra meta-specs
|
|
114
|
+
5. **Especificar**: `/product/spec` → Documenta feature completa
|
|
115
|
+
6. **Estimar**: `/product/estimate` → Ajusta estimativas
|
|
116
|
+
7. **Refinar**: `/product/refine` → Recalcula estimativas após mudanças
|
|
117
|
+
8. **Arquitetura**: `/product/light-arch` → Arquitetura leve da feature
|
|
118
|
+
|
|
119
|
+
**Workflow de Reuniões:**
|
|
120
|
+
1. **Extrair Reunião**: `/product/extract-meeting` → Framework EXTRACT (7 dimensões)
|
|
121
|
+
2. **Consolidar**: `/product/consolidate-meetings` → Análise de múltiplas reuniões
|
|
122
|
+
3. **Consolidar Docs**: `/docs/consolidate-documents` → Consolidar documentos relacionados
|
|
123
|
+
|
|
124
|
+
**Workflow de Validação:**
|
|
125
|
+
1. **Validar Task**: `/product/validate-task` → Validar task contra meta-specs
|
|
126
|
+
2. **Verificar**: `/product/task-check` → Verificar status e completude
|
|
127
|
+
3. **Sincronizar**: `/product/checklist-sync` → Sincronizar checklists com Task Manager
|
|
128
|
+
|
|
129
|
+
**Workflow de Análise:**
|
|
130
|
+
1. **Analisar Dor**: `/product/analyze-pain-price` → Analisar dor do cliente e precificação
|
|
131
|
+
2. **Branding**: `/product/branding` → Trabalhar em branding e posicionamento
|
|
132
|
+
3. **Apresentação**: `/product/presentation` → Criar apresentações
|
|
133
|
+
|
|
134
|
+
## 💡 Quando Usar Este Warm-up
|
|
135
|
+
|
|
136
|
+
- ✅ Trabalho em especificações de features
|
|
137
|
+
- ✅ Criação ou refinamento de tasks (`/product/task`, `/product/feature`, `/product/collect`)
|
|
138
|
+
- ✅ Estimativas de story points (`/product/estimate`)
|
|
139
|
+
- ✅ Processamento de reuniões (`/product/extract-meeting`, `/product/consolidate-meetings`)
|
|
140
|
+
- ✅ Consolidação de documentos (`/docs/consolidate-documents`)
|
|
141
|
+
- ✅ Análise de requisitos de negócio (`/product/check`, `/product/validate-task`)
|
|
142
|
+
- ✅ Análise de dor do cliente (`/product/analyze-pain-price`)
|
|
143
|
+
- ✅ Trabalho com Product Owners
|
|
144
|
+
- ✅ Branding e posicionamento (`/product/branding`)
|
|
145
|
+
- ✅ Criação de apresentações (`/product/presentation`)
|
|
146
|
+
|
|
147
|
+
## 🔗 Integração com Engenharia
|
|
148
|
+
|
|
149
|
+
Após preparar contexto de produto:
|
|
150
|
+
- Tasks criadas são validadas por `/engineer/start`
|
|
151
|
+
- Story points são verificados antes de iniciar desenvolvimento
|
|
152
|
+
- Especificações alimentam sessões de engenharia
|
|
153
|
+
|
|
154
|
+
## ⚠️ Notas
|
|
155
|
+
|
|
156
|
+
- Foco em contexto de negócio e produto, não técnico
|
|
157
|
+
- Mantenha conhecimento de frameworks de produto no contexto
|
|
158
|
+
- Use agentes especializados para tarefas específicas
|
|
159
|
+
- Sempre sincronize tasks com Task Manager configurado
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
---
|
|
164
|
+
|
|
165
|
+
## 🚀 Próximos Passos
|
|
166
|
+
|
|
167
|
+
Agora que você preparou o contexto, comece o trabalho:
|
|
168
|
+
|
|
169
|
+
1. **Criar nova especificação**:
|
|
170
|
+
```bash
|
|
171
|
+
/business/spec "feature-name"
|
|
172
|
+
```
|
|
173
|
+
O contexto carregado ajudará a criar specs mais completas.
|
|
174
|
+
|
|
175
|
+
2. **Extrair informações de reunião**:
|
|
176
|
+
```bash
|
|
177
|
+
/business/extract-meeting
|
|
178
|
+
```
|
|
179
|
+
Use para documentar decisões e ações de meetings recentes.
|
|
180
|
+
|
|
181
|
+
3. **Explorar comandos intermediate**:
|
|
182
|
+
```bash
|
|
183
|
+
/business/help --level=intermediate
|
|
184
|
+
```
|
|
185
|
+
Descubra workflows mais avançados como `/business/feature` (spec + tasks em um comando).
|
|
186
|
+
|
|
187
|
+
💡 **Dica**: Warm-up é especialmente útil ao retomar trabalho após pausas ou ao entrar em novo projeto.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Technical Context Configuration
|
|
2
|
+
# Onion v4.0 - Multi-Context Development Orchestrator
|
|
3
|
+
|
|
4
|
+
context:
|
|
5
|
+
name: technical
|
|
6
|
+
description: Development, Testing, Git, Documentation workflows
|
|
7
|
+
version: "4.0.0"
|
|
8
|
+
created: "2025-12-20"
|
|
9
|
+
|
|
10
|
+
commands:
|
|
11
|
+
prefix: /technical
|
|
12
|
+
levels:
|
|
13
|
+
starter: 10 # 80% dos casos de uso
|
|
14
|
+
intermediate: 15 # 15% dos casos de uso
|
|
15
|
+
advanced: 7 # 5% dos casos de uso
|
|
16
|
+
|
|
17
|
+
agents:
|
|
18
|
+
- react-developer
|
|
19
|
+
- nodejs-specialist
|
|
20
|
+
- postgres-specialist
|
|
21
|
+
- zen-engine-specialist
|
|
22
|
+
- nx-monorepo-specialist
|
|
23
|
+
- nx-migration-specialist
|
|
24
|
+
- gitflow-specialist
|
|
25
|
+
- cursor-specialist
|
|
26
|
+
- c4-architecture-specialist
|
|
27
|
+
- c4-documentation-specialist
|
|
28
|
+
- mermaid-specialist
|
|
29
|
+
- system-doc-orchestrator
|
|
30
|
+
- docs-reverse-engineer
|
|
31
|
+
- linux-security-specialist
|
|
32
|
+
- runflow-specialist
|
|
33
|
+
- test-engineer
|
|
34
|
+
- test-planner
|
|
35
|
+
- test-agent
|
|
36
|
+
- code-reviewer
|
|
37
|
+
- branch-code-reviewer
|
|
38
|
+
- branch-doc-writer
|
|
39
|
+
- branch-metaspec-checker
|
|
40
|
+
- branch-test-planner
|
|
41
|
+
|
|
42
|
+
integrations:
|
|
43
|
+
version_control:
|
|
44
|
+
provider: git
|
|
45
|
+
strategy: gitflow
|
|
46
|
+
testing:
|
|
47
|
+
unit: jest
|
|
48
|
+
integration: supertest
|
|
49
|
+
e2e: playwright
|
|
50
|
+
documentation:
|
|
51
|
+
format: c4-model
|
|
52
|
+
generator: mermaid
|
|
53
|
+
|
|
54
|
+
onboarding:
|
|
55
|
+
estimated_time: 30 minutes
|
|
56
|
+
required_reading:
|
|
57
|
+
- .onion/contexts/technical/README.md
|
|
58
|
+
- docs/meta-specs/
|
|
59
|
+
starter_commands:
|
|
60
|
+
- /technical/work "task-id"
|
|
61
|
+
- /technical/plan "feature"
|
|
62
|
+
- /technical/pr
|
|
63
|
+
- /technical/sync
|
|
64
|
+
- /technical/docs
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
# Technical Context
|
|
2
|
+
|
|
3
|
+
> **Onion v4.0** | Multi-Context Development Orchestrator
|
|
4
|
+
|
|
5
|
+
**📚 Sistema de Níveis**: Leia `docs/onion/levels-system.md` para entender a filosofia 80/15/5
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🎯 Sobre Este Contexto
|
|
10
|
+
|
|
11
|
+
O **Technical Context** é dedicado a Developers, DevOps, QA Engineers, e todos os profissionais que trabalham com:
|
|
12
|
+
|
|
13
|
+
- 💻 **Desenvolvimento de código**
|
|
14
|
+
- 🧪 **Testes (unit, integration, e2e)**
|
|
15
|
+
- 🔀 **Git workflows (gitflow, branches, PRs)**
|
|
16
|
+
- 📚 **Documentação técnica**
|
|
17
|
+
- 🏗️ **Arquitetura e design**
|
|
18
|
+
- 🚀 **Deploy e CI/CD**
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## 🚀 Quick Start
|
|
23
|
+
|
|
24
|
+
### Comandos Starter (80% dos casos)
|
|
25
|
+
|
|
26
|
+
Use estes comandos para 80% das suas necessidades diárias:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
/technical/work "minha-task" # Iniciar trabalho em uma task
|
|
30
|
+
/technical/plan "feature-x" # Planejar implementação técnica
|
|
31
|
+
/technical/pr # Criar Pull Request
|
|
32
|
+
/technical/sync # Sincronizar branch com main
|
|
33
|
+
/technical/docs # Gerar documentação técnica
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Comandos Intermediate (15% dos casos)
|
|
37
|
+
|
|
38
|
+
Para workflows mais avançados:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
/technical/start # Iniciar sessão de desenvolvimento
|
|
42
|
+
/technical/pre-pr # Preparar para PR
|
|
43
|
+
/technical/code-review # Review de código
|
|
44
|
+
/technical/build-index # Construir índice de docs
|
|
45
|
+
/technical/unit # Executar testes unitários
|
|
46
|
+
/technical/integration # Executar testes de integração
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Comandos Advanced (5% dos casos)
|
|
50
|
+
|
|
51
|
+
Para casos especializados:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
/technical/hotfix # Criar hotfix urgente
|
|
55
|
+
/technical/bump # Bump de versão
|
|
56
|
+
/technical/consolidate-documents # Consolidar documentação
|
|
57
|
+
/technical/e2e # Executar testes end-to-end
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## 🤖 Agentes Especializados
|
|
63
|
+
|
|
64
|
+
Invoque agentes especializados com `@nome-agente`:
|
|
65
|
+
|
|
66
|
+
| Agente | Especialidade | Uso |
|
|
67
|
+
|--------|--------------|-----|
|
|
68
|
+
| @react-developer | React/TypeScript | Desenvolvimento frontend |
|
|
69
|
+
| @nodejs-specialist | Node.js backend | Desenvolvimento backend |
|
|
70
|
+
| @postgres-specialist | PostgreSQL | Banco de dados |
|
|
71
|
+
| @zen-engine-specialist | ZenStack | Auth & access control |
|
|
72
|
+
| @nx-monorepo-specialist | Nx monorepo | Workspace management |
|
|
73
|
+
| @gitflow-specialist | Git workflows | Branching strategies |
|
|
74
|
+
| @test-engineer | Testes | Estratégia de testes |
|
|
75
|
+
| @code-reviewer | Code review | Revisão de código |
|
|
76
|
+
| @cursor-specialist | Cursor IDE | Problemas de IDE |
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
## 📚 Estrutura
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
technical/
|
|
84
|
+
├── commands/
|
|
85
|
+
│ ├── starter/ # 10 comandos essenciais (80%)
|
|
86
|
+
│ ├── intermediate/ # 15 comandos avançados (15%)
|
|
87
|
+
│ └── advanced/ # 7 comandos especializados (5%)
|
|
88
|
+
├── agents/ # 23 agentes especializados
|
|
89
|
+
├── knowbase/ # Knowledge bases técnicas
|
|
90
|
+
└── sessions/ # Sessions de desenvolvimento
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
---
|
|
94
|
+
|
|
95
|
+
## 🔗 Integrações
|
|
96
|
+
|
|
97
|
+
### Version Control
|
|
98
|
+
- ✅ **Git** (gitflow)
|
|
99
|
+
- ✅ GitHub
|
|
100
|
+
- ✅ GitLab
|
|
101
|
+
|
|
102
|
+
### Testing Frameworks
|
|
103
|
+
- ✅ **Jest** (unit)
|
|
104
|
+
- ✅ Playwright (e2e)
|
|
105
|
+
- ✅ Supertest (integration)
|
|
106
|
+
|
|
107
|
+
### Documentation
|
|
108
|
+
- ✅ **C4 Model**
|
|
109
|
+
- ✅ Mermaid
|
|
110
|
+
- ✅ JSDoc/TSDoc
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 📖 Onboarding
|
|
115
|
+
|
|
116
|
+
**Tempo estimado**: 30 minutos
|
|
117
|
+
|
|
118
|
+
### Passo 1: Entenda os Comandos Starter (10 min)
|
|
119
|
+
Leia e teste os 5 comandos starter principais:
|
|
120
|
+
```bash
|
|
121
|
+
/technical/work
|
|
122
|
+
/technical/plan
|
|
123
|
+
/technical/pr
|
|
124
|
+
/technical/sync
|
|
125
|
+
/technical/docs
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### Passo 2: Conheça os Agentes (10 min)
|
|
129
|
+
Invoque e converse com:
|
|
130
|
+
```bash
|
|
131
|
+
@react-developer
|
|
132
|
+
@nodejs-specialist
|
|
133
|
+
@gitflow-specialist
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Passo 3: Primeiro Workflow Completo (10 min)
|
|
137
|
+
Execute um workflow end-to-end:
|
|
138
|
+
```bash
|
|
139
|
+
1. /technical/start "minha-feature"
|
|
140
|
+
2. /technical/work
|
|
141
|
+
3. /technical/pre-pr
|
|
142
|
+
4. /technical/pr
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## 🎯 Workflows Comuns
|
|
148
|
+
|
|
149
|
+
### Workflow 1: Nova Feature (30 min)
|
|
150
|
+
```bash
|
|
151
|
+
/technical/start "nome-da-feature" # Criar session
|
|
152
|
+
/technical/plan # Planejar arquitetura
|
|
153
|
+
/technical/work # Implementar
|
|
154
|
+
/technical/unit # Testar
|
|
155
|
+
/technical/pre-pr # Validar
|
|
156
|
+
/technical/pr # Criar PR
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Workflow 2: Hotfix Urgente (15 min)
|
|
160
|
+
```bash
|
|
161
|
+
/technical/hotfix "bug-critico" # Criar branch hotfix
|
|
162
|
+
/technical/work # Corrigir bug
|
|
163
|
+
/technical/integration # Testar
|
|
164
|
+
/technical/pr # PR direto para main
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
### Workflow 3: Documentação Completa (20 min)
|
|
168
|
+
```bash
|
|
169
|
+
/technical/docs # Gerar docs técnicas
|
|
170
|
+
/technical/build-index # Construir índice
|
|
171
|
+
/technical/validate-docs # Validar consistência
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## 🔧 Configuração
|
|
177
|
+
|
|
178
|
+
O arquivo `.context-config.yml` define integrações e preferências:
|
|
179
|
+
|
|
180
|
+
```yaml
|
|
181
|
+
context:
|
|
182
|
+
name: technical
|
|
183
|
+
version: "4.0.0"
|
|
184
|
+
|
|
185
|
+
integrations:
|
|
186
|
+
version_control:
|
|
187
|
+
provider: git
|
|
188
|
+
strategy: gitflow
|
|
189
|
+
testing:
|
|
190
|
+
unit: jest
|
|
191
|
+
integration: supertest
|
|
192
|
+
e2e: playwright
|
|
193
|
+
documentation:
|
|
194
|
+
format: c4-model
|
|
195
|
+
generator: mermaid
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
---
|
|
199
|
+
|
|
200
|
+
## 📊 Métricas
|
|
201
|
+
|
|
202
|
+
| Métrica | Valor |
|
|
203
|
+
|---------|-------|
|
|
204
|
+
| **Comandos Totais** | 32 |
|
|
205
|
+
| **Agentes** | 23 |
|
|
206
|
+
| **Tempo Onboarding** | 30 min |
|
|
207
|
+
| **Casos de Uso** | Dev, QA, DevOps, Docs |
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## 🆘 Ajuda
|
|
212
|
+
|
|
213
|
+
### Comandos Não Funcionam?
|
|
214
|
+
1. Verifique se está no contexto correto: `/technical/help`
|
|
215
|
+
2. Teste com warm-up: `/technical/warm-up`
|
|
216
|
+
3. Consulte agente: `@react-developer "help with X"`
|
|
217
|
+
|
|
218
|
+
### Testes Falhando?
|
|
219
|
+
1. Verifique dependências: `nx affected:test`
|
|
220
|
+
2. Consulte `@test-engineer`
|
|
221
|
+
3. Execute: `/technical/unit` ou `/technical/integration`
|
|
222
|
+
|
|
223
|
+
### Git Conflicts?
|
|
224
|
+
1. Sincronize: `/technical/sync`
|
|
225
|
+
2. Consulte: `@gitflow-specialist`
|
|
226
|
+
3. Code review: `@code-reviewer`
|
|
227
|
+
|
|
228
|
+
### Dúvidas?
|
|
229
|
+
- 📖 Leia: `docs/onion/`
|
|
230
|
+
- 🤖 Pergunte: `@react-developer` ou `@nodejs-specialist`
|
|
231
|
+
- 🔧 CLI: `onion help technical`
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
**Versão**: 4.0.0
|
|
236
|
+
**Última Atualização**: 2025-12-20
|
|
237
|
+
**Migrado em**: FASE 2
|
|
238
|
+
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: branch-code-reviewer
|
|
3
|
+
description: |
|
|
4
|
+
Especialista em revisão de código pré-PR focado em mudanças do branch atual.
|
|
5
|
+
Use para análise de qualidade, bugs e best practices antes do merge.
|
|
6
|
+
model: opus
|
|
7
|
+
tools:
|
|
8
|
+
- read_file
|
|
9
|
+
- codebase_search
|
|
10
|
+
- grep
|
|
11
|
+
- run_terminal_cmd
|
|
12
|
+
- web_search
|
|
13
|
+
- todo_write
|
|
14
|
+
|
|
15
|
+
color: green
|
|
16
|
+
priority: alta
|
|
17
|
+
category: git
|
|
18
|
+
|
|
19
|
+
expertise:
|
|
20
|
+
- pre-pr-review
|
|
21
|
+
- branch-analysis
|
|
22
|
+
- code-quality
|
|
23
|
+
- best-practices
|
|
24
|
+
|
|
25
|
+
related_agents:
|
|
26
|
+
- code-reviewer
|
|
27
|
+
- branch-test-planner
|
|
28
|
+
|
|
29
|
+
related_commands:
|
|
30
|
+
- /engineer/pre-pr
|
|
31
|
+
|
|
32
|
+
version: "4.0.0"
|
|
33
|
+
updated: "2025-12-20"
|
|
34
|
+
context: technical
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
Você é um revisor de código especialista encarregado de analisar mudanças de código em preparação para um pull request. Seu objetivo é fornecer feedback abrangente que ajude a garantir qualidade do código e prontidão para PR.
|
|
38
|
+
|
|
39
|
+
## 🔍 Processo de Revisão
|
|
40
|
+
|
|
41
|
+
### 1. Coletar Informações de Mudança
|
|
42
|
+
Primeiro, entenda o que mudou:
|
|
43
|
+
- Execute `git status` para ver mudanças não commitadas
|
|
44
|
+
- Execute `git diff` para ver mudanças não staged
|
|
45
|
+
- Execute `git diff --staged` para ver mudanças staged
|
|
46
|
+
- Execute `git log origin/main..HEAD --oneline` para ver commits neste branch
|
|
47
|
+
- Execute `git diff origin/main...HEAD` para ver todas as mudanças comparadas ao branch main
|
|
48
|
+
|
|
49
|
+
### 2. Analisar Mudanças de Código
|
|
50
|
+
Para cada arquivo alterado, avalie:
|
|
51
|
+
|
|
52
|
+
**✅ Qualidade do Código & Melhores Práticas**
|
|
53
|
+
- Estilo de código consistente com o projeto
|
|
54
|
+
- Convenções de nomenclatura adequadas (código em inglês)
|
|
55
|
+
- Organização e estrutura do código
|
|
56
|
+
- Princípios DRY (Don't Repeat Yourself)
|
|
57
|
+
- Princípios SOLID quando aplicável
|
|
58
|
+
- Abstrações apropriadas
|
|
59
|
+
- Comentários em pt-BR explicando lógica complexa
|
|
60
|
+
|
|
61
|
+
**🐛 Bugs Potenciais**
|
|
62
|
+
- Erros de lógica
|
|
63
|
+
- Casos extremos não tratados
|
|
64
|
+
- Verificações de null/undefined
|
|
65
|
+
- Tratamento de erro adequado
|
|
66
|
+
- Vazamentos de recursos
|
|
67
|
+
- Condições de corrida (race conditions)
|
|
68
|
+
|
|
69
|
+
**⚡ Considerações de Performance**
|
|
70
|
+
- Algoritmos ineficientes
|
|
71
|
+
- Computações desnecessárias
|
|
72
|
+
- Preocupações de uso de memória
|
|
73
|
+
- Otimização de consulta de banco de dados
|
|
74
|
+
- Oportunidades de cache
|
|
75
|
+
|
|
76
|
+
**🔒 Preocupações de Segurança**
|
|
77
|
+
- Validação de entrada
|
|
78
|
+
- Riscos de injeção SQL
|
|
79
|
+
- Vulnerabilidades XSS
|
|
80
|
+
- Problemas de autenticação/autorização
|
|
81
|
+
- Exposição de dados sensíveis
|
|
82
|
+
- Vulnerabilidades de dependência
|
|
83
|
+
|
|
84
|
+
### 3. Revisão de Documentação
|
|
85
|
+
Verifique se a documentação reflete as mudanças:
|
|
86
|
+
- Atualizações de `README.md` para novas funcionalidades/mudanças
|
|
87
|
+
- Documentação de API
|
|
88
|
+
- Comentários de código em pt-BR para lógica complexa
|
|
89
|
+
- Atualizações da pasta `docs/`
|
|
90
|
+
- `CHANGELOG` ou notas de release
|
|
91
|
+
- Conformidade com `.cursor/rules/language-and-documentation.mdc`
|
|
92
|
+
|
|
93
|
+
### 4. Análise de Cobertura de Testes
|
|
94
|
+
Avalie os testes:
|
|
95
|
+
- Novas funcionalidades/mudanças estão testadas?
|
|
96
|
+
- Casos extremos estão cobertos?
|
|
97
|
+
- Testes existentes ainda passam?
|
|
98
|
+
- Cobertura de testes é mantida ou melhorada?
|
|
99
|
+
- Testes são significativos e não apenas para cobertura?
|
|
100
|
+
|
|
101
|
+
## 📋 Formato de Saída
|
|
102
|
+
|
|
103
|
+
Forneça uma revisão estruturada com:
|
|
104
|
+
|
|
105
|
+
```markdown
|
|
106
|
+
# Relatório de Code Review
|
|
107
|
+
|
|
108
|
+
## Resumo
|
|
109
|
+
[Status semafórico: 🟢 Verde / 🟡 Amarelo / 🔴 Vermelho]
|
|
110
|
+
[Visão geral breve das mudanças e avaliação geral]
|
|
111
|
+
|
|
112
|
+
## Mudanças Revisadas
|
|
113
|
+
- [Lista de arquivos/funcionalidades revisadas]
|
|
114
|
+
|
|
115
|
+
## Descobertas
|
|
116
|
+
|
|
117
|
+
### 🔴 Problemas Críticos (Deve Corrigir)
|
|
118
|
+
[Problemas que bloqueiam aprovação do PR]
|
|
119
|
+
|
|
120
|
+
### 🟡 Recomendações (Deve Endereçar)
|
|
121
|
+
[Melhorias importantes mas não bloqueantes]
|
|
122
|
+
|
|
123
|
+
### 🟢 Observações Positivas
|
|
124
|
+
[Boas práticas observadas]
|
|
125
|
+
|
|
126
|
+
## Análise Detalhada
|
|
127
|
+
|
|
128
|
+
### Qualidade do Código
|
|
129
|
+
[Feedback específico sobre qualidade do código]
|
|
130
|
+
|
|
131
|
+
### Segurança
|
|
132
|
+
[Observações relacionadas à segurança]
|
|
133
|
+
|
|
134
|
+
### Performance
|
|
135
|
+
[Considerações de performance]
|
|
136
|
+
|
|
137
|
+
### Documentação
|
|
138
|
+
[Completude da documentação]
|
|
139
|
+
|
|
140
|
+
### Cobertura de Testes
|
|
141
|
+
[Avaliação dos testes]
|
|
142
|
+
|
|
143
|
+
## Itens de Ação
|
|
144
|
+
1. [Lista priorizada de mudanças necessárias]
|
|
145
|
+
2. [Sugestões de melhoria]
|
|
146
|
+
|
|
147
|
+
## Conclusão
|
|
148
|
+
[Recomendação final e próximos passos]
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## 📖 Diretrizes de Revisão
|
|
152
|
+
|
|
153
|
+
- Seja construtivo e específico no feedback
|
|
154
|
+
- Forneça exemplos ou sugestões de melhorias
|
|
155
|
+
- Reconheça boas práticas observadas
|
|
156
|
+
- Priorize problemas por impacto
|
|
157
|
+
- Considere o contexto e padrões do projeto
|
|
158
|
+
- Foque nas mudanças, não em todo o codebase
|
|
159
|
+
- Valide conformidade com `.cursor/rules/language-and-documentation.mdc`:
|
|
160
|
+
- ✅ Código em inglês (variáveis, funções, classes, nomes de arquivos)
|
|
161
|
+
- ✅ Comentários em pt-BR
|
|
162
|
+
- ✅ Commits em inglês seguindo Conventional Commits
|
|
163
|
+
- ✅ Documentação em pt-BR
|
|
164
|
+
|
|
165
|
+
## 🚦 Critérios do Semáforo
|
|
166
|
+
|
|
167
|
+
**🟢 Luz Verde (Aprovado)**:
|
|
168
|
+
- Sem problemas críticos
|
|
169
|
+
- Código segue padrões do projeto
|
|
170
|
+
- Mudanças bem testadas
|
|
171
|
+
- Documentação atualizada
|
|
172
|
+
- Comentários em pt-BR, código em inglês
|
|
173
|
+
- Pronto para PR
|
|
174
|
+
|
|
175
|
+
**🟡 Luz Amarela (Aprovado com Ressalvas)**:
|
|
176
|
+
- Problemas menores que devem ser endereçados
|
|
177
|
+
- Faltam alguns testes ou documentação
|
|
178
|
+
- Melhorias de performance possíveis
|
|
179
|
+
- Pode prosseguir para PR com anotações
|
|
180
|
+
|
|
181
|
+
**🔴 Luz Vermelha (Bloqueado)**:
|
|
182
|
+
- Bugs críticos ou problemas de segurança
|
|
183
|
+
- Mudanças significativas sem testes
|
|
184
|
+
- Breaking changes sem plano de migração
|
|
185
|
+
- Desvio importante dos padrões do projeto
|
|
186
|
+
- Violação das regras de idioma (código não em inglês ou comentários não em pt-BR)
|
|
187
|
+
- Deve corrigir antes do PR
|
|
188
|
+
|
|
189
|
+
## ⚙️ Checklist de Conformidade
|
|
190
|
+
|
|
191
|
+
Antes de aprovar, verificar:
|
|
192
|
+
|
|
193
|
+
- [ ] Todo código (variáveis, funções, classes) está em inglês
|
|
194
|
+
- [ ] Todos os comentários estão em português (pt-BR)
|
|
195
|
+
- [ ] Commits seguem padrão Conventional Commits em inglês
|
|
196
|
+
- [ ] Documentação atualizada quando necessário
|
|
197
|
+
- [ ] Sintaxe oficial das bibliotecas foi respeitada
|
|
198
|
+
- [ ] Nomes de arquivos e branches em inglês
|
|
199
|
+
- [ ] Mensagens de erro para usuário final em pt-BR
|
|
200
|
+
- [ ] Logs de debug em pt-BR quando aplicável
|