@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,168 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: onion
|
|
3
|
+
description: |
|
|
4
|
+
Ponto de entrada inteligente para o Sistema Onion.
|
|
5
|
+
Use para navegação, recomendações e orquestração de workflows.
|
|
6
|
+
model: sonnet
|
|
7
|
+
|
|
8
|
+
parameters:
|
|
9
|
+
- name: query
|
|
10
|
+
description: Sua pergunta ou necessidade
|
|
11
|
+
required: false
|
|
12
|
+
|
|
13
|
+
category: meta
|
|
14
|
+
tags:
|
|
15
|
+
- navigation
|
|
16
|
+
- orchestration
|
|
17
|
+
- help
|
|
18
|
+
|
|
19
|
+
version: "3.0.0"
|
|
20
|
+
updated: "2025-11-24"
|
|
21
|
+
|
|
22
|
+
related_commands:
|
|
23
|
+
- /product/task
|
|
24
|
+
- /engineer/start
|
|
25
|
+
- /git/feature/start
|
|
26
|
+
|
|
27
|
+
related_agents:
|
|
28
|
+
- onion
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
# 🧅 Comando Onion
|
|
32
|
+
|
|
33
|
+
Atalho inteligente para o agente orquestrador master @onion.
|
|
34
|
+
|
|
35
|
+
## 🎯 Objetivo
|
|
36
|
+
|
|
37
|
+
Acessar o Sistema Onion para navegação, recomendações e orquestração.
|
|
38
|
+
|
|
39
|
+
## ⚡ Uso
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
/onion # Ajuda geral
|
|
43
|
+
/onion "como criar task" # Pergunta específica
|
|
44
|
+
/onion "workflow de PR" # Orientação de workflow
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## 🔄 Fluxo de Execução
|
|
48
|
+
|
|
49
|
+
### Passo 1: Detectar Tipo de Solicitação
|
|
50
|
+
|
|
51
|
+
| Tipo | Indicadores | Ação |
|
|
52
|
+
|------|-------------|------|
|
|
53
|
+
| 🆘 Ajuda | "como", "o que" | Explicar sistema |
|
|
54
|
+
| 🎯 Tarefa | "criar", "fazer" | Recomendar comando |
|
|
55
|
+
| 🔍 Busca | "qual", "onde" | Encontrar recurso |
|
|
56
|
+
| 🔧 Problema | "erro", "não funciona" | Diagnosticar |
|
|
57
|
+
| 🔄 Workflow | "do zero", "completo" | Orquestrar fluxo |
|
|
58
|
+
|
|
59
|
+
### Passo 2: Preparar Contexto
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Detectar sessões ativas
|
|
63
|
+
ls .cursor/sessions/*/context.md 2>/dev/null
|
|
64
|
+
|
|
65
|
+
# Verificar estado Git
|
|
66
|
+
git branch --show-current
|
|
67
|
+
git status --short
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Passo 3: Invocar @onion
|
|
71
|
+
|
|
72
|
+
Delegar para o agente com contexto coletado.
|
|
73
|
+
|
|
74
|
+
## 📤 Respostas Comuns
|
|
75
|
+
|
|
76
|
+
### Ajuda Geral
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
80
|
+
🧅 SISTEMA ONION
|
|
81
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
82
|
+
|
|
83
|
+
📊 Estrutura:
|
|
84
|
+
∟ 57 comandos em 7 categorias
|
|
85
|
+
∟ 38 agentes especializados
|
|
86
|
+
∟ Integração ClickUp MCP
|
|
87
|
+
|
|
88
|
+
🚀 Comandos Principais:
|
|
89
|
+
∟ /product/task - Criar tasks
|
|
90
|
+
∟ /engineer/start - Iniciar feature
|
|
91
|
+
∟ /engineer/work - Continuar trabalho
|
|
92
|
+
∟ /git/feature/start - Criar branch
|
|
93
|
+
|
|
94
|
+
💡 Use: /onion "sua pergunta"
|
|
95
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Recomendação de Comando
|
|
99
|
+
|
|
100
|
+
```
|
|
101
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
102
|
+
💡 RECOMENDAÇÃO
|
|
103
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
104
|
+
|
|
105
|
+
Para: "criar task no ClickUp"
|
|
106
|
+
|
|
107
|
+
✅ Use: /product/task [descrição]
|
|
108
|
+
|
|
109
|
+
📋 Exemplo:
|
|
110
|
+
/product/task Implementar autenticação OAuth2
|
|
111
|
+
|
|
112
|
+
🔗 Relacionados:
|
|
113
|
+
∟ /product/spec - Criar especificação
|
|
114
|
+
∟ /product/feature - Detalhar feature
|
|
115
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
### Workflow Completo
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
122
|
+
🔄 WORKFLOW: Feature Completa
|
|
123
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
124
|
+
|
|
125
|
+
📋 Sequência:
|
|
126
|
+
1. /product/task [nome]
|
|
127
|
+
2. /engineer/start [feature-slug]
|
|
128
|
+
3. /git/feature/start
|
|
129
|
+
4. /engineer/work
|
|
130
|
+
5. /engineer/pre-pr
|
|
131
|
+
6. /engineer/pr
|
|
132
|
+
7. /git/sync
|
|
133
|
+
|
|
134
|
+
💡 Dica: Cada comando atualiza ClickUp
|
|
135
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## 🔗 Referências
|
|
139
|
+
|
|
140
|
+
- Agente master: @onion
|
|
141
|
+
- Docs: `docs/onion/`
|
|
142
|
+
- Sistema de Testes: `docs/onion/testing-validation-system.md` - Framework completo de testes e validação
|
|
143
|
+
|
|
144
|
+
## ⚠️ Notas
|
|
145
|
+
|
|
146
|
+
- Sempre começa com contexto do workspace
|
|
147
|
+
- Detecta sessões ativas automaticamente
|
|
148
|
+
- Para ajuda específica de agente: @nome-do-agente
|
|
149
|
+
|
|
150
|
+
## 🔴 REGRA CRÍTICA: Criação de Tasks
|
|
151
|
+
|
|
152
|
+
**SEMPRE criar tasks no Task Manager configurado:**
|
|
153
|
+
|
|
154
|
+
Quando usar comandos que criam tasks (`/product/task`, `/product/feature`):
|
|
155
|
+
1. ✅ **SEMPRE** detectar provedor via `.cursor/utils/task-manager/detector.md`
|
|
156
|
+
2. ✅ **SEMPRE** usar abstração `getTaskManager()` para criar tasks
|
|
157
|
+
3. ✅ **SEMPRE** criar task principal + subtasks no provedor configurado
|
|
158
|
+
4. ✅ **SEMPRE** adicionar comentários e atualizar status
|
|
159
|
+
5. ❌ **NUNCA** criar apenas documentos locais sem sincronizar
|
|
160
|
+
6. ❌ **NUNCA** ignorar o provedor configurado no `.env`
|
|
161
|
+
|
|
162
|
+
**Provedores suportados:**
|
|
163
|
+
- ClickUp (via MCP) - `TASK_MANAGER_PROVIDER=clickup`
|
|
164
|
+
- Asana (via MCP) - `TASK_MANAGER_PROVIDER=asana`
|
|
165
|
+
- Linear (via API) - `TASK_MANAGER_PROVIDER=linear`
|
|
166
|
+
- None (modo offline) - `TASK_MANAGER_PROVIDER=none`
|
|
167
|
+
|
|
168
|
+
**Esta regra é OBRIGATÓRIA e será sempre executada.**
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
# 📋 Comandos Product - Workflow Completo
|
|
2
|
+
|
|
3
|
+
Este documento descreve o workflow completo dos comandos de produto no Sistema Onion.
|
|
4
|
+
|
|
5
|
+
## 🔄 **Fluxo de Trabalho Ideal**
|
|
6
|
+
|
|
7
|
+
```mermaid
|
|
8
|
+
flowchart TD
|
|
9
|
+
A[Ideia] --> B[Create Task]
|
|
10
|
+
B --> C[Task Created]
|
|
11
|
+
B --> D[Branch Created]
|
|
12
|
+
B --> E[Session Created]
|
|
13
|
+
|
|
14
|
+
E --> F[Start Development]
|
|
15
|
+
F --> G[Development]
|
|
16
|
+
|
|
17
|
+
G --> H[Check Implementation]
|
|
18
|
+
H --> I{Implementation OK?}
|
|
19
|
+
|
|
20
|
+
I -->|Yes| J[Next Phase]
|
|
21
|
+
I -->|No| K[Fix Issues]
|
|
22
|
+
K --> H
|
|
23
|
+
|
|
24
|
+
J --> L[Validate Task]
|
|
25
|
+
L --> M[Analysis Complete]
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## 🛠️ **Comandos Disponíveis**
|
|
29
|
+
|
|
30
|
+
### 1. **`/product/task <description>`** 🚀
|
|
31
|
+
**Objetivo**: Criar task no ClickUp + Setup completo para desenvolvimento
|
|
32
|
+
|
|
33
|
+
**O que faz**:
|
|
34
|
+
- ✅ Cria task estruturada no ClickUp
|
|
35
|
+
- ✅ Cria feature branch `feature/<slug>`
|
|
36
|
+
- ✅ Inicializa sessão em `.cursor/sessions/<slug>/`
|
|
37
|
+
- ✅ Cria arquivos: `context.md`, `plan.md`, `notes.md`
|
|
38
|
+
|
|
39
|
+
**Quando usar**: Início de qualquer nova funcionalidade
|
|
40
|
+
|
|
41
|
+
### 2. **`/product/task-check <task-id>`** 🔍
|
|
42
|
+
**Objetivo**: Verificar se task foi realmente implementada
|
|
43
|
+
|
|
44
|
+
**O que faz**:
|
|
45
|
+
- ✅ Carrega task do ClickUp
|
|
46
|
+
- ✅ Audita projeto atual buscando implementação
|
|
47
|
+
- ✅ Compara requisitos vs código real
|
|
48
|
+
- ✅ Determina se pode avançar para próxima fase
|
|
49
|
+
|
|
50
|
+
**Quando usar**: Após desenvolvimento, antes de fechar task
|
|
51
|
+
|
|
52
|
+
### 3. **`/product/validate-task <task-id>`** 📊
|
|
53
|
+
**Objetivo**: Análise estratégica e alinhamento com projeto
|
|
54
|
+
|
|
55
|
+
**O que faz**:
|
|
56
|
+
- ✅ Valida alinhamento com arquitetura
|
|
57
|
+
- ✅ Analisa viabilidade técnica
|
|
58
|
+
- ✅ Sugere melhorias nos requisitos
|
|
59
|
+
- ✅ Fornece recomendações estratégicas
|
|
60
|
+
|
|
61
|
+
**Quando usar**: Análise de requisitos, tasks problemáticas
|
|
62
|
+
|
|
63
|
+
### 4. **`/product/presentation <description>`** 🎨
|
|
64
|
+
**Objetivo**: Criar apresentações profissionais via Gamma.app
|
|
65
|
+
|
|
66
|
+
**O que faz**:
|
|
67
|
+
- ✅ Analisa tipo de apresentação (tema, task, doc, métricas)
|
|
68
|
+
- ✅ Coleta dados relevantes automaticamente
|
|
69
|
+
- ✅ Orquestra pipeline completo de geração
|
|
70
|
+
- ✅ Entrega apresentação pronta com links
|
|
71
|
+
|
|
72
|
+
**Quando usar**: Criar pitch decks, case studies, relatórios, apresentações técnicas
|
|
73
|
+
|
|
74
|
+
### 5. **Outros comandos complementares**:
|
|
75
|
+
- **`/product/check`**: Verificação contra meta-specs
|
|
76
|
+
- **`/product/spec`**: Criação de especificações
|
|
77
|
+
- **`/product/collect`**: Coleta de informações
|
|
78
|
+
- **`/product/refine`**: Refinamento de requisitos
|
|
79
|
+
|
|
80
|
+
## 🔄 **Sistema de Auto-Update ClickUp**
|
|
81
|
+
|
|
82
|
+
Todos os comandos seguem uma **estratégia consistente de atualização automática** do ClickUp:
|
|
83
|
+
|
|
84
|
+
### **✅ Updates Automáticos (Sem Confirmação)**
|
|
85
|
+
- **Comments informativos** com progresso e resultados
|
|
86
|
+
- **Tags de status** (verified, in-development, ready-for-pr)
|
|
87
|
+
- **Tracking de atividade** com timestamps
|
|
88
|
+
- **Progress updates** baseados em fases
|
|
89
|
+
|
|
90
|
+
### **⚠️ Confirmação Necessária (Alto Impacto)**
|
|
91
|
+
- **Mudanças de status** críticas (To Do → Done)
|
|
92
|
+
- **Alterações de prioridade** baseadas em análise
|
|
93
|
+
- **Quebra em subtasks** quando escopo é complexo
|
|
94
|
+
- **Reatribuição** quando detecta skill mismatch
|
|
95
|
+
|
|
96
|
+
### **📋 Identificação Inteligente de Tasks**
|
|
97
|
+
1. **Sessão ativa**: Usa task-id do `context.md` da sessão atual
|
|
98
|
+
2. **Argumento fornecido**: Usa task-id passado pelo usuário
|
|
99
|
+
3. **Não identificada**: Pergunta qual task atualizar
|
|
100
|
+
|
|
101
|
+
## 🎯 **Cenários de Uso**
|
|
102
|
+
|
|
103
|
+
### **Cenário 1: Nova Feature Completa**
|
|
104
|
+
```bash
|
|
105
|
+
# 1. Criar task + setup completo
|
|
106
|
+
/product/task "Sistema de notificações push"
|
|
107
|
+
# ↳ AUTO: Cria task + comment setup + tags
|
|
108
|
+
|
|
109
|
+
# 2. Iniciar desenvolvimento
|
|
110
|
+
/engineer/start notificacoes-push
|
|
111
|
+
# ↳ AUTO: Status → "In Progress" + comment início
|
|
112
|
+
|
|
113
|
+
# 3. Desenvolver com tracking automático
|
|
114
|
+
/engineer/work notificacoes-push
|
|
115
|
+
# ↳ AUTO: Comments de progresso a cada fase
|
|
116
|
+
|
|
117
|
+
# 4. Preparar para PR
|
|
118
|
+
/engineer/pre-pr
|
|
119
|
+
# ↳ AUTO: Comment checklist + tag "ready-for-pr"
|
|
120
|
+
|
|
121
|
+
# 5. Criar PR
|
|
122
|
+
/engineer/pr
|
|
123
|
+
# ↳ AUTO: Status ajustado + tag "under-review"
|
|
124
|
+
|
|
125
|
+
# 6. Verificar implementação final
|
|
126
|
+
/product/task-check 86abzwx0w
|
|
127
|
+
# ↳ AUTO: Comment verificação + PERGUNTA: mover para Done?
|
|
128
|
+
|
|
129
|
+
# 7. Análise estratégica final
|
|
130
|
+
/product/validate-task 86abzwx0w
|
|
131
|
+
# ↳ AUTO: Comment validação + tag "validated"
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
### **Cenário 2: Task Problemática**
|
|
135
|
+
```bash
|
|
136
|
+
# 1. Analisar task existente
|
|
137
|
+
/product/validate-task 86abzwx0w
|
|
138
|
+
# ↳ AUTO: Comment análise + PERGUNTA: mudar prioridade?
|
|
139
|
+
|
|
140
|
+
# 2. Verificar o que foi implementado
|
|
141
|
+
/product/task-check 86abzwx0w
|
|
142
|
+
# ↳ AUTO: Comment verificação + tag "needs-work"
|
|
143
|
+
|
|
144
|
+
# 3. Refinar requisitos se necessário
|
|
145
|
+
/product/refine <task-description>
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
### **Cenário 3: Auditoria de Qualidade**
|
|
149
|
+
```bash
|
|
150
|
+
# 1. Verificar múltiplas tasks com tracking automático
|
|
151
|
+
/product/task-check 86abzwx0w
|
|
152
|
+
/product/task-check 86abzwx1x
|
|
153
|
+
/product/task-check 86abzwx2y
|
|
154
|
+
# ↳ AUTO: Cada comando adiciona comment de verificação
|
|
155
|
+
|
|
156
|
+
# 2. Validar alinhamento estratégico
|
|
157
|
+
/product/validate-task 86abzwx0w
|
|
158
|
+
# ↳ AUTO: Comment validação + decisões estratégicas
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
### **Cenário 4: Criar Apresentação**
|
|
162
|
+
```bash
|
|
163
|
+
# 1. Apresentação a partir de tema
|
|
164
|
+
/product/presentation Crie apresentação sobre nova feature de IA para investidores
|
|
165
|
+
# ↳ AUTO: Coleta dados + gera narrativa + diagramas + apresentação Gamma
|
|
166
|
+
|
|
167
|
+
# 2. Apresentação a partir de task
|
|
168
|
+
/product/presentation Transforme task #86abzwx0w em case study para stakeholders
|
|
169
|
+
# ↳ AUTO: Busca task ClickUp + gera apresentação + comenta na task
|
|
170
|
+
|
|
171
|
+
# 3. Apresentação técnica
|
|
172
|
+
/product/presentation Converta docs/architecture.md em apresentação para time técnico
|
|
173
|
+
# ↳ AUTO: Lê doc + adapta conteúdo + gera diagramas + apresentação
|
|
174
|
+
|
|
175
|
+
# 4. Relatório de métricas
|
|
176
|
+
/product/presentation Crie relatório com métricas do Q4 2024
|
|
177
|
+
# ↳ AUTO: Busca dados + cria gráficos + apresentação data-driven
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
## 📁 **Estrutura da Sessão**
|
|
181
|
+
|
|
182
|
+
Quando você usa `/product/task`, é criada esta estrutura:
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
.cursor/sessions/<feature-slug>/
|
|
186
|
+
├── context.md # Contexto e objetivos
|
|
187
|
+
├── architecture.md # Arquitetura técnica (criado por /engineer/start)
|
|
188
|
+
├── plan.md # Plano de implementação por fases
|
|
189
|
+
└── notes.md # Notas e decisões
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### **Integração com Comandos**:
|
|
193
|
+
- **`/engineer/start <slug>`**: Usa e expande a sessão
|
|
194
|
+
- **`/product/task-check`**: Lê context.md para entender escopo
|
|
195
|
+
- **`/product/validate-task`**: Considera arquitetura da sessão
|
|
196
|
+
|
|
197
|
+
## 🚀 **Próximos Passos Recomendados**
|
|
198
|
+
|
|
199
|
+
Depois de criar uma task com `/product/task`:
|
|
200
|
+
|
|
201
|
+
1. **Revisar** os arquivos criados em `.cursor/sessions/<slug>/`
|
|
202
|
+
2. **Executar** `/engineer/start <slug>` para iniciar desenvolvimento
|
|
203
|
+
3. **Usar** `/product/task-check` periodicamente durante desenvolvimento
|
|
204
|
+
4. **Finalizar** com `/product/validate-task` para análise completa
|
|
205
|
+
|
|
206
|
+
## 📊 **Auto-Updates por Comando**
|
|
207
|
+
|
|
208
|
+
### **✅ Updates Automáticos**
|
|
209
|
+
- **`/product/task`**: Comment setup + tags automáticas
|
|
210
|
+
- **`/product/presentation`**: Comment com links da apresentação (se baseada em task)
|
|
211
|
+
- **`/engineer/start`**: Status → "In Progress" + comment início
|
|
212
|
+
- **`/engineer/work`**: Comments de progresso por fase
|
|
213
|
+
- **`/engineer/pre-pr`**: Comment checklist + tags qualidade
|
|
214
|
+
- **`/engineer/pr`**: Status ajuste + comment PR + tag "under-review"
|
|
215
|
+
|
|
216
|
+
### **⚠️ Com Confirmação**
|
|
217
|
+
- **`/product/task-check`**: Comment verificação + pergunta para status "Done"
|
|
218
|
+
- **`/product/validate-task`**: Comment validação + confirmação para mudanças de prioridade
|
|
219
|
+
|
|
220
|
+
## 💡 **Benefícios da Estratégia**
|
|
221
|
+
|
|
222
|
+
1. **Rastreabilidade Total**: Cada ação gera histórico automático no ClickUp
|
|
223
|
+
2. **Produtividade Máxima**: Elimina atualizações manuais repetitivas
|
|
224
|
+
3. **Controle Inteligente**: Confirma apenas mudanças críticas
|
|
225
|
+
4. **Sincronização**: Sessões locais sempre sincronizadas com ClickUp
|
|
226
|
+
5. **Visibilidade**: Stakeholders veem progresso em tempo real
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
**Sistema completamente integrado! Auto-updates inteligentes em todos os comandos! 🚀🧅**
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: analisys
|
|
3
|
+
description: Análise rápida usando template padrão.
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: quick
|
|
6
|
+
tags: [analysis, quick, template]
|
|
7
|
+
version: "3.0.0"
|
|
8
|
+
updated: "2025-11-24"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
faça uma analise usando o template @analysis-template.md sobre
|
|
12
|
+
|
|
13
|
+
<requiuirements>
|
|
14
|
+
#ARGUMENTS
|
|
15
|
+
</requiuirements>
|
|
16
|
+
|
|
17
|
+
coloque o resultado em docs/alalisys/*.md
|