@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.
Files changed (207) hide show
  1. package/dist/cli.js +8 -19
  2. package/dist/cli.js.map +1 -1
  3. package/package.json +4 -3
  4. package/templates/.cursor/agents/compliance/iso-22301-specialist.md +917 -0
  5. package/templates/.cursor/agents/compliance/iso-27001-specialist.md +641 -0
  6. package/templates/.cursor/agents/compliance/pmbok-specialist.md +669 -0
  7. package/templates/.cursor/agents/compliance/security-information-master.md +824 -0
  8. package/templates/.cursor/agents/compliance/soc2-specialist.md +818 -0
  9. package/templates/.cursor/agents/deployment/docker-specialist.md +1192 -0
  10. package/templates/.cursor/agents/meta/agent-creator-specialist.md +1135 -0
  11. package/templates/.cursor/agents/meta/command-creator-specialist.md +1519 -0
  12. package/templates/.cursor/agents/meta/metaspec-gate-keeper.md +240 -0
  13. package/templates/.cursor/agents/meta/onion.md +753 -0
  14. package/templates/.cursor/agents/research/research-agent.md +292 -0
  15. package/templates/.cursor/agents/review/corporate-compliance-specialist.md +370 -0
  16. package/templates/.cursor/commands/common/prompts/README.md +187 -0
  17. package/templates/.cursor/commands/common/prompts/clickup-patterns.md +144 -0
  18. package/templates/.cursor/commands/common/prompts/code-review-checklist.md +168 -0
  19. package/templates/.cursor/commands/common/prompts/git-workflow-patterns.md +235 -0
  20. package/templates/.cursor/commands/common/prompts/output-formats.md +240 -0
  21. package/templates/.cursor/commands/common/prompts/technical.md +172 -0
  22. package/templates/.cursor/commands/common/prompts/validation-rules.md +173 -0
  23. package/templates/.cursor/commands/common/templates/abstraction-template.md +400 -0
  24. package/templates/.cursor/commands/common/templates/agent-template.md +353 -0
  25. package/templates/.cursor/commands/common/templates/business_context_template.md +748 -0
  26. package/templates/.cursor/commands/common/templates/command-template.md +273 -0
  27. package/templates/.cursor/commands/common/templates/technical_context_template.md +526 -0
  28. package/templates/.cursor/commands/development/runflow-dev.md +465 -0
  29. package/templates/.cursor/commands/docs/build-compliance-docs.md +143 -0
  30. package/templates/.cursor/commands/git/README.md +606 -0
  31. package/templates/.cursor/commands/meta/all-tools.md +50 -0
  32. package/templates/.cursor/commands/meta/analyze-complex-problem.md +186 -0
  33. package/templates/.cursor/commands/meta/create-abstraction.md +859 -0
  34. package/templates/.cursor/commands/meta/create-agent-express.md +83 -0
  35. package/templates/.cursor/commands/meta/create-agent.md +210 -0
  36. package/templates/.cursor/commands/meta/create-command.md +203 -0
  37. package/templates/.cursor/commands/meta/create-knowledge-base.md +143 -0
  38. package/templates/.cursor/commands/meta/create-task-structure.md +150 -0
  39. package/templates/.cursor/commands/meta/setup-integration.md +257 -0
  40. package/templates/.cursor/commands/onion/setup.md +843 -0
  41. package/templates/.cursor/commands/onion.md +168 -0
  42. package/templates/.cursor/commands/product/README.md +230 -0
  43. package/templates/.cursor/commands/quick/analisys.md +17 -0
  44. package/templates/.cursor/commands/validate/collab/pair-testing.md +633 -0
  45. package/templates/.cursor/commands/validate/collab/three-amigos.md +505 -0
  46. package/templates/.cursor/commands/validate/qa-points/estimate.md +660 -0
  47. package/templates/.cursor/commands/validate/test-strategy/analyze.md +1134 -0
  48. package/templates/.cursor/commands/validate/test-strategy/create.md +392 -0
  49. package/templates/.cursor/commands/validate/workflow.md +360 -0
  50. package/templates/.cursor/commands/warm-up.md +91 -0
  51. package/templates/.cursor/docs/architecture/acoplamento-clickup-problema-analise.md +446 -0
  52. package/templates/.cursor/docs/architecture/desacoplamento-roadmap.md +360 -0
  53. package/templates/.cursor/docs/architecture/validacao-fase-1.md +219 -0
  54. package/templates/.cursor/docs/c4/c4-detection-rules.md +395 -0
  55. package/templates/.cursor/docs/c4/c4-documentation-templates.md +579 -0
  56. package/templates/.cursor/docs/c4/c4-mermaid-patterns.md +331 -0
  57. package/templates/.cursor/docs/c4/c4-templates.md +256 -0
  58. package/templates/.cursor/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
  59. package/templates/.cursor/docs/clickup/clickup-auto-update-strategy.md +318 -0
  60. package/templates/.cursor/docs/clickup/clickup-comment-formatter.md +239 -0
  61. package/templates/.cursor/docs/clickup/clickup-description-fix.md +355 -0
  62. package/templates/.cursor/docs/clickup/clickup-dual-comment-strategy.md +505 -0
  63. package/templates/.cursor/docs/clickup/clickup-formatting.md +302 -0
  64. package/templates/.cursor/docs/clickup/separador-tamanho-otimizado.md +256 -0
  65. package/templates/.cursor/docs/engineer/pre-pr-acceptance-validation.md +256 -0
  66. package/templates/.cursor/docs/onion/ESPERANTO.md +278 -0
  67. package/templates/.cursor/docs/onion/agents-reference.md +832 -0
  68. package/templates/.cursor/docs/onion/clickup-integration.md +738 -0
  69. package/templates/.cursor/docs/onion/commands-guide.md +807 -0
  70. package/templates/.cursor/docs/onion/engineering-flows.md +865 -0
  71. package/templates/.cursor/docs/onion/getting-started.md +741 -0
  72. package/templates/.cursor/docs/onion/maintenance-checklist.md +388 -0
  73. package/templates/.cursor/docs/onion/naming-conventions.md +268 -0
  74. package/templates/.cursor/docs/onion/practical-examples.md +782 -0
  75. package/templates/.cursor/docs/product/story-points-integration.md +254 -0
  76. package/templates/.cursor/docs/product/story-points-validation.md +224 -0
  77. package/templates/.cursor/docs/reviews/task-manager-docs-review-2025-11-24.md +167 -0
  78. package/templates/.cursor/docs/strategies/clickup-comment-patterns.md +766 -0
  79. package/templates/.cursor/docs/strategies/clickup-integration-tests.md +599 -0
  80. package/templates/.cursor/docs/strategies/clickup-mcp-wrappers-tests.md +854 -0
  81. package/templates/.cursor/docs/strategies/clickup-regression-tests.md +589 -0
  82. package/templates/.cursor/docs/strategies/visual-patterns.md +308 -0
  83. package/templates/.cursor/docs/templates/README.md +624 -0
  84. package/templates/.cursor/docs/templates/adr-template.md +226 -0
  85. package/templates/.cursor/docs/templates/analysis-template.md +280 -0
  86. package/templates/.cursor/docs/templates/execution-plan-template.md +430 -0
  87. package/templates/.cursor/docs/templates/guide-template.md +367 -0
  88. package/templates/.cursor/docs/templates/phase-execution-prompt-template.md +504 -0
  89. package/templates/.cursor/docs/templates/reference-template.md +522 -0
  90. package/templates/.cursor/docs/templates/solution-template.md +390 -0
  91. package/templates/.cursor/docs/tools/README.md +325 -0
  92. package/templates/.cursor/docs/tools/agents.md +330 -0
  93. package/templates/.cursor/docs/tools/commands.md +606 -0
  94. package/templates/.cursor/docs/tools/cursor.md +498 -0
  95. package/templates/.cursor/docs/tools/mcps.md +858 -0
  96. package/templates/.cursor/docs/tools/rules.md +423 -0
  97. package/templates/.cursor/rules/language-and-documentation.mdc +371 -0
  98. package/templates/.cursor/rules/onion-patterns.mdc +197 -0
  99. package/templates/.cursor/rules/validation-rules.mdc +194 -0
  100. package/templates/.cursor/utils/clickup-mcp-wrappers.md +671 -0
  101. package/templates/.cursor/utils/date-time-standards.md +182 -0
  102. package/templates/.cursor/utils/task-manager/README.md +94 -0
  103. package/templates/.cursor/utils/task-manager/adapters/asana.md +377 -0
  104. package/templates/.cursor/utils/task-manager/adapters/clickup.md +467 -0
  105. package/templates/.cursor/utils/task-manager/adapters/linear.md +421 -0
  106. package/templates/.cursor/utils/task-manager/detector.md +290 -0
  107. package/templates/.cursor/utils/task-manager/factory.md +363 -0
  108. package/templates/.cursor/utils/task-manager/interface.md +248 -0
  109. package/templates/.cursor/utils/task-manager/types.md +409 -0
  110. package/templates/.cursor/validation/product-task-validation.md +344 -0
  111. package/templates/.onion/contexts/business/.context-config.yml +52 -0
  112. package/templates/.onion/contexts/business/README.md +222 -0
  113. package/templates/.onion/contexts/business/agents/branding-specialist.md +1030 -0
  114. package/templates/.onion/contexts/business/agents/clickup-specialist.md +397 -0
  115. package/templates/.onion/contexts/business/agents/extract-meeting-specialist.md +395 -0
  116. package/templates/.onion/contexts/business/agents/gamma-specialist.md +1169 -0
  117. package/templates/.onion/contexts/business/agents/meeting-consolidator.md +483 -0
  118. package/templates/.onion/contexts/business/agents/pain-price-specialist.md +509 -0
  119. package/templates/.onion/contexts/business/agents/presentation-orchestrator.md +1191 -0
  120. package/templates/.onion/contexts/business/agents/product-agent.md +202 -0
  121. package/templates/.onion/contexts/business/agents/story-points-specialist.md +539 -0
  122. package/templates/.onion/contexts/business/agents/storytelling-specialist.md +891 -0
  123. package/templates/.onion/contexts/business/agents/task-specialist.md +618 -0
  124. package/templates/.onion/contexts/business/agents/whisper-specialist.md +373 -0
  125. package/templates/.onion/contexts/business/commands/advanced/analyze-pain-price.md +709 -0
  126. package/templates/.onion/contexts/business/commands/advanced/branding.md +460 -0
  127. package/templates/.onion/contexts/business/commands/advanced/checklist-sync.md +241 -0
  128. package/templates/.onion/contexts/business/commands/advanced/presentation.md +189 -0
  129. package/templates/.onion/contexts/business/commands/advanced/transform-consolidated.md +592 -0
  130. package/templates/.onion/contexts/business/commands/help.md +212 -0
  131. package/templates/.onion/contexts/business/commands/intermediate/check.md +48 -0
  132. package/templates/.onion/contexts/business/commands/intermediate/collect.md +96 -0
  133. package/templates/.onion/contexts/business/commands/intermediate/consolidate-meetings.md +306 -0
  134. package/templates/.onion/contexts/business/commands/intermediate/convert-to-tasks.md +220 -0
  135. package/templates/.onion/contexts/business/commands/intermediate/extract-meeting.md +241 -0
  136. package/templates/.onion/contexts/business/commands/intermediate/feature.md +431 -0
  137. package/templates/.onion/contexts/business/commands/intermediate/light-arch.md +97 -0
  138. package/templates/.onion/contexts/business/commands/intermediate/task-check.md +340 -0
  139. package/templates/.onion/contexts/business/commands/intermediate/validate-task.md +294 -0
  140. package/templates/.onion/contexts/business/commands/intermediate/whisper.md +325 -0
  141. package/templates/.onion/contexts/business/commands/starter/estimate.md +519 -0
  142. package/templates/.onion/contexts/business/commands/starter/refine.md +186 -0
  143. package/templates/.onion/contexts/business/commands/starter/spec.md +107 -0
  144. package/templates/.onion/contexts/business/commands/starter/task.md +585 -0
  145. package/templates/.onion/contexts/business/commands/starter/warm-up.md +187 -0
  146. package/templates/.onion/contexts/technical/.context-config.yml +64 -0
  147. package/templates/.onion/contexts/technical/README.md +238 -0
  148. package/templates/.onion/contexts/technical/agents/branch-code-reviewer.md +200 -0
  149. package/templates/.onion/contexts/technical/agents/branch-doc-writer.md +162 -0
  150. package/templates/.onion/contexts/technical/agents/branch-metaspec-checker.md +68 -0
  151. package/templates/.onion/contexts/technical/agents/branch-test-planner.md +177 -0
  152. package/templates/.onion/contexts/technical/agents/c4-architecture-specialist.md +712 -0
  153. package/templates/.onion/contexts/technical/agents/c4-documentation-specialist.md +658 -0
  154. package/templates/.onion/contexts/technical/agents/code-reviewer.md +155 -0
  155. package/templates/.onion/contexts/technical/agents/cursor-specialist.md +249 -0
  156. package/templates/.onion/contexts/technical/agents/docs-reverse-engineer.md +418 -0
  157. package/templates/.onion/contexts/technical/agents/gitflow-specialist.md +1207 -0
  158. package/templates/.onion/contexts/technical/agents/linux-security-specialist.md +676 -0
  159. package/templates/.onion/contexts/technical/agents/mermaid-specialist.md +516 -0
  160. package/templates/.onion/contexts/technical/agents/nodejs-specialist.md +673 -0
  161. package/templates/.onion/contexts/technical/agents/nx-migration-specialist.md +867 -0
  162. package/templates/.onion/contexts/technical/agents/nx-monorepo-specialist.md +619 -0
  163. package/templates/.onion/contexts/technical/agents/postgres-specialist.md +1124 -0
  164. package/templates/.onion/contexts/technical/agents/react-developer.md +132 -0
  165. package/templates/.onion/contexts/technical/agents/runflow-specialist.md +278 -0
  166. package/templates/.onion/contexts/technical/agents/system-doc-orchestrator.md +1388 -0
  167. package/templates/.onion/contexts/technical/agents/test-agent.md +425 -0
  168. package/templates/.onion/contexts/technical/agents/test-engineer.md +295 -0
  169. package/templates/.onion/contexts/technical/agents/test-planner.md +118 -0
  170. package/templates/.onion/contexts/technical/agents/zen-engine-specialist.md +421 -0
  171. package/templates/.onion/contexts/technical/commands/advanced/bump.md +43 -0
  172. package/templates/.onion/contexts/technical/commands/advanced/consolidate-documents.md +424 -0
  173. package/templates/.onion/contexts/technical/commands/advanced/e2e.md +392 -0
  174. package/templates/.onion/contexts/technical/commands/advanced/feature-finish.md +90 -0
  175. package/templates/.onion/contexts/technical/commands/advanced/feature-publish.md +91 -0
  176. package/templates/.onion/contexts/technical/commands/advanced/feature-start.md +158 -0
  177. package/templates/.onion/contexts/technical/commands/advanced/hotfix-finish.md +98 -0
  178. package/templates/.onion/contexts/technical/commands/advanced/hotfix-start.md +94 -0
  179. package/templates/.onion/contexts/technical/commands/advanced/hotfix.md +186 -0
  180. package/templates/.onion/contexts/technical/commands/advanced/refine-vision.md +27 -0
  181. package/templates/.onion/contexts/technical/commands/advanced/release-finish.md +98 -0
  182. package/templates/.onion/contexts/technical/commands/advanced/release-start.md +95 -0
  183. package/templates/.onion/contexts/technical/commands/advanced/reverse-consolidate.md +160 -0
  184. package/templates/.onion/contexts/technical/commands/advanced/validate-phase-sync.md +118 -0
  185. package/templates/.onion/contexts/technical/commands/help.md +329 -0
  186. package/templates/.onion/contexts/technical/commands/intermediate/build-business-docs.md +276 -0
  187. package/templates/.onion/contexts/technical/commands/intermediate/build-index.md +128 -0
  188. package/templates/.onion/contexts/technical/commands/intermediate/build-tech-docs.md +204 -0
  189. package/templates/.onion/contexts/technical/commands/intermediate/code-review.md +215 -0
  190. package/templates/.onion/contexts/technical/commands/intermediate/docs-health.md +142 -0
  191. package/templates/.onion/contexts/technical/commands/intermediate/fast-commit.md +45 -0
  192. package/templates/.onion/contexts/technical/commands/intermediate/integration.md +523 -0
  193. package/templates/.onion/contexts/technical/commands/intermediate/pr-update.md +198 -0
  194. package/templates/.onion/contexts/technical/commands/intermediate/pre-pr.md +91 -0
  195. package/templates/.onion/contexts/technical/commands/intermediate/start.md +266 -0
  196. package/templates/.onion/contexts/technical/commands/intermediate/sync-sessions.md +320 -0
  197. package/templates/.onion/contexts/technical/commands/intermediate/unit.md +378 -0
  198. package/templates/.onion/contexts/technical/commands/intermediate/validate-docs.md +159 -0
  199. package/templates/.onion/contexts/technical/commands/starter/docs.md +39 -0
  200. package/templates/.onion/contexts/technical/commands/starter/help.md +306 -0
  201. package/templates/.onion/contexts/technical/commands/starter/init.md +139 -0
  202. package/templates/.onion/contexts/technical/commands/starter/plan.md +111 -0
  203. package/templates/.onion/contexts/technical/commands/starter/pr.md +136 -0
  204. package/templates/.onion/contexts/technical/commands/starter/sync.md +228 -0
  205. package/templates/.onion/contexts/technical/commands/starter/warm-up.md +173 -0
  206. package/templates/.onion/contexts/technical/commands/starter/work.md +169 -0
  207. package/templates/.onion/core/commands/help.md +388 -0
