@onion-architect-ai/cli 4.1.0-beta.1 → 4.1.0-beta.3
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 -19
- 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,504 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Cursor v2 - Phase Execution Prompt Template Metadata
|
|
3
|
+
template:
|
|
4
|
+
type: phase-execution-prompt
|
|
5
|
+
version: 2.0
|
|
6
|
+
category: execution
|
|
7
|
+
name: "[TIPO DE FASE]"
|
|
8
|
+
architectural_pattern: "[Padrão Arquitetural/Metodologia Principal]"
|
|
9
|
+
|
|
10
|
+
context:
|
|
11
|
+
title: "🤖 INSTRUÇÕES PARA EXECUÇÃO SISTEMÁTICA"
|
|
12
|
+
phase_type: "[TIPO DE FASE]"
|
|
13
|
+
current_state: "[DESCRIÇÃO DO ESTADO - ex: PROJETO 67% IMPLEMENTADO - FASE X.Y PENDENTE]"
|
|
14
|
+
base: "[TECNOLOGIAS/COMPONENTES JÁ FUNCIONANDO]"
|
|
15
|
+
last_update: "[TIMESTAMP]"
|
|
16
|
+
|
|
17
|
+
usage:
|
|
18
|
+
instructions:
|
|
19
|
+
- "✅ SUBSTITUA todos os placeholders [VARIÁVEL] pelos valores específicos"
|
|
20
|
+
- "📝 MARQUE checkboxes [ ] → [x] conforme progresso nas validações"
|
|
21
|
+
- "📅 ATUALIZE datas, responsável e observações durante execução"
|
|
22
|
+
- "🔄 EXECUTE comandos listados rigorosamente na ordem especificada"
|
|
23
|
+
- "🏷️ DOCUMENTE problemas encontrados para correção imediata"
|
|
24
|
+
- "💰 MONITORE métricas críticas durante implementação"
|
|
25
|
+
- "🔄 ATUALIZE status de cada validação no documento ao final"
|
|
26
|
+
|
|
27
|
+
standards:
|
|
28
|
+
validation_status:
|
|
29
|
+
approved: "[x] - Validação/Tarefa APROVADA - funcionando 100%"
|
|
30
|
+
pending: "[ ] - Validação/Tarefa PENDENTE - ainda não executada"
|
|
31
|
+
failed: "❌ - Validação/Tarefa FALHADA - problema crítico encontrado"
|
|
32
|
+
partial: "⚠️ - Validação/Tarefa PARCIAL - funciona com ressalvas"
|
|
33
|
+
in_progress: "🔄 - Validação/Tarefa EM PROGRESSO - execução iniciada"
|
|
34
|
+
|
|
35
|
+
documentation_patterns:
|
|
36
|
+
feature: "feat([módulo]): implementa [funcionalidade] - [Padrão] compliance"
|
|
37
|
+
docs: "docs([fase]): atualiza documentação fase [X.Y] - [status]"
|
|
38
|
+
fix: "fix([área]): corrige [problema] - validação [critério]"
|
|
39
|
+
test: "test([componente]): valida [funcionalidade] - [resultado]"
|
|
40
|
+
|
|
41
|
+
essential_commands:
|
|
42
|
+
package_manager: "📦 SEMPRE usar [gerenciador de pacotes] para comandos"
|
|
43
|
+
main: "[comando-principal] - [descrição da função principal]"
|
|
44
|
+
validation: "[comando-validação] - [descrição da validação]"
|
|
45
|
+
regeneration: "[comando-regeneração] - [descrição da regeneração]"
|
|
46
|
+
|
|
47
|
+
critical_attention:
|
|
48
|
+
warnings:
|
|
49
|
+
- "⚠️ SEMPRE mantenha [sistema principal] funcionando durante execução"
|
|
50
|
+
- "⚠️ USE [padrão de qualidade] para validação contínua"
|
|
51
|
+
- "⚠️ EXECUTE cada validação completamente antes de prosseguir"
|
|
52
|
+
- "⚠️ DOCUMENTE incompatibilidades no log imediatamente"
|
|
53
|
+
- "⚠️ MONITORE [métricas críticas] em tempo real"
|
|
54
|
+
- "⚠️ VALIDE [padrão arquitetural] em cada transição de estado"
|
|
55
|
+
- "⚠️ MANTENHA backup do estado atual antes de mudanças críticas"
|
|
56
|
+
|
|
57
|
+
milestones:
|
|
58
|
+
checkpoint_1: "🎯 [Primeiro checkpoint da fase]"
|
|
59
|
+
checkpoint_2: "🎯 [Segundo checkpoint da fase]"
|
|
60
|
+
checkpoint_3: "🎯 [Checkpoint final da fase]"
|
|
61
|
+
|
|
62
|
+
success_metrics:
|
|
63
|
+
- metric: "📊 [Métrica 1]"
|
|
64
|
+
target: "[Target específico]"
|
|
65
|
+
criteria: "[critério de medição]"
|
|
66
|
+
- metric: "🤖 [Métrica 2]"
|
|
67
|
+
target: "[Target específico]"
|
|
68
|
+
criteria: "[critério de medição]"
|
|
69
|
+
- metric: "🏷️ [Métrica 3]"
|
|
70
|
+
target: "[Target específico]"
|
|
71
|
+
criteria: "[critério de medição]"
|
|
72
|
+
- metric: "⚡ [Métrica 4]"
|
|
73
|
+
target: "[Target específico]"
|
|
74
|
+
criteria: "[critério de medição]"
|
|
75
|
+
- metric: "🔒 [Métrica 5]"
|
|
76
|
+
target: "[Target específico]"
|
|
77
|
+
criteria: "[critério de medição]"
|
|
78
|
+
|
|
79
|
+
ai_assistant:
|
|
80
|
+
auto_update: true
|
|
81
|
+
track_validations: true
|
|
82
|
+
enforce_sequence: true
|
|
83
|
+
monitor_compliance: true
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
# 🎯 TEMPLATE: PROMPT DE EXECUÇÃO DE FASE DE PROJETO
|
|
87
|
+
## Seguir rigorosamente a sequência [Padrão Arquitetural/Metodologia Principal]
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 📋 **INFORMAÇÕES DA FASE**
|
|
92
|
+
|
|
93
|
+
**Fase:** [X.Y] - [Nome Descritivo da Fase]
|
|
94
|
+
**Plano Base:** [Nome do Plano de Implementação/Projeto] - **FASE [X.Y]**
|
|
95
|
+
**Documento de Referência:** @[arquivo-plano-base.md]
|
|
96
|
+
**Data de Execução:** [YYYY-MM-DD HH:MM]
|
|
97
|
+
**Responsável:** [Nome/Equipe]
|
|
98
|
+
**Estimativa:** [X] horas
|
|
99
|
+
**Prioridade:** [🔴 CRÍTICA | 🟡 ALTA | 🟢 MÉDIA]
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## 1. CARREGAR E VALIDAR PRÉ-REQUISITOS
|
|
104
|
+
|
|
105
|
+
### 🎯 **REGRA DE OURO SEMPRE:**
|
|
106
|
+
> **[Padrão Arquitetural Principal] é a ÚNICA fonte de verdade**
|
|
107
|
+
> **Tudo deriva do [Sistema Principal], nunca o contrário**
|
|
108
|
+
|
|
109
|
+
### **Pré-requisitos Obrigatórios:**
|
|
110
|
+
Carregar, entender e seguir rigorosamente as instruções do **@[documento-base.md]**
|
|
111
|
+
|
|
112
|
+
**Verificar pré-requisitos da Fase [X.Y]:**
|
|
113
|
+
- [ ] **Fase anterior** (Fase [X.Y-1]) marcada como [x] COMPLETO
|
|
114
|
+
- [ ] **Todos os checkboxes** da fase anterior em ✅
|
|
115
|
+
- [ ] **Nenhum erro crítico** nos logs de sistema
|
|
116
|
+
- [ ] **Ambiente de desenvolvimento** validado e funcional
|
|
117
|
+
- [ ] **[Dependências específicas]** instaladas e funcionando
|
|
118
|
+
- [ ] **[Padrão de Qualidade]** compliance validado
|
|
119
|
+
|
|
120
|
+
**Comandos de Validação de Pré-requisitos:**
|
|
121
|
+
```bash
|
|
122
|
+
# Verificar status geral do sistema
|
|
123
|
+
[comando-status-geral]
|
|
124
|
+
|
|
125
|
+
# Validar [padrão principal] compliance
|
|
126
|
+
[comando-validação-padrão] --enforce-[padrão-flag]
|
|
127
|
+
|
|
128
|
+
# Verificar integridade das dependências
|
|
129
|
+
[comando-verificação-dependências]
|
|
130
|
+
|
|
131
|
+
# Health check completo
|
|
132
|
+
[comando-health-check]
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Critérios de Aprovação:**
|
|
136
|
+
- [ ] ✅ Todos os comandos retornam status OK
|
|
137
|
+
- [ ] ✅ Logs sem erros críticos
|
|
138
|
+
- [ ] ✅ [Padrão] compliance 100%
|
|
139
|
+
- [ ] ✅ Ambiente pronto para desenvolvimento
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## 2. EXECUTAR IMPLEMENTAÇÃO
|
|
144
|
+
|
|
145
|
+
### **Objetivo da Fase [X.Y]:**
|
|
146
|
+
[Descrição específica do que será implementado/executado nesta fase]
|
|
147
|
+
|
|
148
|
+
### **Deliverables Esperados:**
|
|
149
|
+
- [ ] **[Deliverable 1]**: [Descrição específica]
|
|
150
|
+
- [ ] **[Deliverable 2]**: [Descrição específica]
|
|
151
|
+
- [ ] **[Deliverable 3]**: [Descrição específica]
|
|
152
|
+
- [ ] **[Deliverable N]**: [Descrição específica]
|
|
153
|
+
|
|
154
|
+
### **Comandos Obrigatórios DURANTE Implementação:**
|
|
155
|
+
|
|
156
|
+
#### **Regeneração [Sistema Principal] ANTES de qualquer mudança:**
|
|
157
|
+
```bash
|
|
158
|
+
# Regenerar [sistema principal] sempre antes de mudanças
|
|
159
|
+
[comando-regeneração-principal]
|
|
160
|
+
|
|
161
|
+
# Verificar regeneração bem-sucedida
|
|
162
|
+
[comando-verificação-regeneração]
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
#### **Validação [Padrão] Compliance DURANTE Desenvolvimento:**
|
|
166
|
+
```bash
|
|
167
|
+
# Validar [padrão] compliance contínua
|
|
168
|
+
[comando-validação-compliance] --enforce-[padrão-flag]
|
|
169
|
+
|
|
170
|
+
# Verificar integrações não foram quebradas
|
|
171
|
+
[comando-teste-integrações]
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
#### **Testes Específicos da Fase:**
|
|
175
|
+
```bash
|
|
176
|
+
# Testar implementação específica da fase
|
|
177
|
+
[comando-teste-fase] --phase=[X.Y]
|
|
178
|
+
|
|
179
|
+
# Validar funcionalidade implementada
|
|
180
|
+
[comando-validação-funcionalidade]
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### **Implementação Passo a Passo:**
|
|
184
|
+
|
|
185
|
+
#### **Passo 1: [Nome do Primeiro Passo]**
|
|
186
|
+
**Duração:** [X] minutos
|
|
187
|
+
**Objetivo:** [Descrição específica]
|
|
188
|
+
|
|
189
|
+
```[linguagem]
|
|
190
|
+
// [Comentário explicativo]
|
|
191
|
+
[Código ou configuração específica]
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
**Validação do Passo:**
|
|
195
|
+
```bash
|
|
196
|
+
# Verificar se passo 1 foi executado corretamente
|
|
197
|
+
[comando-validação-passo-1]
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
**Critério de Sucesso:**
|
|
201
|
+
- [ ] ✅ [Critério específico do passo 1]
|
|
202
|
+
|
|
203
|
+
#### **Passo 2: [Nome do Segundo Passo]**
|
|
204
|
+
[Repetir estrutura similar para cada passo...]
|
|
205
|
+
|
|
206
|
+
### **Log de Execução da Implementação:**
|
|
207
|
+
```bash
|
|
208
|
+
# [TIMESTAMP] - IMPLEMENTAÇÃO PASSO [N] - [Status]
|
|
209
|
+
# - [Descrição do que foi implementado]
|
|
210
|
+
# - [Validações realizadas]
|
|
211
|
+
# - [Problemas encontrados (se houver)]
|
|
212
|
+
# - [Performance observada]
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
---
|
|
216
|
+
|
|
217
|
+
## 3. VALIDAÇÃO PÓS-IMPLEMENTAÇÃO
|
|
218
|
+
|
|
219
|
+
### **Validações Obrigatórias:**
|
|
220
|
+
|
|
221
|
+
#### **Validação Completa do Sistema:**
|
|
222
|
+
```bash
|
|
223
|
+
# Validação 100% do sistema
|
|
224
|
+
[comando-validação-completa]
|
|
225
|
+
|
|
226
|
+
# Regeneração completa [Sistema Principal]
|
|
227
|
+
[comando-regeneração-completa]
|
|
228
|
+
|
|
229
|
+
# Testes específicos da fase implementada
|
|
230
|
+
[comando-teste-específico] --testNamePattern="Fase [X.Y]"
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
#### **Validação de Integridade:**
|
|
234
|
+
```bash
|
|
235
|
+
# Verificar que nada foi quebrado
|
|
236
|
+
[comando-teste-regressão]
|
|
237
|
+
|
|
238
|
+
# Validar performance não degradou
|
|
239
|
+
[comando-teste-performance]
|
|
240
|
+
|
|
241
|
+
# Verificar [padrão] ainda é fonte única de verdade
|
|
242
|
+
[comando-validação-fonte-verdade]
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### **Métricas de Sucesso da Fase:**
|
|
246
|
+
- [ ] **[Métrica 1]**: [Valor esperado] → [Valor atual] ([✅/❌])
|
|
247
|
+
- [ ] **[Métrica 2]**: [Valor esperado] → [Valor atual] ([✅/❌])
|
|
248
|
+
- [ ] **[Métrica 3]**: [Valor esperado] → [Valor atual] ([✅/❌])
|
|
249
|
+
- [ ] **[Métrica N]**: [Valor esperado] → [Valor atual] ([✅/❌])
|
|
250
|
+
|
|
251
|
+
### **Critérios de Aceitação Final:**
|
|
252
|
+
- [ ] ✅ Todos os deliverables implementados e funcionando
|
|
253
|
+
- [ ] ✅ [Padrão] compliance mantido como Single Source of Truth
|
|
254
|
+
- [ ] ✅ Nenhuma regressão introduzida
|
|
255
|
+
- [ ] ✅ Performance dentro dos targets esperados
|
|
256
|
+
- [ ] ✅ Logs limpos sem erros críticos
|
|
257
|
+
- [ ] ✅ Testes automatizados passando
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## 4. ATUALIZAR DOCUMENTAÇÃO
|
|
262
|
+
|
|
263
|
+
### **Atualizações Obrigatórias na Documentação:**
|
|
264
|
+
- [ ] **Marcar todos os checkboxes** da Fase [X.Y] como [x] COMPLETO
|
|
265
|
+
- [ ] **Atualizar status geral**: `- [x] **Fase [X.Y]**: [Nome da Fase] - **100% COMPLETO**`
|
|
266
|
+
- [ ] **Documentar no LOG DE EXECUÇÃO** com timestamp e resultados detalhados
|
|
267
|
+
- [ ] **Verificar se Score Atual** aumentou adequadamente ([X]/100 → [Y]/100)
|
|
268
|
+
- [ ] **Atualizar métricas** de progresso do projeto
|
|
269
|
+
- [ ] **Documentar lições aprendidas** e pontos de atenção
|
|
270
|
+
|
|
271
|
+
### **Arquivos a Atualizar:**
|
|
272
|
+
```bash
|
|
273
|
+
# Arquivos de documentação que devem ser atualizados
|
|
274
|
+
[arquivo-1]: [Seção específica a atualizar]
|
|
275
|
+
[arquivo-2]: [Seção específica a atualizar]
|
|
276
|
+
[arquivo-plano-principal]: [Status da fase]
|
|
277
|
+
[arquivo-progresso]: [Métricas atualizadas]
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### **Template de Documentação:**
|
|
281
|
+
```markdown
|
|
282
|
+
### 📅 [TIMESTAMP] - FASE [X.Y] CONCLUÍDA
|
|
283
|
+
|
|
284
|
+
**Fase:** [X.Y] - [Nome da Fase]
|
|
285
|
+
**Status:** ✅ **COMPLETO**
|
|
286
|
+
**Duração:** [X]h ([tempo real] vs [estimado])
|
|
287
|
+
**Score:** [anterior]/100 → [novo]/100
|
|
288
|
+
|
|
289
|
+
**Deliverables Concluídos:**
|
|
290
|
+
- [x] [Deliverable 1]: [Status/observações]
|
|
291
|
+
- [x] [Deliverable 2]: [Status/observações]
|
|
292
|
+
- [x] [Deliverable N]: [Status/observações]
|
|
293
|
+
|
|
294
|
+
**Métricas Atingidas:**
|
|
295
|
+
- [Métrica 1]: [Valor] ([Status])
|
|
296
|
+
- [Métrica 2]: [Valor] ([Status])
|
|
297
|
+
|
|
298
|
+
**Observações:**
|
|
299
|
+
- [Ponto importante 1]
|
|
300
|
+
- [Ponto importante 2]
|
|
301
|
+
- [Lições aprendidas]
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
## 5. COMMIT PADRONIZADO
|
|
307
|
+
|
|
308
|
+
### **Estrutura do Commit:**
|
|
309
|
+
```bash
|
|
310
|
+
git add .
|
|
311
|
+
git commit -m "feat([módulo-fase]): implementa [Nome da Fase [X.Y]] - [Padrão] compliance
|
|
312
|
+
|
|
313
|
+
✅ Fase [X.Y] - [Nome da Fase] implementada
|
|
314
|
+
📊 Score: [anterior]/100 → [novo]/100
|
|
315
|
+
🎯 [Padrão]: Mantido como Single Source of Truth
|
|
316
|
+
🧪 Testes: [X] passando ([detalhes dos testes])
|
|
317
|
+
📝 Docs: Atualizadas com checkboxes completos
|
|
318
|
+
|
|
319
|
+
Components:
|
|
320
|
+
- [componente1]: implementado/melhorado ([detalhes])
|
|
321
|
+
- [componente2]: implementado/melhorado ([detalhes])
|
|
322
|
+
- [componenteN]: implementado/melhorado ([detalhes])
|
|
323
|
+
|
|
324
|
+
Validation:
|
|
325
|
+
- [comando-validação-completa]: ✅ passing
|
|
326
|
+
- [comando-regeneração]: ✅ successful
|
|
327
|
+
- [comando-teste-fase]: ✅ phase [X.Y] complete
|
|
328
|
+
- [comando-performance]: ✅ targets met
|
|
329
|
+
|
|
330
|
+
Metrics:
|
|
331
|
+
- [Métrica 1]: [valor] ([status])
|
|
332
|
+
- [Métrica 2]: [valor] ([status])
|
|
333
|
+
- [Métrica N]: [valor] ([status])"
|
|
334
|
+
|
|
335
|
+
git push
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
### **Validação do Commit:**
|
|
339
|
+
```bash
|
|
340
|
+
# Verificar que commit foi bem-sucedido
|
|
341
|
+
git log --oneline -1
|
|
342
|
+
|
|
343
|
+
# Verificar que push foi bem-sucedido
|
|
344
|
+
git status
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## 6. VERIFICAÇÃO FINAL
|
|
350
|
+
|
|
351
|
+
### **Checklist de Verificação Final:**
|
|
352
|
+
- [ ] **Todos os checkboxes** da Fase [X.Y] estão marcados como [x]
|
|
353
|
+
- [ ] **Score foi atualizado** corretamente no documento principal
|
|
354
|
+
- [ ] **Log de execução** documentado com timestamp e detalhes
|
|
355
|
+
- [ ] **Commit segue padrão** estabelecido e foi realizado com sucesso
|
|
356
|
+
- [ ] **[Padrão] permanece** como fonte única da verdade
|
|
357
|
+
- [ ] **Nenhuma regressão** foi introduzida no sistema
|
|
358
|
+
- [ ] **Todos os testes** estão passando
|
|
359
|
+
- [ ] **Performance está** dentro dos targets esperados
|
|
360
|
+
- [ ] **Documentação está** atualizada e consistente
|
|
361
|
+
|
|
362
|
+
### **Comandos de Verificação Final:**
|
|
363
|
+
```bash
|
|
364
|
+
# Status geral pós-implementação
|
|
365
|
+
[comando-status-final]
|
|
366
|
+
|
|
367
|
+
# Verificação de integridade completa
|
|
368
|
+
[comando-integridade-completa]
|
|
369
|
+
|
|
370
|
+
# Confirmação [padrão] compliance
|
|
371
|
+
[comando-confirmação-padrão]
|
|
372
|
+
|
|
373
|
+
# Health check final
|
|
374
|
+
[comando-health-final]
|
|
375
|
+
```
|
|
376
|
+
|
|
377
|
+
### **Sign-off da Fase:**
|
|
378
|
+
```bash
|
|
379
|
+
# [TIMESTAMP] - VERIFICAÇÃO FINAL FASE [X.Y]
|
|
380
|
+
# Status: [✅ APROVADO | ❌ REPROVADO | ⚠️ COM RESSALVAS]
|
|
381
|
+
# Responsável: [Nome]
|
|
382
|
+
# Próxima fase: [X.Y+1] - [Nome da próxima fase]
|
|
383
|
+
# Observações: [Pontos importantes para próxima fase]
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
388
|
+
## 🔄 **ROLLBACK DE EMERGÊNCIA**
|
|
389
|
+
|
|
390
|
+
### **Se Algo Der Errado:**
|
|
391
|
+
|
|
392
|
+
#### **Rollback Rápido:**
|
|
393
|
+
```bash
|
|
394
|
+
# Reverter para estado anterior conhecido
|
|
395
|
+
git revert HEAD
|
|
396
|
+
|
|
397
|
+
# Restaurar [sistema principal]
|
|
398
|
+
[comando-restauração-sistema]
|
|
399
|
+
|
|
400
|
+
# Verificar integridade pós-rollback
|
|
401
|
+
[comando-verificação-rollback]
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
#### **Rollback Completo:**
|
|
405
|
+
```bash
|
|
406
|
+
# Voltar para tag da fase anterior
|
|
407
|
+
git checkout [tag-fase-anterior]
|
|
408
|
+
|
|
409
|
+
# Regenerar sistema completo
|
|
410
|
+
[comando-regeneração-completa]
|
|
411
|
+
|
|
412
|
+
# Validar estado anterior
|
|
413
|
+
[comando-validação-estado-anterior]
|
|
414
|
+
```
|
|
415
|
+
|
|
416
|
+
### **Documentação de Rollback:**
|
|
417
|
+
```markdown
|
|
418
|
+
### 🚨 [TIMESTAMP] - ROLLBACK FASE [X.Y]
|
|
419
|
+
|
|
420
|
+
**Motivo:** [Descrição do problema]
|
|
421
|
+
**Ação:** [Tipo de rollback executado]
|
|
422
|
+
**Estado Atual:** [Descrição do estado pós-rollback]
|
|
423
|
+
**Próximos Passos:** [O que fazer a seguir]
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
---
|
|
427
|
+
|
|
428
|
+
## 📊 **TRACKING E MÉTRICAS**
|
|
429
|
+
|
|
430
|
+
### **Status da Fase [X.Y]:**
|
|
431
|
+
- [ ] **Pré-requisitos**: ❌ **PENDENTE** ([X] de [Y] validados)
|
|
432
|
+
- [ ] **Implementação**: ❌ **PENDENTE** ([X] de [Y] passos concluídos)
|
|
433
|
+
- [ ] **Validação**: ❌ **PENDENTE** ([X] de [Y] validações aprovadas)
|
|
434
|
+
- [ ] **Documentação**: ❌ **PENDENTE** ([X] de [Y] arquivos atualizados)
|
|
435
|
+
- [ ] **Commit**: ❌ **PENDENTE** (estrutura padrão seguida)
|
|
436
|
+
- [ ] **Verificação Final**: ❌ **PENDENTE** ([X] de [Y] critérios atendidos)
|
|
437
|
+
|
|
438
|
+
### **Progresso Total do Projeto:**
|
|
439
|
+
**Antes da Fase:** `[X]h/[Y]h ([Z]%)` - [Status Anterior]
|
|
440
|
+
**Após a Fase:** `[X+A]h/[Y]h ([Z+B]%)` - [Status Esperado]
|
|
441
|
+
|
|
442
|
+
### **Próximas Etapas:**
|
|
443
|
+
1. **Executar esta fase** seguindo rigorosamente este prompt
|
|
444
|
+
2. **Validar completamente** antes de marcar como concluída
|
|
445
|
+
3. **Preparar Fase [X.Y+1]** - [Nome da próxima fase]
|
|
446
|
+
4. **Continuar** mantendo [padrão] como fonte única de verdade
|
|
447
|
+
|
|
448
|
+
---
|
|
449
|
+
|
|
450
|
+
## 🤖 **ORIENTAÇÕES PARA AI ASSISTANT**
|
|
451
|
+
|
|
452
|
+
### **Ao Executar Esta Fase:**
|
|
453
|
+
```
|
|
454
|
+
SEMPRE seguir esta sequência:
|
|
455
|
+
|
|
456
|
+
1. 🔍 VERIFICAR todos os pré-requisitos antes de começar
|
|
457
|
+
2. ✅ MARCAR checkboxes conforme progresso real
|
|
458
|
+
3. 📝 ATUALIZAR log de execução com detalhes específicos:
|
|
459
|
+
- Timestamp atual
|
|
460
|
+
- Fase executada
|
|
461
|
+
- Status detalhado
|
|
462
|
+
- Observações técnicas
|
|
463
|
+
- Problemas encontrados
|
|
464
|
+
- Métricas coletadas
|
|
465
|
+
4. 📊 ATUALIZAR status geral no topo do documento
|
|
466
|
+
5. 🎯 VERIFICAR métricas de sucesso e marcar as atingidas
|
|
467
|
+
6. 💾 DOCUMENTAR tudo antes de prosseguir
|
|
468
|
+
|
|
469
|
+
TEMPLATE PARA LOG DURANTE EXECUÇÃO:
|
|
470
|
+
### 📅 [TIMESTAMP] - EXECUÇÃO FASE [X.Y] - [PASSO]
|
|
471
|
+
**Responsável:** AI Assistant
|
|
472
|
+
**Status:** [Em Progresso/Concluído/Com Erro]
|
|
473
|
+
**Passo Atual:** [X.Y.Z] - [Nome do passo]
|
|
474
|
+
**Observações:**
|
|
475
|
+
```
|
|
476
|
+
- [x] [Ação específica realizada]
|
|
477
|
+
- [x] [Validação executada]
|
|
478
|
+
- [x] [Resultado obtido]
|
|
479
|
+
- [ ] [Pendências identificadas]
|
|
480
|
+
- ❌ [Problemas encontrados (se houver)]
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
COMANDOS A EXECUTAR SEMPRE:
|
|
484
|
+
- [comando-status] (verificar estado atual)
|
|
485
|
+
- [comando-validação] (validar mudanças)
|
|
486
|
+
- [comando-regeneração] (manter [padrão] atualizado)
|
|
487
|
+
- git status (verificar mudanças no código)
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
### **Para Desenvolvedores:**
|
|
491
|
+
- 📖 **Leia o prompt completo** antes de iniciar a execução
|
|
492
|
+
- ✅ **Execute cada seção** na ordem especificada
|
|
493
|
+
- 📝 **Documente problemas** imediatamente no log
|
|
494
|
+
- 🔄 **Execute comandos** de validação obrigatórios
|
|
495
|
+
- 🏷️ **Crie tags** antes de mudanças críticas
|
|
496
|
+
|
|
497
|
+
---
|
|
498
|
+
|
|
499
|
+
**Status Final: PROMPT PRONTO PARA EXECUÇÃO DA FASE [X.Y]** 🚀
|
|
500
|
+
|
|
501
|
+
*Template de Prompt de Execução de Fase v1.0*
|
|
502
|
+
*Baseado em: prompt-execucao-padronizado-completo.md*
|
|
503
|
+
*Última atualização do template: [TIMESTAMP]*
|
|
504
|
+
*Compatível com: [Padrões/Metodologias aplicáveis]*
|