@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.
Files changed (207) hide show
  1. package/dist/cli.js +8 -19
  2. package/dist/cli.js.map +1 -1
  3. package/package.json +4 -3
  4. package/templates/.cursor/agents/compliance/iso-22301-specialist.md +917 -0
  5. package/templates/.cursor/agents/compliance/iso-27001-specialist.md +641 -0
  6. package/templates/.cursor/agents/compliance/pmbok-specialist.md +669 -0
  7. package/templates/.cursor/agents/compliance/security-information-master.md +824 -0
  8. package/templates/.cursor/agents/compliance/soc2-specialist.md +818 -0
  9. package/templates/.cursor/agents/deployment/docker-specialist.md +1192 -0
  10. package/templates/.cursor/agents/meta/agent-creator-specialist.md +1135 -0
  11. package/templates/.cursor/agents/meta/command-creator-specialist.md +1519 -0
  12. package/templates/.cursor/agents/meta/metaspec-gate-keeper.md +240 -0
  13. package/templates/.cursor/agents/meta/onion.md +753 -0
  14. package/templates/.cursor/agents/research/research-agent.md +292 -0
  15. package/templates/.cursor/agents/review/corporate-compliance-specialist.md +370 -0
  16. package/templates/.cursor/commands/common/prompts/README.md +187 -0
  17. package/templates/.cursor/commands/common/prompts/clickup-patterns.md +144 -0
  18. package/templates/.cursor/commands/common/prompts/code-review-checklist.md +168 -0
  19. package/templates/.cursor/commands/common/prompts/git-workflow-patterns.md +235 -0
  20. package/templates/.cursor/commands/common/prompts/output-formats.md +240 -0
  21. package/templates/.cursor/commands/common/prompts/technical.md +172 -0
  22. package/templates/.cursor/commands/common/prompts/validation-rules.md +173 -0
  23. package/templates/.cursor/commands/common/templates/abstraction-template.md +400 -0
  24. package/templates/.cursor/commands/common/templates/agent-template.md +353 -0
  25. package/templates/.cursor/commands/common/templates/business_context_template.md +748 -0
  26. package/templates/.cursor/commands/common/templates/command-template.md +273 -0
  27. package/templates/.cursor/commands/common/templates/technical_context_template.md +526 -0
  28. package/templates/.cursor/commands/development/runflow-dev.md +465 -0
  29. package/templates/.cursor/commands/docs/build-compliance-docs.md +143 -0
  30. package/templates/.cursor/commands/git/README.md +606 -0
  31. package/templates/.cursor/commands/meta/all-tools.md +50 -0
  32. package/templates/.cursor/commands/meta/analyze-complex-problem.md +186 -0
  33. package/templates/.cursor/commands/meta/create-abstraction.md +859 -0
  34. package/templates/.cursor/commands/meta/create-agent-express.md +83 -0
  35. package/templates/.cursor/commands/meta/create-agent.md +210 -0
  36. package/templates/.cursor/commands/meta/create-command.md +203 -0
  37. package/templates/.cursor/commands/meta/create-knowledge-base.md +143 -0
  38. package/templates/.cursor/commands/meta/create-task-structure.md +150 -0
  39. package/templates/.cursor/commands/meta/setup-integration.md +257 -0
  40. package/templates/.cursor/commands/onion/setup.md +843 -0
  41. package/templates/.cursor/commands/onion.md +168 -0
  42. package/templates/.cursor/commands/product/README.md +230 -0
  43. package/templates/.cursor/commands/quick/analisys.md +17 -0
  44. package/templates/.cursor/commands/validate/collab/pair-testing.md +633 -0
  45. package/templates/.cursor/commands/validate/collab/three-amigos.md +505 -0
  46. package/templates/.cursor/commands/validate/qa-points/estimate.md +660 -0
  47. package/templates/.cursor/commands/validate/test-strategy/analyze.md +1134 -0
  48. package/templates/.cursor/commands/validate/test-strategy/create.md +392 -0
  49. package/templates/.cursor/commands/validate/workflow.md +360 -0
  50. package/templates/.cursor/commands/warm-up.md +91 -0
  51. package/templates/.cursor/docs/architecture/acoplamento-clickup-problema-analise.md +446 -0
  52. package/templates/.cursor/docs/architecture/desacoplamento-roadmap.md +360 -0
  53. package/templates/.cursor/docs/architecture/validacao-fase-1.md +219 -0
  54. package/templates/.cursor/docs/c4/c4-detection-rules.md +395 -0
  55. package/templates/.cursor/docs/c4/c4-documentation-templates.md +579 -0
  56. package/templates/.cursor/docs/c4/c4-mermaid-patterns.md +331 -0
  57. package/templates/.cursor/docs/c4/c4-templates.md +256 -0
  58. package/templates/.cursor/docs/clickup/clickup-acceptance-criteria-strategy.md +329 -0
  59. package/templates/.cursor/docs/clickup/clickup-auto-update-strategy.md +318 -0
  60. package/templates/.cursor/docs/clickup/clickup-comment-formatter.md +239 -0
  61. package/templates/.cursor/docs/clickup/clickup-description-fix.md +355 -0
  62. package/templates/.cursor/docs/clickup/clickup-dual-comment-strategy.md +505 -0
  63. package/templates/.cursor/docs/clickup/clickup-formatting.md +302 -0
  64. package/templates/.cursor/docs/clickup/separador-tamanho-otimizado.md +256 -0
  65. package/templates/.cursor/docs/engineer/pre-pr-acceptance-validation.md +256 -0
  66. package/templates/.cursor/docs/onion/ESPERANTO.md +278 -0
  67. package/templates/.cursor/docs/onion/agents-reference.md +832 -0
  68. package/templates/.cursor/docs/onion/clickup-integration.md +738 -0
  69. package/templates/.cursor/docs/onion/commands-guide.md +807 -0
  70. package/templates/.cursor/docs/onion/engineering-flows.md +865 -0
  71. package/templates/.cursor/docs/onion/getting-started.md +741 -0
  72. package/templates/.cursor/docs/onion/maintenance-checklist.md +388 -0
  73. package/templates/.cursor/docs/onion/naming-conventions.md +268 -0
  74. package/templates/.cursor/docs/onion/practical-examples.md +782 -0
  75. package/templates/.cursor/docs/product/story-points-integration.md +254 -0
  76. package/templates/.cursor/docs/product/story-points-validation.md +224 -0
  77. package/templates/.cursor/docs/reviews/task-manager-docs-review-2025-11-24.md +167 -0
  78. package/templates/.cursor/docs/strategies/clickup-comment-patterns.md +766 -0
  79. package/templates/.cursor/docs/strategies/clickup-integration-tests.md +599 -0
  80. package/templates/.cursor/docs/strategies/clickup-mcp-wrappers-tests.md +854 -0
  81. package/templates/.cursor/docs/strategies/clickup-regression-tests.md +589 -0
  82. package/templates/.cursor/docs/strategies/visual-patterns.md +308 -0
  83. package/templates/.cursor/docs/templates/README.md +624 -0
  84. package/templates/.cursor/docs/templates/adr-template.md +226 -0
  85. package/templates/.cursor/docs/templates/analysis-template.md +280 -0
  86. package/templates/.cursor/docs/templates/execution-plan-template.md +430 -0
  87. package/templates/.cursor/docs/templates/guide-template.md +367 -0
  88. package/templates/.cursor/docs/templates/phase-execution-prompt-template.md +504 -0
  89. package/templates/.cursor/docs/templates/reference-template.md +522 -0
  90. package/templates/.cursor/docs/templates/solution-template.md +390 -0
  91. package/templates/.cursor/docs/tools/README.md +325 -0
  92. package/templates/.cursor/docs/tools/agents.md +330 -0
  93. package/templates/.cursor/docs/tools/commands.md +606 -0
  94. package/templates/.cursor/docs/tools/cursor.md +498 -0
  95. package/templates/.cursor/docs/tools/mcps.md +858 -0
  96. package/templates/.cursor/docs/tools/rules.md +423 -0
  97. package/templates/.cursor/rules/language-and-documentation.mdc +371 -0
  98. package/templates/.cursor/rules/onion-patterns.mdc +197 -0
  99. package/templates/.cursor/rules/validation-rules.mdc +194 -0
  100. package/templates/.cursor/utils/clickup-mcp-wrappers.md +671 -0
  101. package/templates/.cursor/utils/date-time-standards.md +182 -0
  102. package/templates/.cursor/utils/task-manager/README.md +94 -0
  103. package/templates/.cursor/utils/task-manager/adapters/asana.md +377 -0
  104. package/templates/.cursor/utils/task-manager/adapters/clickup.md +467 -0
  105. package/templates/.cursor/utils/task-manager/adapters/linear.md +421 -0
  106. package/templates/.cursor/utils/task-manager/detector.md +290 -0
  107. package/templates/.cursor/utils/task-manager/factory.md +363 -0
  108. package/templates/.cursor/utils/task-manager/interface.md +248 -0
  109. package/templates/.cursor/utils/task-manager/types.md +409 -0
  110. package/templates/.cursor/validation/product-task-validation.md +344 -0
  111. package/templates/.onion/contexts/business/.context-config.yml +52 -0
  112. package/templates/.onion/contexts/business/README.md +222 -0
  113. package/templates/.onion/contexts/business/agents/branding-specialist.md +1030 -0
  114. package/templates/.onion/contexts/business/agents/clickup-specialist.md +397 -0
  115. package/templates/.onion/contexts/business/agents/extract-meeting-specialist.md +395 -0
  116. package/templates/.onion/contexts/business/agents/gamma-specialist.md +1169 -0
  117. package/templates/.onion/contexts/business/agents/meeting-consolidator.md +483 -0
  118. package/templates/.onion/contexts/business/agents/pain-price-specialist.md +509 -0
  119. package/templates/.onion/contexts/business/agents/presentation-orchestrator.md +1191 -0
  120. package/templates/.onion/contexts/business/agents/product-agent.md +202 -0
  121. package/templates/.onion/contexts/business/agents/story-points-specialist.md +539 -0
  122. package/templates/.onion/contexts/business/agents/storytelling-specialist.md +891 -0
  123. package/templates/.onion/contexts/business/agents/task-specialist.md +618 -0
  124. package/templates/.onion/contexts/business/agents/whisper-specialist.md +373 -0
  125. package/templates/.onion/contexts/business/commands/advanced/analyze-pain-price.md +709 -0
  126. package/templates/.onion/contexts/business/commands/advanced/branding.md +460 -0
  127. package/templates/.onion/contexts/business/commands/advanced/checklist-sync.md +241 -0
  128. package/templates/.onion/contexts/business/commands/advanced/presentation.md +189 -0
  129. package/templates/.onion/contexts/business/commands/advanced/transform-consolidated.md +592 -0
  130. package/templates/.onion/contexts/business/commands/help.md +212 -0
  131. package/templates/.onion/contexts/business/commands/intermediate/check.md +48 -0
  132. package/templates/.onion/contexts/business/commands/intermediate/collect.md +96 -0
  133. package/templates/.onion/contexts/business/commands/intermediate/consolidate-meetings.md +306 -0
  134. package/templates/.onion/contexts/business/commands/intermediate/convert-to-tasks.md +220 -0
  135. package/templates/.onion/contexts/business/commands/intermediate/extract-meeting.md +241 -0
  136. package/templates/.onion/contexts/business/commands/intermediate/feature.md +431 -0
  137. package/templates/.onion/contexts/business/commands/intermediate/light-arch.md +97 -0
  138. package/templates/.onion/contexts/business/commands/intermediate/task-check.md +340 -0
  139. package/templates/.onion/contexts/business/commands/intermediate/validate-task.md +294 -0
  140. package/templates/.onion/contexts/business/commands/intermediate/whisper.md +325 -0
  141. package/templates/.onion/contexts/business/commands/starter/estimate.md +519 -0
  142. package/templates/.onion/contexts/business/commands/starter/refine.md +186 -0
  143. package/templates/.onion/contexts/business/commands/starter/spec.md +107 -0
  144. package/templates/.onion/contexts/business/commands/starter/task.md +585 -0
  145. package/templates/.onion/contexts/business/commands/starter/warm-up.md +187 -0
  146. package/templates/.onion/contexts/technical/.context-config.yml +64 -0
  147. package/templates/.onion/contexts/technical/README.md +238 -0
  148. package/templates/.onion/contexts/technical/agents/branch-code-reviewer.md +200 -0
  149. package/templates/.onion/contexts/technical/agents/branch-doc-writer.md +162 -0
  150. package/templates/.onion/contexts/technical/agents/branch-metaspec-checker.md +68 -0
  151. package/templates/.onion/contexts/technical/agents/branch-test-planner.md +177 -0
  152. package/templates/.onion/contexts/technical/agents/c4-architecture-specialist.md +712 -0
  153. package/templates/.onion/contexts/technical/agents/c4-documentation-specialist.md +658 -0
  154. package/templates/.onion/contexts/technical/agents/code-reviewer.md +155 -0
  155. package/templates/.onion/contexts/technical/agents/cursor-specialist.md +249 -0
  156. package/templates/.onion/contexts/technical/agents/docs-reverse-engineer.md +418 -0
  157. package/templates/.onion/contexts/technical/agents/gitflow-specialist.md +1207 -0
  158. package/templates/.onion/contexts/technical/agents/linux-security-specialist.md +676 -0
  159. package/templates/.onion/contexts/technical/agents/mermaid-specialist.md +516 -0
  160. package/templates/.onion/contexts/technical/agents/nodejs-specialist.md +673 -0
  161. package/templates/.onion/contexts/technical/agents/nx-migration-specialist.md +867 -0
  162. package/templates/.onion/contexts/technical/agents/nx-monorepo-specialist.md +619 -0
  163. package/templates/.onion/contexts/technical/agents/postgres-specialist.md +1124 -0
  164. package/templates/.onion/contexts/technical/agents/react-developer.md +132 -0
  165. package/templates/.onion/contexts/technical/agents/runflow-specialist.md +278 -0
  166. package/templates/.onion/contexts/technical/agents/system-doc-orchestrator.md +1388 -0
  167. package/templates/.onion/contexts/technical/agents/test-agent.md +425 -0
  168. package/templates/.onion/contexts/technical/agents/test-engineer.md +295 -0
  169. package/templates/.onion/contexts/technical/agents/test-planner.md +118 -0
  170. package/templates/.onion/contexts/technical/agents/zen-engine-specialist.md +421 -0
  171. package/templates/.onion/contexts/technical/commands/advanced/bump.md +43 -0
  172. package/templates/.onion/contexts/technical/commands/advanced/consolidate-documents.md +424 -0
  173. package/templates/.onion/contexts/technical/commands/advanced/e2e.md +392 -0
  174. package/templates/.onion/contexts/technical/commands/advanced/feature-finish.md +90 -0
  175. package/templates/.onion/contexts/technical/commands/advanced/feature-publish.md +91 -0
  176. package/templates/.onion/contexts/technical/commands/advanced/feature-start.md +158 -0
  177. package/templates/.onion/contexts/technical/commands/advanced/hotfix-finish.md +98 -0
  178. package/templates/.onion/contexts/technical/commands/advanced/hotfix-start.md +94 -0
  179. package/templates/.onion/contexts/technical/commands/advanced/hotfix.md +186 -0
  180. package/templates/.onion/contexts/technical/commands/advanced/refine-vision.md +27 -0
  181. package/templates/.onion/contexts/technical/commands/advanced/release-finish.md +98 -0
  182. package/templates/.onion/contexts/technical/commands/advanced/release-start.md +95 -0
  183. package/templates/.onion/contexts/technical/commands/advanced/reverse-consolidate.md +160 -0
  184. package/templates/.onion/contexts/technical/commands/advanced/validate-phase-sync.md +118 -0
  185. package/templates/.onion/contexts/technical/commands/help.md +329 -0
  186. package/templates/.onion/contexts/technical/commands/intermediate/build-business-docs.md +276 -0
  187. package/templates/.onion/contexts/technical/commands/intermediate/build-index.md +128 -0
  188. package/templates/.onion/contexts/technical/commands/intermediate/build-tech-docs.md +204 -0
  189. package/templates/.onion/contexts/technical/commands/intermediate/code-review.md +215 -0
  190. package/templates/.onion/contexts/technical/commands/intermediate/docs-health.md +142 -0
  191. package/templates/.onion/contexts/technical/commands/intermediate/fast-commit.md +45 -0
  192. package/templates/.onion/contexts/technical/commands/intermediate/integration.md +523 -0
  193. package/templates/.onion/contexts/technical/commands/intermediate/pr-update.md +198 -0
  194. package/templates/.onion/contexts/technical/commands/intermediate/pre-pr.md +91 -0
  195. package/templates/.onion/contexts/technical/commands/intermediate/start.md +266 -0
  196. package/templates/.onion/contexts/technical/commands/intermediate/sync-sessions.md +320 -0
  197. package/templates/.onion/contexts/technical/commands/intermediate/unit.md +378 -0
  198. package/templates/.onion/contexts/technical/commands/intermediate/validate-docs.md +159 -0
  199. package/templates/.onion/contexts/technical/commands/starter/docs.md +39 -0
  200. package/templates/.onion/contexts/technical/commands/starter/help.md +306 -0
  201. package/templates/.onion/contexts/technical/commands/starter/init.md +139 -0
  202. package/templates/.onion/contexts/technical/commands/starter/plan.md +111 -0
  203. package/templates/.onion/contexts/technical/commands/starter/pr.md +136 -0
  204. package/templates/.onion/contexts/technical/commands/starter/sync.md +228 -0
  205. package/templates/.onion/contexts/technical/commands/starter/warm-up.md +173 -0
  206. package/templates/.onion/contexts/technical/commands/starter/work.md +169 -0
  207. package/templates/.onion/core/commands/help.md +388 -0