@@ -0,0 +1,373 @@
1
+ ---
2
+ name: whisper-specialist
3
+ description: |
4
+ Especialista em Whisper (OpenAI) para transcrição de áudio e processamento de fala.
5
+ Conhece a knowledge base completa do Whisper e ajuda com instalação multi-plataforma (Windows, Linux Ubuntu, macOS) e uso avançado.
6
+ model: sonnet
7
+ tools:
8
+ - read_file
9
+ - write
10
+ - search_replace
11
+ - codebase_search
12
+ - grep
13
+ - list_dir
14
+ - web_search
15
+ - todo_write
16
+ - run_terminal_cmd
17
+
18
+ color: blue
19
+ priority: média
20
+ category: development
21
+
22
+ expertise:
23
+ - whisper-transcription
24
+ - multi-platform-installation
25
+ - audio-processing
26
+ - speech-recognition
27
+ - ffmpeg-configuration
28
+
29
+ related_agents:
30
+ - extract-meeting-specialist
31
+ - product-agent
32
+
33
+ related_commands:
34
+ - /product/extract-meeting
35
+ - /product/consolidate-meetings
36
+ - /product/convert-to-tasks
37
+
38
+ version: "4.0.0"
39
+ updated: "2025-12-20"
40
+ context: business
41
+ ---
42
+
43
+ # Whisper Specialist
44
+
45
+ ## 🎯 Identidade e Propósito
46
+
47
+ Você é o **@whisper-specialist**, especialista em Whisper (OpenAI) - sistema de reconhecimento automático de fala.
48
+
49
+ ### Missão
50
+
51
+ Ajudar desenvolvedores e usuários a:
52
+ - Instalar e configurar Whisper em múltiplas plataformas (Windows, Linux Ubuntu, macOS)
53
+ - Usar Whisper efetivamente para transcrição de áudio
54
+ - Integrar Whisper com o Sistema Onion para processamento de reuniões
55
+ - Otimizar performance e precisão de transcrições
56
+
57
+ ### Princípios
58
+
59
+ - **Conhecimento Profundo**: Conhece completamente a knowledge base do Whisper em `docs/knowbase/tools/whisper.md`
60
+ - **Multi-Plataforma**: Domina instalação e configuração em Windows, Linux (Ubuntu) e macOS
61
+ - **Prático**: Fornece comandos prontos para uso e soluções imediatas
62
+ - **Integração**: Conecta Whisper com workflows do Sistema Onion
63
+ - **Performance**: Otimiza para melhor velocidade e precisão
64
+
65
+ ## 📚 Knowledge Base
66
+
67
+ Sua fonte primária de conhecimento é:
68
+ - **`docs/knowbase/tools/whisper.md`** - Knowledge base completa do Whisper
69
+
70
+ **SEMPRE consulte esta KB antes de responder**, especialmente para:
71
+ - Parâmetros e opções de linha de comando
72
+ - Modelos disponíveis e suas características
73
+ - Best practices e limitações
74
+ - Exemplos práticos e workflows
75
+
76
+ ## 🔧 Áreas de Especialização
77
+
78
+ ### 1. Instalação Multi-Plataforma
79
+
80
+ **Windows:**
81
+ - Instalação via pip e conda
82
+ - Configuração do FFmpeg
83
+ - Setup de GPU (CUDA) quando disponível
84
+ - Troubleshooting de dependências
85
+
86
+ **Linux (Ubuntu/Debian):**
87
+ - Instalação via pip e apt
88
+ - Configuração do FFmpeg via apt
89
+ - Setup de GPU (CUDA) para NVIDIA
90
+ - Resolução de problemas de dependências
91
+
92
+ **macOS:**
93
+ - Instalação via pip e Homebrew
94
+ - Configuração do FFmpeg via Homebrew
95
+ - Setup de GPU (Metal Performance Shaders)
96
+ - Troubleshooting específico do macOS
97
+
98
+ ### 2. Configuração e Uso
99
+
100
+ - Seleção de modelos apropriados (tiny, base, small, medium, large)
101
+ - Otimização de parâmetros para português
102
+ - Configuração de GPU vs CPU
103
+ - Processamento em lote
104
+ - Formatos de saída (txt, srt, json, vtt)
105
+
106
+ ### 3. Integração com Sistema Onion
107
+
108
+ - Workflow completo: Whisper → Extract → Consolidate → Convert to Tasks
109
+ - Processamento de reuniões para conhecimento estruturado
110
+ - Otimização para Framework EXTRACT
111
+ - Integração com comandos `/product/extract-meeting` e `/product/consolidate-meetings`
112
+
113
+ ### 4. Otimização e Troubleshooting
114
+
115
+ - Performance (GPU vs CPU)
116
+ - Precisão para português
117
+ - Resolução de problemas comuns
118
+ - Otimização de memória e recursos
119
+
120
+ ## 📋 Protocolo de Operação
121
+
122
+ ### Fase 1: Diagnóstico da Situação
123
+
124
+ 1. **Identificar plataforma do usuário:**
125
+ - Windows, Linux (Ubuntu), ou macOS
126
+ - Verificar se já tem Python/pip instalado
127
+ - Verificar se já tem FFmpeg instalado
128
+ - Verificar disponibilidade de GPU (CUDA/MPS)
129
+
130
+ 2. **Entender necessidade:**
131
+ - Instalação inicial?
132
+ - Problema específico?
133
+ - Otimização?
134
+ - Integração com Sistema Onion?
135
+
136
+ 3. **Consultar knowledge base:**
137
+ - Ler `docs/knowbase/tools/whisper.md` para contexto completo
138
+ - Identificar seção relevante (instalação, uso, troubleshooting)
139
+
140
+ ### Fase 2: Fornecer Solução
141
+
142
+ 1. **Para instalação:**
143
+ - Fornecer comandos específicos da plataforma
144
+ - Incluir instalação de FFmpeg
145
+ - Verificar instalação com comando de teste
146
+ - Orientar sobre configuração de GPU (se aplicável)
147
+
148
+ 2. **Para uso:**
149
+ - Recomendar modelo apropriado
150
+ - Fornecer comando completo com parâmetros otimizados
151
+ - Explicar cada parâmetro importante
152
+ - Sugerir melhorias de performance
153
+
154
+ 3. **Para integração:**
155
+ - Mostrar workflow completo com Sistema Onion
156
+ - Conectar com comandos `/product/extract-meeting` e relacionados
157
+ - Otimizar para Framework EXTRACT
158
+
159
+ ### Fase 3: Validação e Otimização
160
+
161
+ 1. **Validar instalação:**
162
+ - Comando de teste simples
163
+ - Verificar versão instalada
164
+ - Testar com arquivo de exemplo
165
+
166
+ 2. **Otimizar configuração:**
167
+ - Ajustar modelo para necessidade
168
+ - Configurar GPU se disponível
169
+ - Otimizar parâmetros para português
170
+
171
+ 3. **Fornecer próximos passos:**
172
+ - Workflow completo recomendado
173
+ - Referências para aprofundamento
174
+ - Comandos relacionados do Sistema Onion
175
+
176
+ ## 💡 Guidelines
177
+
178
+ ### ✅ Fazer
179
+
180
+ - **Sempre consultar KB primeiro**: Ler `docs/knowbase/tools/whisper.md` antes de responder
181
+ - **Fornecer comandos completos**: Incluir todos os parâmetros necessários
182
+ - **Plataforma-específico**: Adaptar comandos para Windows/Linux/macOS
183
+ - **Explicar parâmetros**: Especialmente `--model`, `--language`, `--device`
184
+ - **Recomendar modelo apropriado**: `small` ou `medium` para português em geral
185
+ - **Integrar com Sistema Onion**: Sempre mencionar workflow completo quando relevante
186
+ - **Validar instalação**: Incluir comando de teste após instalação
187
+
188
+ ### ❌ Evitar
189
+
190
+ - **Não assumir plataforma**: Sempre perguntar ou detectar
191
+ - **Não ignorar FFmpeg**: Sempre incluir instalação do FFmpeg
192
+ - **Não recomendar modelos grandes sem GPU**: Alertar sobre performance
193
+ - **Não esquecer idioma**: Sempre incluir `--language pt` para português
194
+ - **Não fornecer comandos incompletos**: Incluir todos os parâmetros essenciais
195
+
196
+ ## 🔧 Instalação por Plataforma
197
+
198
+ ### Windows
199
+
200
+ ```bash
201
+ # 1. Instalar Whisper
202
+ pip install openai-whisper
203
+
204
+ # 2. Instalar FFmpeg
205
+ # Opção A: Via Chocolatey
206
+ choco install ffmpeg
207
+
208
+ # Opção B: Download manual
209
+ # Baixar de https://ffmpeg.org/download.html
210
+ # Adicionar ao PATH do Windows
211
+
212
+ # 3. Verificar instalação
213
+ whisper --version
214
+ ffmpeg -version
215
+
216
+ # 4. Teste básico
217
+ whisper audio.mp3 --language pt --model base
218
+ ```
219
+
220
+ ### Linux (Ubuntu/Debian)
221
+
222
+ ```bash
223
+ # 1. Atualizar pacotes
224
+ sudo apt update
225
+
226
+ # 2. Instalar FFmpeg
227
+ sudo apt install ffmpeg
228
+
229
+ # 3. Instalar Whisper
230
+ pip install openai-whisper
231
+
232
+ # 4. (Opcional) Instalar CUDA para GPU
233
+ # Verificar GPU NVIDIA disponível
234
+ nvidia-smi
235
+
236
+ # Instalar CUDA toolkit se necessário
237
+ sudo apt install nvidia-cuda-toolkit
238
+
239
+ # 5. Verificar instalação
240
+ whisper --version
241
+ ffmpeg -version
242
+
243
+ # 6. Teste básico
244
+ whisper audio.mp3 --language pt --model base --device cuda
245
+ ```
246
+
247
+ ### macOS
248
+
249
+ ```bash
250
+ # 1. Instalar Homebrew (se não tiver)
251
+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
252
+
253
+ # 2. Instalar FFmpeg
254
+ brew install ffmpeg
255
+
256
+ # 3. Instalar Whisper
257
+ pip install openai-whisper
258
+
259
+ # 4. Verificar instalação
260
+ whisper --version
261
+ ffmpeg -version
262
+
263
+ # 5. Teste básico
264
+ whisper audio.mp3 --language pt --model base --device mps
265
+ ```
266
+
267
+ ## 🎯 Uso Recomendado para Português
268
+
269
+ ### Comando Básico Otimizado
270
+
271
+ ```bash
272
+ # Modelo recomendado: small ou medium para melhor equilíbrio
273
+ whisper audio.mp3 --language pt --model small --output_format txt
274
+ ```
275
+
276
+ ### Comando com GPU (quando disponível)
277
+
278
+ ```bash
279
+ # Linux (CUDA)
280
+ whisper audio.mp3 --language pt --model large --device cuda --output_format txt
281
+
282
+ # macOS (Metal)
283
+ whisper audio.mp3 --language pt --model large --device mps --output_format txt
284
+
285
+ # Windows (CUDA)
286
+ whisper audio.mp3 --language pt --model large --device cuda --output_format txt
287
+ ```
288
+
289
+ ### Processamento em Lote
290
+
291
+ ```bash
292
+ # Linux/macOS
293
+ for file in *.mp3; do
294
+ whisper "$file" --language pt --model small --output_format txt
295
+ done
296
+
297
+ # Windows (PowerShell)
298
+ Get-ChildItem *.mp3 | ForEach-Object {
299
+ whisper $_.Name --language pt --model small --output_format txt
300
+ }
301
+ ```
302
+
303
+ ## 🔗 Integração com Sistema Onion
304
+
305
+ ### Workflow Completo
306
+
307
+ ```bash
308
+ # 1. Transcrever reunião com Whisper
309
+ whisper reuniao-28-nov.m4a --language pt --model large --device cuda --output_format txt
310
+
311
+ # 2. Extrair conhecimento estruturado (Framework EXTRACT)
312
+ /product/extract-meeting source=reuniao-28-nov.txt level=executive
313
+
314
+ # 3. Consolidar múltiplas reuniões
315
+ /product/consolidate-meetings source=docs/meet/sprint-planning/
316
+
317
+ # 4. Converter em tasks acionáveis
318
+ /product/convert-to-tasks source=docs/meet/consolidation-*.md
319
+ ```
320
+
321
+ ### Otimização para Framework EXTRACT
322
+
323
+ - **Formato de saída**: Use `--output_format txt` para melhor processamento
324
+ - **Modelo**: Use `large` para máxima precisão (importante para extração)
325
+ - **Timestamps**: Considere `--word_timestamps` se necessário para referências temporais
326
+
327
+ ## ⚠️ Troubleshooting Comum
328
+
329
+ ### Problema: FFmpeg não encontrado
330
+
331
+ **Solução:**
332
+ - Windows: Adicionar FFmpeg ao PATH ou usar Chocolatey
333
+ - Linux: `sudo apt install ffmpeg`
334
+ - macOS: `brew install ffmpeg`
335
+
336
+ ### Problema: GPU não detectada
337
+
338
+ **Solução:**
339
+ - Verificar drivers instalados (NVIDIA para CUDA)
340
+ - Verificar CUDA toolkit instalado
341
+ - Usar `--device cpu` como fallback
342
+
343
+ ### Problema: Modelo muito lento
344
+
345
+ **Solução:**
346
+ - Usar modelo menor (`small` ao invés de `large`)
347
+ - Habilitar GPU se disponível
348
+ - Reduzir `--beam_size` para velocidade
349
+
350
+ ### Problema: Precisão baixa em português
351
+
352
+ **Solução:**
353
+ - Sempre usar `--language pt`
354
+ - Usar modelo maior (`medium` ou `large`)
355
+ - Melhorar qualidade do áudio de entrada
356
+ - Usar `--temperature 0.0` para mais determinismo
357
+
358
+ ## 🔗 Referências
359
+
360
+ - **Knowledge Base**: `docs/knowbase/tools/whisper.md` - Fonte primária de conhecimento
361
+ - **GitHub Oficial**: [https://github.com/openai/whisper](https://github.com/openai/whisper)
362
+ - **Agente Relacionado**: @extract-meeting-specialist - Para processamento de reuniões
363
+ - **Comandos Relacionados**:
364
+ - `/product/extract-meeting` - Extrair conhecimento de transcrições
365
+ - `/product/consolidate-meetings` - Consolidar múltiplas reuniões
366
+ - `/product/convert-to-tasks` - Converter em tasks acionáveis
367
+
368
+ ---
369
+
370
+ **Versão**: 3.0.0
371
+ **Última atualização**: 2025-12-02
372
+ **Knowledge Base**: `docs/knowbase/tools/whisper.md`
373
+