@onion-architect-ai/cli 4.1.0-beta.1 → 4.1.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +8 -7
- package/dist/cli.js.map +1 -1
- package/package.json +4 -3
- package/templates/.cursor/agents/compliance/iso-22301-specialist.md +917 -0
- package/templates/.cursor/agents/compliance/iso-27001-specialist.md +641 -0
- package/templates/.cursor/agents/compliance/pmbok-specialist.md +669 -0
- package/templates/.cursor/agents/compliance/security-information-master.md +824 -0
- package/templates/.cursor/agents/compliance/soc2-specialist.md +818 -0
- package/templates/.cursor/agents/deployment/docker-specialist.md +1192 -0
- package/templates/.cursor/agents/meta/agent-creator-specialist.md +1135 -0
- package/templates/.cursor/agents/meta/command-creator-specialist.md +1519 -0
- package/templates/.cursor/agents/meta/metaspec-gate-keeper.md +240 -0
- package/templates/.cursor/agents/meta/onion.md +753 -0
- package/templates/.cursor/agents/research/research-agent.md +292 -0
- package/templates/.cursor/agents/review/corporate-compliance-specialist.md +370 -0
- package/templates/.cursor/commands/common/prompts/README.md +187 -0
- package/templates/.cursor/commands/common/prompts/clickup-patterns.md +144 -0
- package/templates/.cursor/commands/common/prompts/code-review-checklist.md +168 -0
- package/templates/.cursor/commands/common/prompts/git-workflow-patterns.md +235 -0
- package/templates/.cursor/commands/common/prompts/output-formats.md +240 -0
- package/templates/.cursor/commands/common/prompts/technical.md +172 -0
- package/templates/.cursor/commands/common/prompts/validation-rules.md +173 -0
- package/templates/.cursor/commands/common/templates/abstraction-template.md +400 -0
- package/templates/.cursor/commands/common/templates/agent-template.md +353 -0
- package/templates/.cursor/commands/common/templates/business_context_template.md +748 -0
- package/templates/.cursor/commands/common/templates/command-template.md +273 -0
- package/templates/.cursor/commands/common/templates/technical_context_template.md +526 -0
- package/templates/.cursor/commands/development/runflow-dev.md +465 -0
- package/templates/.cursor/commands/docs/build-compliance-docs.md +143 -0
- package/templates/.cursor/commands/git/README.md +606 -0
- package/templates/.cursor/commands/meta/all-tools.md +50 -0
- package/templates/.cursor/commands/meta/analyze-complex-problem.md +186 -0
- package/templates/.cursor/commands/meta/create-abstraction.md +859 -0
- package/templates/.cursor/commands/meta/create-agent-express.md +83 -0
- package/templates/.cursor/commands/meta/create-agent.md +210 -0
- package/templates/.cursor/commands/meta/create-command.md +203 -0
- package/templates/.cursor/commands/meta/create-knowledge-base.md +143 -0
- package/templates/.cursor/commands/meta/create-task-structure.md +150 -0
- package/templates/.cursor/commands/meta/setup-integration.md +257 -0
- package/templates/.cursor/commands/onion/setup.md +843 -0
- package/templates/.cursor/commands/onion.md +168 -0
- package/templates/.cursor/commands/product/README.md +230 -0
- package/templates/.cursor/commands/quick/analisys.md +17 -0
- package/templates/.cursor/commands/validate/collab/pair-testing.md +633 -0
- package/templates/.cursor/commands/validate/collab/three-amigos.md +505 -0
- package/templates/.cursor/commands/validate/qa-points/estimate.md +660 -0
- package/templates/.cursor/commands/validate/test-strategy/analyze.md +1134 -0
- package/templates/.cursor/commands/validate/test-strategy/create.md +392 -0
- package/templates/.cursor/commands/validate/workflow.md +360 -0
- package/templates/.cursor/commands/warm-up.md +91 -0
- package/templates/.cursor/docs/architecture/acoplamento-clickup-problema-analise.md +446 -0
- package/templates/.cursor/docs/architecture/desacoplamento-roadmap.md +360 -0
- package/templates/.cursor/docs/architecture/validacao-fase-1.md +219 -0
- package/templates/.cursor/docs/c4/c4-detection-rules.md +395 -0
- package/templates/.cursor/docs/c4/c4-documentation-templates.md +579 -0
- package/templates/.cursor/docs/c4/c4-mermaid-patterns.md +331 -0
- package/templates/.cursor/docs/c4/c4-templates.md +256 -0
- package/templates/.cursor/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
- package/templates/.cursor/docs/clickup/clickup-auto-update-strategy.md +318 -0
- package/templates/.cursor/docs/clickup/clickup-comment-formatter.md +239 -0
- package/templates/.cursor/docs/clickup/clickup-description-fix.md +355 -0
- package/templates/.cursor/docs/clickup/clickup-dual-comment-strategy.md +505 -0
- package/templates/.cursor/docs/clickup/clickup-formatting.md +302 -0
- package/templates/.cursor/docs/clickup/separador-tamanho-otimizado.md +256 -0
- package/templates/.cursor/docs/engineer/pre-pr-acceptance-validation.md +256 -0
- package/templates/.cursor/docs/onion/ESPERANTO.md +278 -0
- package/templates/.cursor/docs/onion/agents-reference.md +832 -0
- package/templates/.cursor/docs/onion/clickup-integration.md +738 -0
- package/templates/.cursor/docs/onion/commands-guide.md +807 -0
- package/templates/.cursor/docs/onion/engineering-flows.md +865 -0
- package/templates/.cursor/docs/onion/getting-started.md +741 -0
- package/templates/.cursor/docs/onion/maintenance-checklist.md +388 -0
- package/templates/.cursor/docs/onion/naming-conventions.md +268 -0
- package/templates/.cursor/docs/onion/practical-examples.md +782 -0
- package/templates/.cursor/docs/product/story-points-integration.md +254 -0
- package/templates/.cursor/docs/product/story-points-validation.md +224 -0
- package/templates/.cursor/docs/reviews/task-manager-docs-review-2025-11-24.md +167 -0
- package/templates/.cursor/docs/strategies/clickup-comment-patterns.md +766 -0
- package/templates/.cursor/docs/strategies/clickup-integration-tests.md +599 -0
- package/templates/.cursor/docs/strategies/clickup-mcp-wrappers-tests.md +854 -0
- package/templates/.cursor/docs/strategies/clickup-regression-tests.md +589 -0
- package/templates/.cursor/docs/strategies/visual-patterns.md +308 -0
- package/templates/.cursor/docs/templates/README.md +624 -0
- package/templates/.cursor/docs/templates/adr-template.md +226 -0
- package/templates/.cursor/docs/templates/analysis-template.md +280 -0
- package/templates/.cursor/docs/templates/execution-plan-template.md +430 -0
- package/templates/.cursor/docs/templates/guide-template.md +367 -0
- package/templates/.cursor/docs/templates/phase-execution-prompt-template.md +504 -0
- package/templates/.cursor/docs/templates/reference-template.md +522 -0
- package/templates/.cursor/docs/templates/solution-template.md +390 -0
- package/templates/.cursor/docs/tools/README.md +325 -0
- package/templates/.cursor/docs/tools/agents.md +330 -0
- package/templates/.cursor/docs/tools/commands.md +606 -0
- package/templates/.cursor/docs/tools/cursor.md +498 -0
- package/templates/.cursor/docs/tools/mcps.md +858 -0
- package/templates/.cursor/docs/tools/rules.md +423 -0
- package/templates/.cursor/rules/language-and-documentation.mdc +371 -0
- package/templates/.cursor/rules/onion-patterns.mdc +197 -0
- package/templates/.cursor/rules/validation-rules.mdc +194 -0
- package/templates/.cursor/utils/clickup-mcp-wrappers.md +671 -0
- package/templates/.cursor/utils/date-time-standards.md +182 -0
- package/templates/.cursor/utils/task-manager/README.md +94 -0
- package/templates/.cursor/utils/task-manager/adapters/asana.md +377 -0
- package/templates/.cursor/utils/task-manager/adapters/clickup.md +467 -0
- package/templates/.cursor/utils/task-manager/adapters/linear.md +421 -0
- package/templates/.cursor/utils/task-manager/detector.md +290 -0
- package/templates/.cursor/utils/task-manager/factory.md +363 -0
- package/templates/.cursor/utils/task-manager/interface.md +248 -0
- package/templates/.cursor/utils/task-manager/types.md +409 -0
- package/templates/.cursor/validation/product-task-validation.md +344 -0
- package/templates/.onion/contexts/business/.context-config.yml +52 -0
- package/templates/.onion/contexts/business/README.md +222 -0
- package/templates/.onion/contexts/business/agents/branding-specialist.md +1030 -0
- package/templates/.onion/contexts/business/agents/clickup-specialist.md +397 -0
- package/templates/.onion/contexts/business/agents/extract-meeting-specialist.md +395 -0
- package/templates/.onion/contexts/business/agents/gamma-specialist.md +1169 -0
- package/templates/.onion/contexts/business/agents/meeting-consolidator.md +483 -0
- package/templates/.onion/contexts/business/agents/pain-price-specialist.md +509 -0
- package/templates/.onion/contexts/business/agents/presentation-orchestrator.md +1191 -0
- package/templates/.onion/contexts/business/agents/product-agent.md +202 -0
- package/templates/.onion/contexts/business/agents/story-points-specialist.md +539 -0
- package/templates/.onion/contexts/business/agents/storytelling-specialist.md +891 -0
- package/templates/.onion/contexts/business/agents/task-specialist.md +618 -0
- package/templates/.onion/contexts/business/agents/whisper-specialist.md +373 -0
- package/templates/.onion/contexts/business/commands/advanced/analyze-pain-price.md +709 -0
- package/templates/.onion/contexts/business/commands/advanced/branding.md +460 -0
- package/templates/.onion/contexts/business/commands/advanced/checklist-sync.md +241 -0
- package/templates/.onion/contexts/business/commands/advanced/presentation.md +189 -0
- package/templates/.onion/contexts/business/commands/advanced/transform-consolidated.md +592 -0
- package/templates/.onion/contexts/business/commands/help.md +212 -0
- package/templates/.onion/contexts/business/commands/intermediate/check.md +48 -0
- package/templates/.onion/contexts/business/commands/intermediate/collect.md +96 -0
- package/templates/.onion/contexts/business/commands/intermediate/consolidate-meetings.md +306 -0
- package/templates/.onion/contexts/business/commands/intermediate/convert-to-tasks.md +220 -0
- package/templates/.onion/contexts/business/commands/intermediate/extract-meeting.md +241 -0
- package/templates/.onion/contexts/business/commands/intermediate/feature.md +431 -0
- package/templates/.onion/contexts/business/commands/intermediate/light-arch.md +97 -0
- package/templates/.onion/contexts/business/commands/intermediate/task-check.md +340 -0
- package/templates/.onion/contexts/business/commands/intermediate/validate-task.md +294 -0
- package/templates/.onion/contexts/business/commands/intermediate/whisper.md +325 -0
- package/templates/.onion/contexts/business/commands/starter/estimate.md +519 -0
- package/templates/.onion/contexts/business/commands/starter/refine.md +186 -0
- package/templates/.onion/contexts/business/commands/starter/spec.md +107 -0
- package/templates/.onion/contexts/business/commands/starter/task.md +585 -0
- package/templates/.onion/contexts/business/commands/starter/warm-up.md +187 -0
- package/templates/.onion/contexts/technical/.context-config.yml +64 -0
- package/templates/.onion/contexts/technical/README.md +238 -0
- package/templates/.onion/contexts/technical/agents/branch-code-reviewer.md +200 -0
- package/templates/.onion/contexts/technical/agents/branch-doc-writer.md +162 -0
- package/templates/.onion/contexts/technical/agents/branch-metaspec-checker.md +68 -0
- package/templates/.onion/contexts/technical/agents/branch-test-planner.md +177 -0
- package/templates/.onion/contexts/technical/agents/c4-architecture-specialist.md +712 -0
- package/templates/.onion/contexts/technical/agents/c4-documentation-specialist.md +658 -0
- package/templates/.onion/contexts/technical/agents/code-reviewer.md +155 -0
- package/templates/.onion/contexts/technical/agents/cursor-specialist.md +249 -0
- package/templates/.onion/contexts/technical/agents/docs-reverse-engineer.md +418 -0
- package/templates/.onion/contexts/technical/agents/gitflow-specialist.md +1207 -0
- package/templates/.onion/contexts/technical/agents/linux-security-specialist.md +676 -0
- package/templates/.onion/contexts/technical/agents/mermaid-specialist.md +516 -0
- package/templates/.onion/contexts/technical/agents/nodejs-specialist.md +673 -0
- package/templates/.onion/contexts/technical/agents/nx-migration-specialist.md +867 -0
- package/templates/.onion/contexts/technical/agents/nx-monorepo-specialist.md +619 -0
- package/templates/.onion/contexts/technical/agents/postgres-specialist.md +1124 -0
- package/templates/.onion/contexts/technical/agents/react-developer.md +132 -0
- package/templates/.onion/contexts/technical/agents/runflow-specialist.md +278 -0
- package/templates/.onion/contexts/technical/agents/system-doc-orchestrator.md +1388 -0
- package/templates/.onion/contexts/technical/agents/test-agent.md +425 -0
- package/templates/.onion/contexts/technical/agents/test-engineer.md +295 -0
- package/templates/.onion/contexts/technical/agents/test-planner.md +118 -0
- package/templates/.onion/contexts/technical/agents/zen-engine-specialist.md +421 -0
- package/templates/.onion/contexts/technical/commands/advanced/bump.md +43 -0
- package/templates/.onion/contexts/technical/commands/advanced/consolidate-documents.md +424 -0
- package/templates/.onion/contexts/technical/commands/advanced/e2e.md +392 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-finish.md +90 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-publish.md +91 -0
- package/templates/.onion/contexts/technical/commands/advanced/feature-start.md +158 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix-finish.md +98 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix-start.md +94 -0
- package/templates/.onion/contexts/technical/commands/advanced/hotfix.md +186 -0
- package/templates/.onion/contexts/technical/commands/advanced/refine-vision.md +27 -0
- package/templates/.onion/contexts/technical/commands/advanced/release-finish.md +98 -0
- package/templates/.onion/contexts/technical/commands/advanced/release-start.md +95 -0
- package/templates/.onion/contexts/technical/commands/advanced/reverse-consolidate.md +160 -0
- package/templates/.onion/contexts/technical/commands/advanced/validate-phase-sync.md +118 -0
- package/templates/.onion/contexts/technical/commands/help.md +329 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-business-docs.md +276 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-index.md +128 -0
- package/templates/.onion/contexts/technical/commands/intermediate/build-tech-docs.md +204 -0
- package/templates/.onion/contexts/technical/commands/intermediate/code-review.md +215 -0
- package/templates/.onion/contexts/technical/commands/intermediate/docs-health.md +142 -0
- package/templates/.onion/contexts/technical/commands/intermediate/fast-commit.md +45 -0
- package/templates/.onion/contexts/technical/commands/intermediate/integration.md +523 -0
- package/templates/.onion/contexts/technical/commands/intermediate/pr-update.md +198 -0
- package/templates/.onion/contexts/technical/commands/intermediate/pre-pr.md +91 -0
- package/templates/.onion/contexts/technical/commands/intermediate/start.md +266 -0
- package/templates/.onion/contexts/technical/commands/intermediate/sync-sessions.md +320 -0
- package/templates/.onion/contexts/technical/commands/intermediate/unit.md +378 -0
- package/templates/.onion/contexts/technical/commands/intermediate/validate-docs.md +159 -0
- package/templates/.onion/contexts/technical/commands/starter/docs.md +39 -0
- package/templates/.onion/contexts/technical/commands/starter/help.md +306 -0
- package/templates/.onion/contexts/technical/commands/starter/init.md +139 -0
- package/templates/.onion/contexts/technical/commands/starter/plan.md +111 -0
- package/templates/.onion/contexts/technical/commands/starter/pr.md +136 -0
- package/templates/.onion/contexts/technical/commands/starter/sync.md +228 -0
- package/templates/.onion/contexts/technical/commands/starter/warm-up.md +173 -0
- package/templates/.onion/contexts/technical/commands/starter/work.md +169 -0
- package/templates/.onion/core/commands/help.md +388 -0
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: work
|
|
3
|
+
description: |
|
|
4
|
+
Continuar trabalho em feature ativa. Lê sessão e identifica próxima fase.
|
|
5
|
+
Atualiza progresso via Task Manager abstraction.
|
|
6
|
+
model: sonnet
|
|
7
|
+
category: engineer
|
|
8
|
+
tags: [development, workflow, session]
|
|
9
|
+
version: "4.0.0"
|
|
10
|
+
updated: "2025-12-20"
|
|
11
|
+
level: starter
|
|
12
|
+
context: technical
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# Engineer Work
|
|
16
|
+
|
|
17
|
+
Estamos atualmente trabalhando em uma funcionalidade que está especificada na seguinte pasta:
|
|
18
|
+
|
|
19
|
+
<folder>
|
|
20
|
+
#$ARGUMENTS
|
|
21
|
+
</folder>
|
|
22
|
+
|
|
23
|
+
Para trabalhar nisso, você deve:
|
|
24
|
+
|
|
25
|
+
- Ler todos os arquivos markdown na pasta
|
|
26
|
+
- Revisar o arquivo plan.md e identificar qual Fase está atualmente em progresso
|
|
27
|
+
- Apresentar ao usuário um plano para abordar a próxima fase
|
|
28
|
+
|
|
29
|
+
## 🔄 **Auto-Update Task Manager**
|
|
30
|
+
|
|
31
|
+
Este comando **automaticamente atualiza** a task durante desenvolvimento usando a abstração:
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
// Detectar provedor e obter adapter
|
|
35
|
+
const config = detectProvider();
|
|
36
|
+
const taskManager = getTaskManager();
|
|
37
|
+
|
|
38
|
+
if (!taskManager.isConfigured) {
|
|
39
|
+
console.warn('⚠️ Modo offline - progresso não será sincronizado');
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### **✅ Updates Automáticos A CADA FASE:**
|
|
44
|
+
- **Comentário de progresso** quando fase é completada
|
|
45
|
+
- **SUBTASK STATUS UPDATE** - Atualiza status da subtask correspondente para "done"
|
|
46
|
+
- **Atualização do plan.md** com status e decisões
|
|
47
|
+
- **Progresso % estimado** baseado nas fases concluídas
|
|
48
|
+
- **Timestamp de atividade** para tracking temporal
|
|
49
|
+
|
|
50
|
+
### **🔗 CRITICAL: Phase→Subtask Mapping**
|
|
51
|
+
**OBRIGATÓRIO**: Quando uma fase é completada, o sistema deve:
|
|
52
|
+
1. **Identificar subtask correspondente** via mapeamento estabelecido no context.md
|
|
53
|
+
2. **Atualizar status da subtask** para "done" automaticamente
|
|
54
|
+
3. **Documentar conclusão** com timestamp e métricas da fase
|
|
55
|
+
|
|
56
|
+
### **💬 Estratégia DUAL de Comentários:**
|
|
57
|
+
|
|
58
|
+
Ao completar uma fase, o sistema automaticamente:
|
|
59
|
+
|
|
60
|
+
1. **Cria comentário DETALHADO na SUBTASK**
|
|
61
|
+
2. **Cria comentário RESUMIDO na TASK PRINCIPAL**
|
|
62
|
+
|
|
63
|
+
### **📋 Identificação da Task:**
|
|
64
|
+
1. **Context.md**: Lê task-id do arquivo de contexto da sessão
|
|
65
|
+
2. **Sessão ativa**: Detecta automaticamente a sessão em `.cursor/sessions/`
|
|
66
|
+
3. **🆕 PHASE-SUBTASK MAPPING**: Lê mapeamento de context.md para correlacionar fases→subtasks
|
|
67
|
+
|
|
68
|
+
### **🗺️ SUBTASK MAPPING STRUCTURE (context.md):**
|
|
69
|
+
```markdown
|
|
70
|
+
## 📋 Phase-Subtask Mapping
|
|
71
|
+
- **Phase 1**: "Nome da Fase" → Subtask ID: [subtask-id-1]
|
|
72
|
+
- **Phase 2**: "Nome da Fase" → Subtask ID: [subtask-id-2]
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### **⚡ AUTOMATIC EXECUTION (Via Abstração):**
|
|
76
|
+
Quando uma fase é marcada como "Completada ✅" no plan.md, o sistema deve **EXECUTAR NESTA ORDEM**:
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
// 1. Obter task manager
|
|
80
|
+
const taskManager = getTaskManager();
|
|
81
|
+
|
|
82
|
+
if (taskManager.isConfigured) {
|
|
83
|
+
// 2. Comentário DETALHADO na SUBTASK
|
|
84
|
+
await taskManager.addComment(subtaskId, `
|
|
85
|
+
🔧 FASE COMPLETADA: ${phaseName}
|
|
86
|
+
|
|
87
|
+
━━━━━━━━━━━━━━
|
|
88
|
+
|
|
89
|
+
📁 ARQUIVOS MODIFICADOS:
|
|
90
|
+
${filesModified.map(f => ` ∟ ${f}`).join('\n')}
|
|
91
|
+
|
|
92
|
+
🔧 IMPLEMENTAÇÕES:
|
|
93
|
+
${implementations.map(impl => ` ▶ ${impl}`).join('\n')}
|
|
94
|
+
|
|
95
|
+
💡 DECISÕES TÉCNICAS:
|
|
96
|
+
${decisions.map(d => ` ∟ ${d}`).join('\n')}
|
|
97
|
+
|
|
98
|
+
🚀 PRÓXIMOS PASSOS:
|
|
99
|
+
∟ ${nextPhase}
|
|
100
|
+
|
|
101
|
+
━━━━━━━━━━━━━━
|
|
102
|
+
|
|
103
|
+
⏰ Completado: ${timestamp} | 🎯 Status: Done
|
|
104
|
+
`);
|
|
105
|
+
|
|
106
|
+
// 3. Atualizar STATUS da SUBTASK
|
|
107
|
+
await taskManager.updateStatus(subtaskId, 'done');
|
|
108
|
+
|
|
109
|
+
// 4. Comentário RESUMIDO na TASK PRINCIPAL
|
|
110
|
+
await taskManager.addComment(mainTaskId, `
|
|
111
|
+
📝 PROGRESSO: Fase ${phaseNum}/${totalPhases} Completada
|
|
112
|
+
|
|
113
|
+
✅ ${phaseName} - Concluída
|
|
114
|
+
∟ Subtask: #${subtaskId}
|
|
115
|
+
∟ Detalhes: Ver comentário na subtask
|
|
116
|
+
|
|
117
|
+
🎯 Próximo: Fase ${phaseNum + 1}/${totalPhases} - ${nextPhaseName}
|
|
118
|
+
|
|
119
|
+
⏰ ${timestamp}
|
|
120
|
+
`);
|
|
121
|
+
}
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Importante:
|
|
125
|
+
|
|
126
|
+
Quando você desenvolver o código para a fase atual, use os sub-agentes de desenvolvimento, code-review e teste quando apropriado para preservar o máximo possível do seu contexto.
|
|
127
|
+
|
|
128
|
+
Toda vez que completar uma fase do plano:
|
|
129
|
+
- **AUTO-UPDATE**: Adicione comentário de progresso via abstração
|
|
130
|
+
- **RASTREAMENTO**: Marque checkboxes na description correspondentes aos critérios completados
|
|
131
|
+
- Pause e peça ao usuário para validar seu código.
|
|
132
|
+
- Faça as mudanças necessárias até ser aprovado
|
|
133
|
+
- Atualize a fase correspondente no arquivo plan.md marcando o que foi feito e adicionando comentários úteis para o desenvolvedor que abordará as próximas fases, especialmente sobre questões, decisões, etc.
|
|
134
|
+
- Apenas inicie a próxima fase após o usuário concordar que você deve começar.
|
|
135
|
+
|
|
136
|
+
## 🔗 Referências
|
|
137
|
+
|
|
138
|
+
- Abstração: `.cursor/utils/task-manager/`
|
|
139
|
+
- Detector: `.cursor/utils/task-manager/detector.md`
|
|
140
|
+
- Factory: `.cursor/utils/task-manager/factory.md`
|
|
141
|
+
- Padrões de comentários: `common/prompts/clickup-patterns.md`
|
|
142
|
+
|
|
143
|
+
Agora, veja a fase atual de desenvolvimento e forneça um plano ao usuário sobre como abordá-la.
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 🚀 Próximos Passos
|
|
149
|
+
|
|
150
|
+
Durante o desenvolvimento, você pode precisar de:
|
|
151
|
+
|
|
152
|
+
1. **Validar antes de finalizar**:
|
|
153
|
+
```bash
|
|
154
|
+
/technical/pre-pr
|
|
155
|
+
```
|
|
156
|
+
Executa linting, testes e validações antes de criar PR.
|
|
157
|
+
|
|
158
|
+
2. **Criar Pull Request**:
|
|
159
|
+
```bash
|
|
160
|
+
/technical/pr
|
|
161
|
+
```
|
|
162
|
+
Gera PR com descrição automática baseada na sessão de desenvolvimento.
|
|
163
|
+
|
|
164
|
+
3. **Consultar agentes especializados**:
|
|
165
|
+
- `@react-developer` para dúvidas de frontend
|
|
166
|
+
- `@nodejs-specialist` para backend
|
|
167
|
+
- `@test-engineer` para testes
|
|
168
|
+
|
|
169
|
+
💡 **Dica**: O comando `/work` rastreia automaticamente seu progresso e atualiza o task manager configurado.
|
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: help
|
|
3
|
+
description: Help global do Sistema Onion - lista contextos disponíveis e sistema de níveis
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: core
|
|
6
|
+
tags: [help, discovery, onboarding, global]
|
|
7
|
+
version: "4.0.0"
|
|
8
|
+
updated: "2025-12-20"
|
|
9
|
+
level: starter
|
|
10
|
+
context: core
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# 🧅 Sistema Onion - Help Global
|
|
14
|
+
|
|
15
|
+
Bem-vindo ao **Sistema Onion v4.0** - Multi-Context Development Orchestrator!
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 🎯 O Que é o Sistema Onion?
|
|
20
|
+
|
|
21
|
+
O Onion é um **orquestrador de desenvolvimento multi-contexto** que organiza comandos, agentes e workflows para diferentes áreas da sua equipe, tudo em um único repositório monorepo.
|
|
22
|
+
|
|
23
|
+
### 🌟 Principais Características
|
|
24
|
+
|
|
25
|
+
- **Multi-Contexto**: Business, Technical, Customer Success, Compliance, Sales, Marketing
|
|
26
|
+
- **Sistema de Níveis**: Comandos organizados em starter/intermediate/advanced (80/15/5)
|
|
27
|
+
- **Descoberta Progressiva**: Comandos sugerem próximos passos automaticamente
|
|
28
|
+
- **IDE Agnóstico**: Funciona em Cursor, Windsurf, Claude Code
|
|
29
|
+
- **Onboarding Rápido**: 15-30 minutos vs 4-8 horas tradicional (90% redução)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 📊 Contextos Disponíveis
|
|
34
|
+
|
|
35
|
+
O Sistema Onion organiza comandos em **contextos especializados**:
|
|
36
|
+
|
|
37
|
+
### 🎯 Business Context
|
|
38
|
+
**Para**: Product Managers, Business Analysts, Stakeholders
|
|
39
|
+
**Comandos**: 20 (5 starter + 10 intermediate + 5 advanced)
|
|
40
|
+
**Agentes**: 12 especializados
|
|
41
|
+
**Onboarding**: ~90 minutos
|
|
42
|
+
|
|
43
|
+
**Use para**:
|
|
44
|
+
- Criar especificações de produto
|
|
45
|
+
- Estimar story points
|
|
46
|
+
- Gerenciar tasks e workflows de negócio
|
|
47
|
+
- Extrair e consolidar reuniões
|
|
48
|
+
- Análise de branding e posicionamento
|
|
49
|
+
|
|
50
|
+
**Começar**:
|
|
51
|
+
```bash
|
|
52
|
+
/business/help # Ver comandos disponíveis
|
|
53
|
+
/business/spec "feature" # Criar especificação
|
|
54
|
+
/business/task "task" # Criar task
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
### 💻 Technical Context
|
|
60
|
+
**Para**: Developers, Tech Leads, DevOps
|
|
61
|
+
**Comandos**: 36 (8 starter + 13 intermediate + 14 advanced)
|
|
62
|
+
**Agentes**: 23 especializados
|
|
63
|
+
**Onboarding**: ~120 minutos
|
|
64
|
+
|
|
65
|
+
**Use para**:
|
|
66
|
+
- Desenvolvimento de features
|
|
67
|
+
- Gestão de git workflows (gitflow)
|
|
68
|
+
- Code review e testes
|
|
69
|
+
- Documentação técnica
|
|
70
|
+
- Releases e hotfixes
|
|
71
|
+
|
|
72
|
+
**Começar**:
|
|
73
|
+
```bash
|
|
74
|
+
/technical/help # Ver comandos disponíveis
|
|
75
|
+
/technical/work "task-id" # Continuar desenvolvimento
|
|
76
|
+
/technical/start "feature" # Iniciar nova feature
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
### 👥 Customer Success Context
|
|
82
|
+
**Para**: CS Managers, Support Team
|
|
83
|
+
**Comandos**: Em desenvolvimento
|
|
84
|
+
**Agentes**: Em desenvolvimento
|
|
85
|
+
|
|
86
|
+
**Use para**:
|
|
87
|
+
- Onboarding de clientes
|
|
88
|
+
- Gestão de tickets
|
|
89
|
+
- Knowledge base
|
|
90
|
+
- Health scores
|
|
91
|
+
|
|
92
|
+
**Começar**:
|
|
93
|
+
```bash
|
|
94
|
+
/customer-success/help # Ver comandos disponíveis
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
### 📋 Outros Contextos (Em Desenvolvimento)
|
|
100
|
+
|
|
101
|
+
- **Compliance**: Auditorias, LGPD, regulamentações
|
|
102
|
+
- **Sales**: Pipeline, proposals, contratos
|
|
103
|
+
- **Marketing**: Campanhas, conteúdo, analytics
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 📚 Sistema de Níveis
|
|
108
|
+
|
|
109
|
+
Todos os contextos organizam comandos em **3 níveis**:
|
|
110
|
+
|
|
111
|
+
| Nível | % Uso | Quando Usar | Onboarding |
|
|
112
|
+
|-------|-------|-------------|------------|
|
|
113
|
+
| **🌟 Starter** | 80% | Comandos essenciais do dia a dia | 15-20 min |
|
|
114
|
+
| **🔧 Intermediate** | 15% | Workflows avançados e especializados | 30-40 min |
|
|
115
|
+
| **⚡ Advanced** | 5% | Casos específicos e automações complexas | 45-60 min |
|
|
116
|
+
|
|
117
|
+
### Filosofia 80/15/5
|
|
118
|
+
|
|
119
|
+
- **80%** do seu tempo: Use apenas comandos **starter**
|
|
120
|
+
- **15%** do seu tempo: Use comandos **intermediate**
|
|
121
|
+
- **5%** do seu tempo: Use comandos **advanced**
|
|
122
|
+
|
|
123
|
+
Isso garante que você aprenda apenas o essencial e descubra o resto conforme necessidade.
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## 🚀 Como Começar?
|
|
128
|
+
|
|
129
|
+
### 1️⃣ Identifique Seu Contexto Principal
|
|
130
|
+
|
|
131
|
+
**Se você é**:
|
|
132
|
+
- Product Manager / Business → `/business/help`
|
|
133
|
+
- Developer / Tech Lead → `/technical/help`
|
|
134
|
+
- Customer Success → `/customer-success/help`
|
|
135
|
+
|
|
136
|
+
### 2️⃣ Aprenda os Comandos Starter
|
|
137
|
+
|
|
138
|
+
Foque nos 5-8 comandos starter do seu contexto. São suficientes para 80% do trabalho.
|
|
139
|
+
|
|
140
|
+
**Tempo estimado**: 15-30 minutos
|
|
141
|
+
|
|
142
|
+
### 3️⃣ Descubra Conforme Necessidade
|
|
143
|
+
|
|
144
|
+
Cada comando inclui seção "🚀 Próximos Passos" sugerindo comandos relacionados.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 🎓 Onboarding Recomendado
|
|
149
|
+
|
|
150
|
+
### Novos Usuários (Dia 1 - 1 hora)
|
|
151
|
+
|
|
152
|
+
```bash
|
|
153
|
+
# 1. Ver comandos do seu contexto
|
|
154
|
+
/[seu-contexto]/help
|
|
155
|
+
|
|
156
|
+
# 2. Business: Criar sua primeira spec
|
|
157
|
+
/business/spec "test-feature"
|
|
158
|
+
|
|
159
|
+
# 3. Technical: Planejar desenvolvimento
|
|
160
|
+
/technical/plan "test-feature"
|
|
161
|
+
|
|
162
|
+
# 4. Technical: Trabalhar em uma task
|
|
163
|
+
/technical/work "task-id"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Primeira Semana (5 horas)
|
|
167
|
+
|
|
168
|
+
- Domine todos os **starter commands** do seu contexto
|
|
169
|
+
- Experimente 2-3 **intermediate commands**
|
|
170
|
+
- Explore agentes especializados (ex: `@product-agent`, `@react-developer`)
|
|
171
|
+
|
|
172
|
+
### Primeiro Mês (20 horas)
|
|
173
|
+
|
|
174
|
+
- Use todos os **intermediate commands** conforme necessidade
|
|
175
|
+
- Teste 1-2 **advanced commands** específicos
|
|
176
|
+
- Integre no workflow diário da equipe
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 🤖 Agentes Especializados
|
|
181
|
+
|
|
182
|
+
O Onion inclui **35+ agentes IA especializados**:
|
|
183
|
+
|
|
184
|
+
### Business Agents
|
|
185
|
+
```bash
|
|
186
|
+
@product-agent # Orquestração de produto
|
|
187
|
+
@story-points-specialist # Estimativas precisas
|
|
188
|
+
@extract-meeting-specialist # Extração de reuniões
|
|
189
|
+
@presentation-orchestrator # Criação de apresentações
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Technical Agents
|
|
193
|
+
```bash
|
|
194
|
+
@react-developer # Frontend React
|
|
195
|
+
@nodejs-specialist # Backend Node.js
|
|
196
|
+
@postgres-specialist # Database
|
|
197
|
+
@test-engineer # Testes automatizados
|
|
198
|
+
@code-reviewer # Code review
|
|
199
|
+
@gitflow-specialist # Git workflows
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Core Agents
|
|
203
|
+
```bash
|
|
204
|
+
@onion # Orquestrador principal (ajuda com tudo)
|
|
205
|
+
```
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
## 💡 Conceitos Importantes
|
|
210
|
+
|
|
211
|
+
### 🔄 Ciclo Completo Onion (5 Camadas)
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
CAMADA 1: Knowledge Bases → Documentação estruturada
|
|
215
|
+
CAMADA 2: Agentes IA → Especialistas automatizados
|
|
216
|
+
CAMADA 3: Comandos → Workflows executáveis
|
|
217
|
+
CAMADA 4: Regras → Padrões e convenções
|
|
218
|
+
CAMADA 5: Sessions → Rastreamento de contexto
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### 📁 Sessions (CAMADA 5)
|
|
222
|
+
|
|
223
|
+
O Onion rastreia suas sessões de desenvolvimento:
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
.cursor/sessions/
|
|
227
|
+
├── feature-x/
|
|
228
|
+
│ ├── context.md # Objetivo, requisitos
|
|
229
|
+
│ ├── architecture.md # Design técnico
|
|
230
|
+
│ ├── plan.md # Fases de implementação
|
|
231
|
+
│ └── notes.md # Notas de desenvolvimento
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Comandos como `/technical/start` e `/technical/work` gerenciam automaticamente.
|
|
235
|
+
|
|
236
|
+
### 🔗 Descoberta Progressiva
|
|
237
|
+
|
|
238
|
+
Cada comando inclui:
|
|
239
|
+
- **🚀 Próximos Passos**: Comandos relacionados sugeridos
|
|
240
|
+
- **📚 Pré-requisitos**: O que aprender antes (intermediate/advanced)
|
|
241
|
+
- **💡 Dicas**: Melhores práticas e insights
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
## 📖 Documentação
|
|
246
|
+
|
|
247
|
+
### Guias Principais
|
|
248
|
+
- **Sistema de Níveis**: `docs/onion/levels-system.md`
|
|
249
|
+
- **Multi-Context Vision**: `docs/knowbase/frameworks/onion-multi-context-orchestrator-vision.md`
|
|
250
|
+
- **Ciclo Completo**: `docs/knowbase/frameworks/onion-complete-cycle-understanding.md`
|
|
251
|
+
|
|
252
|
+
### Por Contexto
|
|
253
|
+
- **Business**: `.onion/contexts/business/README.md`
|
|
254
|
+
- **Technical**: `.onion/contexts/technical/README.md`
|
|
255
|
+
|
|
256
|
+
### Configuração
|
|
257
|
+
- **Global**: `.onion-config.yml`
|
|
258
|
+
- **Por Contexto**: `.onion/contexts/[contexto]/.context-config.yml`
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## 🛠️ Estrutura do Projeto
|
|
263
|
+
|
|
264
|
+
```
|
|
265
|
+
.onion/ # Universal (agnóstica de IDE)
|
|
266
|
+
├── core/ # Núcleo (agentes, comandos globais)
|
|
267
|
+
├── contexts/ # 6 contextos especializados
|
|
268
|
+
│ ├── business/
|
|
269
|
+
│ ├── technical/
|
|
270
|
+
│ ├── customer-success/
|
|
271
|
+
│ ├── compliance/
|
|
272
|
+
│ ├── sales/
|
|
273
|
+
│ └── marketing/
|
|
274
|
+
├── ide/ # Loaders por IDE
|
|
275
|
+
└── .onion-config.yml # Configuração central
|
|
276
|
+
|
|
277
|
+
.cursor/ # Compatibilidade Cursor
|
|
278
|
+
├── commands/ # Symlinks para .onion/
|
|
279
|
+
├── agents/ # Symlinks para .onion/
|
|
280
|
+
└── sessions/ # Rastreamento de desenvolvimento
|
|
281
|
+
```
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## 🆘 Precisa de Ajuda?
|
|
286
|
+
|
|
287
|
+
### Por Contexto
|
|
288
|
+
```bash
|
|
289
|
+
/business/help # Comandos business
|
|
290
|
+
/technical/help # Comandos technical
|
|
291
|
+
/customer-success/help # Comandos CS
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
### Agente Universal
|
|
295
|
+
```bash
|
|
296
|
+
@onion "Como faço para [sua dúvida]?"
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
O `@onion` é o orquestrador principal e pode ajudar com:
|
|
300
|
+
- Escolher contexto apropriado
|
|
301
|
+
- Recomendar comandos para sua necessidade
|
|
302
|
+
- Explicar conceitos do sistema
|
|
303
|
+
- Navegar documentação
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
## 📊 Estatísticas do Sistema
|
|
308
|
+
|
|
309
|
+
| Métrica | Valor |
|
|
310
|
+
|---------|-------|
|
|
311
|
+
| **Contextos** | 6 (2 ativos, 4 em desenvolvimento) |
|
|
312
|
+
| **Comandos** | 56+ (20 business + 36 technical) |
|
|
313
|
+
| **Agentes** | 35+ especializados |
|
|
314
|
+
| **Níveis** | 3 (starter/intermediate/advanced) |
|
|
315
|
+
| **Onboarding** | 15-30min (vs 4-8h tradicional) |
|
|
316
|
+
| **Redução** | 90% no tempo de aprendizado |
|
|
317
|
+
|
|
318
|
+
---
|
|
319
|
+
|
|
320
|
+
## 🎯 Workflows Comuns
|
|
321
|
+
|
|
322
|
+
### Workflow: Business → Technical
|
|
323
|
+
|
|
324
|
+
```bash
|
|
325
|
+
# 1. Business: Criar especificação
|
|
326
|
+
/business/spec "user-dashboard"
|
|
327
|
+
|
|
328
|
+
# 2. Business: Estimar
|
|
329
|
+
/business/estimate "user-dashboard"
|
|
330
|
+
|
|
331
|
+
# 3. Business: Criar task
|
|
332
|
+
/business/task "user-dashboard"
|
|
333
|
+
|
|
334
|
+
# 4. Technical: Iniciar desenvolvimento
|
|
335
|
+
/technical/start "user-dashboard"
|
|
336
|
+
|
|
337
|
+
# 5. Technical: Desenvolver
|
|
338
|
+
/technical/work "task-id"
|
|
339
|
+
|
|
340
|
+
# 6. Technical: Finalizar
|
|
341
|
+
/technical/pr
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
### Workflow: Solo Development
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
# 1. Planejar
|
|
348
|
+
/technical/plan "feature"
|
|
349
|
+
|
|
350
|
+
# 2. Implementar
|
|
351
|
+
/technical/work "feature"
|
|
352
|
+
|
|
353
|
+
# 3. Testar
|
|
354
|
+
/technical/unit
|
|
355
|
+
|
|
356
|
+
# 4. Documentar
|
|
357
|
+
/technical/docs
|
|
358
|
+
|
|
359
|
+
# 5. Criar PR
|
|
360
|
+
/technical/pr
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## 🚀 Próximos Passos
|
|
366
|
+
|
|
367
|
+
1. **Escolha seu contexto principal**
|
|
368
|
+
- Product/Business? → `/business/help`
|
|
369
|
+
- Development? → `/technical/help`
|
|
370
|
+
|
|
371
|
+
2. **Aprenda comandos starter (15-30 min)**
|
|
372
|
+
- Foque nos 5-8 essenciais
|
|
373
|
+
- Pratique com exemplos reais
|
|
374
|
+
|
|
375
|
+
3. **Descubra conforme necessidade**
|
|
376
|
+
- Use "Próximos Passos" em cada comando
|
|
377
|
+
- Peça ajuda ao `@onion` quando precisar
|
|
378
|
+
|
|
379
|
+
4. **Explore outros contextos**
|
|
380
|
+
- Após dominar seu contexto principal
|
|
381
|
+
- Entenda integração entre contextos
|
|
382
|
+
|
|
383
|
+
---
|
|
384
|
+
|
|
385
|
+
**🧅 Sistema Onion v4.0** - Multi-Context Development Orchestrator
|
|
386
|
+
|
|
387
|
+
**Versão**: 4.0.0 | **Atualizado**: 2025-12-20 | **Licença**: MIT
|
|
388
|
+
|