@onion-ai/cli 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +529 -0
- package/bin/onion.js +6 -0
- package/framework/CLAUDE.md +45 -0
- package/framework/VERSION +1 -0
- package/framework/agents/compliance/iso-22301-specialist.md +985 -0
- package/framework/agents/compliance/iso-27001-specialist.md +713 -0
- package/framework/agents/compliance/pmbok-specialist.md +739 -0
- package/framework/agents/compliance/security-information-master.md +907 -0
- package/framework/agents/compliance/soc2-specialist.md +889 -0
- package/framework/agents/deployment/docker-specialist.md +1192 -0
- package/framework/agents/development/c4-architecture-specialist.md +745 -0
- package/framework/agents/development/c4-documentation-specialist.md +695 -0
- package/framework/agents/development/clickup-specialist.md +396 -0
- package/framework/agents/development/cursor-specialist.md +277 -0
- package/framework/agents/development/docs-reverse-engineer.md +417 -0
- package/framework/agents/development/gamma-api-specialist.md +1168 -0
- package/framework/agents/development/gitflow-specialist.md +1206 -0
- package/framework/agents/development/linux-security-specialist.md +675 -0
- package/framework/agents/development/mermaid-specialist.md +515 -0
- package/framework/agents/development/nodejs-specialist.md +672 -0
- package/framework/agents/development/nx-migration-specialist.md +866 -0
- package/framework/agents/development/nx-monorepo-specialist.md +618 -0
- package/framework/agents/development/postgres-specialist.md +1123 -0
- package/framework/agents/development/react-developer.md +131 -0
- package/framework/agents/development/runflow-specialist.md +277 -0
- package/framework/agents/development/system-documentation-orchestrator.md +1387 -0
- package/framework/agents/development/task-specialist.md +677 -0
- package/framework/agents/git/branch-code-reviewer.md +225 -0
- package/framework/agents/git/branch-documentation-writer.md +161 -0
- package/framework/agents/git/branch-metaspec-checker.md +67 -0
- package/framework/agents/git/branch-test-planner.md +176 -0
- package/framework/agents/meta/agent-creator-specialist.md +1266 -0
- package/framework/agents/meta/command-creator-specialist.md +1676 -0
- package/framework/agents/meta/metaspec-gate-keeper.md +240 -0
- package/framework/agents/meta/onion.md +824 -0
- package/framework/agents/product/branding-positioning-specialist.md +1029 -0
- package/framework/agents/product/extract-meeting-specialist.md +394 -0
- package/framework/agents/product/meeting-consolidator.md +482 -0
- package/framework/agents/product/pain-price-specialist.md +508 -0
- package/framework/agents/product/presentation-orchestrator.md +1190 -0
- package/framework/agents/product/product-agent.md +201 -0
- package/framework/agents/product/story-points-framework-specialist.md +538 -0
- package/framework/agents/product/storytelling-business-specialist.md +890 -0
- package/framework/agents/research/research-agent.md +292 -0
- package/framework/agents/review/code-reviewer.md +154 -0
- package/framework/agents/review/corporate-compliance-specialist.md +370 -0
- package/framework/agents/testing/test-agent.md +424 -0
- package/framework/agents/testing/test-engineer.md +294 -0
- package/framework/agents/testing/test-planner.md +117 -0
- package/framework/commands/common/prompts/README.md +208 -0
- package/framework/commands/common/prompts/clickup-patterns.md +144 -0
- package/framework/commands/common/prompts/code-review-checklist.md +168 -0
- package/framework/commands/common/prompts/git-workflow-patterns.md +235 -0
- package/framework/commands/common/prompts/output-formats.md +240 -0
- package/framework/commands/common/prompts/technical.md +194 -0
- package/framework/commands/common/templates/abstraction-template.md +399 -0
- package/framework/commands/common/templates/agent-template.md +353 -0
- package/framework/commands/common/templates/business_context_template.md +748 -0
- package/framework/commands/common/templates/command-template.md +273 -0
- package/framework/commands/common/templates/technical_context_template.md +526 -0
- package/framework/commands/design/screen-spec.md +505 -0
- package/framework/commands/development/runflow-dev.md +465 -0
- package/framework/commands/docs/build-business-docs.md +299 -0
- package/framework/commands/docs/build-compliance-docs.md +143 -0
- package/framework/commands/docs/build-index.md +119 -0
- package/framework/commands/docs/build-tech-docs.md +221 -0
- package/framework/commands/docs/docs-health.md +141 -0
- package/framework/commands/docs/help.md +278 -0
- package/framework/commands/docs/refine-vision.md +25 -0
- package/framework/commands/docs/reverse-consolidate.md +158 -0
- package/framework/commands/docs/sync-sessions.md +354 -0
- package/framework/commands/docs/validate-docs.md +157 -0
- package/framework/commands/engineer/bump.md +29 -0
- package/framework/commands/engineer/docs.md +11 -0
- package/framework/commands/engineer/hotfix.md +183 -0
- package/framework/commands/engineer/plan.md +85 -0
- package/framework/commands/engineer/pr-update.md +219 -0
- package/framework/commands/engineer/pr.md +117 -0
- package/framework/commands/engineer/pre-pr.md +81 -0
- package/framework/commands/engineer/start.md +254 -0
- package/framework/commands/engineer/validate-phase-sync.md +134 -0
- package/framework/commands/engineer/warm-up.md +20 -0
- package/framework/commands/engineer/work.md +155 -0
- package/framework/commands/f/company-context-extractor.md +93 -0
- package/framework/commands/f/process-meetings.md +103 -0
- package/framework/commands/git/README.md +682 -0
- package/framework/commands/git/code-review.md +213 -0
- package/framework/commands/git/fast-commit.md +43 -0
- package/framework/commands/git/feature/finish.md +88 -0
- package/framework/commands/git/feature/publish.md +89 -0
- package/framework/commands/git/feature/start.md +172 -0
- package/framework/commands/git/help.md +100 -0
- package/framework/commands/git/hotfix/finish.md +96 -0
- package/framework/commands/git/hotfix/start.md +92 -0
- package/framework/commands/git/init.md +111 -0
- package/framework/commands/git/release/finish.md +96 -0
- package/framework/commands/git/release/start.md +93 -0
- package/framework/commands/git/sync.md +199 -0
- package/framework/commands/meta/all-tools.md +58 -0
- package/framework/commands/meta/analyze-complex-problem.md +186 -0
- package/framework/commands/meta/create-abstraction.md +882 -0
- package/framework/commands/meta/create-agent-express.md +98 -0
- package/framework/commands/meta/create-agent.md +210 -0
- package/framework/commands/meta/create-command.md +203 -0
- package/framework/commands/meta/create-knowledge-base.md +143 -0
- package/framework/commands/meta/create-task-structure.md +150 -0
- package/framework/commands/meta/setup-integration.md +274 -0
- package/framework/commands/onion.md +169 -0
- package/framework/commands/product/README.md +249 -0
- package/framework/commands/product/analyze-pain-price.md +694 -0
- package/framework/commands/product/branding.md +458 -0
- package/framework/commands/product/check.md +46 -0
- package/framework/commands/product/checklist-sync.md +239 -0
- package/framework/commands/product/collect.md +95 -0
- package/framework/commands/product/consolidate-meetings.md +291 -0
- package/framework/commands/product/estimate.md +511 -0
- package/framework/commands/product/extract-meeting.md +226 -0
- package/framework/commands/product/feature.md +416 -0
- package/framework/commands/product/light-arch.md +82 -0
- package/framework/commands/product/presentation.md +174 -0
- package/framework/commands/product/refine.md +161 -0
- package/framework/commands/product/spec.md +79 -0
- package/framework/commands/product/task-check.md +378 -0
- package/framework/commands/product/task.md +603 -0
- package/framework/commands/product/validate-task.md +325 -0
- package/framework/commands/product/warm-up.md +24 -0
- package/framework/commands/quick/analisys.md +17 -0
- package/framework/commands/test/e2e.md +377 -0
- package/framework/commands/test/integration.md +508 -0
- package/framework/commands/test/unit.md +381 -0
- package/framework/commands/validate/collab/pair-testing.md +657 -0
- package/framework/commands/validate/collab/three-amigos.md +534 -0
- package/framework/commands/validate/qa-points/estimate.md +660 -0
- package/framework/commands/validate/test-strategy/analyze.md +1201 -0
- package/framework/commands/validate/test-strategy/create.md +411 -0
- package/framework/commands/validate/workflow.md +370 -0
- package/framework/commands/warm-up.md +20 -0
- package/framework/docs/architecture/acoplamento-clickup-problema-analise.md +468 -0
- package/framework/docs/architecture/desacoplamento-roadmap.md +364 -0
- package/framework/docs/architecture/validacao-fase-1.md +235 -0
- package/framework/docs/c4/c4-detection-rules.md +395 -0
- package/framework/docs/c4/c4-documentation-templates.md +579 -0
- package/framework/docs/c4/c4-mermaid-patterns.md +331 -0
- package/framework/docs/c4/c4-templates.md +256 -0
- package/framework/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
- package/framework/docs/clickup/clickup-auto-update-strategy.md +340 -0
- package/framework/docs/clickup/clickup-comment-formatter.md +239 -0
- package/framework/docs/clickup/clickup-description-fix.md +384 -0
- package/framework/docs/clickup/clickup-dual-comment-strategy.md +528 -0
- package/framework/docs/clickup/clickup-formatting.md +302 -0
- package/framework/docs/clickup/separador-tamanho-otimizado.md +258 -0
- package/framework/docs/engineer/pre-pr-acceptance-validation.md +256 -0
- package/framework/docs/onion/ESPERANTO.md +293 -0
- package/framework/docs/onion/agents-reference.md +832 -0
- package/framework/docs/onion/clickup-integration.md +780 -0
- package/framework/docs/onion/commands-guide.md +924 -0
- package/framework/docs/onion/engineering-flows.md +900 -0
- package/framework/docs/onion/getting-started.md +803 -0
- package/framework/docs/onion/maintenance-checklist.md +421 -0
- package/framework/docs/onion/naming-conventions.md +286 -0
- package/framework/docs/onion/practical-examples.md +854 -0
- package/framework/docs/product/story-points-integration.md +269 -0
- package/framework/docs/product/story-points-validation.md +237 -0
- package/framework/docs/reviews/task-manager-docs-review-2025-11-24.md +184 -0
- package/framework/docs/strategies/clickup-comment-patterns.md +766 -0
- package/framework/docs/strategies/clickup-integration-tests.md +602 -0
- package/framework/docs/strategies/clickup-mcp-wrappers-tests.md +888 -0
- package/framework/docs/strategies/clickup-regression-tests.md +587 -0
- package/framework/docs/strategies/visual-patterns.md +315 -0
- package/framework/docs/templates/README.md +649 -0
- package/framework/docs/templates/adr-template.md +226 -0
- package/framework/docs/templates/analysis-template.md +280 -0
- package/framework/docs/templates/execution-plan-template.md +430 -0
- package/framework/docs/templates/guide-template.md +367 -0
- package/framework/docs/templates/phase-execution-prompt-template.md +504 -0
- package/framework/docs/templates/reference-template.md +522 -0
- package/framework/docs/templates/solution-template.md +390 -0
- package/framework/docs/tools/README.md +356 -0
- package/framework/docs/tools/agents.md +365 -0
- package/framework/docs/tools/commands.md +669 -0
- package/framework/docs/tools/cursor.md +539 -0
- package/framework/docs/tools/mcps.md +937 -0
- package/framework/docs/tools/rules.md +461 -0
- package/framework/rules/language-and-documentation.mdc +371 -0
- package/framework/rules/nestjs-controllers.md +83 -0
- package/framework/rules/nestjs-dtos.md +255 -0
- package/framework/rules/nestjs-modules.md +141 -0
- package/framework/rules/nestjs-services.md +230 -0
- package/framework/rules/nx-rules.mdc +41 -0
- package/framework/rules/onion-patterns.mdc +197 -0
- package/framework/skills/codebase-visualizer/SKILL.md +26 -0
- package/framework/skills/codebase-visualizer/scripts/visualize.py +131 -0
- package/framework/skills/collect/SKILL.md +84 -0
- package/framework/skills/create-rule/SKILL.md +152 -0
- package/framework/skills/db-schema-visualizer/SKILL.md +49 -0
- package/framework/skills/db-schema-visualizer/scripts/visualize.py +1191 -0
- package/framework/skills/sync-meetings/SKILL.md +239 -0
- package/framework/utils/clickup-mcp-wrappers.md +744 -0
- package/framework/utils/date-time-standards.md +200 -0
- package/framework/utils/task-manager/README.md +94 -0
- package/framework/utils/task-manager/adapters/asana.md +377 -0
- package/framework/utils/task-manager/adapters/clickup.md +467 -0
- package/framework/utils/task-manager/adapters/linear.md +421 -0
- package/framework/utils/task-manager/detector.md +299 -0
- package/framework/utils/task-manager/factory.md +363 -0
- package/framework/utils/task-manager/interface.md +248 -0
- package/framework/utils/task-manager/types.md +409 -0
- package/package.json +41 -0
- package/src/cli.js +73 -0
- package/src/commands/doctor.js +191 -0
- package/src/commands/init.js +287 -0
- package/src/commands/install.js +261 -0
- package/src/commands/list.js +152 -0
- package/src/commands/uninstall.js +90 -0
- package/src/commands/update.js +26 -0
- package/src/utils/fs.js +89 -0
- package/src/utils/log.js +35 -0
- package/src/utils/paths.js +32 -0
- package/src/utils/prompt.js +76 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: light-arch
|
|
3
|
+
description: Design de arquitetura leve para features.
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: product
|
|
6
|
+
tags: [architecture, design, planning]
|
|
7
|
+
version: "3.0.0"
|
|
8
|
+
updated: "2025-11-24"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# InĂcio da Engenharia
|
|
12
|
+
|
|
13
|
+
Este Ă© o comando para disparar o inĂcio do design de arquitetura para uma funcionalidade.
|
|
14
|
+
|
|
15
|
+
## AnĂĄlise
|
|
16
|
+
|
|
17
|
+
1. Passe pelos cards, pais e filhos se necessĂĄrio, e construa um entendimento inicial do que precisa ser construĂdo. Pense cuidadosamente sobre o que Ă© solicitado, certifique-se de que entende exatamente:
|
|
18
|
+
- Por que isso estĂĄ sendo construĂdo (contexto)
|
|
19
|
+
- Qual Ă© o resultado esperado para esta task? (objetivo)
|
|
20
|
+
- Como deve ser construĂdo, apenas direcionalmente, nĂŁo em detalhes (abordagem)
|
|
21
|
+
- Se requer usar novas APIs/ferramentas, vocĂȘ as entende?
|
|
22
|
+
- Como deve ser testado?
|
|
23
|
+
- Quais sĂŁo as dependĂȘncias?
|
|
24
|
+
- Quais são as restriçÔes?
|
|
25
|
+
|
|
26
|
+
2. Depois de refletir sobre essas perguntas, elabore os 3-5 esclarecimentos mais importantes necessĂĄrios para completar a tarefa.
|
|
27
|
+
|
|
28
|
+
3. Pergunte ao humano essas questÔes, ao mesmo tempo fornecendo seu entendimento e sugestÔes. PAUSE para aguardar as respostas do humano.
|
|
29
|
+
|
|
30
|
+
4. Depois de obter as respostas do humano, considere se precisa fazer mais perguntas. Se sim, faça mais perguntas ao humano. PAUSE para aguardar as respostas do humano.
|
|
31
|
+
|
|
32
|
+
5. Uma vez que tenha um bom entendimento do que estĂĄ sendo construĂdo, declare-o claramente de volta ao humano para revisĂŁo. Faça isso na forma de um artefato para que seja mais fĂĄcil de revisar.
|
|
33
|
+
|
|
34
|
+
6. Se o humano concordar com seu entendimento, vocĂȘ pode proceder para o prĂłximo passo. Caso contrĂĄrio, continue iterando juntos atĂ© obter aprovação explĂcita para prosseguir.
|
|
35
|
+
|
|
36
|
+
7. Se algo que vocĂȘs discutiram aqui afeta o que foi escrito nos requisitos, peça permissĂŁo ao humano para editar esses requisitos e fazer ajustes seja editando (mudanças estruturais) ou adicionando comentĂĄrios (esclarecimentos). Se o requisito estĂĄ em um card do ClickUp, edite o card do ClickUp.
|
|
37
|
+
|
|
38
|
+
8. NĂŁo proceda para o prĂłximo passo a menos que o humano tenha claramente dado o sinal verde nesta fase.
|
|
39
|
+
|
|
40
|
+
## Arquitetura
|
|
41
|
+
|
|
42
|
+
Dado seu entendimento do que serĂĄ construĂdo, vocĂȘ agora procederĂĄ ao desenvolvimento da arquitetura da funcionalidade. O documento de arquitetura deve mapear o que estĂĄ sendo construĂdo, os componentes, as dependĂȘncias, os padrĂ”es, as tecnologias, as restriçÔes, as suposiçÔes, os trade-offs, as alternativas, as consequĂȘncias.
|
|
43
|
+
|
|
44
|
+
Aqui Ă© onde vocĂȘ colocarĂĄ seu chapĂ©u de super pensamento e considerarĂĄ o melhor caminho para construir a funcionalidade, ao mesmo tempo considerando os padrĂ”es e melhores prĂĄticas para este projeto.
|
|
45
|
+
|
|
46
|
+
1. Passe pelo código-fonte relevante, entenda sua estrutura e propósito e procure pelos arquivos importantes para esta implementação.
|
|
47
|
+
|
|
48
|
+
2. Revise os documentos de meta specs técnicas do projeto para garantir que esta funcionalidade se alinhe com nossa visão técnica
|
|
49
|
+
|
|
50
|
+
3. Construa uma proposta de arquitetura que se alinhe com os padrÔes e melhores pråticas do projeto.
|
|
51
|
+
|
|
52
|
+
Dicas:
|
|
53
|
+
- Use as ferramentas code-expert (se disponĂveis) para encontrar arquivos especĂficos baseados nas respostas de descoberta
|
|
54
|
+
- Mergulhe fundo em funcionalidades e padrÔes similares
|
|
55
|
+
- Analise detalhes especĂficos de implementação
|
|
56
|
+
- Use WebSearch ou context7 para melhores pråticas ou documentação de biblioteca (se necessårio)
|
|
57
|
+
|
|
58
|
+
Seu documento de arquitetura deve incluir:
|
|
59
|
+
- Uma visĂŁo geral de alto nĂvel do sistema (antes e depois da mudança)
|
|
60
|
+
- Componentes afetados e seus relacionamentos, dependĂȘncias
|
|
61
|
+
- PadrÔes e melhores pråticas que serão mantidos ou introduzidos
|
|
62
|
+
- DependĂȘncias externas que serĂŁo usadas ou que precisam ser adicionadas ao projeto
|
|
63
|
+
- RestriçÔes e suposiçÔes
|
|
64
|
+
- Trade-offs e alternativas
|
|
65
|
+
- ConsequĂȘncias negativas (se houver) ao implementar este design
|
|
66
|
+
- Lista dos principais arquivos a serem editados/criados
|
|
67
|
+
|
|
68
|
+
Se ajudar a construir um diagrama MERMAID, sinta-se livre para fazĂȘ-lo.
|
|
69
|
+
|
|
70
|
+
4. Se, em algum ponto, vocĂȘ tiver perguntas ou se encontrar algo que contradiz o que entendeu anteriormente, peça esclarecimento ao humano.
|
|
71
|
+
|
|
72
|
+
5. Uma vez que tenha um bom entendimento do que estĂĄ sendo construĂdo, mostre ao usuĂĄrio na forma de um artefato e aguarde sua aprovação. Iterate juntos atĂ© estar pronto. PAUSE para aguardar a aprovação do humano.
|
|
73
|
+
|
|
74
|
+
6. Quando o humano concordar com seu entendimento, vocĂȘ pode proceder ao prĂłximo passo, salvando os detalhes da arquitetura no card do ClickUp como um comentĂĄrio ao card original.
|
|
75
|
+
|
|
76
|
+
## Pesquisa
|
|
77
|
+
|
|
78
|
+
Se nĂŁo tiver certeza de como uma biblioteca especĂfica funciona, vocĂȘ pode usar Context7 e Perplexity para buscar informaçÔes sobre ela. EntĂŁo, nĂŁo tente adivinhar.
|
|
79
|
+
|
|
80
|
+
<feature-slug>
|
|
81
|
+
#$ARGUMENTS
|
|
82
|
+
</feature-slug>
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: presentation
|
|
3
|
+
description: |
|
|
4
|
+
Criação de apresentaçÔes profissionais via Gamma.app.
|
|
5
|
+
Use para gerar apresentaçÔes a partir de temas, tasks ou documentos.
|
|
6
|
+
model: sonnet
|
|
7
|
+
|
|
8
|
+
parameters:
|
|
9
|
+
- name: topic
|
|
10
|
+
description: Tema, task_id ou documento para a apresentação
|
|
11
|
+
required: true
|
|
12
|
+
- name: type
|
|
13
|
+
description: Tipo (pitch/product/technical/business/report)
|
|
14
|
+
required: false
|
|
15
|
+
|
|
16
|
+
category: product
|
|
17
|
+
tags:
|
|
18
|
+
- presentation
|
|
19
|
+
- gamma
|
|
20
|
+
- content
|
|
21
|
+
|
|
22
|
+
version: "3.0.0"
|
|
23
|
+
updated: "2025-11-24"
|
|
24
|
+
|
|
25
|
+
related_commands:
|
|
26
|
+
- /product/task
|
|
27
|
+
- /docs/build-business-docs
|
|
28
|
+
|
|
29
|
+
related_agents:
|
|
30
|
+
- presentation-orchestrator
|
|
31
|
+
- storytelling-business-specialist
|
|
32
|
+
- gamma-api-specialist
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
# đš Criação de ApresentaçÔes
|
|
36
|
+
|
|
37
|
+
Wrapper para criação de apresentaçÔes via @presentation-orchestrator.
|
|
38
|
+
|
|
39
|
+
## đŻ Objetivo
|
|
40
|
+
|
|
41
|
+
Criar apresentaçÔes profissionais no Gamma.app de forma automatizada.
|
|
42
|
+
|
|
43
|
+
## ⥠Fluxo de Execução
|
|
44
|
+
|
|
45
|
+
### Passo 1: Identificar Tipo de Input
|
|
46
|
+
|
|
47
|
+
Analisar `{{topic}}` para determinar fonte:
|
|
48
|
+
|
|
49
|
+
| Pattern | Tipo | Ação |
|
|
50
|
+
|---------|------|------|
|
|
51
|
+
| `86adf...` | Task ID | Buscar dados no ClickUp |
|
|
52
|
+
| `docs/...` | Documento | Ler arquivo |
|
|
53
|
+
| Texto livre | Tema | Pesquisar codebase |
|
|
54
|
+
|
|
55
|
+
### Passo 2: Detectar Tipo de Apresentação
|
|
56
|
+
|
|
57
|
+
SE `{{type}}` fornecido â usar diretamente
|
|
58
|
+
SENĂO â inferir do contexto:
|
|
59
|
+
|
|
60
|
+
| Contexto | Tipo Inferido |
|
|
61
|
+
|----------|---------------|
|
|
62
|
+
| Investidores, funding | `pitch` |
|
|
63
|
+
| Novo recurso, release | `product` |
|
|
64
|
+
| Arquitetura, API | `technical` |
|
|
65
|
+
| Resultados, métricas | `business` |
|
|
66
|
+
| Status, progresso | `report` |
|
|
67
|
+
|
|
68
|
+
### Passo 3: Coletar Dados
|
|
69
|
+
|
|
70
|
+
#### Task ClickUp
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
Buscar via mcp_clickup:
|
|
74
|
+
- Nome e descrição
|
|
75
|
+
- Subtasks e progresso
|
|
76
|
+
- ComentĂĄrios relevantes
|
|
77
|
+
- Métricas associadas
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
#### Documento
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
Ler arquivo e extrair:
|
|
84
|
+
- TĂtulo e resumo
|
|
85
|
+
- Pontos principais
|
|
86
|
+
- Dados e métricas
|
|
87
|
+
- ConclusÔes
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Tema Geral
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
Pesquisar no codebase:
|
|
94
|
+
- Arquivos relacionados
|
|
95
|
+
- Documentação existente
|
|
96
|
+
- README e specs
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Passo 4: Estruturar Narrativa
|
|
100
|
+
|
|
101
|
+
Delegar para @storytelling-business-specialist:
|
|
102
|
+
|
|
103
|
+
```
|
|
104
|
+
Definir:
|
|
105
|
+
- AudiĂȘncia-alvo
|
|
106
|
+
- Objetivo da apresentação
|
|
107
|
+
- Arco narrativo
|
|
108
|
+
- Pontos-chave (5-10)
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Passo 5: Gerar Apresentação
|
|
112
|
+
|
|
113
|
+
Invocar @presentation-orchestrator com:
|
|
114
|
+
|
|
115
|
+
```yaml
|
|
116
|
+
topic: [tema extraĂdo]
|
|
117
|
+
type: [tipo detectado]
|
|
118
|
+
audience: [audiĂȘncia]
|
|
119
|
+
key_points: [pontos-chave]
|
|
120
|
+
data: [dados coletados]
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
### Passo 6: Entregar Resultado
|
|
124
|
+
|
|
125
|
+
## đ€ Output Esperado
|
|
126
|
+
|
|
127
|
+
### Sucesso
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
âââââââââââââââââââââââââââââââââââââââ
|
|
131
|
+
â
APRESENTAĂĂO CRIADA
|
|
132
|
+
âââââââââââââââââââââââââââââââââââââââ
|
|
133
|
+
|
|
134
|
+
đ [TĂtulo da Apresentação]
|
|
135
|
+
|
|
136
|
+
đ Detalhes:
|
|
137
|
+
â Tipo: Product Launch
|
|
138
|
+
â Slides: 12
|
|
139
|
+
â AudiĂȘncia: Stakeholders
|
|
140
|
+
â Fonte: Task #86adf8jj6
|
|
141
|
+
|
|
142
|
+
đš Assets:
|
|
143
|
+
â Gamma: https://gamma.app/docs/xxx
|
|
144
|
+
â PDF: apresentacao.pdf
|
|
145
|
+
â Outline: outline.md
|
|
146
|
+
|
|
147
|
+
đ PrĂłximos Passos:
|
|
148
|
+
â Revisar conteĂșdo
|
|
149
|
+
â Ajustar design
|
|
150
|
+
â Compartilhar com equipe
|
|
151
|
+
âââââââââââââââââââââââââââââââââââââââ
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Tipos de Apresentação
|
|
155
|
+
|
|
156
|
+
| Tipo | Slides | Estrutura |
|
|
157
|
+
|------|--------|-----------|
|
|
158
|
+
| `pitch` | 10-15 | Problema â Solução â Mercado â Tração â Ask |
|
|
159
|
+
| `product` | 8-12 | Contexto â Feature â Demo â BenefĂcios â CTA |
|
|
160
|
+
| `technical` | 12-20 | Arquitetura â Componentes â Fluxos â API |
|
|
161
|
+
| `business` | 10-15 | Contexto â Resultados â AnĂĄlise â PrĂłximos |
|
|
162
|
+
| `report` | 5-10 | Status â Progresso â Bloqueios â Timeline |
|
|
163
|
+
|
|
164
|
+
## đ ReferĂȘncias
|
|
165
|
+
|
|
166
|
+
- Agente principal: @presentation-orchestrator
|
|
167
|
+
- Storytelling: @storytelling-business-specialist
|
|
168
|
+
- API técnica: @gamma-api-specialist
|
|
169
|
+
|
|
170
|
+
## â ïž Notas
|
|
171
|
+
|
|
172
|
+
- Requer Gamma.app configurado (GAMMA_API_KEY)
|
|
173
|
+
- Para config: `/meta/setup-integration gamma`
|
|
174
|
+
- Tempo médio: 2-5 minutos por apresentação
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: refine
|
|
3
|
+
description: Refine requirements through clarification questions.
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: product
|
|
6
|
+
tags: [requirements, refinement, clarification]
|
|
7
|
+
version: "3.0.0"
|
|
8
|
+
updated: "2025-11-24"
|
|
9
|
+
|
|
10
|
+
related_commands:
|
|
11
|
+
- /product/estimate
|
|
12
|
+
- /product/task
|
|
13
|
+
|
|
14
|
+
related_agents:
|
|
15
|
+
- story-points-framework-specialist
|
|
16
|
+
- product-agent
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
You are a product specialist tasked with helping a human refine requirements for a project they are working on. Your goal is to take an initial requirement, ask clarifying questions, summarize your understanding, and create a markdown file with the refined requirements. Follow these steps:
|
|
20
|
+
|
|
21
|
+
1. Clarification Phase:
|
|
22
|
+
Read the initial requirement. Ask clarifying questions to achieve clarity about the feature's objective and its requirement details. Continue asking questions until you have a comprehensive understanding of the feature.
|
|
23
|
+
|
|
24
|
+
2. Summary and Approval Phase:
|
|
25
|
+
Once you have collected sufficient information, present a summary of your understanding to the user. Use the following format:
|
|
26
|
+
<summary>
|
|
27
|
+
Based on our discussion, here is my understanding of the feature requirements:
|
|
28
|
+
[Provide a concise summary of the feature, its objectives, and main requirements]
|
|
29
|
+
Is this understanding correct? Would you like to make any changes or additions?
|
|
30
|
+
</summary>
|
|
31
|
+
|
|
32
|
+
If the user requests changes or provides additional information, incorporate their feedback and present an updated summary for approval.
|
|
33
|
+
You may also decide to research something in either the codebase or the internet before committing to an output. Feel free to do so if necessary.
|
|
34
|
+
|
|
35
|
+
3. Creating the Markdown File:
|
|
36
|
+
Once the user approves your summary, you need to save the requirements. The location depends on the request:
|
|
37
|
+
|
|
38
|
+
- If the refine request was made based on a file, edit that file.
|
|
39
|
+
- If it was made based on a task from the configured manager, then update the task via the Task Manager abstraction.
|
|
40
|
+
|
|
41
|
+
4. Recalculate Story Points (Automatic):
|
|
42
|
+
**CRITICAL:** After refinement, ALWAYS recalculate story points and maintain history.
|
|
43
|
+
|
|
44
|
+
```markdown
|
|
45
|
+
## 4.1. Get Previous Estimate (if exists)
|
|
46
|
+
|
|
47
|
+
If task from configured manager:
|
|
48
|
+
- Read current "Story Points" custom field
|
|
49
|
+
- Read previous comments with estimates
|
|
50
|
+
- Identify last recorded estimate
|
|
51
|
+
|
|
52
|
+
## 4.2. Recalculate Estimate
|
|
53
|
+
|
|
54
|
+
@story-points-framework-specialist
|
|
55
|
+
|
|
56
|
+
Please recalculate story points for the following REFINED task:
|
|
57
|
+
|
|
58
|
+
**Task:** [refined title]
|
|
59
|
+
**Refined description:** [complete description after refinement]
|
|
60
|
+
**Previous estimate:** [X points] (if exists)
|
|
61
|
+
|
|
62
|
+
**Identified changes:**
|
|
63
|
+
- [list of changes that affect effort]
|
|
64
|
+
|
|
65
|
+
Provide new estimate considering the changes.
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## 4.3. Compare and Document History
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
const previousEstimate = getPreviousEstimate(taskId);
|
|
72
|
+
const newEstimate = await recalculateStoryPoints(refinedDescription);
|
|
73
|
+
|
|
74
|
+
const change = {
|
|
75
|
+
date: new Date(),
|
|
76
|
+
previous: previousEstimate?.points,
|
|
77
|
+
current: newEstimate.points,
|
|
78
|
+
delta: newEstimate.points - (previousEstimate?.points || 0),
|
|
79
|
+
reason: 'Requirements refinement',
|
|
80
|
+
changes: identifiedChanges
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
// Update task with new estimate
|
|
84
|
+
await updateTaskWithEstimate(taskId, newEstimate, change);
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
The template for your requirements output is:
|
|
88
|
+
|
|
89
|
+
<markdown>
|
|
90
|
+
# [FEATURE NAME]
|
|
91
|
+
|
|
92
|
+
## WHY
|
|
93
|
+
[List the reasons for building this feature]
|
|
94
|
+
|
|
95
|
+
## WHAT
|
|
96
|
+
[Describe what needs to be built or modified -- include existing features that will be affected]
|
|
97
|
+
|
|
98
|
+
## HOW
|
|
99
|
+
[Provide any extra details that could be useful for an AI Developer]
|
|
100
|
+
|
|
101
|
+
## đ STORY POINTS ESTIMATE
|
|
102
|
+
|
|
103
|
+
**Current:** [X] points
|
|
104
|
+
|
|
105
|
+
**Change History:**
|
|
106
|
+
| Date | Estimate | Change | Reason |
|
|
107
|
+
|------|----------|--------|--------|
|
|
108
|
+
| [initial date] | [X] points | - | Initial creation |
|
|
109
|
+
| [refinement date] | [Y] points | [+/-Z] | Requirements refinement |
|
|
110
|
+
|
|
111
|
+
**Current Analysis:**
|
|
112
|
+
- Complexity: [high/medium/low]
|
|
113
|
+
- Risk: [high/medium/low]
|
|
114
|
+
- Uncertainty: [high/medium/low]
|
|
115
|
+
|
|
116
|
+
**Factors that influenced the estimate:**
|
|
117
|
+
- [factor 1]
|
|
118
|
+
- [factor 2]
|
|
119
|
+
</markdown>
|
|
120
|
+
|
|
121
|
+
## 4.4. Update Task in Manager (if applicable)
|
|
122
|
+
|
|
123
|
+
```typescript
|
|
124
|
+
// Via Task Manager abstraction - works for any provider
|
|
125
|
+
const taskManager = getTaskManager();
|
|
126
|
+
|
|
127
|
+
// Update Story Points custom field
|
|
128
|
+
await taskManager.updateTask(taskId, {
|
|
129
|
+
customFields: {
|
|
130
|
+
'Story Points': newEstimate.points
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
// Add comment with history
|
|
135
|
+
await taskManager.addComment(taskId,
|
|
136
|
+
'âââââââââââââââââââââââââââââââââââââââ\n' +
|
|
137
|
+
'đ ESTIMATE UPDATED AFTER REFINEMENT\n' +
|
|
138
|
+
'âââââââââââââââââââââââââââââââââââââââ\n\n' +
|
|
139
|
+
`đ
Date: ${new Date().toLocaleDateString('en-US')}\n\n` +
|
|
140
|
+
`đ HISTORY:\n` +
|
|
141
|
+
`â Previous estimate: ${previousEstimate?.points || 'N/A'} points\n` +
|
|
142
|
+
`â New estimate: ${newEstimate.points} points\n` +
|
|
143
|
+
`â Change: ${change.delta > 0 ? '+' : ''}${change.delta} points\n\n` +
|
|
144
|
+
`⥠CURRENT ANALYSIS:\n` +
|
|
145
|
+
`â Complexity: ${newEstimate.complexity}\n` +
|
|
146
|
+
`â Risk: ${newEstimate.risk}\n` +
|
|
147
|
+
`â Uncertainty: ${newEstimate.uncertainty}\n\n` +
|
|
148
|
+
`đ CHANGES THAT AFFECTED THE ESTIMATE:\n` +
|
|
149
|
+
`${change.changes.map(c => `- ${c}`).join('\n')}\n\n` +
|
|
150
|
+
`đĄ RECOMMENDATIONS:\n` +
|
|
151
|
+
`${newEstimate.recommendations}\n` +
|
|
152
|
+
'âââââââââââââââââââââââââââââââââââââââ'
|
|
153
|
+
);
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Remember, the audience for this document is an AI Developer with similar capabilities and context to yours. Be concise but provide enough information for the AI to understand and proceed with the task.
|
|
157
|
+
|
|
158
|
+
The requirement to analyze is:
|
|
159
|
+
<requirement>
|
|
160
|
+
#$ARGUMENTS
|
|
161
|
+
</requirement>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: spec
|
|
3
|
+
description: Criar especificação de produto a partir de requisitos iniciais.
|
|
4
|
+
model: sonnet
|
|
5
|
+
category: product
|
|
6
|
+
tags: [specification, requirements, product]
|
|
7
|
+
version: "3.0.0"
|
|
8
|
+
updated: "2025-11-24"
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
VocĂȘ Ă© um especialista em produto encarregado de ajudar um humano a levar um requisito de issue ao seu estĂĄgio final para preparĂĄ-lo para desenvolvimento.
|
|
12
|
+
|
|
13
|
+
Seu objetivo Ă© pegar um requisito inicial, entender profundamente seus requisitos,
|
|
14
|
+
|
|
15
|
+
1. Validar os requisitos atuais
|
|
16
|
+
|
|
17
|
+
Revise os requisitos que foram dados a vocĂȘ e valide que eles contĂȘm todas as informaçÔes bĂĄsicas necessĂĄrias, que incluem:
|
|
18
|
+
|
|
19
|
+
- POR QUE estamos fazendo isso
|
|
20
|
+
- O QUE estĂĄ sendo construĂdo
|
|
21
|
+
- COMO estĂĄ sendo construĂdo -- menos importante que os outros, mas Ă© bom ter uma noção disso
|
|
22
|
+
|
|
23
|
+
Se os requisitos iniciais não forem suficientes para continuarmos a um PRD, peça ao usuårio perguntas de esclarecimento e atualize o documento/issue de requisitos antes de prosseguirmos. Não assuma nada, apenas pergunte.
|
|
24
|
+
|
|
25
|
+
2. Verifique as META SPECS do projeto para identificar se hĂĄ alguma regra especĂfica a seguir ou se esta solicitação viola uma spec principal. Se violar, peça esclarecimento. SĂł prossiga se o usuĂĄrio pedir.
|
|
26
|
+
|
|
27
|
+
3. Construa seu entendimento sobre os elementos-chave do PRD:
|
|
28
|
+
|
|
29
|
+
- VisĂŁo Geral do Produto
|
|
30
|
+
- Declaração do problema e oportunidade de mercado
|
|
31
|
+
- UsuĂĄrios-alvo e personas
|
|
32
|
+
- VisĂŁo e objetivos do produto
|
|
33
|
+
- Métricas de sucesso e KPIs
|
|
34
|
+
|
|
35
|
+
- Requisitos Funcionais
|
|
36
|
+
- Funcionalidades e capacidades principais
|
|
37
|
+
- User stories ou casos de uso
|
|
38
|
+
- Fluxos de usuårio e interaçÔes
|
|
39
|
+
- EspecificaçÔes técnicas
|
|
40
|
+
- Requisitos de API (se aplicĂĄvel)
|
|
41
|
+
|
|
42
|
+
- Requisitos NĂŁo-Funcionais
|
|
43
|
+
- Benchmarks de performance
|
|
44
|
+
- Necessidades de segurança e compliance
|
|
45
|
+
- Requisitos de escalabilidade
|
|
46
|
+
- PadrÔes de acessibilidade
|
|
47
|
+
|
|
48
|
+
- Design e ExperiĂȘncia do UsuĂĄrio
|
|
49
|
+
- Diretrizes de UI/UX
|
|
50
|
+
- Wireframes ou mockups
|
|
51
|
+
- ReferĂȘncias do sistema de design
|
|
52
|
+
- ConsideraçÔes especĂficas da plataforma
|
|
53
|
+
|
|
54
|
+
- ConsideraçÔes Técnicas
|
|
55
|
+
- VisĂŁo geral da arquitetura
|
|
56
|
+
- Requisitos de integração
|
|
57
|
+
- Requisitos de dados
|
|
58
|
+
- DependĂȘncias de terceiros
|
|
59
|
+
|
|
60
|
+
- Detalhes do Projeto
|
|
61
|
+
- Riscos e estratégias de mitigação
|
|
62
|
+
- Critérios de lançamento e plano de rollout
|
|
63
|
+
|
|
64
|
+
- RestriçÔes e SuposiçÔes
|
|
65
|
+
- RestriçÔes técnicas
|
|
66
|
+
- RestriçÔes de negócio
|
|
67
|
+
- Principais suposiçÔes sendo feitas
|
|
68
|
+
|
|
69
|
+
NĂŁo pense demais nisso. Se a issue nĂŁo requer alguns destes itens, sinta-se livre para pulĂĄ-los. Menos Ă© mais. Mas sem perder detalhes importantes.
|
|
70
|
+
|
|
71
|
+
4. Apresente seu entendimento ao usuårio, junto com quaisquer esclarecimentos que precisar. Iterate sobre isso até ter 100% de clareza.
|
|
72
|
+
|
|
73
|
+
5. Depois que o usuĂĄrio aprovar sua visĂŁo, vocĂȘ deve editar o documento de requisitos, issue ou arquivo, aprimorando-o com o que foi descoberto.
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
O requisito para analisar Ă©:
|
|
77
|
+
<requirement>
|
|
78
|
+
#$ARGUMENTS
|
|
79
|
+
</requirement>
|