@onion-ai/cli 1.0.0-beta.1

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.
Files changed (220) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +529 -0
  3. package/bin/onion.js +6 -0
  4. package/framework/CLAUDE.md +45 -0
  5. package/framework/VERSION +1 -0
  6. package/framework/agents/compliance/iso-22301-specialist.md +985 -0
  7. package/framework/agents/compliance/iso-27001-specialist.md +713 -0
  8. package/framework/agents/compliance/pmbok-specialist.md +739 -0
  9. package/framework/agents/compliance/security-information-master.md +907 -0
  10. package/framework/agents/compliance/soc2-specialist.md +889 -0
  11. package/framework/agents/deployment/docker-specialist.md +1192 -0
  12. package/framework/agents/development/c4-architecture-specialist.md +745 -0
  13. package/framework/agents/development/c4-documentation-specialist.md +695 -0
  14. package/framework/agents/development/clickup-specialist.md +396 -0
  15. package/framework/agents/development/cursor-specialist.md +277 -0
  16. package/framework/agents/development/docs-reverse-engineer.md +417 -0
  17. package/framework/agents/development/gamma-api-specialist.md +1168 -0
  18. package/framework/agents/development/gitflow-specialist.md +1206 -0
  19. package/framework/agents/development/linux-security-specialist.md +675 -0
  20. package/framework/agents/development/mermaid-specialist.md +515 -0
  21. package/framework/agents/development/nodejs-specialist.md +672 -0
  22. package/framework/agents/development/nx-migration-specialist.md +866 -0
  23. package/framework/agents/development/nx-monorepo-specialist.md +618 -0
  24. package/framework/agents/development/postgres-specialist.md +1123 -0
  25. package/framework/agents/development/react-developer.md +131 -0
  26. package/framework/agents/development/runflow-specialist.md +277 -0
  27. package/framework/agents/development/system-documentation-orchestrator.md +1387 -0
  28. package/framework/agents/development/task-specialist.md +677 -0
  29. package/framework/agents/git/branch-code-reviewer.md +225 -0
  30. package/framework/agents/git/branch-documentation-writer.md +161 -0
  31. package/framework/agents/git/branch-metaspec-checker.md +67 -0
  32. package/framework/agents/git/branch-test-planner.md +176 -0
  33. package/framework/agents/meta/agent-creator-specialist.md +1266 -0
  34. package/framework/agents/meta/command-creator-specialist.md +1676 -0
  35. package/framework/agents/meta/metaspec-gate-keeper.md +240 -0
  36. package/framework/agents/meta/onion.md +824 -0
  37. package/framework/agents/product/branding-positioning-specialist.md +1029 -0
  38. package/framework/agents/product/extract-meeting-specialist.md +394 -0
  39. package/framework/agents/product/meeting-consolidator.md +482 -0
  40. package/framework/agents/product/pain-price-specialist.md +508 -0
  41. package/framework/agents/product/presentation-orchestrator.md +1190 -0
  42. package/framework/agents/product/product-agent.md +201 -0
  43. package/framework/agents/product/story-points-framework-specialist.md +538 -0
  44. package/framework/agents/product/storytelling-business-specialist.md +890 -0
  45. package/framework/agents/research/research-agent.md +292 -0
  46. package/framework/agents/review/code-reviewer.md +154 -0
  47. package/framework/agents/review/corporate-compliance-specialist.md +370 -0
  48. package/framework/agents/testing/test-agent.md +424 -0
  49. package/framework/agents/testing/test-engineer.md +294 -0
  50. package/framework/agents/testing/test-planner.md +117 -0
  51. package/framework/commands/common/prompts/README.md +208 -0
  52. package/framework/commands/common/prompts/clickup-patterns.md +144 -0
  53. package/framework/commands/common/prompts/code-review-checklist.md +168 -0
  54. package/framework/commands/common/prompts/git-workflow-patterns.md +235 -0
  55. package/framework/commands/common/prompts/output-formats.md +240 -0
  56. package/framework/commands/common/prompts/technical.md +194 -0
  57. package/framework/commands/common/templates/abstraction-template.md +399 -0
  58. package/framework/commands/common/templates/agent-template.md +353 -0
  59. package/framework/commands/common/templates/business_context_template.md +748 -0
  60. package/framework/commands/common/templates/command-template.md +273 -0
  61. package/framework/commands/common/templates/technical_context_template.md +526 -0
  62. package/framework/commands/design/screen-spec.md +505 -0
  63. package/framework/commands/development/runflow-dev.md +465 -0
  64. package/framework/commands/docs/build-business-docs.md +299 -0
  65. package/framework/commands/docs/build-compliance-docs.md +143 -0
  66. package/framework/commands/docs/build-index.md +119 -0
  67. package/framework/commands/docs/build-tech-docs.md +221 -0
  68. package/framework/commands/docs/docs-health.md +141 -0
  69. package/framework/commands/docs/help.md +278 -0
  70. package/framework/commands/docs/refine-vision.md +25 -0
  71. package/framework/commands/docs/reverse-consolidate.md +158 -0
  72. package/framework/commands/docs/sync-sessions.md +354 -0
  73. package/framework/commands/docs/validate-docs.md +157 -0
  74. package/framework/commands/engineer/bump.md +29 -0
  75. package/framework/commands/engineer/docs.md +11 -0
  76. package/framework/commands/engineer/hotfix.md +183 -0
  77. package/framework/commands/engineer/plan.md +85 -0
  78. package/framework/commands/engineer/pr-update.md +219 -0
  79. package/framework/commands/engineer/pr.md +117 -0
  80. package/framework/commands/engineer/pre-pr.md +81 -0
  81. package/framework/commands/engineer/start.md +254 -0
  82. package/framework/commands/engineer/validate-phase-sync.md +134 -0
  83. package/framework/commands/engineer/warm-up.md +20 -0
  84. package/framework/commands/engineer/work.md +155 -0
  85. package/framework/commands/f/company-context-extractor.md +93 -0
  86. package/framework/commands/f/process-meetings.md +103 -0
  87. package/framework/commands/git/README.md +682 -0
  88. package/framework/commands/git/code-review.md +213 -0
  89. package/framework/commands/git/fast-commit.md +43 -0
  90. package/framework/commands/git/feature/finish.md +88 -0
  91. package/framework/commands/git/feature/publish.md +89 -0
  92. package/framework/commands/git/feature/start.md +172 -0
  93. package/framework/commands/git/help.md +100 -0
  94. package/framework/commands/git/hotfix/finish.md +96 -0
  95. package/framework/commands/git/hotfix/start.md +92 -0
  96. package/framework/commands/git/init.md +111 -0
  97. package/framework/commands/git/release/finish.md +96 -0
  98. package/framework/commands/git/release/start.md +93 -0
  99. package/framework/commands/git/sync.md +199 -0
  100. package/framework/commands/meta/all-tools.md +58 -0
  101. package/framework/commands/meta/analyze-complex-problem.md +186 -0
  102. package/framework/commands/meta/create-abstraction.md +882 -0
  103. package/framework/commands/meta/create-agent-express.md +98 -0
  104. package/framework/commands/meta/create-agent.md +210 -0
  105. package/framework/commands/meta/create-command.md +203 -0
  106. package/framework/commands/meta/create-knowledge-base.md +143 -0
  107. package/framework/commands/meta/create-task-structure.md +150 -0
  108. package/framework/commands/meta/setup-integration.md +274 -0
  109. package/framework/commands/onion.md +169 -0
  110. package/framework/commands/product/README.md +249 -0
  111. package/framework/commands/product/analyze-pain-price.md +694 -0
  112. package/framework/commands/product/branding.md +458 -0
  113. package/framework/commands/product/check.md +46 -0
  114. package/framework/commands/product/checklist-sync.md +239 -0
  115. package/framework/commands/product/collect.md +95 -0
  116. package/framework/commands/product/consolidate-meetings.md +291 -0
  117. package/framework/commands/product/estimate.md +511 -0
  118. package/framework/commands/product/extract-meeting.md +226 -0
  119. package/framework/commands/product/feature.md +416 -0
  120. package/framework/commands/product/light-arch.md +82 -0
  121. package/framework/commands/product/presentation.md +174 -0
  122. package/framework/commands/product/refine.md +161 -0
  123. package/framework/commands/product/spec.md +79 -0
  124. package/framework/commands/product/task-check.md +378 -0
  125. package/framework/commands/product/task.md +603 -0
  126. package/framework/commands/product/validate-task.md +325 -0
  127. package/framework/commands/product/warm-up.md +24 -0
  128. package/framework/commands/quick/analisys.md +17 -0
  129. package/framework/commands/test/e2e.md +377 -0
  130. package/framework/commands/test/integration.md +508 -0
  131. package/framework/commands/test/unit.md +381 -0
  132. package/framework/commands/validate/collab/pair-testing.md +657 -0
  133. package/framework/commands/validate/collab/three-amigos.md +534 -0
  134. package/framework/commands/validate/qa-points/estimate.md +660 -0
  135. package/framework/commands/validate/test-strategy/analyze.md +1201 -0
  136. package/framework/commands/validate/test-strategy/create.md +411 -0
  137. package/framework/commands/validate/workflow.md +370 -0
  138. package/framework/commands/warm-up.md +20 -0
  139. package/framework/docs/architecture/acoplamento-clickup-problema-analise.md +468 -0
  140. package/framework/docs/architecture/desacoplamento-roadmap.md +364 -0
  141. package/framework/docs/architecture/validacao-fase-1.md +235 -0
  142. package/framework/docs/c4/c4-detection-rules.md +395 -0
  143. package/framework/docs/c4/c4-documentation-templates.md +579 -0
  144. package/framework/docs/c4/c4-mermaid-patterns.md +331 -0
  145. package/framework/docs/c4/c4-templates.md +256 -0
  146. package/framework/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
  147. package/framework/docs/clickup/clickup-auto-update-strategy.md +340 -0
  148. package/framework/docs/clickup/clickup-comment-formatter.md +239 -0
  149. package/framework/docs/clickup/clickup-description-fix.md +384 -0
  150. package/framework/docs/clickup/clickup-dual-comment-strategy.md +528 -0
  151. package/framework/docs/clickup/clickup-formatting.md +302 -0
  152. package/framework/docs/clickup/separador-tamanho-otimizado.md +258 -0
  153. package/framework/docs/engineer/pre-pr-acceptance-validation.md +256 -0
  154. package/framework/docs/onion/ESPERANTO.md +293 -0
  155. package/framework/docs/onion/agents-reference.md +832 -0
  156. package/framework/docs/onion/clickup-integration.md +780 -0
  157. package/framework/docs/onion/commands-guide.md +924 -0
  158. package/framework/docs/onion/engineering-flows.md +900 -0
  159. package/framework/docs/onion/getting-started.md +803 -0
  160. package/framework/docs/onion/maintenance-checklist.md +421 -0
  161. package/framework/docs/onion/naming-conventions.md +286 -0
  162. package/framework/docs/onion/practical-examples.md +854 -0
  163. package/framework/docs/product/story-points-integration.md +269 -0
  164. package/framework/docs/product/story-points-validation.md +237 -0
  165. package/framework/docs/reviews/task-manager-docs-review-2025-11-24.md +184 -0
  166. package/framework/docs/strategies/clickup-comment-patterns.md +766 -0
  167. package/framework/docs/strategies/clickup-integration-tests.md +602 -0
  168. package/framework/docs/strategies/clickup-mcp-wrappers-tests.md +888 -0
  169. package/framework/docs/strategies/clickup-regression-tests.md +587 -0
  170. package/framework/docs/strategies/visual-patterns.md +315 -0
  171. package/framework/docs/templates/README.md +649 -0
  172. package/framework/docs/templates/adr-template.md +226 -0
  173. package/framework/docs/templates/analysis-template.md +280 -0
  174. package/framework/docs/templates/execution-plan-template.md +430 -0
  175. package/framework/docs/templates/guide-template.md +367 -0
  176. package/framework/docs/templates/phase-execution-prompt-template.md +504 -0
  177. package/framework/docs/templates/reference-template.md +522 -0
  178. package/framework/docs/templates/solution-template.md +390 -0
  179. package/framework/docs/tools/README.md +356 -0
  180. package/framework/docs/tools/agents.md +365 -0
  181. package/framework/docs/tools/commands.md +669 -0
  182. package/framework/docs/tools/cursor.md +539 -0
  183. package/framework/docs/tools/mcps.md +937 -0
  184. package/framework/docs/tools/rules.md +461 -0
  185. package/framework/rules/language-and-documentation.mdc +371 -0
  186. package/framework/rules/nestjs-controllers.md +83 -0
  187. package/framework/rules/nestjs-dtos.md +255 -0
  188. package/framework/rules/nestjs-modules.md +141 -0
  189. package/framework/rules/nestjs-services.md +230 -0
  190. package/framework/rules/nx-rules.mdc +41 -0
  191. package/framework/rules/onion-patterns.mdc +197 -0
  192. package/framework/skills/codebase-visualizer/SKILL.md +26 -0
  193. package/framework/skills/codebase-visualizer/scripts/visualize.py +131 -0
  194. package/framework/skills/collect/SKILL.md +84 -0
  195. package/framework/skills/create-rule/SKILL.md +152 -0
  196. package/framework/skills/db-schema-visualizer/SKILL.md +49 -0
  197. package/framework/skills/db-schema-visualizer/scripts/visualize.py +1191 -0
  198. package/framework/skills/sync-meetings/SKILL.md +239 -0
  199. package/framework/utils/clickup-mcp-wrappers.md +744 -0
  200. package/framework/utils/date-time-standards.md +200 -0
  201. package/framework/utils/task-manager/README.md +94 -0
  202. package/framework/utils/task-manager/adapters/asana.md +377 -0
  203. package/framework/utils/task-manager/adapters/clickup.md +467 -0
  204. package/framework/utils/task-manager/adapters/linear.md +421 -0
  205. package/framework/utils/task-manager/detector.md +299 -0
  206. package/framework/utils/task-manager/factory.md +363 -0
  207. package/framework/utils/task-manager/interface.md +248 -0
  208. package/framework/utils/task-manager/types.md +409 -0
  209. package/package.json +41 -0
  210. package/src/cli.js +73 -0
  211. package/src/commands/doctor.js +191 -0
  212. package/src/commands/init.js +287 -0
  213. package/src/commands/install.js +261 -0
  214. package/src/commands/list.js +152 -0
  215. package/src/commands/uninstall.js +90 -0
  216. package/src/commands/update.js +26 -0
  217. package/src/utils/fs.js +89 -0
  218. package/src/utils/log.js +35 -0
  219. package/src/utils/paths.js +32 -0
  220. package/src/utils/prompt.js +76 -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,258 @@
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
+
17
+ - Ocupava linha inteira em desktop
18
+ - Quebrava em mobile/tablet
19
+ - Parecia "pesado" visualmente
20
+ - Dificultava leitura em alguns contextos
21
+
22
+ **Exemplo no comentário:**
23
+
24
+ ```
25
+ 🔧 FASE COMPLETADA: Backend Implementation
26
+
27
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
28
+
29
+ 📁 ARQUIVOS MODIFICADOS:
30
+ ∟ src/services/auth.service.ts
31
+ ∟ src/controllers/auth.controller.ts
32
+
33
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
34
+
35
+ ⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
36
+ ```
37
+
38
+ ---
39
+
40
+ ## ✅ DEPOIS (Separador Otimizado - 14 caracteres):
41
+
42
+ ```
43
+ ━━━━━━━━━━━━━━
44
+ ```
45
+
46
+ **Benefícios:**
47
+
48
+ - Compacto mas ainda visível
49
+ - Responsivo em qualquer tela
50
+ - Mantém estrutura visual clara
51
+ - Melhor proporção com conteúdo
52
+ - Mais elegante e moderno
53
+
54
+ **Exemplo no comentário:**
55
+
56
+ ```
57
+ 🔧 FASE COMPLETADA: Backend Implementation
58
+
59
+ ━━━━━━━━━━━━━━
60
+
61
+ 📁 ARQUIVOS MODIFICADOS:
62
+ ∟ src/services/auth.service.ts
63
+ ∟ src/controllers/auth.controller.ts
64
+
65
+ ━━━━━━━━━━━━━━
66
+
67
+ ⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
68
+ ```
69
+
70
+ ---
71
+
72
+ ## 📊 Comparação Visual
73
+
74
+ ### Desktop (1200px+):
75
+
76
+ | Antes | Depois |
77
+ | --------------------- | ------------------- |
78
+ | Separador muito longo | Separador compacto |
79
+ | Ocupa ~40% da linha | Ocupa ~15% da linha |
80
+ | "Pesado" visualmente | Leve e elegante |
81
+
82
+ ### Tablet (600-1200px):
83
+
84
+ | Antes | Depois |
85
+ | ------------------ | ------------------ |
86
+ | Pode quebrar linha | Cabe perfeitamente |
87
+ | Desalinhado | Alinhado |
88
+ | Difícil ler | Legível |
89
+
90
+ ### Mobile (< 600px):
91
+
92
+ | Antes | Depois |
93
+ | ----------------------- | --------------------- |
94
+ | ❌ Quebra e sai da tela | ✅ Cabe perfeitamente |
95
+ | Complicado navegar | Fácil ler |
96
+ | Experiência ruim | Experiência boa |
97
+
98
+ ---
99
+
100
+ ## 🎨 Exemplo Prático Completo
101
+
102
+ ### Comentário em /engineer/work (Fase Completada):
103
+
104
+ ```
105
+ 🔧 FASE COMPLETADA: Backend Implementation
106
+
107
+ ━━━━━━━━━━━━━━
108
+
109
+ 📁 ARQUIVOS MODIFICADOS:
110
+ ∟ src/services/auth.service.ts
111
+ ∟ src/controllers/auth.controller.ts
112
+ ∟ src/middleware/jwt.middleware.ts
113
+ ∟ src/models/user.model.ts
114
+ ∟ src/routes/auth.routes.ts
115
+
116
+ 🔧 IMPLEMENTAÇÕES:
117
+ ▶ JWT generation e validation
118
+ ▶ Refresh token mechanism
119
+ ▶ Password hashing com bcrypt
120
+ ▶ Error handling e logging
121
+ ▶ Rate limiting para endpoints
122
+
123
+ ✅ TESTES ADICIONADOS:
124
+ ∟ auth.service.spec.ts (12 testes)
125
+ ∟ auth.controller.spec.ts (8 testes)
126
+ ∟ jwt.middleware.spec.ts (6 testes)
127
+ ∟ Cobertura: 95%
128
+
129
+ 💡 DECISÕES TÉCNICAS:
130
+ ∟ Usamos jsonwebtoken v9.0.0
131
+ ∟ Access token: 15min, Refresh: 7 dias
132
+ ∟ Bcrypt rounds: 10 (perf/segurança)
133
+
134
+ 🚀 PRÓXIMOS PASSOS:
135
+ ∟ Fase 2: Frontend Integration
136
+ ∟ Criar AuthContext no React
137
+ ∟ Implementar token storage seguro
138
+
139
+ ━━━━━━━━━━━━━━
140
+
141
+ ⏰ Completado: 2025-11-05 16:45 | 🎯 Status: Done
142
+ ```
143
+
144
+ **Resultado:**
145
+
146
+ - ✅ Comentário estruturado e legível
147
+ - ✅ Separadores proporcionais
148
+ - ✅ Funciona em qualquer dispositivo
149
+ - ✅ Profissional e bem balanceado
150
+
151
+ ---
152
+
153
+ ## 🔄 Migração
154
+
155
+ ### Arquivos Atualizados:
156
+
157
+ 1. `.claude/commands/engineer/work.md`
158
+ - Separadores em templates de comentários
159
+ 2. `.claude/commands/engineer/pre-pr.md`
160
+ - Separadores no formato de comentário
161
+ 3. `.claude/commands/engineer/pr.md`
162
+ - Separadores em comentário de PR criada
163
+ 4. `.claude/commands/engineer/pr-update.md`
164
+ - Separadores em comentário de PR atualizada
165
+ 5. `.claude/docs/clickup/clickup-dual-comment-strategy.md`
166
+ - Separadores em templates e exemplos
167
+
168
+ ### Padrão Definido:
169
+
170
+ ```
171
+ ANTES: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ (34 chars)
172
+ DEPOIS: ━━━━━━━━━━━━━━ (14 chars)
173
+
174
+ Redução: ~59% de tamanho
175
+ Benefício: Responsivo + Elegante
176
+ ```
177
+
178
+ ---
179
+
180
+ ## 📐 Dimensões
181
+
182
+ | Métrica | ANTES | DEPOIS | Melhoria |
183
+ | ---------------- | ----- | --------- | -------- |
184
+ | Caracteres | 34 | 14 | -59% |
185
+ | Largura visual | Longa | Compacta | ✅ |
186
+ | Mobile friendly | ❌ | ✅ | Sim |
187
+ | Legibilidade | Média | Alta | Melhor |
188
+ | Profissionalismo | Bom | Excelente | Melhor |
189
+
190
+ ---
191
+
192
+ ## ✅ Benefícios Alcançados
193
+
194
+ ### Visual:
195
+
196
+ - ✅ Interface mais limpa
197
+ - ✅ Hierarquia mais clara
198
+ - ✅ Proporção visual melhor
199
+ - ✅ Aparência mais moderna
200
+
201
+ ### UX:
202
+
203
+ - ✅ Funciona em mobile
204
+ - ✅ Sem quebras de linha
205
+ - ✅ Fácil copiar/colar
206
+ - ✅ Menos distração visual
207
+
208
+ ### Técnico:
209
+
210
+ - ✅ Compatível com todos os clientes
211
+ - ✅ Renderiza correto em Markdown
212
+ - ✅ Performance não afetada
213
+ - ✅ Simples manter/atualizar
214
+
215
+ ---
216
+
217
+ ## 🎯 Próximos Passos
218
+
219
+ 1. **Testar em produção** com comentários reais
220
+ 2. **Coletar feedback** dos usuários
221
+ 3. **Validar mobile** em múltiplos dispositivos
222
+ 4. **Documentar padrão** para futuros comandos
223
+ 5. **Aplicar em outros comandos** se necessário
224
+
225
+ ---
226
+
227
+ ## 📚 Padrão Definido para Futuros Comandos
228
+
229
+ ### Template Padrão:
230
+
231
+ ```
232
+ [Emoji] [TÍTULO]
233
+
234
+ ━━━━━━━━━━━━━━
235
+
236
+ [Seção 1]
237
+ [Seção 2]
238
+ [Seção 3]
239
+
240
+ ━━━━━━━━━━━━━━
241
+
242
+ [Timestamp] | [Próximo]
243
+ ```
244
+
245
+ ### Aplicar em:
246
+
247
+ - ✅ /engineer/work
248
+ - ✅ /engineer/pre-pr
249
+ - ✅ /engineer/pr
250
+ - ✅ /engineer/pr-update
251
+ - ⭕ /engineer/hotfix (verificar)
252
+ - ⭕ Novos comandos (padrão)
253
+
254
+ ---
255
+
256
+ **Última atualização**: 2025-11-05
257
+ **Status**: Implementado e documentado
258
+ **Impacto**: Visual + UX melhorados em todos os comentários ClickUp 🎉