@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,220 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: convert-to-tasks
|
|
3
|
+
description: |
|
|
4
|
+
Converte documentos consolidados em tasks organizadas hierarquicamente.
|
|
5
|
+
Delega para comandos existentes do Sistema Onion para criação de tasks.
|
|
6
|
+
model: sonnet
|
|
7
|
+
|
|
8
|
+
parameters:
|
|
9
|
+
- name: source
|
|
10
|
+
description: Arquivo consolidado ou pasta contendo consolidações
|
|
11
|
+
required: true
|
|
12
|
+
|
|
13
|
+
category: product
|
|
14
|
+
tags:
|
|
15
|
+
- task-generation
|
|
16
|
+
- consolidated-processing
|
|
17
|
+
- knowledge-transformation
|
|
18
|
+
|
|
19
|
+
version: "4.0.0"
|
|
20
|
+
updated: "2025-12-20"
|
|
21
|
+
|
|
22
|
+
related_commands:
|
|
23
|
+
- /product/task
|
|
24
|
+
- /product/collect
|
|
25
|
+
- /product/consolidate-meetings
|
|
26
|
+
- /docs/consolidate-documents
|
|
27
|
+
|
|
28
|
+
related_agents:
|
|
29
|
+
- product-agent
|
|
30
|
+
level: intermediate
|
|
31
|
+
context: business
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
# 🔄 Converter para Tasks
|
|
35
|
+
|
|
36
|
+
Converte documentos consolidados em tasks usando comandos existentes do Sistema Onion.
|
|
37
|
+
|
|
38
|
+
## 🎯 Objetivo
|
|
39
|
+
|
|
40
|
+
Transformar conhecimento consolidado em tasks acionáveis delegando para comandos especializados:
|
|
41
|
+
- Analisa documento consolidado
|
|
42
|
+
- Extrai elementos acionáveis
|
|
43
|
+
- Cria tasks usando `/product/task` ou `/product/collect`
|
|
44
|
+
|
|
45
|
+
## ⚡ Fluxo de Execução
|
|
46
|
+
|
|
47
|
+
### Passo 1: Identificar Arquivos Relevantes (Análise Inteligente)
|
|
48
|
+
|
|
49
|
+
**SE `{{source}}` é arquivo:**
|
|
50
|
+
- Usar arquivo diretamente
|
|
51
|
+
|
|
52
|
+
**SE `{{source}}` é pasta:**
|
|
53
|
+
- Listar todos os arquivos markdown na pasta (recursivo)
|
|
54
|
+
- Delegar para `@product-agent` identificar arquivos relevantes
|
|
55
|
+
|
|
56
|
+
```markdown
|
|
57
|
+
@product-agent
|
|
58
|
+
|
|
59
|
+
Analise os arquivos abaixo e identifique quais são relevantes para converter em tasks:
|
|
60
|
+
|
|
61
|
+
**Arquivos na pasta {{source}}:**
|
|
62
|
+
{{lista_de_todos_arquivos_markdown_com_paths}}
|
|
63
|
+
|
|
64
|
+
**Critérios para identificar arquivos relevantes:**
|
|
65
|
+
1. **Documentos Consolidados:**
|
|
66
|
+
- Contém seções como "Tarefas", "Decisões", "Gaps", "Insights"
|
|
67
|
+
- Estrutura de consolidação (divergências, convergências, etc)
|
|
68
|
+
- Metadados de consolidação (data, origem, participantes)
|
|
69
|
+
- Formato estruturado de conhecimento consolidado
|
|
70
|
+
|
|
71
|
+
2. **Arquivos Relacionados (que ajudam a construir contexto):**
|
|
72
|
+
- Análises e estudos relacionados
|
|
73
|
+
- Documentos de evolução e refinamento
|
|
74
|
+
- Especificações e requisitos relacionados
|
|
75
|
+
- Notas e rascunhos que complementam o conhecimento
|
|
76
|
+
- Documentos de contexto de negócio ou técnico relacionados
|
|
77
|
+
|
|
78
|
+
3. **Evitar Duplicatas:**
|
|
79
|
+
- Não incluir versões antigas de documentos já consolidados
|
|
80
|
+
- Não incluir rascunhos que foram incorporados em documentos finais
|
|
81
|
+
- Priorizar documentos mais recentes e completos
|
|
82
|
+
- Identificar documentos que são evoluções/refinamentos de outros
|
|
83
|
+
|
|
84
|
+
**Para cada arquivo, forneça:**
|
|
85
|
+
- ✅/❌ Relevante para conversão em tasks?
|
|
86
|
+
- Tipo: consolidado | análise | especificação | contexto | outro
|
|
87
|
+
- Relação com outros arquivos (evolução de X, complementa Y, etc)
|
|
88
|
+
- Prioridade de inclusão (alta/média/baixa)
|
|
89
|
+
- Justificativa breve
|
|
90
|
+
|
|
91
|
+
**Output:** Lista de arquivos relevantes ordenados por prioridade, sem duplicatas, com tipo e relação identificados.
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
**Processar arquivos identificados:**
|
|
95
|
+
- Ordenar por prioridade (alta → média → baixa)
|
|
96
|
+
- Agrupar por tipo e relação
|
|
97
|
+
- Carregar conteúdo de todos os arquivos relevantes
|
|
98
|
+
|
|
99
|
+
### Passo 2: Analisar Arquivos Relevantes com @product-agent
|
|
100
|
+
|
|
101
|
+
Delegar análise completa considerando todos os arquivos relevantes identificados:
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
@product-agent
|
|
105
|
+
|
|
106
|
+
Analise os seguintes arquivos (consolidados e relacionados) e extraia elementos acionáveis organizados hierarquicamente:
|
|
107
|
+
|
|
108
|
+
**Arquivos Relevantes Identificados:**
|
|
109
|
+
{{lista_de_arquivos_relevantes_com_tipos_e_relações}}
|
|
110
|
+
|
|
111
|
+
**Conteúdo dos Arquivos:**
|
|
112
|
+
{{conteudo_de_todos_os_arquivos_relevantes}}
|
|
113
|
+
|
|
114
|
+
**Contexto:**
|
|
115
|
+
- Arquivos consolidados fornecem conhecimento estruturado
|
|
116
|
+
- Arquivos relacionados (análises, especificações, contexto) complementam e refinam
|
|
117
|
+
- Considerar evolução e refinamento entre documentos relacionados
|
|
118
|
+
|
|
119
|
+
**Extraia:**
|
|
120
|
+
- Tarefas identificadas (com título, descrição, owner, deadline, prioridade)
|
|
121
|
+
- Decisões que requerem implementação
|
|
122
|
+
- Gaps críticos que bloqueiam progresso
|
|
123
|
+
- Insights acionáveis de alto valor
|
|
124
|
+
- Hierarquia sugerida (Task → Subtasks)
|
|
125
|
+
- Contexto adicional de arquivos relacionados (para enriquecer tasks)
|
|
126
|
+
|
|
127
|
+
**Output:** Lista estruturada de tasks prontas para criação, considerando contexto completo de todos os arquivos relevantes.
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Passo 3: Criar Tasks usando Comandos Existentes
|
|
131
|
+
|
|
132
|
+
Para cada task identificada, usar comandos existentes:
|
|
133
|
+
|
|
134
|
+
**Para tasks estruturadas (com subtasks):**
|
|
135
|
+
```markdown
|
|
136
|
+
Use /product/task para criar task principal com decomposição hierárquica:
|
|
137
|
+
/product/task "{{descricao_completa_da_task}}"
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**Para tasks simples ou ideias:**
|
|
141
|
+
```markdown
|
|
142
|
+
Use /product/collect para criar task de ideia/bug:
|
|
143
|
+
/product/collect "{{titulo_da_task}}"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**Nota:** Os comandos `/product/task` e `/product/collect` já:
|
|
147
|
+
- Detectam Task Manager automaticamente
|
|
148
|
+
- Criam tasks e subtasks hierarquicamente
|
|
149
|
+
- Estimam story points automaticamente
|
|
150
|
+
- Preservam contexto nos comentários
|
|
151
|
+
|
|
152
|
+
## 📤 Output Esperado
|
|
153
|
+
|
|
154
|
+
Lista de tasks criadas com IDs e URLs, apresentada de forma clara:
|
|
155
|
+
|
|
156
|
+
```
|
|
157
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
158
|
+
✅ CONVERSÃO CONCLUÍDA
|
|
159
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
160
|
+
|
|
161
|
+
📄 **Documento:** {{arquivo}}
|
|
162
|
+
📊 **Tasks Criadas:** {{total}}
|
|
163
|
+
|
|
164
|
+
{{lista_de_tasks_com_urls}}
|
|
165
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## 🎯 Casos de Uso
|
|
169
|
+
|
|
170
|
+
### Após Consolidar Reuniões
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
# 1. Consolidar reuniões
|
|
174
|
+
/product/consolidate-meetings "docs/meet/sprint-planning/"
|
|
175
|
+
|
|
176
|
+
# 2. Converter em tasks
|
|
177
|
+
/product/convert-to-tasks "docs/meet/consolidation-*.md"
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
### Após Consolidar Documentos
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
# 1. Consolidar documentos
|
|
184
|
+
/docs/consolidate-documents "docs/business-context/"
|
|
185
|
+
|
|
186
|
+
# 2. Converter em tasks
|
|
187
|
+
/product/convert-to-tasks "docs/consolidated/"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
## 🔗 Integração
|
|
191
|
+
|
|
192
|
+
Este comando delega para:
|
|
193
|
+
- **`@product-agent`** - Análise e extração
|
|
194
|
+
- **`/product/task`** - Criação de tasks estruturadas
|
|
195
|
+
- **`/product/collect`** - Criação de tasks simples
|
|
196
|
+
|
|
197
|
+
Todos os comandos já lidam com:
|
|
198
|
+
- Detecção automática de Task Manager
|
|
199
|
+
- Criação hierárquica (tasks e subtasks)
|
|
200
|
+
- Estimativas automáticas de story points
|
|
201
|
+
- Preservação de contexto
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
**Versão:** 3.0.0
|
|
206
|
+
**Última atualização:** 2025-12-02
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## 📚 Pré-requisitos
|
|
213
|
+
|
|
214
|
+
Domine comandos starter antes de usar este comando intermediate/advanced.
|
|
215
|
+
|
|
216
|
+
Consulte os comandos help para ver hierarquia completa e comandos relacionados:
|
|
217
|
+
- /business/help --level=starter
|
|
218
|
+
- /technical/help --level=starter
|
|
219
|
+
|
|
220
|
+
💡 Comandos intermediate/advanced assumem familiaridade com workflows básicos do contexto.
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: extract-meeting
|
|
3
|
+
description: |
|
|
4
|
+
Extração estruturada de conhecimento de transcrições de reuniões usando Framework EXTRACT.
|
|
5
|
+
Use para transformar arquivos de contexto bruto em artefatos de alto valor para humanos, sistemas e IA.
|
|
6
|
+
model: sonnet
|
|
7
|
+
|
|
8
|
+
parameters:
|
|
9
|
+
- name: source
|
|
10
|
+
description: Caminho do arquivo ou pasta com transcrição(ões)
|
|
11
|
+
required: true
|
|
12
|
+
- name: level
|
|
13
|
+
description: Nível de output (compact, executive, complete, graph)
|
|
14
|
+
required: false
|
|
15
|
+
- name: focus
|
|
16
|
+
description: Foco específico (decisions, tasks, gaps, all)
|
|
17
|
+
required: false
|
|
18
|
+
|
|
19
|
+
category: product
|
|
20
|
+
tags:
|
|
21
|
+
- meeting
|
|
22
|
+
- extraction
|
|
23
|
+
- knowledge-base
|
|
24
|
+
- documentation
|
|
25
|
+
|
|
26
|
+
version: "4.0.0"
|
|
27
|
+
updated: "2025-12-20"
|
|
28
|
+
|
|
29
|
+
related_commands:
|
|
30
|
+
- /product/task
|
|
31
|
+
- /docs/build-tech-docs
|
|
32
|
+
- /meta/create-knowledge-base
|
|
33
|
+
|
|
34
|
+
related_agents:
|
|
35
|
+
- extract-meeting-specialist
|
|
36
|
+
- product-agent
|
|
37
|
+
- task-specialist
|
|
38
|
+
|
|
39
|
+
knowledge_bases:
|
|
40
|
+
- docs/knowbase/concepts/meeting-transcription-to-knowledge-base.md
|
|
41
|
+
level: intermediate
|
|
42
|
+
context: business
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
# 📋 Extrair Conhecimento de Reunião
|
|
46
|
+
|
|
47
|
+
Transformação de transcrições brutas em conhecimento estruturado usando o Framework EXTRACT.
|
|
48
|
+
|
|
49
|
+
## 🎯 Objetivo
|
|
50
|
+
|
|
51
|
+
Processar transcrições de reuniões e gerar outputs estruturados consumíveis por humanos, sistemas e IA, seguindo as 7 dimensões do Framework EXTRACT.
|
|
52
|
+
|
|
53
|
+
## ⚡ Fluxo de Execução
|
|
54
|
+
|
|
55
|
+
### Passo 1: Validar Input
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Verificar se source existe
|
|
59
|
+
test -e "{{source}}" || echo "❌ Arquivo/pasta não encontrado"
|
|
60
|
+
|
|
61
|
+
# Identificar tipo (arquivo ou pasta)
|
|
62
|
+
if [ -d "{{source}}" ]; then
|
|
63
|
+
echo "📁 Processando pasta com múltiplos arquivos"
|
|
64
|
+
FILES=$(find "{{source}}" -type f \( -name "*.txt" -o -name "*.md" \))
|
|
65
|
+
else
|
|
66
|
+
echo "📄 Processando arquivo único"
|
|
67
|
+
FILES="{{source}}"
|
|
68
|
+
fi
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Passo 2: Ler Conteúdo
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
# Ler transcrição(ões)
|
|
75
|
+
read_file "{{source}}"
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
### Passo 3: Aplicar Framework EXTRACT
|
|
79
|
+
|
|
80
|
+
Invocar `@extract-meeting-specialist` com instruções:
|
|
81
|
+
|
|
82
|
+
```markdown
|
|
83
|
+
## Tarefa
|
|
84
|
+
Processar a transcrição abaixo aplicando o Framework EXTRACT completo.
|
|
85
|
+
|
|
86
|
+
## Framework EXTRACT (7 Dimensões)
|
|
87
|
+
- **E**ssência: Resumo executivo em 3 linhas
|
|
88
|
+
- **X**pectativas: Objetivos da reunião e status (atingido/parcial/não)
|
|
89
|
+
- **T**arefas: Ações definidas (quem, o quê, quando)
|
|
90
|
+
- **R**esoluções: Decisões tomadas com justificativa
|
|
91
|
+
- **A**mbiguidades: Gaps, contradições, pontos não resolvidos
|
|
92
|
+
- **C**onexões: Dependências, stakeholders, documentos relacionados
|
|
93
|
+
- **T**imeline: Datas e marcos mencionados
|
|
94
|
+
|
|
95
|
+
## Nível de Output
|
|
96
|
+
{{level}} (default: executive)
|
|
97
|
+
|
|
98
|
+
## Foco
|
|
99
|
+
{{focus}} (default: all)
|
|
100
|
+
|
|
101
|
+
## Regras
|
|
102
|
+
1. NUNCA inventar informações — usar [INFERIDO] ou [NÃO ESPECIFICADO]
|
|
103
|
+
2. Indicar confidence level em decisões (high/medium/low)
|
|
104
|
+
3. Capturar TODOS os gaps — o que NÃO foi decidido é crítico
|
|
105
|
+
4. Tasks devem ter owner + deadline sempre que possível
|
|
106
|
+
5. Preservar citações importantes entre aspas
|
|
107
|
+
|
|
108
|
+
## Transcrição
|
|
109
|
+
[CONTEÚDO DO ARQUIVO]
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### Passo 4: Gerar Output
|
|
113
|
+
|
|
114
|
+
**Nível `compact`:**
|
|
115
|
+
```markdown
|
|
116
|
+
## Reunião: [Título] | [Data]
|
|
117
|
+
**Decisão**: [Principal decisão]
|
|
118
|
+
**Ações**: [Nome] faz [quê] até [quando]
|
|
119
|
+
**Pendente**: [Principal gap]
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Nível `executive`:**
|
|
123
|
+
```markdown
|
|
124
|
+
## [Título] - [Data]
|
|
125
|
+
|
|
126
|
+
### Resumo
|
|
127
|
+
[3-5 linhas]
|
|
128
|
+
|
|
129
|
+
### Decisões
|
|
130
|
+
- ✅ [Decisão 1]
|
|
131
|
+
- ✅ [Decisão 2]
|
|
132
|
+
|
|
133
|
+
### Ações
|
|
134
|
+
| Responsável | Ação | Prazo |
|
|
135
|
+
|-------------|------|-------|
|
|
136
|
+
| [Nome] | [Descrição] | [Data] |
|
|
137
|
+
|
|
138
|
+
### Pendências
|
|
139
|
+
- ⚠️ [Gap 1]
|
|
140
|
+
- ⚠️ [Gap 2]
|
|
141
|
+
|
|
142
|
+
### Timeline
|
|
143
|
+
- 📅 [Data]: [Marco]
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
**Nível `complete`:**
|
|
147
|
+
Output YAML completo seguindo schema do knowledge base.
|
|
148
|
+
|
|
149
|
+
**Nível `graph`:**
|
|
150
|
+
JSON com entidades e relacionamentos para sistemas.
|
|
151
|
+
|
|
152
|
+
### Passo 5: Salvar Resultado
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
# Determinar nome do output
|
|
156
|
+
OUTPUT_NAME=$(basename "{{source}}" | sed 's/\.[^.]*$//')
|
|
157
|
+
OUTPUT_FILE="docs/meetings/${OUTPUT_NAME}-extract.md"
|
|
158
|
+
|
|
159
|
+
# Criar diretório se não existir
|
|
160
|
+
mkdir -p docs/meetings/
|
|
161
|
+
|
|
162
|
+
# Salvar
|
|
163
|
+
write "${OUTPUT_FILE}"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## 📤 Output Esperado
|
|
167
|
+
|
|
168
|
+
```
|
|
169
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
170
|
+
✅ EXTRAÇÃO CONCLUÍDA
|
|
171
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
172
|
+
|
|
173
|
+
📁 Arquivo: docs/meetings/[nome]-extract.md
|
|
174
|
+
|
|
175
|
+
📊 Extração EXTRACT:
|
|
176
|
+
∟ Essência: ✅
|
|
177
|
+
∟ Expectativas: ✅
|
|
178
|
+
∟ Tarefas: [N] itens
|
|
179
|
+
∟ Resoluções: [N] decisões
|
|
180
|
+
∟ Ambiguidades: [N] gaps
|
|
181
|
+
∟ Conexões: [N] links
|
|
182
|
+
∟ Timeline: [N] datas
|
|
183
|
+
|
|
184
|
+
📈 Qualidade:
|
|
185
|
+
∟ Confidence Score: [0.X]
|
|
186
|
+
∟ Tasks com Owner: [X]%
|
|
187
|
+
∟ Tasks com Deadline: [X]%
|
|
188
|
+
∟ Gaps com Owner Sugerido: [X]%
|
|
189
|
+
|
|
190
|
+
🚀 Próximos Passos:
|
|
191
|
+
1. Revisar gaps críticos
|
|
192
|
+
2. Validar decisões com participantes
|
|
193
|
+
3. Criar tasks no gerenciador (@task-specialist)
|
|
194
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
## 🎯 Exemplos de Uso
|
|
198
|
+
|
|
199
|
+
```bash
|
|
200
|
+
# Extrair reunião específica (nível executivo default)
|
|
201
|
+
/product/extract-meeting source=rhilo-reuniao-28-nov.txt
|
|
202
|
+
|
|
203
|
+
# Nível completo com YAML
|
|
204
|
+
/product/extract-meeting source=reuniao.txt level=complete
|
|
205
|
+
|
|
206
|
+
# Foco apenas em decisões
|
|
207
|
+
/product/extract-meeting source=reuniao.txt focus=decisions
|
|
208
|
+
|
|
209
|
+
# Processar pasta de contexto
|
|
210
|
+
/product/extract-meeting source=contextos/projeto-x/
|
|
211
|
+
|
|
212
|
+
# Gerar grafo para sistemas
|
|
213
|
+
/product/extract-meeting source=reuniao.txt level=graph
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## 🔗 Referências
|
|
217
|
+
|
|
218
|
+
- **Agente**: `@extract-meeting-specialist`
|
|
219
|
+
- **Knowledge Base**: `docs/knowbase/concepts/meeting-transcription-to-knowledge-base.md`
|
|
220
|
+
- **Framework**: EXTRACT (7 dimensões)
|
|
221
|
+
|
|
222
|
+
## ⚠️ Notas
|
|
223
|
+
|
|
224
|
+
- Processar em até 24h após reunião (contexto fresco)
|
|
225
|
+
- Validar decisões críticas com participantes
|
|
226
|
+
- Gaps são tão importantes quanto decisões
|
|
227
|
+
- Para criar tasks automaticamente, usar `@task-specialist` após extração
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
---
|
|
232
|
+
|
|
233
|
+
## 📚 Pré-requisitos
|
|
234
|
+
|
|
235
|
+
Domine comandos starter antes de usar este comando intermediate/advanced.
|
|
236
|
+
|
|
237
|
+
Consulte os comandos help para ver hierarquia completa:
|
|
238
|
+
- /business/help --level=starter
|
|
239
|
+
- /technical/help --level=starter
|
|
240
|
+
|
|
241
|
+
💡 Comandos intermediate/advanced assumem familiaridade com workflows básicos.
|