@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,302 @@
|
|
|
1
|
+
# ClickUp MCP - Formatting Utilities
|
|
2
|
+
|
|
3
|
+
## 🎯 **Dual Formatting Strategy**
|
|
4
|
+
|
|
5
|
+
### **📋 TEXTO DA TAREFA (Descriptions):**
|
|
6
|
+
- **Parameter**: `markdown_description`
|
|
7
|
+
- **Formato**: Markdown nativo tradicional
|
|
8
|
+
- **Funciona**: `## Headers`, `| Tabelas |`, `- Listas`, `**Bold**`
|
|
9
|
+
- **Usado em**: create_task, update_task
|
|
10
|
+
|
|
11
|
+
### **💬 ATIVIDADES (Comments):**
|
|
12
|
+
- **Parameter**: `commentText`
|
|
13
|
+
- **Formato**: Formatação visual Unicode
|
|
14
|
+
- **Funciona**: `━━━ ∟ ▶ ◆ ✅ 🔧`
|
|
15
|
+
- **Usado em**: create_task_comment
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 📚 **Templates por Tipo**
|
|
20
|
+
|
|
21
|
+
### **Para DESCRIPTIONS (Markdown Nativo):**
|
|
22
|
+
Use quando criar/atualizar descriptions de tasks via `markdown_description`
|
|
23
|
+
|
|
24
|
+
### **Para COMMENTS (Visual Unicode):**
|
|
25
|
+
Use sempre nos comentários/atividades para garantir formatação consistente:
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 📚 **DESCRIPTION Templates (Markdown Nativo)**
|
|
30
|
+
|
|
31
|
+
### **Task Creation Template:**
|
|
32
|
+
```markdown
|
|
33
|
+
## 🎯 **Objetivo da Task**
|
|
34
|
+
|
|
35
|
+
[DESCRIÇÃO_DETALHADA]
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 📋 **Escopo de Implementação**
|
|
40
|
+
|
|
41
|
+
### **✅ Funcionalidades:**
|
|
42
|
+
- Feature A - [DESCRIÇÃO]
|
|
43
|
+
- Feature B - [DESCRIÇÃO]
|
|
44
|
+
|
|
45
|
+
### **🔧 Arquitetura Técnica:**
|
|
46
|
+
- Componente X modificado
|
|
47
|
+
- Integration Y implementada
|
|
48
|
+
|
|
49
|
+
### **📊 Métricas Esperadas:**
|
|
50
|
+
|
|
51
|
+
| Metric | Before | After | Target |
|
|
52
|
+
|--------|--------|-------|--------|
|
|
53
|
+
| Performance | [VALOR] | [VALOR] | ✅ |
|
|
54
|
+
| Coverage | [VALOR] | [VALOR] | ✅ |
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## ✅ **Critérios de Aceitação**
|
|
59
|
+
|
|
60
|
+
- [ ] Funcionalidade A implementada
|
|
61
|
+
- [ ] Testes passando > 95%
|
|
62
|
+
- [ ] Documentation atualizada
|
|
63
|
+
- [ ] Performance dentro do target
|
|
64
|
+
|
|
65
|
+
**🎯 Success Metric**: [MÉTRICA_PRINCIPAL]
|
|
66
|
+
**🕒 Timeline**: [PRAZO_ESTIMADO]
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 📚 **COMMENT Templates (Visual Unicode)**
|
|
72
|
+
|
|
73
|
+
### **1. Status Update Template (ClickUp MCP Compatible)**
|
|
74
|
+
```
|
|
75
|
+
🔄 STATUS UPDATE: [TITLE]
|
|
76
|
+
|
|
77
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
78
|
+
|
|
79
|
+
✅ COMPLETED:
|
|
80
|
+
∟ [ITEM_1]
|
|
81
|
+
∟ [ITEM_2]
|
|
82
|
+
|
|
83
|
+
🔄 IN PROGRESS:
|
|
84
|
+
▶ [PROGRESS_ITEM_1]
|
|
85
|
+
▶ [PROGRESS_ITEM_2]
|
|
86
|
+
|
|
87
|
+
📋 NEXT STEPS:
|
|
88
|
+
◦ [NEXT_TASK_1]
|
|
89
|
+
◦ [NEXT_TASK_2]
|
|
90
|
+
|
|
91
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
92
|
+
|
|
93
|
+
⏰ Updated: [TIMESTAMP] | 🎯 Status: [CURRENT_STATUS]
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### **2. PR/Release Template (ClickUp MCP Compatible)**
|
|
97
|
+
```
|
|
98
|
+
🚀 PULL REQUEST CREATED
|
|
99
|
+
|
|
100
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
101
|
+
|
|
102
|
+
📋 CHANGES IMPLEMENTED:
|
|
103
|
+
∟ [CHANGE_1]
|
|
104
|
+
∟ [CHANGE_2]
|
|
105
|
+
∟ All tests passing ✅
|
|
106
|
+
|
|
107
|
+
🔗 REVIEW DETAILS:
|
|
108
|
+
▶ PR: [PR_LINK]
|
|
109
|
+
▶ Branch: [BRANCH_NAME]
|
|
110
|
+
▶ Status: Ready for review
|
|
111
|
+
|
|
112
|
+
✅ CHECKLIST:
|
|
113
|
+
◆ Code committed and pushed
|
|
114
|
+
◆ Tests passing
|
|
115
|
+
◆ Documentation updated
|
|
116
|
+
◆ Task status updated
|
|
117
|
+
|
|
118
|
+
━━━━━━━━━━━━━━━━━━━━━━━━
|
|
119
|
+
|
|
120
|
+
⏰ Created: [TIMESTAMP] | 🎯 Next: Code review and approval
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### **3. Technical Documentation Template**
|
|
124
|
+
```markdown
|
|
125
|
+
## 📚 **Technical Documentation**
|
|
126
|
+
|
|
127
|
+
### 🏗️ **Architecture:**
|
|
128
|
+
- [COMPONENT_CHANGES]
|
|
129
|
+
- [INTEGRATION_DETAILS]
|
|
130
|
+
|
|
131
|
+
### 🔧 **Implementation:**
|
|
132
|
+
```[LANGUAGE]
|
|
133
|
+
// Code example if relevant
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 📊 **Impact:**
|
|
137
|
+
| Aspect | Before | After | Status |
|
|
138
|
+
|--------|--------|-------|--------|
|
|
139
|
+
| [METRIC_1] | [OLD] | [NEW] | ✅ |
|
|
140
|
+
| [METRIC_2] | [OLD] | [NEW] | 🔄 |
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
**📖 Reference**: [DOCUMENTATION_LINK] | **🎯 Impact**: [IMPACT_LEVEL]
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### **4. Issue/Error Template**
|
|
147
|
+
```markdown
|
|
148
|
+
## 🚨 **Issue Identified**
|
|
149
|
+
|
|
150
|
+
### ❌ **Problem:**
|
|
151
|
+
[DETAILED_DESCRIPTION]
|
|
152
|
+
|
|
153
|
+
### 🔍 **Root Cause:**
|
|
154
|
+
- **Source**: [ERROR_SOURCE]
|
|
155
|
+
- **Files**: [AFFECTED_FILES]
|
|
156
|
+
- **Severity**: [HIGH/MEDIUM/LOW]
|
|
157
|
+
|
|
158
|
+
### 🛠️ **Resolution:**
|
|
159
|
+
- [x] Issue investigated
|
|
160
|
+
- [ ] Fix implemented
|
|
161
|
+
- [ ] Testing completed
|
|
162
|
+
|
|
163
|
+
### 📊 **Impact Analysis:**
|
|
164
|
+
- **Users affected**: [NUMBER/SCOPE]
|
|
165
|
+
- **Downtime**: [DURATION]
|
|
166
|
+
- **Priority**: [URGENT/HIGH/MEDIUM/LOW]
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
**🔧 Status**: [RESOLVED/IN_PROGRESS/BLOCKED] | **⏰ Reported**: [TIMESTAMP]
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### **5. Progress Report Template**
|
|
173
|
+
```markdown
|
|
174
|
+
## 📊 **Development Progress**
|
|
175
|
+
|
|
176
|
+
### 🎯 **Current Milestone:**
|
|
177
|
+
[MILESTONE_NAME] - [PERCENTAGE]% complete
|
|
178
|
+
|
|
179
|
+
### ✅ **This Week Completed:**
|
|
180
|
+
- [ACHIEVEMENT_1]
|
|
181
|
+
- [ACHIEVEMENT_2]
|
|
182
|
+
- [ACHIEVEMENT_3]
|
|
183
|
+
|
|
184
|
+
### 🔄 **Currently Working On:**
|
|
185
|
+
- [CURRENT_TASK_1]
|
|
186
|
+
- [CURRENT_TASK_2]
|
|
187
|
+
|
|
188
|
+
### 📋 **Next Week Plan:**
|
|
189
|
+
- [ ] [PLANNED_TASK_1]
|
|
190
|
+
- [ ] [PLANNED_TASK_2]
|
|
191
|
+
|
|
192
|
+
### 🚧 **Blockers/Issues:**
|
|
193
|
+
- [BLOCKER_1] (if any)
|
|
194
|
+
- [BLOCKER_2] (if any)
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
**📈 Progress**: [PERCENTAGE]% | **🎯 ETA**: [ESTIMATED_DATE]
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## 🎨 **Formatting Guidelines**
|
|
201
|
+
|
|
202
|
+
### **Required Elements:**
|
|
203
|
+
1. **Emoji Header**: Every section starts with relevant emoji
|
|
204
|
+
2. **Structure**: Use ### for subsections, - for lists
|
|
205
|
+
3. **Status Indicators**: ✅ (done), 🔄 (progress), ❌ (blocked), 📋 (todo)
|
|
206
|
+
4. **Footer**: Always end with --- separator + timestamp/status
|
|
207
|
+
5. **Links**: Format as **Bold**: [LINK] for better visibility
|
|
208
|
+
|
|
209
|
+
### **Emoji Reference:**
|
|
210
|
+
- 🎯 Goals/Objectives
|
|
211
|
+
- ✅ Completed/Success
|
|
212
|
+
- 🔄 In Progress/Working
|
|
213
|
+
- 📋 Lists/Planning
|
|
214
|
+
- 🚀 Releases/Launches
|
|
215
|
+
- 🛠️ Fixes/Solutions
|
|
216
|
+
- 🚨 Issues/Alerts
|
|
217
|
+
- 📚 Documentation
|
|
218
|
+
- 📊 Data/Metrics
|
|
219
|
+
- 🔗 Links/References
|
|
220
|
+
- ⏰ Time/Dates
|
|
221
|
+
- 🎉 Celebrations/Achievements
|
|
222
|
+
|
|
223
|
+
### **Table Guidelines:**
|
|
224
|
+
Always use tables for:
|
|
225
|
+
- Before/After comparisons
|
|
226
|
+
- Metrics tracking
|
|
227
|
+
- Status matrices
|
|
228
|
+
- Feature comparisons
|
|
229
|
+
|
|
230
|
+
## 🔧 **Implementation for Commands**
|
|
231
|
+
|
|
232
|
+
### **Engineer Commands:**
|
|
233
|
+
```bash
|
|
234
|
+
# /engineer/pr
|
|
235
|
+
## 🚀 **Pull Request Created**
|
|
236
|
+
[USE_PR_TEMPLATE]
|
|
237
|
+
|
|
238
|
+
# /engineer/start
|
|
239
|
+
## 🔄 **Development Started**
|
|
240
|
+
[USE_STATUS_TEMPLATE]
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### **Product Commands:**
|
|
244
|
+
```bash
|
|
245
|
+
# /product/task
|
|
246
|
+
## 📋 **Task Created**
|
|
247
|
+
[USE_TECHNICAL_TEMPLATE]
|
|
248
|
+
|
|
249
|
+
# /product/collect
|
|
250
|
+
## 📊 **Requirements Collected**
|
|
251
|
+
[USE_PROGRESS_TEMPLATE]
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
### **Agent Comments:**
|
|
255
|
+
```typescript
|
|
256
|
+
// Para todos os 16 agentes especializados:
|
|
257
|
+
const formatAgentComment = (agentName: string, action: string, details: any) => `
|
|
258
|
+
## 🤖 **${agentName} Update**
|
|
259
|
+
|
|
260
|
+
### 🎯 **Action Performed:**
|
|
261
|
+
${action}
|
|
262
|
+
|
|
263
|
+
### 📋 **Details:**
|
|
264
|
+
${details.description}
|
|
265
|
+
|
|
266
|
+
### ✅ **Results:**
|
|
267
|
+
${details.results}
|
|
268
|
+
|
|
269
|
+
---
|
|
270
|
+
**🤖 Agent**: ${agentName} | **⏰ Timestamp**: ${new Date().toLocaleString('pt-BR', {
|
|
271
|
+
day: '2-digit', month: '2-digit', year: 'numeric', hour: '2-digit', minute: '2-digit'
|
|
272
|
+
})}
|
|
273
|
+
`
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
## 📏 **Quality Standards**
|
|
277
|
+
|
|
278
|
+
### **Readability Checklist:**
|
|
279
|
+
- [ ] Clear emoji hierarchy
|
|
280
|
+
- [ ] Consistent formatting
|
|
281
|
+
- [ ] Logical information flow
|
|
282
|
+
- [ ] Actionable next steps
|
|
283
|
+
- [ ] Proper timestamp/status
|
|
284
|
+
|
|
285
|
+
### **Professional Standards:**
|
|
286
|
+
- [ ] No spelling/grammar errors
|
|
287
|
+
- [ ] Appropriate technical detail level
|
|
288
|
+
- [ ] Clear status indicators
|
|
289
|
+
- [ ] Useful for stakeholders
|
|
290
|
+
- [ ] Consistent with brand voice
|
|
291
|
+
|
|
292
|
+
---
|
|
293
|
+
|
|
294
|
+
## 🎯 **Usage Instructions**
|
|
295
|
+
|
|
296
|
+
1. **Copy template** relevant to your update type
|
|
297
|
+
2. **Replace placeholders** with actual information
|
|
298
|
+
3. **Verify formatting** before posting
|
|
299
|
+
4. **Include timestamp** and current status
|
|
300
|
+
5. **Test rendering** in ClickUp interface
|
|
301
|
+
|
|
302
|
+
**💡 Pro Tip**: Save commonly used templates as snippets for faster access!
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# 📏 Otimização de Tamanho de Separadores em Comentários ClickUp
|
|
2
|
+
|
|
3
|
+
## 🎯 Problema Inicial
|
|
4
|
+
|
|
5
|
+
Os separadores longos (━ com 34 caracteres) ocupavam **muita largura** em telas pequenas/mobile, quebrando a formatação visual e reduzindo legibilidade.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## ❌ ANTES (Separador Grande - 34 caracteres):
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Problema:**
|
|
16
|
+
- Ocupava linha inteira em desktop
|
|
17
|
+
- Quebrava em mobile/tablet
|
|
18
|
+
- Parecia "pesado" visualmente
|
|
19
|
+
- Dificultava leitura em alguns contextos
|
|
20
|
+
|
|
21
|
+
**Exemplo no comentário:**
|
|
22
|
+
|
|
23
|
+
```
|
|
24
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
25
|
+
|
|
26
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
27
|
+
|
|
28
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
29
|
+
∟ src/services/auth.service.ts
|
|
30
|
+
∟ src/controllers/auth.controller.ts
|
|
31
|
+
|
|
32
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
33
|
+
|
|
34
|
+
⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## ✅ DEPOIS (Separador Otimizado - 14 caracteres):
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
━━━━━━━━━━━━━━
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
**Benefícios:**
|
|
46
|
+
- Compacto mas ainda visível
|
|
47
|
+
- Responsivo em qualquer tela
|
|
48
|
+
- Mantém estrutura visual clara
|
|
49
|
+
- Melhor proporção com conteúdo
|
|
50
|
+
- Mais elegante e moderno
|
|
51
|
+
|
|
52
|
+
**Exemplo no comentário:**
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
56
|
+
|
|
57
|
+
━━━━━━━━━━━━━━
|
|
58
|
+
|
|
59
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
60
|
+
∟ src/services/auth.service.ts
|
|
61
|
+
∟ src/controllers/auth.controller.ts
|
|
62
|
+
|
|
63
|
+
━━━━━━━━━━━━━━
|
|
64
|
+
|
|
65
|
+
⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 📊 Comparação Visual
|
|
71
|
+
|
|
72
|
+
### Desktop (1200px+):
|
|
73
|
+
|
|
74
|
+
| Antes | Depois |
|
|
75
|
+
|-------|--------|
|
|
76
|
+
| Separador muito longo | Separador compacto |
|
|
77
|
+
| Ocupa ~40% da linha | Ocupa ~15% da linha |
|
|
78
|
+
| "Pesado" visualmente | Leve e elegante |
|
|
79
|
+
|
|
80
|
+
### Tablet (600-1200px):
|
|
81
|
+
|
|
82
|
+
| Antes | Depois |
|
|
83
|
+
|-------|--------|
|
|
84
|
+
| Pode quebrar linha | Cabe perfeitamente |
|
|
85
|
+
| Desalinhado | Alinhado |
|
|
86
|
+
| Difícil ler | Legível |
|
|
87
|
+
|
|
88
|
+
### Mobile (< 600px):
|
|
89
|
+
|
|
90
|
+
| Antes | Depois |
|
|
91
|
+
|-------|--------|
|
|
92
|
+
| ❌ Quebra e sai da tela | ✅ Cabe perfeitamente |
|
|
93
|
+
| Complicado navegar | Fácil ler |
|
|
94
|
+
| Experiência ruim | Experiência boa |
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
## 🎨 Exemplo Prático Completo
|
|
99
|
+
|
|
100
|
+
### Comentário em /engineer/work (Fase Completada):
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
🔧 FASE COMPLETADA: Backend Implementation
|
|
104
|
+
|
|
105
|
+
━━━━━━━━━━━━━━
|
|
106
|
+
|
|
107
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
108
|
+
∟ src/services/auth.service.ts
|
|
109
|
+
∟ src/controllers/auth.controller.ts
|
|
110
|
+
∟ src/middleware/jwt.middleware.ts
|
|
111
|
+
∟ src/models/user.model.ts
|
|
112
|
+
∟ src/routes/auth.routes.ts
|
|
113
|
+
|
|
114
|
+
🔧 IMPLEMENTAÇÕES:
|
|
115
|
+
▶ JWT generation e validation
|
|
116
|
+
▶ Refresh token mechanism
|
|
117
|
+
▶ Password hashing com bcrypt
|
|
118
|
+
▶ Error handling e logging
|
|
119
|
+
▶ Rate limiting para endpoints
|
|
120
|
+
|
|
121
|
+
✅ TESTES ADICIONADOS:
|
|
122
|
+
∟ auth.service.spec.ts (12 testes)
|
|
123
|
+
∟ auth.controller.spec.ts (8 testes)
|
|
124
|
+
∟ jwt.middleware.spec.ts (6 testes)
|
|
125
|
+
∟ Cobertura: 95%
|
|
126
|
+
|
|
127
|
+
💡 DECISÕES TÉCNICAS:
|
|
128
|
+
∟ Usamos jsonwebtoken v9.0.0
|
|
129
|
+
∟ Access token: 15min, Refresh: 7 dias
|
|
130
|
+
∟ Bcrypt rounds: 10 (perf/segurança)
|
|
131
|
+
|
|
132
|
+
🚀 PRÓXIMOS PASSOS:
|
|
133
|
+
∟ Fase 2: Frontend Integration
|
|
134
|
+
∟ Criar AuthContext no React
|
|
135
|
+
∟ Implementar token storage seguro
|
|
136
|
+
|
|
137
|
+
━━━━━━━━━━━━━━
|
|
138
|
+
|
|
139
|
+
⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Resultado:**
|
|
143
|
+
- ✅ Comentário estruturado e legível
|
|
144
|
+
- ✅ Separadores proporcionais
|
|
145
|
+
- ✅ Funciona em qualquer dispositivo
|
|
146
|
+
- ✅ Profissional e bem balanceado
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## 🔄 Migração
|
|
151
|
+
|
|
152
|
+
### Arquivos Atualizados:
|
|
153
|
+
|
|
154
|
+
1. `.cursor/commands/engineer/work.md`
|
|
155
|
+
- Separadores em templates de comentários
|
|
156
|
+
|
|
157
|
+
2. `.cursor/commands/engineer/pre-pr.md`
|
|
158
|
+
- Separadores no formato de comentário
|
|
159
|
+
|
|
160
|
+
3. `.cursor/commands/engineer/pr.md`
|
|
161
|
+
- Separadores em comentário de PR criada
|
|
162
|
+
|
|
163
|
+
4. `.cursor/commands/engineer/pr-update.md`
|
|
164
|
+
- Separadores em comentário de PR atualizada
|
|
165
|
+
|
|
166
|
+
5. `.cursor/docs/clickup/clickup-dual-comment-strategy.md`
|
|
167
|
+
- Separadores em templates e exemplos
|
|
168
|
+
|
|
169
|
+
### Padrão Definido:
|
|
170
|
+
|
|
171
|
+
```
|
|
172
|
+
ANTES: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (34 chars)
|
|
173
|
+
DEPOIS: ━━━━━━━━━━━━━━ (14 chars)
|
|
174
|
+
|
|
175
|
+
Redução: ~59% de tamanho
|
|
176
|
+
Benefício: Responsivo + Elegante
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
## 📐 Dimensões
|
|
182
|
+
|
|
183
|
+
| Métrica | ANTES | DEPOIS | Melhoria |
|
|
184
|
+
|---------|-------|--------|----------|
|
|
185
|
+
| Caracteres | 34 | 14 | -59% |
|
|
186
|
+
| Largura visual | Longa | Compacta | ✅ |
|
|
187
|
+
| Mobile friendly | ❌ | ✅ | Sim |
|
|
188
|
+
| Legibilidade | Média | Alta | Melhor |
|
|
189
|
+
| Profissionalismo | Bom | Excelente | Melhor |
|
|
190
|
+
|
|
191
|
+
---
|
|
192
|
+
|
|
193
|
+
## ✅ Benefícios Alcançados
|
|
194
|
+
|
|
195
|
+
### Visual:
|
|
196
|
+
- ✅ Interface mais limpa
|
|
197
|
+
- ✅ Hierarquia mais clara
|
|
198
|
+
- ✅ Proporção visual melhor
|
|
199
|
+
- ✅ Aparência mais moderna
|
|
200
|
+
|
|
201
|
+
### UX:
|
|
202
|
+
- ✅ Funciona em mobile
|
|
203
|
+
- ✅ Sem quebras de linha
|
|
204
|
+
- ✅ Fácil copiar/colar
|
|
205
|
+
- ✅ Menos distração visual
|
|
206
|
+
|
|
207
|
+
### Técnico:
|
|
208
|
+
- ✅ Compatível com todos os clientes
|
|
209
|
+
- ✅ Renderiza correto em Markdown
|
|
210
|
+
- ✅ Performance não afetada
|
|
211
|
+
- ✅ Simples manter/atualizar
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## 🎯 Próximos Passos
|
|
216
|
+
|
|
217
|
+
1. **Testar em produção** com comentários reais
|
|
218
|
+
2. **Coletar feedback** dos usuários
|
|
219
|
+
3. **Validar mobile** em múltiplos dispositivos
|
|
220
|
+
4. **Documentar padrão** para futuros comandos
|
|
221
|
+
5. **Aplicar em outros comandos** se necessário
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## 📚 Padrão Definido para Futuros Comandos
|
|
226
|
+
|
|
227
|
+
### Template Padrão:
|
|
228
|
+
|
|
229
|
+
```
|
|
230
|
+
[Emoji] [TÍTULO]
|
|
231
|
+
|
|
232
|
+
━━━━━━━━━━━━━━
|
|
233
|
+
|
|
234
|
+
[Seção 1]
|
|
235
|
+
[Seção 2]
|
|
236
|
+
[Seção 3]
|
|
237
|
+
|
|
238
|
+
━━━━━━━━━━━━━━
|
|
239
|
+
|
|
240
|
+
[Timestamp] | [Próximo]
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
### Aplicar em:
|
|
244
|
+
- ✅ /engineer/work
|
|
245
|
+
- ✅ /engineer/pre-pr
|
|
246
|
+
- ✅ /engineer/pr
|
|
247
|
+
- ✅ /engineer/pr-update
|
|
248
|
+
- ⭕ /engineer/hotfix (verificar)
|
|
249
|
+
- ⭕ Novos comandos (padrão)
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
**Última atualização**: 2025-11-05
|
|
254
|
+
**Status**: Implementado e documentado
|
|
255
|
+
**Impacto**: Visual + UX melhorados em todos os comentários ClickUp 🎉
|
|
256
|
+
|