@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,660 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: qa-points-estimate
|
|
3
|
+
description: |
|
|
4
|
+
Calcula QA Story Points usando a fórmula exata do Framework de Testes.
|
|
5
|
+
Use para estimar esforço de teste com precisão, incluindo breakdown por perspectiva e sugestões de técnicas.
|
|
6
|
+
Integra com task managers para atualizar story points automaticamente.
|
|
7
|
+
model: sonnet
|
|
8
|
+
|
|
9
|
+
parameters:
|
|
10
|
+
- name: task-description
|
|
11
|
+
description: Descrição da tarefa de teste (entre aspas)
|
|
12
|
+
required: true
|
|
13
|
+
- name: complexity
|
|
14
|
+
description: Complexidade base (simple|medium|complex|epic). Default: auto-detect
|
|
15
|
+
required: false
|
|
16
|
+
- name: risk
|
|
17
|
+
description: Nível de risco (low|medium|high|critical). Default: auto-detect
|
|
18
|
+
required: false
|
|
19
|
+
- name: type
|
|
20
|
+
description: Tipo de teste (unit|integration|ui|api|e2e|performance|security|manual). Default: auto-detect
|
|
21
|
+
required: false
|
|
22
|
+
- name: task-id
|
|
23
|
+
description: ID da task no task manager para atualizar (ex: PROJ-123, CU-456)
|
|
24
|
+
required: false
|
|
25
|
+
- name: task-manager
|
|
26
|
+
description: Provedor do task manager (jira|clickup|asana|auto-detect). Se não fornecido, será inferido do .env ou formato do task-id
|
|
27
|
+
required: false
|
|
28
|
+
- name: update
|
|
29
|
+
description: Atualiza story points diretamente no task manager quando fornecido task-id
|
|
30
|
+
required: false
|
|
31
|
+
- name: breakdown
|
|
32
|
+
description: Mostra breakdown detalhado por perspectiva (White/Grey/Black-box)
|
|
33
|
+
required: false
|
|
34
|
+
- name: suggest-techniques
|
|
35
|
+
description: Sugere técnicas de teste baseadas no framework
|
|
36
|
+
required: false
|
|
37
|
+
|
|
38
|
+
category: validate
|
|
39
|
+
tags:
|
|
40
|
+
- qa
|
|
41
|
+
- testing
|
|
42
|
+
- story-points
|
|
43
|
+
- estimation
|
|
44
|
+
- quality-assurance
|
|
45
|
+
- test-planning
|
|
46
|
+
|
|
47
|
+
version: "1.0.0"
|
|
48
|
+
updated: "2025-12-03"
|
|
49
|
+
|
|
50
|
+
related_commands:
|
|
51
|
+
- /validate/test-strategy/create
|
|
52
|
+
- /validate/test-strategy/analyze
|
|
53
|
+
- /product/estimate
|
|
54
|
+
- /product/task
|
|
55
|
+
|
|
56
|
+
related_agents:
|
|
57
|
+
- test-engineer
|
|
58
|
+
- test-planner
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
# 🧮 Estimativa de QA Story Points
|
|
62
|
+
|
|
63
|
+
Calcula QA Story Points usando a fórmula exata do Framework de Testes (`docs/knowbase/frameworks/framework_testes.md`), incluindo análise contextual inteligente, breakdown por perspectiva e sugestões de técnicas.
|
|
64
|
+
|
|
65
|
+
## 🎯 Objetivo
|
|
66
|
+
|
|
67
|
+
Fornecer estimativas precisas de esforço de teste através de:
|
|
68
|
+
- Fórmula exata do Framework de Testes (sem desvios)
|
|
69
|
+
- Análise contextual inteligente da descrição
|
|
70
|
+
- Breakdown por perspectiva (White/Grey/Black-box)
|
|
71
|
+
- Sugestões de técnicas apropriadas
|
|
72
|
+
- Integração com task managers para atualização automática
|
|
73
|
+
|
|
74
|
+
## ⚡ Fluxo de Execução
|
|
75
|
+
|
|
76
|
+
### Passo 1: Carregar Framework de Testes (OBRIGATÓRIO)
|
|
77
|
+
|
|
78
|
+
**CRÍTICO:** Sempre ler o framework antes de qualquer cálculo:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Ler framework completo
|
|
82
|
+
read_file docs/knowbase/frameworks/framework_testes.md
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
**Extrair e armazenar em memória:**
|
|
86
|
+
- Seção "QA Story Points - Sistema de Estimativa" (linhas ~217-330)
|
|
87
|
+
- Fórmula exata: `QA Points = Complexidade Base + Ajuste de Risco + Ajuste de Tipo`
|
|
88
|
+
- Escalas de complexidade, risco e tipo
|
|
89
|
+
- Distribuições por perspectiva (White/Grey/Black-box)
|
|
90
|
+
- Técnicas por tipo de teste
|
|
91
|
+
|
|
92
|
+
**Validar leitura:**
|
|
93
|
+
```markdown
|
|
94
|
+
SE arquivo não encontrado:
|
|
95
|
+
❌ ERRO: Framework de testes não encontrado em docs/knowbase/frameworks/framework_testes.md
|
|
96
|
+
💡 Verifique se o arquivo existe e tente novamente
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Passo 2: Análise Contextual da Descrição
|
|
100
|
+
|
|
101
|
+
#### 2.1. Detecção de Keywords
|
|
102
|
+
|
|
103
|
+
**Analisar descrição para detectar indicadores:**
|
|
104
|
+
|
|
105
|
+
```markdown
|
|
106
|
+
## 🔍 Análise de Keywords
|
|
107
|
+
|
|
108
|
+
**Complexidade:**
|
|
109
|
+
- "multiple APIs" → +1 complexity
|
|
110
|
+
- "third-party integration" → +1 complexity
|
|
111
|
+
- "new technology" → +1 complexity
|
|
112
|
+
- "legacy system" → +1 complexity + 1 risk
|
|
113
|
+
|
|
114
|
+
**Risco:**
|
|
115
|
+
- "payment", "gateway", "financial" → +2 risk
|
|
116
|
+
- "third-party service" → +1 risk
|
|
117
|
+
- "critical user flow" → +2 risk
|
|
118
|
+
- "security", "auth", "authentication" → +2 risk
|
|
119
|
+
- "data", "personal", "LGPD" → +2 risk
|
|
120
|
+
|
|
121
|
+
**Tipo de Teste (Inferência):**
|
|
122
|
+
- "API", "endpoint", "contract" → integration/api
|
|
123
|
+
- "form", "button", "UI", "interface" → ui
|
|
124
|
+
- "login", "checkout", "user journey", "flow" → e2e
|
|
125
|
+
- "load", "stress", "performance" → performance
|
|
126
|
+
- "security", "vulnerability", "penetration" → security
|
|
127
|
+
- "manual", "exploratory" → manual
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
#### 2.2. Inferência de Parâmetros
|
|
131
|
+
|
|
132
|
+
**SE parâmetros não fornecidos, inferir da descrição:**
|
|
133
|
+
|
|
134
|
+
```markdown
|
|
135
|
+
## 📊 Inferência Automática
|
|
136
|
+
|
|
137
|
+
**Complexidade:**
|
|
138
|
+
- SE keywords de complexidade detectadas:
|
|
139
|
+
- 1 keyword → medium
|
|
140
|
+
- 2+ keywords → complex
|
|
141
|
+
- SE nenhuma keyword → medium (default)
|
|
142
|
+
|
|
143
|
+
**Risco:**
|
|
144
|
+
- SE keywords de risco crítico detectadas → critical
|
|
145
|
+
- SE keywords de risco alto detectadas → high
|
|
146
|
+
- SE keywords de risco médio detectadas → medium
|
|
147
|
+
- SE nenhuma keyword → medium (default)
|
|
148
|
+
|
|
149
|
+
**Tipo:**
|
|
150
|
+
- SE keywords de tipo detectadas → usar tipo inferido
|
|
151
|
+
- SE nenhuma keyword → integration (default)
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Passo 3: Cálculo de QA Story Points
|
|
155
|
+
|
|
156
|
+
#### 3.1. Aplicar Fórmula Exata
|
|
157
|
+
|
|
158
|
+
**CRÍTICO:** Usar valores exatos do framework, sem desvios:
|
|
159
|
+
|
|
160
|
+
```markdown
|
|
161
|
+
## 🧮 Cálculo QA Story Points
|
|
162
|
+
|
|
163
|
+
**Fórmula:** QA Points = Complexidade Base + Ajuste de Risco + Ajuste de Tipo
|
|
164
|
+
|
|
165
|
+
### Complexidade Base (escolher valor médio do range):
|
|
166
|
+
- simple: 1-2 pontos → usar 1.5 (arredondar para 2)
|
|
167
|
+
- medium: 3-5 pontos → usar 4
|
|
168
|
+
- complex: 5-8 pontos → usar 6.5 (arredondar para 7)
|
|
169
|
+
- epic: 8-13 pontos → usar 10.5 (arredondar para 11)
|
|
170
|
+
|
|
171
|
+
### Ajuste de Risco (escolher valor médio do range):
|
|
172
|
+
- low: +0 pontos
|
|
173
|
+
- medium: +1-2 pontos → usar +1.5 (arredondar para +2)
|
|
174
|
+
- high: +2-3 pontos → usar +2.5 (arredondar para +3)
|
|
175
|
+
- critical: +3-5 pontos → usar +4
|
|
176
|
+
|
|
177
|
+
### Ajuste de Tipo (escolher valor médio do range):
|
|
178
|
+
- unit: +0-1 pontos → usar +0.5 (arredondar para +1)
|
|
179
|
+
- integration: +1-2 pontos → usar +1.5 (arredondar para +2)
|
|
180
|
+
- ui: +2-3 pontos → usar +2.5 (arredondar para +3)
|
|
181
|
+
- api: +1-2 pontos → usar +1.5 (arredondar para +2)
|
|
182
|
+
- e2e: +3-4 pontos → usar +3.5 (arredondar para +4)
|
|
183
|
+
- performance: +2-4 pontos → usar +3
|
|
184
|
+
- security: +3-5 pontos → usar +4
|
|
185
|
+
- manual: +1-3 pontos → usar +2
|
|
186
|
+
|
|
187
|
+
### Ajuste Contextual (opcional):
|
|
188
|
+
- SE keywords detectadas → aplicar ajustes adicionais
|
|
189
|
+
- "third-party integration" → +1 complexity
|
|
190
|
+
- "legacy system" → +1 complexity + 1 risk
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
#### 3.2. Calcular Total
|
|
194
|
+
|
|
195
|
+
```markdown
|
|
196
|
+
## 📊 Resultado do Cálculo
|
|
197
|
+
|
|
198
|
+
**Exemplo:**
|
|
199
|
+
- Complexidade Base: medium = 4 pontos
|
|
200
|
+
- Context Adjustment: +1 ponto (third-party integration)
|
|
201
|
+
- Risk Adjustment: high = +3 pontos
|
|
202
|
+
- Type Adjustment: integration = +2 pontos
|
|
203
|
+
- **Total: 10 QA Story Points**
|
|
204
|
+
|
|
205
|
+
**Estimativa de Esforço:**
|
|
206
|
+
- 10 pontos = 14-18 horas (baseado na escala do framework)
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Passo 4: Breakdown Multi-Perspectiva
|
|
210
|
+
|
|
211
|
+
**SE `--breakdown` fornecido:**
|
|
212
|
+
|
|
213
|
+
```markdown
|
|
214
|
+
## 🎭 Multi-Perspective Breakdown
|
|
215
|
+
|
|
216
|
+
**Distribuição por tipo de teste (do framework):**
|
|
217
|
+
|
|
218
|
+
### Unit Tests:
|
|
219
|
+
- White-box: 70%
|
|
220
|
+
- Grey-box: 20%
|
|
221
|
+
- Black-box: 10%
|
|
222
|
+
|
|
223
|
+
### Integration Tests:
|
|
224
|
+
- White-box: 30%
|
|
225
|
+
- Grey-box: 60%
|
|
226
|
+
- Black-box: 10%
|
|
227
|
+
|
|
228
|
+
### UI Tests:
|
|
229
|
+
- White-box: 20%
|
|
230
|
+
- Grey-box: 30%
|
|
231
|
+
- Black-box: 50%
|
|
232
|
+
|
|
233
|
+
### API Tests:
|
|
234
|
+
- White-box: 40%
|
|
235
|
+
- Grey-box: 50%
|
|
236
|
+
- Black-box: 10%
|
|
237
|
+
|
|
238
|
+
### E2E Tests:
|
|
239
|
+
- White-box: 10%
|
|
240
|
+
- Grey-box: 30%
|
|
241
|
+
- Black-box: 60%
|
|
242
|
+
|
|
243
|
+
### Performance Tests:
|
|
244
|
+
- White-box: 30%
|
|
245
|
+
- Grey-box: 40%
|
|
246
|
+
- Black-box: 30%
|
|
247
|
+
|
|
248
|
+
### Security Tests:
|
|
249
|
+
- White-box: 25%
|
|
250
|
+
- Grey-box: 35%
|
|
251
|
+
- Black-box: 40%
|
|
252
|
+
|
|
253
|
+
**Cálculo:**
|
|
254
|
+
- Total QA Points: [X]
|
|
255
|
+
- White-box: [X * %] pontos | [horas] horas | [%]%
|
|
256
|
+
- Grey-box: [X * %] pontos | [horas] horas | [%]%
|
|
257
|
+
- Black-box: [X * %] pontos | [horas] horas | [%]%
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### Passo 5: Sugestões de Técnicas
|
|
261
|
+
|
|
262
|
+
**SE `--suggest-techniques` fornecido:**
|
|
263
|
+
|
|
264
|
+
```markdown
|
|
265
|
+
## 💡 Técnicas Sugeridas (do framework)
|
|
266
|
+
|
|
267
|
+
### Por Tipo de Teste:
|
|
268
|
+
|
|
269
|
+
**Unit:**
|
|
270
|
+
- TDD (Test-Driven Development)
|
|
271
|
+
- Mutation Testing
|
|
272
|
+
- Code Coverage Analysis
|
|
273
|
+
- Behavior-Driven Testing
|
|
274
|
+
|
|
275
|
+
**Integration:**
|
|
276
|
+
- Contract Testing (Pact)
|
|
277
|
+
- API Mocking (Wiremock)
|
|
278
|
+
- Database Testing
|
|
279
|
+
- Fuzzing de API
|
|
280
|
+
|
|
281
|
+
**UI:**
|
|
282
|
+
- Page Object Model
|
|
283
|
+
- Visual Testing
|
|
284
|
+
- Accessibility Testing
|
|
285
|
+
- Cross-browser Testing
|
|
286
|
+
|
|
287
|
+
**API:**
|
|
288
|
+
- Schema Validation
|
|
289
|
+
- Error Handling Testing
|
|
290
|
+
- Rate Limiting Testing
|
|
291
|
+
- Contract Testing
|
|
292
|
+
|
|
293
|
+
**E2E:**
|
|
294
|
+
- User Journey Mapping
|
|
295
|
+
- Browser Testing (Cypress, Selenium)
|
|
296
|
+
- Acceptance Testing
|
|
297
|
+
|
|
298
|
+
**Performance:**
|
|
299
|
+
- Load Testing
|
|
300
|
+
- Stress Testing
|
|
301
|
+
- Profiling
|
|
302
|
+
- Performance Monitoring
|
|
303
|
+
|
|
304
|
+
**Security:**
|
|
305
|
+
- Penetration Testing
|
|
306
|
+
- OWASP Guidelines
|
|
307
|
+
- Vulnerability Scanning
|
|
308
|
+
- Security Audit
|
|
309
|
+
|
|
310
|
+
**Manual:**
|
|
311
|
+
- Exploratory Testing
|
|
312
|
+
- Usability Testing
|
|
313
|
+
- Session-Based Testing
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
### Passo 6: Integração com Task Manager
|
|
317
|
+
|
|
318
|
+
**SE `--task-id` fornecido:**
|
|
319
|
+
|
|
320
|
+
#### 6.1. Detectar Provedor
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
# EXECUTAR PRIMEIRO: Ler .env para detectar provedor
|
|
324
|
+
read_file .env
|
|
325
|
+
```
|
|
326
|
+
|
|
327
|
+
**Lógica de detecção:**
|
|
328
|
+
```markdown
|
|
329
|
+
**1. SE {{task-manager}} fornecido explicitamente:**
|
|
330
|
+
usar {{task-manager}} diretamente
|
|
331
|
+
|
|
332
|
+
**2. SE formato do task-id detectável:**
|
|
333
|
+
- CU-xxxxx → clickup
|
|
334
|
+
- PROJ-xxx → jira (se configurado)
|
|
335
|
+
- Outros → verificar .env
|
|
336
|
+
|
|
337
|
+
**3. SE TASK_MANAGER_PROVIDER no .env:**
|
|
338
|
+
usar valor do .env
|
|
339
|
+
|
|
340
|
+
**4. SE nenhum detectado:**
|
|
341
|
+
⚠️ AVISO: Task manager não detectado
|
|
342
|
+
Continuar apenas com output local
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
#### 6.2. Buscar Task Existente
|
|
346
|
+
|
|
347
|
+
```markdown
|
|
348
|
+
## 🔍 Buscando Task
|
|
349
|
+
|
|
350
|
+
**Task ID:** {{task-id}}
|
|
351
|
+
**Provedor:** {{task-manager}}
|
|
352
|
+
|
|
353
|
+
**Ações:**
|
|
354
|
+
1. Buscar task usando adapter apropriado
|
|
355
|
+
2. Validar que task existe
|
|
356
|
+
3. Ler story points atuais (se existir)
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
#### 6.3. Atualizar Story Points (SE `--update` fornecido)
|
|
360
|
+
|
|
361
|
+
**CRÍTICO:** Usar ferramentas MCP diretamente:
|
|
362
|
+
|
|
363
|
+
```markdown
|
|
364
|
+
## 📊 Atualizando Story Points
|
|
365
|
+
|
|
366
|
+
**Para ClickUp:**
|
|
367
|
+
1. Buscar task para obter custom field ID:
|
|
368
|
+
```bash
|
|
369
|
+
mcp_ClickUp_clickup_get_task({
|
|
370
|
+
task_id: taskId,
|
|
371
|
+
workspace_id: workspaceId
|
|
372
|
+
})
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
2. Extrair custom field ID de "Story Points" ou "QA Story Points" da resposta
|
|
376
|
+
|
|
377
|
+
3. Atualizar task com custom field:
|
|
378
|
+
```bash
|
|
379
|
+
mcp_ClickUp_clickup_update_task({
|
|
380
|
+
task_id: taskId,
|
|
381
|
+
workspace_id: workspaceId,
|
|
382
|
+
custom_fields: [{
|
|
383
|
+
id: "custom_field_id", // ID obtido do passo 2
|
|
384
|
+
value: totalPoints
|
|
385
|
+
}]
|
|
386
|
+
})
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
4. Adicionar comentário com análise completa usando `mcp_ClickUp_clickup_create_task_comment`
|
|
390
|
+
|
|
391
|
+
**Para Asana:**
|
|
392
|
+
- Usar `mcp_asana_*` tools apropriados
|
|
393
|
+
- Custom field "QA Story Points"
|
|
394
|
+
- Seguir padrão similar ao ClickUp
|
|
395
|
+
|
|
396
|
+
**Para Jira:**
|
|
397
|
+
- Usar API Jira ou adapter apropriado
|
|
398
|
+
- Custom field "Story Points"
|
|
399
|
+
- Pode usar `issue.fields.customfield_XXXXX` para atualizar
|
|
400
|
+
|
|
401
|
+
**Nota:** Se custom field não existir, criar comentário com estimativa e sugerir criação do custom field.
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
**Template de Comentário:**
|
|
405
|
+
|
|
406
|
+
```markdown
|
|
407
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
408
|
+
🧮 QA STORY POINTS ESTIMATION
|
|
409
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
410
|
+
|
|
411
|
+
📅 Timestamp: [data/hora]
|
|
412
|
+
|
|
413
|
+
📋 TASK ANALYSIS:
|
|
414
|
+
∟ Description: "{{task-description}}"
|
|
415
|
+
∟ Detected Keywords: [lista de keywords]
|
|
416
|
+
∟ Context Factors: [ajustes contextuais]
|
|
417
|
+
|
|
418
|
+
🧮 FORMULA BREAKDOWN:
|
|
419
|
+
∟ Base Complexity: {{complexity}} = {{base_points}} points
|
|
420
|
+
∟ Context Adjustment: {{context_adjustment}} points
|
|
421
|
+
∟ Risk Adjustment: {{risk}} = {{risk_points}} points
|
|
422
|
+
∟ Type Adjustment: {{type}} = {{type_points}} points
|
|
423
|
+
∟ **Total: {{total_points}} QA Story Points**
|
|
424
|
+
|
|
425
|
+
⏱️ ESTIMATED EFFORT: {{hours_range}} hours
|
|
426
|
+
|
|
427
|
+
🎭 MULTI-PERSPECTIVE BREAKDOWN:
|
|
428
|
+
∟ White-box: {{white_points}} points | {{white_hours}} hours | {{white_percent}}%
|
|
429
|
+
∟ Grey-box: {{grey_points}} points | {{grey_hours}} hours | {{grey_percent}}%
|
|
430
|
+
∟ Black-box: {{black_points}} points | {{black_hours}} hours | {{black_percent}}%
|
|
431
|
+
|
|
432
|
+
💡 SUGGESTED TECHNIQUES:
|
|
433
|
+
{{lista de técnicas sugeridas}}
|
|
434
|
+
|
|
435
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
436
|
+
✅ Calculation complete! {{total_points}} QA Story Points estimated.
|
|
437
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
## 📤 Output Esperado
|
|
441
|
+
|
|
442
|
+
### Formato Completo
|
|
443
|
+
|
|
444
|
+
```
|
|
445
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
446
|
+
🧮 QA STORY POINTS CALCULATION
|
|
447
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
448
|
+
|
|
449
|
+
📋 TASK ANALYSIS:
|
|
450
|
+
|
|
451
|
+
Description: "{{task-description}}"
|
|
452
|
+
|
|
453
|
+
✓ Detected Keywords: [lista de keywords]
|
|
454
|
+
✓ Context Factors: [ajustes contextuais aplicados]
|
|
455
|
+
|
|
456
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
457
|
+
|
|
458
|
+
🧮 FORMULA BREAKDOWN:
|
|
459
|
+
|
|
460
|
+
Base Complexity: {{complexity}} = {{base_points}} points
|
|
461
|
+
+ Context Adjustment: {{context_adjustment}} points
|
|
462
|
+
+ Risk Adjustment: {{risk}} = {{risk_points}} points
|
|
463
|
+
+ Type Adjustment: {{type}} = {{type_points}} points
|
|
464
|
+
|
|
465
|
+
= **Total: {{total_points}} QA Story Points**
|
|
466
|
+
|
|
467
|
+
⏱️ ESTIMATED EFFORT: {{hours_range}} hours
|
|
468
|
+
|
|
469
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
470
|
+
|
|
471
|
+
🎭 MULTI-PERSPECTIVE BREAKDOWN:
|
|
472
|
+
|
|
473
|
+
🔬 White-box ({{white_points}} points | {{white_hours}} hours | {{white_percent}}%):
|
|
474
|
+
- [técnicas white-box]
|
|
475
|
+
- [responsabilidades]
|
|
476
|
+
|
|
477
|
+
🔗 Grey-box ({{grey_points}} points | {{grey_hours}} hours | {{grey_percent}}%):
|
|
478
|
+
- [técnicas grey-box]
|
|
479
|
+
- [responsabilidades]
|
|
480
|
+
|
|
481
|
+
📱 Black-box ({{black_points}} points | {{black_hours}} hours | {{black_percent}}%):
|
|
482
|
+
- [técnicas black-box]
|
|
483
|
+
- [responsabilidades]
|
|
484
|
+
|
|
485
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
486
|
+
|
|
487
|
+
💡 SUGGESTED TECHNIQUES:
|
|
488
|
+
|
|
489
|
+
🔬 White-box:
|
|
490
|
+
- [técnica 1]
|
|
491
|
+
- [técnica 2]
|
|
492
|
+
|
|
493
|
+
🔗 Grey-box:
|
|
494
|
+
- [técnica 1]
|
|
495
|
+
- [técnica 2]
|
|
496
|
+
|
|
497
|
+
📱 Black-box:
|
|
498
|
+
- [técnica 1]
|
|
499
|
+
- [técnica 2]
|
|
500
|
+
|
|
501
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
502
|
+
|
|
503
|
+
✅ Calculation complete! {{total_points}} QA Story Points estimated.
|
|
504
|
+
|
|
505
|
+
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
### Formato Resumido (sem flags)
|
|
509
|
+
|
|
510
|
+
```
|
|
511
|
+
🧮 QA STORY POINTS: {{total_points}} pontos
|
|
512
|
+
⏱️ Estimated Effort: {{hours_range}} hours
|
|
513
|
+
📊 Type: {{type}} | Complexity: {{complexity}} | Risk: {{risk}}
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
## 📋 Exemplos de Uso
|
|
517
|
+
|
|
518
|
+
### Exemplo 1: Estimativa Básica
|
|
519
|
+
|
|
520
|
+
```bash
|
|
521
|
+
/qa-points/estimate "API integration tests for payment gateway"
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
**Output esperado:**
|
|
525
|
+
- Detecta: payment (high risk), API (integration type)
|
|
526
|
+
- Calcula: medium (4) + high risk (+3) + integration (+2) = 9 pontos
|
|
527
|
+
- Esforço: 12-16 horas
|
|
528
|
+
|
|
529
|
+
### Exemplo 2: Com Breakdown e Técnicas
|
|
530
|
+
|
|
531
|
+
```bash
|
|
532
|
+
/qa-points/estimate "API integration tests for payment gateway with third-party service" medium high integration --breakdown --suggest-techniques
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
**Output esperado:**
|
|
536
|
+
- Total: 10 QA Story Points
|
|
537
|
+
- Breakdown detalhado por perspectiva
|
|
538
|
+
- Técnicas sugeridas para cada perspectiva
|
|
539
|
+
|
|
540
|
+
### Exemplo 3: Com Atualização no Task Manager
|
|
541
|
+
|
|
542
|
+
```bash
|
|
543
|
+
/qa-points/estimate "Login form validation" simple low ui --task-id CU-456 --update
|
|
544
|
+
```
|
|
545
|
+
|
|
546
|
+
**Output esperado:**
|
|
547
|
+
- Calcula: simple (2) + low risk (+0) + ui (+3) = 5 pontos
|
|
548
|
+
- Atualiza task CU-456 no ClickUp com:
|
|
549
|
+
- Custom field "QA Story Points" = 5
|
|
550
|
+
- Comentário com análise completa
|
|
551
|
+
|
|
552
|
+
### Exemplo 4: Inferência Automática
|
|
553
|
+
|
|
554
|
+
```bash
|
|
555
|
+
/qa-points/estimate "E2E testing for checkout flow with payment integration"
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
**Output esperado:**
|
|
559
|
+
- Infere: e2e type, complex complexity (checkout + payment), high risk (payment)
|
|
560
|
+
- Calcula: complex (7) + high risk (+3) + e2e (+4) = 14 pontos
|
|
561
|
+
- Alerta: >13 pontos, pode precisar quebra
|
|
562
|
+
|
|
563
|
+
## ⚠️ Regras e Validações
|
|
564
|
+
|
|
565
|
+
### Validações Obrigatórias
|
|
566
|
+
|
|
567
|
+
1. **Descrição não vazia:**
|
|
568
|
+
```markdown
|
|
569
|
+
SE task-description vazio:
|
|
570
|
+
❌ ERRO: Descrição da tarefa é obrigatória
|
|
571
|
+
💡 Sugestão: Forneça detalhes suficientes para análise
|
|
572
|
+
```
|
|
573
|
+
|
|
574
|
+
2. **Valores válidos:**
|
|
575
|
+
```markdown
|
|
576
|
+
SE complexity fornecido E não está em [simple, medium, complex, epic]:
|
|
577
|
+
⚠️ AVISO: Complexidade inválida, usando auto-detect
|
|
578
|
+
|
|
579
|
+
SE risk fornecido E não está em [low, medium, high, critical]:
|
|
580
|
+
⚠️ AVISO: Risco inválido, usando auto-detect
|
|
581
|
+
|
|
582
|
+
SE type fornecido E não está em [unit, integration, ui, api, e2e, performance, security, manual]:
|
|
583
|
+
⚠️ AVISO: Tipo inválido, usando auto-detect
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
3. **Task ID válido (se fornecido):**
|
|
587
|
+
```markdown
|
|
588
|
+
SE task-id fornecido E formato inválido:
|
|
589
|
+
⚠️ AVISO: Formato de task-id inválido
|
|
590
|
+
Continuar sem atualização
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
### Anti-Patterns Detectados
|
|
594
|
+
|
|
595
|
+
1. **Épicos de teste (>13 pontos):**
|
|
596
|
+
```markdown
|
|
597
|
+
SE total_points > 13:
|
|
598
|
+
⚠️ ALERTA: Estimativa > 13 pontos (épico)
|
|
599
|
+
💡 Recomendação: Considerar quebra em múltiplas tasks de teste
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
2. **Inconsistências detectadas:**
|
|
603
|
+
```markdown
|
|
604
|
+
SE type=unit E risk=critical:
|
|
605
|
+
⚠️ AVISO: Unit tests geralmente não têm risco crítico
|
|
606
|
+
Verificar se tipo está correto
|
|
607
|
+
|
|
608
|
+
SE type=manual E complexity=epic:
|
|
609
|
+
⚠️ AVISO: Testes manuais épicos podem ser muito demorados
|
|
610
|
+
Considerar automação ou quebra
|
|
611
|
+
```
|
|
612
|
+
|
|
613
|
+
## 🔗 Integração com Outros Comandos
|
|
614
|
+
|
|
615
|
+
### Com `/validate/test-strategy/create`
|
|
616
|
+
```markdown
|
|
617
|
+
Após estimar, criar estratégia completa:
|
|
618
|
+
/validate/test-strategy/create "{{task-description}}" --qa-points={{estimated_points}}
|
|
619
|
+
```
|
|
620
|
+
|
|
621
|
+
### Com `/product/task`
|
|
622
|
+
```markdown
|
|
623
|
+
Criar task com estimativa QA:
|
|
624
|
+
/product/task "{{task-description}}" --qa-points={{estimated_points}}
|
|
625
|
+
```
|
|
626
|
+
|
|
627
|
+
### Com `/product/estimate`
|
|
628
|
+
```markdown
|
|
629
|
+
Comparar estimativa dev vs QA:
|
|
630
|
+
/product/estimate "{{task-description}}"
|
|
631
|
+
/qa-points/estimate "{{task-description}}"
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
## 📚 Base de Conhecimento
|
|
635
|
+
|
|
636
|
+
O comando utiliza o framework completo de testes disponível em:
|
|
637
|
+
- `docs/knowbase/frameworks/framework_testes.md`
|
|
638
|
+
|
|
639
|
+
**Conteúdo incluído:**
|
|
640
|
+
- Fórmula exata de QA Story Points (linhas ~217-330)
|
|
641
|
+
- Escalas de complexidade, risco e tipo
|
|
642
|
+
- Distribuições por perspectiva (White/Grey/Black-box)
|
|
643
|
+
- Técnicas específicas por tipo de teste
|
|
644
|
+
- Métricas de qualidade
|
|
645
|
+
|
|
646
|
+
## ⚠️ Notas Importantes
|
|
647
|
+
|
|
648
|
+
- **Fórmula exata:** Sempre usar valores do framework, sem desvios
|
|
649
|
+
- **Análise contextual:** Keywords detectadas podem ajustar valores
|
|
650
|
+
- **Breakdown opcional:** Usar `--breakdown` para ver distribuição por perspectiva
|
|
651
|
+
- **Técnicas sugeridas:** Baseadas no framework, não inventadas
|
|
652
|
+
- **Task manager:** Requer configuração prévia via `/meta/setup-integration`
|
|
653
|
+
- **Atualização automática:** Usar `--update` apenas quando confiante na estimativa
|
|
654
|
+
|
|
655
|
+
---
|
|
656
|
+
|
|
657
|
+
**Versão:** 1.0.0
|
|
658
|
+
**Última atualização:** 2025-12-03
|
|
659
|
+
**Mantido por:** Sistema Onion
|
|
660
|
+
|