@@ -0,0 +1,633 @@
1
+ ---
2
+ name: pair-testing
3
+ description: |
4
+ Organiza sessão de pair testing multi-perspectiva para validação colaborativa de features.
5
+ Use para estruturar sessões de teste em par (Dev+Dev, Dev+QA, QA+QA) com foco em White-box, Grey-box ou Black-box.
6
+ model: sonnet
7
+
8
+ parameters:
9
+ - name: feature
10
+ description: Nome da feature/funcionalidade a ser testada (ex: "checkout", "login", "user-profile")
11
+ required: true
12
+ - name: perspective
13
+ description: Perspectiva de teste (white-box|grey-box|black-box). Define o foco da sessão
14
+ required: true
15
+ - name: schedule
16
+ description: Criar evento no calendário para a sessão
17
+ required: false
18
+ - name: task-manager
19
+ description: Task manager usado (clickup|jira|linear|asana). Default: clickup
20
+ required: false
21
+ default: clickup
22
+ - name: feature-id
23
+ description: ID da feature no task manager (ex: TASK-123, CU-456). Opcional para buscar contexto
24
+ required: false
25
+ - name: participants
26
+ description: Participantes da sessão (ex: "dev1,qa1" ou "dev1,dev2"). Se não fornecido, será inferido da perspectiva
27
+ required: false
28
+
29
+ category: validate
30
+ tags:
31
+ - collaboration
32
+ - pair-testing
33
+ - testing
34
+ - qa
35
+ - validation
36
+ - grey-box
37
+ - black-box
38
+ - white-box
39
+
40
+ version: "3.0.0"
41
+ updated: "2025-12-03"
42
+
43
+ related_commands:
44
+ - /validate/collab/three-amigos
45
+ - /validate/test-strategy/create
46
+ - /validate/test-strategy/analyze
47
+ - /product/task
48
+
49
+ related_agents:
50
+ - test-engineer
51
+ - test-planner
52
+ ---
53
+
54
+ # 🤝 Pair Testing - Sessão de Teste em Par
55
+
56
+ Organiza sessões de pair testing multi-perspectiva para validação colaborativa de features, seguindo padrões do Framework de Testes (`docs/knowbase/frameworks/framework_testes.md`).
57
+
58
+ ## 🎯 Objetivo
59
+
60
+ Estruturar e facilitar sessões de pair testing que resultem em:
61
+ - **Validação colaborativa** da feature sob múltiplas perspectivas
62
+ - **Descoberta de edge cases** através de diferentes olhares
63
+ - **Transferência de conhecimento** entre participantes
64
+ - **Documentação em tempo real** de findings e bugs
65
+ - **Estimativa colaborativa** de QA Story Points
66
+ - **Test strategy refinada** baseada em descobertas
67
+
68
+ ## ⚡ Fluxo de Execução
69
+
70
+ ### Passo 1: Carregar Framework de Testes (OBRIGATÓRIO)
71
+
72
+ **CRÍTICO:** Sempre ler o framework antes de organizar a sessão:
73
+
74
+ ```bash
75
+ # Ler framework completo
76
+ read_file docs/knowbase/frameworks/framework_testes.md
77
+ ```
78
+
79
+ **Extrair e armazenar em memória:**
80
+ - Seção "Padrões de Colaboração - Sessões de Teste em Par Multi-perspectiva" (linhas ~879-904)
81
+ - Seção "Diferenças entre White-box vs Black-box vs Grey-box" (linhas ~111-165)
82
+ - Seção "Técnicas Específicas por Tipo" (linhas ~464-594)
83
+ - Seção "Template Universal de Caso de Teste" (linhas ~171-213)
84
+
85
+ **Validar leitura:**
86
+ ```markdown
87
+ SE arquivo não encontrado:
88
+ ❌ ERRO: Framework de testes não encontrado em docs/knowbase/frameworks/framework_testes.md
89
+ 💡 Verifique se o arquivo existe e tente novamente
90
+ ```
91
+
92
+ ### Passo 2: Validar e Normalizar Parâmetros
93
+
94
+ ```markdown
95
+ **Parâmetros recebidos:**
96
+ - feature: {{feature}} ✅ obrigatório
97
+ - perspective: {{perspective}} ✅ obrigatório
98
+ - schedule: {{schedule}} ou false (default)
99
+ - task-manager: {{task-manager}} ou "clickup" (default)
100
+ - feature-id: {{feature-id}} ou null
101
+ - participants: {{participants}} ou inferir da perspectiva
102
+
103
+ **Normalização:**
104
+ - perspective: converter para minúsculas, validar (white-box|grey-box|black-box)
105
+ - Se valores inválidos: abortar com erro claro
106
+ ```
107
+
108
+ **Validações:**
109
+ ```markdown
110
+ SE perspective não está em [white-box, grey-box, black-box]:
111
+ ❌ ERRO: Perspectiva inválida: {{perspective}}
112
+ 💡 Valores válidos: white-box, grey-box, black-box
113
+ exit 1
114
+
115
+ SE feature está vazio:
116
+ ❌ ERRO: Nome da feature é obrigatório
117
+ exit 1
118
+ ```
119
+
120
+ ### Passo 3: Determinar Participantes e Combinação
121
+
122
+ **SE** `{{participants}}` fornecido:
123
+ - Usar participantes fornecidos diretamente
124
+ - Validar formato (ex: "dev1,qa1" ou "dev1,dev2")
125
+
126
+ **SENÃO** → Inferir da perspectiva:
127
+
128
+ ```markdown
129
+ **Mapeamento Perspectiva → Combinação Recomendada:**
130
+
131
+ 🔧 GREY-BOX → Dev + Dev
132
+ - Code review com perspectiva de teste
133
+ - Integration testing collaboration
134
+ - Knowledge transfer técnico
135
+ - Foco: Contratos de API, integrações, performance
136
+
137
+ 🧪 WHITE-BOX + BLACK-BOX → Dev + QA
138
+ - Feature walkthrough
139
+ - Edge cases discovery
140
+ - Test data preparation
141
+ - Foco: Lógica interna + experiência do usuário
142
+
143
+ 👥 BLACK-BOX → QA + QA
144
+ - Exploratory testing collaboration
145
+ - User journey validation
146
+ - Cross-validation of findings
147
+ - Foco: Experiência do usuário, fluxos, usabilidade
148
+ ```
149
+
150
+ **Gerar sugestão de participantes:**
151
+ ```markdown
152
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
153
+ 👥 PARTICIPANTES SUGERIDOS
154
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
155
+
156
+ Perspectiva: {{perspective}}
157
+ Combinação: [Dev+Dev | Dev+QA | QA+QA]
158
+
159
+ Participante 1: [NOME/ROLE]
160
+ Participante 2: [NOME/ROLE]
161
+
162
+ 💡 Para customizar: use --participants "nome1,nome2"
163
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
164
+ ```
165
+
166
+ ### Passo 4: Buscar Contexto da Feature (Opcional)
167
+
168
+ **SE** `{{feature-id}}` fornecido **E** `{{task-manager}}` = `clickup`:
169
+
170
+ ```bash
171
+ # Usar ClickUp MCP para buscar:
172
+ # - Detalhes da task/feature
173
+ # - Descrição atual
174
+ # - Critérios de aceitação
175
+ # - Test strategy existente
176
+ # - Bugs conhecidos
177
+ # - Comentários anteriores
178
+ ```
179
+
180
+ **SENÃO SE** `{{feature-id}}` fornecido **E** `{{task-manager}}` = `jira`:
181
+
182
+ ```bash
183
+ # Buscar via Jira API ou manualmente
184
+ # Extrair: summary, description, acceptance criteria, test cases
185
+ ```
186
+
187
+ **SENÃO:**
188
+
189
+ ```bash
190
+ # Buscar arquivos relacionados à feature no código
191
+ # - Testes existentes
192
+ # - Documentação
193
+ # - Especificações
194
+ ```
195
+
196
+ ### Passo 5: Gerar Agenda Estruturada
197
+
198
+ Criar agenda baseada na perspectiva escolhida:
199
+
200
+ ```markdown
201
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
202
+ 📅 PAIR TESTING SESSION
203
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
204
+
205
+ 📋 Feature: {{feature}}
206
+ 👥 Participantes: [Participante 1] + [Participante 2]
207
+ 🎯 Perspectiva: {{perspective}}
208
+ ⏱️ Duração: 1-2 horas
209
+ 📅 Data: [auto-detect ou --schedule]
210
+
211
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
212
+ 🎯 AGENDA POR PERSPECTIVA
213
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
214
+
215
+ {{SE perspective = "grey-box":}}
216
+ 🔧 GREY-BOX PAIR TESTING (Dev + Dev)
217
+
218
+ 1️⃣ SETUP E CONTEXTO (10-15min)
219
+ ∟ Revisar código da feature
220
+ ∟ Identificar pontos de integração
221
+ ∟ Preparar ambiente de teste
222
+ ∟ Definir contratos de API a validar
223
+
224
+ 2️⃣ INTEGRATION TESTING (30-40min)
225
+ ∟ Testar contratos de API
226
+ ∟ Validar fluxos de integração
227
+ ∟ Verificar tratamento de erros
228
+ ∟ Testar timeouts e limites
229
+ ∟ Rotação Driver/Navigator a cada 15min
230
+
231
+ 3️⃣ PERFORMANCE & STRESS (20-30min)
232
+ ∟ Testes de carga básicos
233
+ ∟ Validação de fronteiras
234
+ ∟ Análise de performance
235
+ ∟ Identificação de bottlenecks
236
+
237
+ 4️⃣ DOCUMENTAÇÃO (10-15min)
238
+ ∟ Documentar findings
239
+ ∟ Criar/atualizar casos de teste
240
+ ∟ Estimar QA points para integração
241
+ ∟ Definir próximos passos
242
+
243
+ {{SENÃO SE perspective = "white-box" OU "black-box" COM Dev+QA:}}
244
+ 🧪 WHITE-BOX + BLACK-BOX PAIR TESTING (Dev + QA)
245
+
246
+ 1️⃣ FEATURE WALKTHROUGH (15-20min)
247
+ ∟ Dev explica implementação técnica
248
+ ∟ QA entende lógica interna
249
+ ∟ Identificar pontos críticos
250
+ ∟ Mapear fluxos de dados
251
+
252
+ 2️⃣ EDGE CASES DISCOVERY (30-40min)
253
+ ∟ Explorar casos limite juntos
254
+ ∟ Validar tratamento de erros
255
+ ∟ Testar dados inválidos
256
+ ∟ Verificar validações
257
+ ∟ Rotação Driver/Navigator a cada 20min
258
+
259
+ 3️⃣ TEST DATA PREPARATION (15-20min)
260
+ ∟ Criar datasets de teste
261
+ ∟ Preparar cenários complexos
262
+ ∟ Documentar pré-condições
263
+ ∟ Validar setup de ambiente
264
+
265
+ 4️⃣ VALIDATION & DOCUMENTATION (15-20min)
266
+ ∟ Validar findings juntos
267
+ ∟ Criar casos de teste
268
+ ∟ Estimar QA points colaborativamente
269
+ ∟ Priorizar bugs encontrados
270
+
271
+ {{SENÃO SE perspective = "black-box" COM QA+QA:}}
272
+ 👥 BLACK-BOX PAIR TESTING (QA + QA)
273
+
274
+ 1️⃣ EXPLORATORY SETUP (10-15min)
275
+ ∟ Revisar critérios de aceitação
276
+ ∟ Definir charters de exploração
277
+ ∟ Preparar checklist de validação
278
+ ∟ Identificar user journeys
279
+
280
+ 2️⃣ EXPLORATORY TESTING (40-50min)
281
+ ∟ Explorar feature livremente
282
+ ∟ Validar user journeys
283
+ ∟ Testar diferentes cenários
284
+ ∟ Cross-validar findings
285
+ ∟ Rotação Driver/Navigator a cada 25min
286
+
287
+ 3️⃣ USABILITY & UX VALIDATION (20-30min)
288
+ ∟ Validar experiência do usuário
289
+ ∟ Verificar feedback visual
290
+ ∟ Testar acessibilidade básica
291
+ ∟ Validar mensagens de erro
292
+
293
+ 4️⃣ CONSOLIDATION (15-20min)
294
+ ∟ Consolidar findings
295
+ ∟ Priorizar bugs
296
+ ∟ Criar casos de teste
297
+ ∟ Estimar QA points
298
+ ∟ Documentar próximos passos
299
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
300
+ ```
301
+
302
+ ### Passo 6: Criar Template de Documentação
303
+
304
+ Gerar template para documentação em tempo real:
305
+
306
+ ```markdown
307
+ # 📝 Pair Testing Session: {{feature}}
308
+
309
+ **Data:** [DATA]
310
+ **Participantes:**
311
+ - [Participante 1] ([Role])
312
+ - [Participante 2] ([Role])
313
+
314
+ **Perspectiva:** {{perspective}}
315
+ **Duração:** [DURAÇÃO]
316
+
317
+ ## 📋 Feature Context
318
+
319
+ - **Nome:** {{feature}}
320
+ - **ID:** {{feature-id}} (se disponível)
321
+ - **Descrição:** [DESCRIÇÃO]
322
+
323
+ ## 🎯 Objetivos da Sessão
324
+
325
+ - [ ] Objetivo 1
326
+ - [ ] Objetivo 2
327
+ - [ ] Objetivo 3
328
+
329
+ ## 🔍 Findings por Rotação
330
+
331
+ ### Rotação 1 (Driver: [Nome], Navigator: [Nome])
332
+ **Tempo:** [INÍCIO] - [FIM]
333
+
334
+ #### ✅ Validações Bem-sucedidas
335
+ - [ ] Validação 1: [Descrição]
336
+ - [ ] Validação 2: [Descrição]
337
+
338
+ #### 🐛 Bugs Encontrados
339
+ - [ ] **Bug #1:** [Título]
340
+ - **Severidade:** [Crítica|Alta|Média|Baixa]
341
+ - **Passos para reproduzir:**
342
+ 1. [Passo 1]
343
+ 2. [Passo 2]
344
+ - **Comportamento esperado:** [Descrição]
345
+ - **Comportamento atual:** [Descrição]
346
+ - **Screenshots/Logs:** [Links]
347
+
348
+ #### 💡 Edge Cases Identificados
349
+ - [ ] Edge case 1: [Descrição]
350
+ - [ ] Edge case 2: [Descrição]
351
+
352
+ #### 📝 Notas e Observações
353
+ - [Nota 1]
354
+ - [Nota 2]
355
+
356
+ ### Rotação 2 (Driver: [Nome], Navigator: [Nome])
357
+ [Repetir estrutura acima]
358
+
359
+ ## 📊 Resumo Consolidado
360
+
361
+ ### Bugs por Severidade
362
+ - **Crítica:** [X]
363
+ - **Alta:** [X]
364
+ - **Média:** [X]
365
+ - **Baixa:** [X]
366
+
367
+ ### Validações Realizadas
368
+ - **Total:** [X]
369
+ - **Passou:** [X]
370
+ - **Falhou:** [X]
371
+ - **Bloqueado:** [X]
372
+
373
+ ### Edge Cases Identificados
374
+ - **Total:** [X]
375
+ - **Documentados:** [X]
376
+ - **Priorizados:** [X]
377
+
378
+ ## 🧪 Casos de Teste Criados/Atualizados
379
+
380
+ 1. **TC-001:** [Nome do caso]
381
+ - Tipo: [White-box|Grey-box|Black-box]
382
+ - Prioridade: [P1|P2|P3|P4]
383
+ - Status: [Criado|Atualizado]
384
+
385
+ 2. **TC-002:** [Nome do caso]
386
+ [Repetir estrutura]
387
+
388
+ ## 📈 Estimativa QA Story Points
389
+
390
+ **Estimativa Inicial:** [X] pontos
391
+ **Estimativa Após Sessão:** [Y] pontos
392
+ **Justificativa:** [Razão da mudança]
393
+
394
+ ### Breakdown por Área
395
+ - **Testes Funcionais:** [X] pontos
396
+ - **Testes de Integração:** [X] pontos
397
+ - **Testes Exploratórios:** [X] pontos
398
+ - **Edge Cases:** [X] pontos
399
+
400
+ ## ✅ Próximos Passos
401
+
402
+ - [ ] [Ação 1] - Responsável: [Nome] - Prazo: [Data]
403
+ - [ ] [Ação 2] - Responsável: [Nome] - Prazo: [Data]
404
+ - [ ] [Ação 3] - Responsável: [Nome] - Prazo: [Data]
405
+
406
+ ## 🔗 Referências
407
+
408
+ - Feature: [Link para task/feature]
409
+ - Test Strategy: [Link]
410
+ - Documentação: [Links relevantes]
411
+ ```
412
+
413
+ ### Passo 7: Criar Checklist de Execução
414
+
415
+ Gerar checklist para guiar a sessão:
416
+
417
+ ```markdown
418
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
419
+ ✅ CHECKLIST DE EXECUÇÃO - PAIR TESTING
420
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
421
+
422
+ 📋 PREPARAÇÃO
423
+ ✅ Ambiente de teste configurado
424
+ ✅ Feature deployada/acessível
425
+ ✅ Critérios de aceitação revisados
426
+ ✅ Test data preparado
427
+ ✅ Ferramentas de documentação prontas
428
+
429
+ 🎯 DURANTE A SESSÃO
430
+ ✅ Rotação Driver/Navigator a cada 20-30min
431
+ ✅ Findings documentados em tempo real
432
+ ✅ Bugs reportados imediatamente
433
+ ✅ Edge cases capturados
434
+ ✅ Dúvidas esclarecidas em tempo real
435
+
436
+ 📝 DOCUMENTAÇÃO
437
+ ✅ Template preenchido completamente
438
+ ✅ Bugs documentados com repro steps
439
+ ✅ Casos de teste criados/atualizados
440
+ ✅ QA points estimados
441
+ ✅ Próximos passos definidos
442
+
443
+ 🔗 INTEGRAÇÃO
444
+ ✅ Findings sincronizados com task manager
445
+ ✅ Bugs criados como tasks/issues
446
+ ✅ Test cases atualizados
447
+ ✅ Comentários adicionados na feature
448
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
449
+ ```
450
+
451
+ ### Passo 8: Integração com Task Manager (Opcional)
452
+
453
+ **SE** `{{feature-id}}` fornecido **E** `{{task-manager}}` = `clickup`:
454
+
455
+ ```bash
456
+ # 1. Buscar contexto da feature
457
+ # 2. Criar comentário com resumo da sessão planejada
458
+ # 3. Criar subtasks para:
459
+ # - Preparação da sessão
460
+ # - Execução da sessão
461
+ # - Follow-up de bugs encontrados
462
+ # 4. Adicionar tags: pair-testing, {{perspective}}
463
+ # 5. Atualizar custom fields se disponíveis
464
+ ```
465
+
466
+ **Formato de Comentário ClickUp:**
467
+
468
+ ```markdown
469
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
470
+ 🤝 PAIR TESTING SESSION SCHEDULED
471
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
472
+
473
+ 📋 Feature: {{feature}}
474
+ 👥 Participantes: [Participante 1] + [Participante 2]
475
+ 🎯 Perspectiva: {{perspective}}
476
+ 📅 Data: [DATA]
477
+ ⏱️ Duração: 1-2 horas
478
+
479
+ 🎯 OBJETIVOS:
480
+ ∟ Validação colaborativa da feature
481
+ ∟ Descoberta de edge cases
482
+ ∟ Refinamento de test strategy
483
+ ∟ Estimativa colaborativa de QA points
484
+
485
+ 📝 Documentação: [LINK para template]
486
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
487
+ ```
488
+
489
+ **SENÃO:**
490
+
491
+ ```bash
492
+ # Documentar manualmente ou usar integração específica
493
+ ```
494
+
495
+ ### Passo 9: Integração com Calendar (Opcional)
496
+
497
+ **SE** `{{schedule}}` fornecido:
498
+
499
+ ```bash
500
+ # 1. Criar evento no calendário
501
+ # - Título: "Pair Testing: {{feature}} ({{perspective}})"
502
+ # - Duração: 1-2 horas
503
+ # - Participantes: [Participante 1], [Participante 2]
504
+ # - Descrição: Agenda + link para template
505
+ # - Anexar: Template de documentação
506
+ # 2. Enviar convite
507
+ # 3. Criar reminder 15min antes
508
+ ```
509
+
510
+ **SENÃO:**
511
+
512
+ ```bash
513
+ # Gerar link de calendário (.ics) para importação manual
514
+ # Ou instruir criação manual
515
+ ```
516
+
517
+ ## 📤 Output Esperado
518
+
519
+ ### Arquivos Gerados
520
+
521
+ 1. **Agenda Estruturada** (`pair-testing-agenda-{{feature}}.md`)
522
+ - Agenda completa baseada na perspectiva
523
+ - Timing detalhado
524
+ - Tópicos por rotação
525
+
526
+ 2. **Template de Documentação** (`pair-testing-session-{{feature}}.md`)
527
+ - Template preenchível
528
+ - Seções por rotação
529
+ - Checklists integrados
530
+
531
+ 3. **Checklist de Execução** (`pair-testing-checklist-{{feature}}.md`)
532
+ - Validação de preparação
533
+ - Guia durante a sessão
534
+ - Validação de outputs
535
+
536
+ 4. **Calendar Event** (se `--schedule` fornecido)
537
+ - Evento criado
538
+ - Convites enviados
539
+ - Reminders configurados
540
+
541
+ ### Atualizações no Task Manager (se `{{feature-id}}` fornecido)
542
+
543
+ - ✅ Comentário com resumo da sessão planejada
544
+ - ✅ Subtasks criadas (preparação, execução, follow-up)
545
+ - ✅ Tags aplicadas (`pair-testing`, `{{perspective}}`)
546
+ - ✅ Custom fields atualizados (se disponíveis)
547
+
548
+ ### Resumo Visual
549
+
550
+ ```
551
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
552
+ ✅ PAIR TESTING SESSION ORGANIZED
553
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
554
+
555
+ 📋 Feature: {{feature}}
556
+ 🎯 Perspectiva: {{perspective}}
557
+ 👥 Participantes: [Participante 1] + [Participante 2]
558
+
559
+ 📁 Arquivos criados:
560
+ ∟ Agenda: pair-testing-agenda-{{feature}}.md
561
+ ∟ Template: pair-testing-session-{{feature}}.md
562
+ ∟ Checklist: pair-testing-checklist-{{feature}}.md
563
+
564
+ 🔗 Task Manager: {{task-manager}}
565
+ ∟ Feature ID: {{feature-id}} (se fornecido)
566
+ ∟ Comentário adicionado ✓
567
+
568
+ 📅 Calendar: [Status - criado se --schedule]
569
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
570
+ ```
571
+
572
+ ## 🔗 Referências
573
+
574
+ - **Framework de Testes:** `docs/knowbase/frameworks/framework_testes.md`
575
+ - Seção "Padrões de Colaboração - Sessões de Teste em Par Multi-perspectiva" (linhas ~879-904)
576
+ - Seção "Diferenças entre White-box vs Black-box vs Grey-box" (linhas ~111-165)
577
+ - **Three Amigos:** `/validate/collab/three-amigos`
578
+ - **Test Strategy:** `/validate/test-strategy/create`
579
+ - **ClickUp Integration:** `.cursor/docs/clickup/clickup-integration.md` (se disponível)
580
+
581
+ ## ⚠️ Notas
582
+
583
+ - **Duração recomendada:** 1-2 horas por sessão
584
+ - **Rotação Driver/Navigator:** A cada 20-30 minutos para manter engajamento
585
+ - **Perspectivas válidas:** `white-box`, `grey-box`, `black-box`
586
+ - **Combinações recomendadas:**
587
+ - `grey-box` → Dev + Dev
588
+ - `white-box` ou `black-box` com Dev+QA → Dev + QA
589
+ - `black-box` com QA+QA → QA + QA
590
+ - **Documentação:** Sempre documentar findings em tempo real
591
+ - **Calendar:** Use `--schedule` para criar evento automaticamente
592
+ - **Task Manager:** Forneça `--feature-id` para integração automática
593
+
594
+ ## 💡 Exemplos de Uso
595
+
596
+ ### Exemplo 1: Pair Testing Grey-box com Agendamento
597
+
598
+ ```bash
599
+ /validate/collab/pair-testing "checkout" grey-box --schedule --feature-id CU-123
600
+ ```
601
+
602
+ **Output:**
603
+ - Agenda gerada para Dev+Dev
604
+ - Template de documentação criado
605
+ - Checklist preparado
606
+ - Evento criado no calendário
607
+ - Comentário adicionado na task CU-123 no ClickUp
608
+
609
+ ### Exemplo 2: Pair Testing Black-box Manual
610
+
611
+ ```bash
612
+ /validate/collab/pair-testing "login" black-box --participants "qa1,qa2"
613
+ ```
614
+
615
+ **Output:**
616
+ - Agenda gerada para QA+QA
617
+ - Template de documentação criado
618
+ - Checklist preparado
619
+ - Sem integração automática (sem `--feature-id` e `--schedule`)
620
+
621
+ ### Exemplo 3: Pair Testing White-box com Contexto
622
+
623
+ ```bash
624
+ /validate/collab/pair-testing "user-profile" white-box --feature-id TASK-456 --task-manager jira
625
+ ```
626
+
627
+ **Output:**
628
+ - Agenda gerada para Dev+QA
629
+ - Contexto buscado do Jira (TASK-456)
630
+ - Template preenchido com contexto
631
+ - Checklist preparado
632
+ - Comentário adicionado na task do Jira
633
+