@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,367 @@
|
|
|
1
|
+
---
|
|
2
|
+
# Cursor v2 - Guide Template Metadata
|
|
3
|
+
template:
|
|
4
|
+
type: guide
|
|
5
|
+
version: 2.0
|
|
6
|
+
category: documentation
|
|
7
|
+
name: "[TIPO DE GUIA]"
|
|
8
|
+
|
|
9
|
+
context:
|
|
10
|
+
system: "[SISTEMA/COMPONENTE]"
|
|
11
|
+
objective: "[OBJETIVO PRINCIPAL]"
|
|
12
|
+
critical_context: "[CONTEXTOS CRÍTICOS OU LIMITAÇÕES]"
|
|
13
|
+
specific_use_cases: "[CASOS DE USO ESPECÍFICOS]"
|
|
14
|
+
reference_section: "[SEÇÃO ESPECÍFICA]"
|
|
15
|
+
|
|
16
|
+
guide_metadata:
|
|
17
|
+
guide_type: "[Implementação | Arquitetura | Build/Setup | Troubleshooting | Integração]"
|
|
18
|
+
target_audience: "[Público-alvo do guia]"
|
|
19
|
+
difficulty_level: "[Iniciante | Intermediário | Avançado]"
|
|
20
|
+
estimated_time: "[Tempo estimado para completar]"
|
|
21
|
+
last_update: "[Data]"
|
|
22
|
+
|
|
23
|
+
ai_assistant:
|
|
24
|
+
use_as_reference: true
|
|
25
|
+
context_aware: true
|
|
26
|
+
suggest_sections: true
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# 📚 [Título do Guia] - [Sistema/Componente]
|
|
30
|
+
|
|
31
|
+
**Tipo de Guia:** [Implementação | Arquitetura | Build/Setup | Troubleshooting | Integração]
|
|
32
|
+
**Versão:** [X.Y.Z]
|
|
33
|
+
**Data:** [DD/MM/YYYY]
|
|
34
|
+
**Status:** [Draft | In Review | Production Ready | Deprecated]
|
|
35
|
+
**Progresso:** [X%] [descrição do progresso se aplicável]
|
|
36
|
+
**Responsável:** [Nome/Equipe]
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## 🎯 **VISÃO GERAL**
|
|
41
|
+
|
|
42
|
+
### Objetivo Principal
|
|
43
|
+
[Descrição clara do que este guia pretende ensinar ou resolver]
|
|
44
|
+
|
|
45
|
+
### Pré-requisitos
|
|
46
|
+
- ✅ **Técnicos**: [Conhecimentos necessários]
|
|
47
|
+
- ✅ **Ferramentas**: [Software/versões necessárias]
|
|
48
|
+
- ✅ **Ambiente**: [Configurações de ambiente]
|
|
49
|
+
- ✅ **Dependências**: [Outros sistemas/componentes]
|
|
50
|
+
|
|
51
|
+
### Resultados Esperados
|
|
52
|
+
Ao final deste guia, você será capaz de:
|
|
53
|
+
- [ ] [Resultado específico 1]
|
|
54
|
+
- [ ] [Resultado específico 2]
|
|
55
|
+
- [ ] [Resultado específico 3]
|
|
56
|
+
|
|
57
|
+
### Stack Tecnológico
|
|
58
|
+
```typescript
|
|
59
|
+
// Stack/Tecnologias Principais
|
|
60
|
+
[Tecnologia]: [Versão] + [Contexto]
|
|
61
|
+
Framework: [Nome] [Versão]
|
|
62
|
+
[Categoria]: [Tecnologia] + [Complementos]
|
|
63
|
+
Build: [Sistema] + [Ferramentas]
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 📋 **ÍNDICE**
|
|
69
|
+
|
|
70
|
+
1. [**Contexto e Problemas**](#contexto-e-problemas)
|
|
71
|
+
2. [**Arquitetura/Estrutura**](#arquiteturaestrutura)
|
|
72
|
+
3. [**Implementação Passo a Passo**](#implementação-passo-a-passo)
|
|
73
|
+
4. [**Configurações Detalhadas**](#configurações-detalhadas)
|
|
74
|
+
5. [**Resolução de Problemas**](#resolução-de-problemas)
|
|
75
|
+
6. [**Melhores Práticas**](#melhores-práticas)
|
|
76
|
+
7. [**Monitoramento e Validação**](#monitoramento-e-validação)
|
|
77
|
+
8. [**Referências e Conclusão**](#referências-e-conclusão)
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## 🚨 **CONTEXTO E PROBLEMAS**
|
|
82
|
+
|
|
83
|
+
### Problemas Comuns Identificados
|
|
84
|
+
[Lista dos problemas que este guia resolve]
|
|
85
|
+
|
|
86
|
+
1. **[Nome do Problema 1]**: [Descrição e impacto]
|
|
87
|
+
2. **[Nome do Problema 2]**: [Descrição e impacto]
|
|
88
|
+
3. **[Nome do Problema 3]**: [Descrição e impacto]
|
|
89
|
+
|
|
90
|
+
### Solução Recomendada
|
|
91
|
+
[Descrição da abordagem escolhida e justificativa]
|
|
92
|
+
|
|
93
|
+
### Cenários de Uso
|
|
94
|
+
- **✅ Usar este guia quando:** [Cenários apropriados]
|
|
95
|
+
- **❌ NÃO usar quando:** [Cenários inadequados]
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 🏗️ **ARQUITETURA/ESTRUTURA**
|
|
100
|
+
|
|
101
|
+
### Diagrama de Componentes
|
|
102
|
+
```
|
|
103
|
+
[Diagrama ASCII ou referência a diagrama Mermaid]
|
|
104
|
+
┌─────────────────────────────────────────┐
|
|
105
|
+
│ [Componente A] │
|
|
106
|
+
│ ┌─────────────┐ ┌─────────────┐ │
|
|
107
|
+
│ │[Sub-comp 1] │ │[Sub-comp 2] │ │
|
|
108
|
+
│ └─────────────┘ └─────────────┘ │
|
|
109
|
+
└─────────────┬───────────────────────────┘
|
|
110
|
+
│
|
|
111
|
+
┌─────────────▼───────────────────────────┐
|
|
112
|
+
│ [Componente B] │
|
|
113
|
+
└─────────────────────────────────────────┘
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Organização de Diretórios
|
|
117
|
+
```
|
|
118
|
+
[projeto]/
|
|
119
|
+
├── [categoria-1]/
|
|
120
|
+
│ ├── [sub-categoria]/
|
|
121
|
+
│ │ ├── [arquivo-config]
|
|
122
|
+
│ │ ├── [arquivo-implementação]
|
|
123
|
+
│ │ └── [arquivo-teste]
|
|
124
|
+
│ └── [sub-categoria-2]/
|
|
125
|
+
├── [categoria-2]/
|
|
126
|
+
└── [categoria-3]/
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Fluxo de Dados/Operações
|
|
130
|
+
```typescript
|
|
131
|
+
// Fluxo principal de [operação]
|
|
132
|
+
[Etapa 1] → [Validação] → [Processamento] → [Resultado]
|
|
133
|
+
│ │ │ │
|
|
134
|
+
▼ ▼ ▼ ▼
|
|
135
|
+
[Input/Config] [Middlewares] [Core Logic] [Output/Storage]
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## 🔧 **IMPLEMENTAÇÃO PASSO A PASSO**
|
|
141
|
+
|
|
142
|
+
### Fase 1: [Nome da Fase]
|
|
143
|
+
**Duração Estimada:** [tempo]
|
|
144
|
+
**Objetivo:** [descrição]
|
|
145
|
+
|
|
146
|
+
#### 1.1 [Sub-etapa]
|
|
147
|
+
```bash
|
|
148
|
+
# Comandos necessários
|
|
149
|
+
[comando 1]
|
|
150
|
+
[comando 2]
|
|
151
|
+
|
|
152
|
+
# Verificação
|
|
153
|
+
[comando de verificação]
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
#### 1.2 [Sub-etapa]
|
|
157
|
+
```typescript
|
|
158
|
+
// Código de implementação
|
|
159
|
+
[código TypeScript/JavaScript exemplificativo]
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Fase 2: [Nome da Fase]
|
|
163
|
+
**Duração Estimada:** [tempo]
|
|
164
|
+
**Objetivo:** [descrição]
|
|
165
|
+
|
|
166
|
+
[Repetir estrutura similar...]
|
|
167
|
+
|
|
168
|
+
### Decision Tree / Árvore de Decisão
|
|
169
|
+
```
|
|
170
|
+
[Decisão Principal]?
|
|
171
|
+
├── [Condição A]?
|
|
172
|
+
│ ├── [Solução A1] → [Resultado A1]
|
|
173
|
+
│ └── [Solução A2] → [Resultado A2]
|
|
174
|
+
├── [Condição B]?
|
|
175
|
+
│ └── [Solução B] → [Resultado B]
|
|
176
|
+
└── [Condição C]?
|
|
177
|
+
└── [Solução C] → [Resultado C]
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
---
|
|
181
|
+
|
|
182
|
+
## ⚙️ **CONFIGURAÇÕES DETALHADAS**
|
|
183
|
+
|
|
184
|
+
### [Tipo de Configuração 1]
|
|
185
|
+
```[formato]
|
|
186
|
+
# [Descrição do arquivo/configuração]
|
|
187
|
+
[conteúdo de configuração]
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### [Tipo de Configuração 2]
|
|
191
|
+
```typescript
|
|
192
|
+
// [Descrição da configuração TypeScript]
|
|
193
|
+
interface [ConfigInterface] {
|
|
194
|
+
[propriedade]: [tipo]; // [descrição]
|
|
195
|
+
[propriedade2]: [tipo]; // [descrição]
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export const [configName]: [ConfigInterface] = {
|
|
199
|
+
[implementação]
|
|
200
|
+
};
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
### Variáveis de Ambiente
|
|
204
|
+
```bash
|
|
205
|
+
# [Categoria de variáveis]
|
|
206
|
+
[VAR_NAME]=[valor] # [descrição]
|
|
207
|
+
[VAR_NAME_2]=[valor] # [descrição]
|
|
208
|
+
|
|
209
|
+
# [Categoria 2]
|
|
210
|
+
[VAR_NAME_3]=[valor] # [descrição]
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## 🚨 **RESOLUÇÃO DE PROBLEMAS**
|
|
216
|
+
|
|
217
|
+
### Erro Tipo 1: "[Nome do Erro]"
|
|
218
|
+
|
|
219
|
+
**Mensagem de Erro:**
|
|
220
|
+
```
|
|
221
|
+
[Mensagem completa do erro]
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**Causa:** [Explicação da causa]
|
|
225
|
+
|
|
226
|
+
**Solução:**
|
|
227
|
+
```bash
|
|
228
|
+
# [Passos para resolver]
|
|
229
|
+
[comando 1]
|
|
230
|
+
[comando 2]
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
**Validação:**
|
|
234
|
+
```bash
|
|
235
|
+
# [Como verificar se foi resolvido]
|
|
236
|
+
[comando de verificação]
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
### Erro Tipo 2: "[Nome do Erro]"
|
|
240
|
+
[Repetir estrutura similar...]
|
|
241
|
+
|
|
242
|
+
### Quick Fixes (Soluções Rápidas)
|
|
243
|
+
```bash
|
|
244
|
+
# [Problema comum 1]
|
|
245
|
+
[solução em uma linha]
|
|
246
|
+
|
|
247
|
+
# [Problema comum 2]
|
|
248
|
+
[solução em uma linha]
|
|
249
|
+
|
|
250
|
+
# Reset completo (último recurso)
|
|
251
|
+
[sequência de comandos para reset]
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### Troubleshooting Checklist
|
|
255
|
+
- [ ] **[Item de verificação 1]**: [Como verificar]
|
|
256
|
+
- [ ] **[Item de verificação 2]**: [Como verificar]
|
|
257
|
+
- [ ] **[Item de verificação 3]**: [Como verificar]
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## 🎯 **MELHORES PRÁTICAS**
|
|
262
|
+
|
|
263
|
+
### Convenções de Código
|
|
264
|
+
1. **[Categoria 1]**: [Regra específica]
|
|
265
|
+
2. **[Categoria 2]**: [Regra específica]
|
|
266
|
+
3. **[Categoria 3]**: [Regra específica]
|
|
267
|
+
|
|
268
|
+
### Padrões Recomendados
|
|
269
|
+
- **✅ FAZER**: [Prática recomendada]
|
|
270
|
+
- **❌ EVITAR**: [Prática não recomendada]
|
|
271
|
+
|
|
272
|
+
### Performance e Otimização
|
|
273
|
+
| Cenário | Solução Recomendada | Impacto |
|
|
274
|
+
|---------|-------------------|---------|
|
|
275
|
+
| [Cenário 1] | [Solução] | [Alto/Médio/Baixo] |
|
|
276
|
+
| [Cenário 2] | [Solução] | [Alto/Médio/Baixo] |
|
|
277
|
+
|
|
278
|
+
### Segurança
|
|
279
|
+
- 🔒 **[Aspecto de segurança 1]**: [Implementação]
|
|
280
|
+
- 🔒 **[Aspecto de segurança 2]**: [Implementação]
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
## 📊 **MONITORAMENTO E VALIDAÇÃO**
|
|
285
|
+
|
|
286
|
+
### Métricas de Sucesso
|
|
287
|
+
```typescript
|
|
288
|
+
interface [NomeMetricas] {
|
|
289
|
+
[metrica1]: {
|
|
290
|
+
target: [valor];
|
|
291
|
+
current: [valor];
|
|
292
|
+
status: 'OK' | 'WARNING' | 'ERROR';
|
|
293
|
+
};
|
|
294
|
+
[metrica2]: {
|
|
295
|
+
target: [valor];
|
|
296
|
+
current: [valor];
|
|
297
|
+
status: 'OK' | 'WARNING' | 'ERROR';
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
### Comandos de Validação
|
|
303
|
+
```bash
|
|
304
|
+
# Validação completa
|
|
305
|
+
[comando para validação completa]
|
|
306
|
+
|
|
307
|
+
# Validações específicas
|
|
308
|
+
[comando 1] # [O que valida]
|
|
309
|
+
[comando 2] # [O que valida]
|
|
310
|
+
|
|
311
|
+
# Health check
|
|
312
|
+
[comando de health check]
|
|
313
|
+
```
|
|
314
|
+
|
|
315
|
+
### Logs e Debugging
|
|
316
|
+
```typescript
|
|
317
|
+
// Configuração de logs para debugging
|
|
318
|
+
const logger = [configuração de logger];
|
|
319
|
+
|
|
320
|
+
// Pontos de debug importantes
|
|
321
|
+
logger.debug('[Contexto]', { [dados] });
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
---
|
|
325
|
+
|
|
326
|
+
## 📚 **REFERÊNCIAS E CONCLUSÃO**
|
|
327
|
+
|
|
328
|
+
### Status Final Esperado
|
|
329
|
+
- ✅ **[Componente 1]**: [Estado final]
|
|
330
|
+
- ✅ **[Componente 2]**: [Estado final]
|
|
331
|
+
- ✅ **[Componente 3]**: [Estado final]
|
|
332
|
+
|
|
333
|
+
### Próximos Passos
|
|
334
|
+
1. **[Próximo passo 1]**: [Descrição e contexto]
|
|
335
|
+
2. **[Próximo passo 2]**: [Descrição e contexto]
|
|
336
|
+
3. **[Próximo passo 3]**: [Descrição e contexto]
|
|
337
|
+
|
|
338
|
+
### Links Úteis
|
|
339
|
+
- 📖 **[Tipo de referência]**: [URL ou caminho]
|
|
340
|
+
- 🔧 **[Tipo de ferramenta]**: [URL ou comando]
|
|
341
|
+
- 📊 **[Tipo de dashboard]**: [URL]
|
|
342
|
+
|
|
343
|
+
### Templates Relacionados
|
|
344
|
+
- 📄 **[Template relacionado 1]**: [Caminho]
|
|
345
|
+
- 📄 **[Template relacionado 2]**: [Caminho]
|
|
346
|
+
|
|
347
|
+
### Histórico de Mudanças
|
|
348
|
+
| Versão | Data | Mudanças | Autor |
|
|
349
|
+
|--------|------|----------|-------|
|
|
350
|
+
| [X.Y.Z] | [DD/MM/YYYY] | [Descrição das mudanças] | [Nome] |
|
|
351
|
+
|
|
352
|
+
---
|
|
353
|
+
|
|
354
|
+
**💡 Dicas de Uso deste Template:**
|
|
355
|
+
|
|
356
|
+
1. **📝 Adapte as seções** conforme o tipo de guia (implementação, arquitetura, etc.)
|
|
357
|
+
2. **🔧 Remova seções** não aplicáveis ao seu contexto específico
|
|
358
|
+
3. **📊 Adicione diagramas** Mermaid quando necessário para clareza
|
|
359
|
+
4. **🎯 Mantenha foco** no objetivo principal declarado no início
|
|
360
|
+
5. **✅ Teste todos** os comandos e códigos antes de publicar
|
|
361
|
+
6. **📚 Referencie** outros guias e templates quando apropriado
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
**📅 Última Atualização do Template:** [DD/MM/YYYY]
|
|
366
|
+
**📚 Versão do Template:** 1.0.0
|
|
367
|
+
**🔗 Baseado em:** Análise de [build-guide.md, implementation-guide.md, architecture-guide.md, lib-build-system-guide.md, SCHEMA-INTEGRATION-GUIDE.md]
|