@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,308 @@
|
|
|
1
|
+
# 🎨 Visual Patterns - Padrões Visuais ClickUp
|
|
2
|
+
|
|
3
|
+
## 🎯 Objetivo
|
|
4
|
+
|
|
5
|
+
Definir **padrões visuais consistentes** para todos os comentários ClickUp do Sistema Onion, garantindo uniformidade e legibilidade em toda a integração.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🔲 Separadores
|
|
10
|
+
|
|
11
|
+
### Tamanho Padrão
|
|
12
|
+
|
|
13
|
+
Todos os comentários devem usar separadores com **exatamente 14 caracteres** (underscore):
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
━━━━━━━━━━━━━━
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### ✅ Correto
|
|
20
|
+
```
|
|
21
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
22
|
+
|
|
23
|
+
━━━━━━━━━━━━━━
|
|
24
|
+
|
|
25
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
26
|
+
∟ src/auth/service.ts
|
|
27
|
+
|
|
28
|
+
━━━━━━━━━━━━━━
|
|
29
|
+
|
|
30
|
+
⏰ Completado: 2025-11-05 16:45
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### ❌ Errado (Tamanho Antigo)
|
|
34
|
+
```
|
|
35
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
36
|
+
|
|
37
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (← 34 caracteres - DESATUALIZADO)
|
|
38
|
+
|
|
39
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
40
|
+
∟ src/auth/service.ts
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 🎨 Emojis Padrão
|
|
46
|
+
|
|
47
|
+
### Mapa de Emojis por Contexto
|
|
48
|
+
|
|
49
|
+
| Emoji | Significado | Uso | Exemplo |
|
|
50
|
+
|-------|-------------|-----|---------|
|
|
51
|
+
| 🔧 | Implementação/Fase | Início de seções sobre implementação | `🔧 FASE COMPLETADA` |
|
|
52
|
+
| 📝 | Progresso/Atualização | Status geral da task | `📝 PROGRESSO: Fase 1/4` |
|
|
53
|
+
| 🚀 | Launch/PR/Início | Novos Pull Requests ou inicios | `🚀 PR CRIADA` |
|
|
54
|
+
| 🔍 | Validação/Review | Verificações de qualidade | `🔍 VALIDAÇÃO PRE-PR` |
|
|
55
|
+
| ✅ | Completo/OK | Checkboxes e confirmações | `✅ TESTES ADICIONADOS` |
|
|
56
|
+
| ⏰ | Tempo/Timestamp | Data/hora de atividades | `⏰ Completado: 2025-11-05` |
|
|
57
|
+
| 📊 | Estatísticas/Métricas | Dados quantitativos | `📊 QUALIDADE DO CÓDIGO` |
|
|
58
|
+
| 🎯 | Meta/Próximo Passo | Objetivos e ações futuras | `🎯 Próximo: Fase 2` |
|
|
59
|
+
| 📁 | Arquivos | Estrutura de arquivos | `📁 ARQUIVOS MODIFICADOS` |
|
|
60
|
+
| 🔧 | Implementação | Funcionalidades técnicas | `🔧 IMPLEMENTAÇÕES` |
|
|
61
|
+
| 💡 | Decisão/Insight | Decisões técnicas | `💡 DECISÕES TÉCNICAS` |
|
|
62
|
+
| 🚫 | Bloqueio/Erro | Problemas e impedimentos | `🚫 BLOQUEIO` |
|
|
63
|
+
| ⏮️ | Reversão/Rollback | Desfazendo mudanças | `⏮️ ROLLBACK REALIZADO` |
|
|
64
|
+
| 📋 | Checklist/Lista | Listas de verificação | `📋 MUDANÇAS IMPLEMENTADAS` |
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 📐 Estrutura de Seções
|
|
69
|
+
|
|
70
|
+
### Padrão Geral de Seção
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
[EMOJI] [TÍTULO EM MAIÚSCULAS]
|
|
74
|
+
|
|
75
|
+
━━━━━━━━━━━━━━
|
|
76
|
+
|
|
77
|
+
[CONTEÚDO DA SEÇÃO]
|
|
78
|
+
∟ Item 1
|
|
79
|
+
∟ Item 2
|
|
80
|
+
|
|
81
|
+
━━━━━━━━━━━━━━
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
### Exemplo Completo
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
88
|
+
|
|
89
|
+
━━━━━━━━━━━━━━
|
|
90
|
+
|
|
91
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
92
|
+
∟ src/auth/service.ts
|
|
93
|
+
∟ src/auth/routes.ts
|
|
94
|
+
∟ src/auth/middleware.ts
|
|
95
|
+
|
|
96
|
+
🔧 IMPLEMENTAÇÕES:
|
|
97
|
+
▶ JWT generation com expiração
|
|
98
|
+
▶ Refresh token mechanism
|
|
99
|
+
▶ Password hashing
|
|
100
|
+
|
|
101
|
+
✅ TESTES ADICIONADOS:
|
|
102
|
+
∟ auth.service.spec.ts (12 testes)
|
|
103
|
+
∟ auth.routes.spec.ts (8 testes)
|
|
104
|
+
∟ Cobertura: 95%
|
|
105
|
+
|
|
106
|
+
💡 DECISÕES TÉCNICAS:
|
|
107
|
+
∟ Usamos jsonwebtoken v9.0.0
|
|
108
|
+
∟ Access token: 15min, Refresh: 7 dias
|
|
109
|
+
|
|
110
|
+
🚀 PRÓXIMOS PASSOS:
|
|
111
|
+
∟ Fase 2: Frontend Integration
|
|
112
|
+
|
|
113
|
+
━━━━━━━━━━━━━━
|
|
114
|
+
|
|
115
|
+
⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## ▶️ Símbolos de Indentação
|
|
121
|
+
|
|
122
|
+
Use os símbolos corretos para indentação de listas:
|
|
123
|
+
|
|
124
|
+
### Símbolos Principais
|
|
125
|
+
- `∟` - Item filho (principal)
|
|
126
|
+
- `▶` - Item de implementação/ação
|
|
127
|
+
- `◆` - Item de checklist
|
|
128
|
+
- `▪` - Ponto de lista (alternativo)
|
|
129
|
+
|
|
130
|
+
### Exemplo de Hierarquia
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
📋 LISTA PRINCIPAL:
|
|
134
|
+
∟ Item 1 (nível 1)
|
|
135
|
+
▶ Subitem 1.1 (nível 2)
|
|
136
|
+
▶ Subitem 1.2 (nível 2)
|
|
137
|
+
∟ Item 2 (nível 1)
|
|
138
|
+
◆ [ ] Checkbox item 2.1
|
|
139
|
+
◆ [x] Checkbox item 2.2
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## 📏 Espaçamento e Formatação
|
|
145
|
+
|
|
146
|
+
### Espaçamento Entre Seções
|
|
147
|
+
```
|
|
148
|
+
[SEÇÃO 1 COM CONTEÚDO]
|
|
149
|
+
|
|
150
|
+
[LINHA EM BRANCO]
|
|
151
|
+
|
|
152
|
+
[SEÇÃO 2 COM CONTEÚDO]
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Linha em Branco Obrigatória
|
|
156
|
+
- Após título + emoji
|
|
157
|
+
- Entre seções principais
|
|
158
|
+
- Antes de timestamp final
|
|
159
|
+
|
|
160
|
+
### Sem Espaçamento (Contíguo)
|
|
161
|
+
- Entre linhas dentro de mesma seção
|
|
162
|
+
- Entre indentações de subitens
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## 🏷️ Tags e Flags
|
|
167
|
+
|
|
168
|
+
### Tags Recomendadas em Comentários
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
🚀 [emoji] [TEXTO]
|
|
172
|
+
✅ Sucesso
|
|
173
|
+
⏳ Em progresso
|
|
174
|
+
❌ Falha
|
|
175
|
+
🔧 Configuração
|
|
176
|
+
📊 Dados/Métricas
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Flags Especiais
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
[✅/❌] - Status booleano (✅=done, ❌=failed)
|
|
183
|
+
[→] - Fluxo/direção (não usar em comentários)
|
|
184
|
+
[*] - Importante/crítico
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## 🔄 Comparação Antes vs Depois
|
|
190
|
+
|
|
191
|
+
### ❌ Antes (Desatualizado)
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
195
|
+
|
|
196
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
197
|
+
|
|
198
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
199
|
+
∟ src/auth/service.ts
|
|
200
|
+
|
|
201
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
202
|
+
|
|
203
|
+
⏰ Completado: 2025-11-05 16:45
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
**Problemas:**
|
|
207
|
+
- Separadores com 34 caracteres (muito longos)
|
|
208
|
+
- Visualmente pesado no ClickUp
|
|
209
|
+
- Não segue novo padrão centralizado
|
|
210
|
+
|
|
211
|
+
### ✅ Depois (Correto)
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
215
|
+
|
|
216
|
+
━━━━━━━━━━━━━━
|
|
217
|
+
|
|
218
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
219
|
+
∟ src/auth/service.ts
|
|
220
|
+
|
|
221
|
+
━━━━━━━━━━━━━━
|
|
222
|
+
|
|
223
|
+
⏰ Completado: 2025-11-05 16:45
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
**Melhorias:**
|
|
227
|
+
- Separadores com 14 caracteres (compacto)
|
|
228
|
+
- Mais legível e organizado
|
|
229
|
+
- Segue padrão centralizado
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## 📋 Checklist Visual
|
|
234
|
+
|
|
235
|
+
Use checkboxes para rastreamento:
|
|
236
|
+
|
|
237
|
+
```
|
|
238
|
+
✅ CRITÉRIOS DE ACEITAÇÃO:
|
|
239
|
+
◆ [x] Critério 1 - Completo
|
|
240
|
+
◆ [x] Critério 2 - Completo
|
|
241
|
+
◆ [ ] Critério 3 - Pendente
|
|
242
|
+
|
|
243
|
+
📊 QUALIDADE:
|
|
244
|
+
◆ [x] Testes passando (95%)
|
|
245
|
+
◆ [x] Lint errors: 0
|
|
246
|
+
◆ [x] Documentação atualizada
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
---
|
|
250
|
+
|
|
251
|
+
## 🎯 Exemplo Completo Corrigido
|
|
252
|
+
|
|
253
|
+
### Template Completo com Todos os Padrões
|
|
254
|
+
|
|
255
|
+
```
|
|
256
|
+
🔧 FASE COMPLETADA: Database Layer Implementation
|
|
257
|
+
|
|
258
|
+
━━━━━━━━━━━━━━
|
|
259
|
+
|
|
260
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
261
|
+
∟ src/database/connection.ts
|
|
262
|
+
∟ src/database/migrations/001_initial.sql
|
|
263
|
+
∟ src/database/seeds/users.sql
|
|
264
|
+
∟ src/models/user.model.ts
|
|
265
|
+
∟ src/models/organization.model.ts
|
|
266
|
+
|
|
267
|
+
🔧 IMPLEMENTAÇÕES:
|
|
268
|
+
▶ PostgreSQL connection pool
|
|
269
|
+
▶ Prisma ORM configuration
|
|
270
|
+
▶ Database migrations system
|
|
271
|
+
▶ Seeds para dados de teste
|
|
272
|
+
▶ Model definitions
|
|
273
|
+
|
|
274
|
+
✅ TESTES ADICIONADOS:
|
|
275
|
+
∟ database.connection.spec.ts (6 testes, 98%)
|
|
276
|
+
∟ user.model.spec.ts (12 testes, 95%)
|
|
277
|
+
∟ Cobertura Total: 96%
|
|
278
|
+
|
|
279
|
+
💡 DECISÕES TÉCNICAS:
|
|
280
|
+
∟ PostgreSQL escolhido (melhor suporte relacional)
|
|
281
|
+
∟ Prisma v5.7.0 (latest, bom TS support)
|
|
282
|
+
∟ Connection pooling: 20 conexões min, 100 max
|
|
283
|
+
∟ Migrations automáticas no startup
|
|
284
|
+
|
|
285
|
+
🚀 PRÓXIMOS PASSOS:
|
|
286
|
+
∟ Fase 3: Authentication Service
|
|
287
|
+
∟ Implementar JWT strategy
|
|
288
|
+
∟ Setup 2FA
|
|
289
|
+
|
|
290
|
+
━━━━━━━━━━━━━━
|
|
291
|
+
|
|
292
|
+
⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
|
|
293
|
+
```
|
|
294
|
+
|
|
295
|
+
---
|
|
296
|
+
|
|
297
|
+
## 📚 Relacionado
|
|
298
|
+
|
|
299
|
+
- **Padrões de Comentários**: `.cursor/docs/strategies/clickup-comment-patterns.md`
|
|
300
|
+
- **Abstrações MCP**: `.cursor/utils/clickup-mcp-wrappers.md`
|
|
301
|
+
- **Dual Comment Strategy**: `.cursor/docs/clickup/clickup-dual-comment-strategy.md`
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
**Status**: Padrões visuais documentados e centralizados
|
|
306
|
+
**Última atualização**: 2025-11-05
|
|
307
|
+
**Versão**: 1.0 - FASE 2 Completa
|
|
308
|
+
|