wize-dev-kit 0.11.0 → 0.12.0

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 (87) hide show
  1. package/AGENTS.md +3 -3
  2. package/CHANGELOG.md +29 -0
  3. package/package.json +1 -1
  4. package/src/app-overlay/wize-app-release-channels/workflow.md +2 -0
  5. package/src/app-overlay/wize-app-scaffold/workflow.md +2 -0
  6. package/src/app-overlay/wize-app-store-listing/workflow.md +2 -0
  7. package/src/builder-skills/wize-create-agent/workflow.md +2 -0
  8. package/src/builder-skills/wize-create-skill/workflow.md +2 -0
  9. package/src/builder-skills/wize-create-workflow/workflow.md +2 -0
  10. package/src/core-skills/wize-advanced-elicitation/skill.md +2 -0
  11. package/src/core-skills/wize-brainstorming/skill.md +2 -0
  12. package/src/core-skills/wize-customize/skill.md +2 -0
  13. package/src/core-skills/wize-editorial-review-prose/skill.md +2 -0
  14. package/src/core-skills/wize-editorial-review-structure/skill.md +2 -0
  15. package/src/core-skills/wize-grill/skill.md +3 -1
  16. package/src/core-skills/wize-index-docs/skill.md +3 -1
  17. package/src/core-skills/wize-review-adversarial/skill.md +2 -0
  18. package/src/core-skills/wize-review-edge-case-hunter/skill.md +2 -0
  19. package/src/core-skills/wize-shard-doc/skill.md +2 -0
  20. package/src/core-skills/wize-spec/skill.md +2 -0
  21. package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +3 -0
  22. package/src/method-skills/1-analysis/wize-document-project/workflow.md +2 -0
  23. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +7 -0
  24. package/src/method-skills/1-analysis/wize-market-research/workflow.md +7 -0
  25. package/src/method-skills/1-analysis/wize-prfaq/workflow.md +2 -0
  26. package/src/method-skills/1-analysis/wize-product-brief/workflow.md +2 -0
  27. package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +3 -1
  28. package/src/method-skills/1-analysis/wize-research/workflow.md +24 -89
  29. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +7 -0
  30. package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +2 -0
  31. package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +2 -0
  32. package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +3 -1
  33. package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +2 -0
  34. package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +2 -0
  35. package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +2 -0
  36. package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +2 -0
  37. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +1 -1
  38. package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +2 -0
  39. package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +2 -0
  40. package/src/method-skills/3-solutioning/wize-design-system/workflow.md +2 -0
  41. package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +3 -1
  42. package/src/method-skills/3-solutioning/wize-project-context/workflow.md +3 -1
  43. package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +3 -1
  44. package/src/method-skills/4-implementation/wize-changelog/workflow.md +184 -0
  45. package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +2 -0
  46. package/src/method-skills/4-implementation/wize-code-review/workflow.md +2 -0
  47. package/src/method-skills/4-implementation/wize-correct-course/workflow.md +2 -0
  48. package/src/method-skills/4-implementation/wize-create-story/workflow.md +2 -0
  49. package/src/method-skills/4-implementation/wize-dev-story/workflow.md +3 -1
  50. package/src/method-skills/4-implementation/wize-investigate/workflow.md +2 -0
  51. package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +2 -0
  52. package/src/method-skills/4-implementation/wize-release/workflow.md +162 -0
  53. package/src/method-skills/4-implementation/wize-retrospective/workflow.md +2 -0
  54. package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +2 -0
  55. package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +2 -0
  56. package/src/method-skills/module.yaml +12 -3
  57. package/src/orchestrator-skills/module.yaml +4 -1
  58. package/src/orchestrator-skills/wize/skill.md +164 -0
  59. package/src/orchestrator-skills/wize-help/skill.md +126 -5
  60. package/src/orchestrator-skills/wize-onboarding/workflow.md +3 -1
  61. package/src/orchestrator-skills/wize-orchestrator/agent.yaml +1 -0
  62. package/src/orchestrator-skills/wize-orchestrator/persona.md +29 -4
  63. package/src/orchestrator-skills/wize-party-mode/workflow.md +2 -0
  64. package/src/security-overlay/_shared/scope-parser.js +27 -0
  65. package/src/security-overlay/agents/red-teamer/agent.yaml +2 -0
  66. package/src/security-overlay/agents/red-teamer/persona.md +6 -0
  67. package/src/security-overlay/skills/wize-sec-enumerate/skill.md +2 -0
  68. package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +18 -1
  69. package/src/security-overlay/skills/wize-sec-pentest/skill.md +2 -0
  70. package/src/security-overlay/skills/wize-sec-recon/skill.md +2 -0
  71. package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +106 -0
  72. package/src/security-overlay/skills/wize-sec-scope/skill.md +52 -0
  73. package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +2 -0
  74. package/src/tea-skills/wize-tea-design/workflow.md +3 -0
  75. package/src/tea-skills/wize-tea-gate/workflow.md +3 -0
  76. package/src/tea-skills/wize-tea-nfr/workflow.md +3 -0
  77. package/src/tea-skills/wize-tea-review/workflow.md +3 -0
  78. package/src/tea-skills/wize-tea-risk/workflow.md +3 -0
  79. package/src/tea-skills/wize-tea-trace/workflow.md +3 -0
  80. package/src/web-overlay/wize-web-deploy/workflow.md +2 -0
  81. package/src/web-overlay/wize-web-scaffold/workflow.md +2 -0
  82. package/src/web-overlay/wize-web-seo-audit/workflow.md +2 -0
  83. package/tools/installer/commands/doctor.js +2 -2
  84. package/tools/installer/onboarding.js +14 -21
  85. package/tools/installer/render-shared.js +50 -28
  86. package/tools/installer/validators/run-all.js +3 -2
  87. package/tools/installer/wize-cli.js +323 -77
package/AGENTS.md CHANGED
@@ -10,8 +10,8 @@ Treat `.wize/`, this `AGENTS.md`, and the installed `wize-*` skills as your oper
10
10
  instructions and persistent memory — not background reading. Read project state before
11
11
  acting; write what you change back into `.wize/` so the next session inherits it.
12
12
 
13
- Before editing, classify the demand via `/wize-help`: **Quick Dev** (small, predictable,
14
- ~≤1h, no new feature / architecture / UX / security) or **Full Lifecycle**. Never pick
13
+ Before editing, classify the demand via `/wize` (or `/wize-help`): **Quick Dev** (small, predictable,
14
+ trivially scoped, no new feature / architecture / UX / security) or **Full Lifecycle**. Never pick
15
15
  Quick Dev just to skip artifacts.
16
16
 
17
17
  When a skill fans out to subagents, match the model tier to the task: a lightweight tier
@@ -34,4 +34,4 @@ decisions, or final adversarial review.
34
34
 
35
35
  ## Where to start
36
36
 
37
- Activate the orchestrator: `wize-orchestrator` (Wizer). Then ask `/wize-help`.
37
+ Activate the orchestrator: `/wize` (or `/wize-help`). Wizer will guide you.
package/CHANGELOG.md CHANGED
@@ -9,6 +9,35 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
9
9
 
10
10
  ## [Unreleased]
11
11
 
12
+ ## [0.12.0] — 2026-08-08
13
+
14
+ **Intent-first UX overhaul (Epic 09).** The kit now routes by user intent, not just by lifecycle phase. 10 stories across 3 sprints: block-scalar parser fix, intent descriptions on all 68 skills, 56-entry intent routing table, `/wize` primary alias, onboarding one-liner, research dispatcher, `--sign-scope`, non-interactive install + honest uninstall, release/changelog skills, CI on push/PR. Suite green (532 tests, validate 78 files).
15
+
16
+ ### Added
17
+
18
+ - **`/wize` alias** — primary entry point; `/wize-help` remains canonical. Onboarding reduced to `→ /wize`.
19
+ - **Intent routing table** — 56 intent phrases mapped to skills in `wize-help` (e.g., "concorrência" → `wize-market-research`). Falls back to phase heuristic only when ambiguous.
20
+ - **Intent descriptions** — all 68 skills/workflows carry a one-sentence `description:` telling the harness WHEN to invoke them. Block-scalar parser (`|`, `>`) now supported.
21
+ - **`wize-sec-scope`** — guided scope creation for the security overlay (4 questions → `scope.md` + signed hash).
22
+ - **`--sign-scope`** flag on `wize-sec-pentest` — recomputes SHA-256 without manual editing.
23
+ - **Non-interactive install** — `install --profiles core,security --targets claude-code --yes` for CI/scripted installs. `--dry-run` supported.
24
+ - **Honest uninstall** — removes rendered adapter directories (`.claude/skills/`, `.cursor/rules/`, etc.) in addition to `.wize/`. `--dry-run` supported.
25
+ - **`wize-release`** skill — version bump + changelog + git tag from gated stories.
26
+ - **`wize-changelog`** skill — Keep a Changelog format generated from done stories.
27
+ - **CI workflow** — `.github/workflows/ci.yml` runs `npm test` + `npm run validate` on push/PR against Node 20.x and 22.x.
28
+ - **Tool contract tests** — smoke tests for nmap, gitleaks, osv-scanner, grype, nuclei, nikto, sqlmap, ffuf (skip if absent, catch CLI drift).
29
+
30
+ ### Changed
31
+
32
+ - **`wize-research`** — now a dispatcher that classifies intent and delegates to `wize-market-research`, `wize-domain-research`, or `wize-technical-research`.
33
+ - **Phase labels** — normalized across all workflows (`2-plan-workflows` → `2-plan`, `2-to-3-boundary` → `3-solutioning`).
34
+ - **Onboarding** — contextual one-liner (`→ /wize`) instead of multi-line menu. Detects brownfield/security-overlay.
35
+ - **AGENTS.md template** — references `/wize` as primary, `/wize-help` as canonical.
36
+
37
+ ### Fixed
38
+
39
+ - **Block scalar parser** — `readFrontmatter` now handles `|`, `>`, `|-`, `|+`, `|2` and chomp indicators. Fixes the `— |` bug that corrupted all 10 persona descriptions.
40
+
12
41
  ## [0.11.0] — 2026-08-06
13
42
 
14
43
  **No-estimates policy.** The method now refuses to produce development estimates at any step — no hours, days, story points, or S/M/L/XL t-shirt sizes. Following the BMAD stance already stated in the architecture skill ("AI development speed has fundamentally changed"), estimates are treated as noise that only burns time and tokens. The only sizing signal that remains is binary: **does a story fit one PR? If not, slice it.** Suite green (417 tests, validate 74 files).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "wize-dev-kit",
4
- "version": "0.11.0",
4
+ "version": "0.12.0",
5
5
  "description": "Full-lifecycle AI-assisted development kit with Test Architect and Whiteport Design Studio embedded. Inspired by BMAD Method and WDS.",
6
6
  "keywords": [
7
7
  "ai",
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-app-release-channels
4
+ description: "Use quando o app estiver pronto para distribuição e precisar configurar canais de release (beta, produção)."
3
5
  name: App Release Channels
4
6
  overlay: app
5
7
  owner: wize-agent-pm # Maria Hill
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-app-scaffold
4
+ description: "Use quando precisar criar o scaffold inicial de um projeto mobile com a stack aprovada pelo Fury."
3
5
  name: App Scaffold
4
6
  overlay: app
5
7
  owner: wize-agent-architect # Tony
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-app-store-listing
4
+ description: "Use quando o app estiver próximo do lançamento e precisar preparar a listagem na loja (copy, assets, metadados)."
3
5
  name: App Store Listing
4
6
  overlay: app
5
7
  owner: wize-agent-analyst # Pepper (copy) + Mantis (visual brief)
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-agent
4
+ description: "Use quando precisar criar um novo agente customizado sob .wize/custom/agents/."
3
5
  name: Create Agent
4
6
  owner: builder
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-skill
4
+ description: "Use quando precisar criar uma nova skill single-step sob .wize/custom/skills/."
3
5
  name: Create Skill
4
6
  owner: builder
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-workflow
4
+ description: "Use quando precisar criar um novo workflow multi-step sob .wize/custom/workflows/."
3
5
  name: Create Workflow
4
6
  owner: builder
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-advanced-elicitation
4
+ description: "Use quando uma resposta do usuário parecer subespecificada e precisar de técnicas de elicitação (5 Whys, laddering, premortem) para aprofundar o entendimento."
3
5
  name: Advanced Elicitation
4
6
  module: core
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-brainstorming
4
+ description: "Use quando precisar gerar ideias divergentes e convergir para as melhores opções em qualquer fase de decisão."
3
5
  name: Brainstorming
4
6
  module: core
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-customize
4
+ description: "Use quando precisar personalizar um agente, skill ou workflow built-in sem alterar os arquivos originais do kit."
3
5
  name: Customize
4
6
  module: core
5
7
  status: ready
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-editorial-review-prose
4
+ description: "Use quando um artefato Wize (brief, PRD, ADR, gate) precisar de revisão de prosa — clareza, tom, jargão e precisão."
3
5
  name: Editorial Review — Prose
4
6
  module: core
5
7
  status: ready
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-editorial-review-structure
4
+ description: "Use quando um artefato Wize precisar de revisão estrutural — seções obrigatórias, ordenação e níveis de heading."
3
5
  name: Editorial Review — Structure
4
6
  module: core
5
7
  status: ready
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-grill
4
+ description: "Use quando uma demanda chegar vaga e precisar de entrevista exaustiva para alcançar entendimento compartilhado antes de produzir qualquer artefato."
3
5
  name: Grill
4
6
  module: core
5
7
  status: ready
@@ -9,7 +11,7 @@ status: ready
9
11
 
10
12
  **Goal.** Interview the user exhaustively about a demand until both sides reach **shared understanding** — before any artifact is drafted. Sharper answers make a sharper brief, PRD, epic, story, or plan. Grill is an input-quality tool, not an artifact of its own.
11
13
 
12
- Any persona about to author an artifact can invoke it: Pepper before a brief, Maria Hill before a PRD, Tony before epics/stories/architecture, Wizer when a demand arrives fuzzy. Wizer also **suggests** it from `/wize-help` — always suggest, never force.
14
+ Any persona about to author an artifact can invoke it: Pepper before a brief, Maria Hill before a PRD, Tony before epics/stories/architecture, Wizer when a demand arrives fuzzy. Wizer also **suggests** it from `/wize` (or `/wize-help`) — always suggest, never force.
13
15
 
14
16
  ## The five rules
15
17
 
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-index-docs
4
+ description: "Use quando precisar reconstruir o índice da base de conhecimento (.wize/knowledge/index.md) a partir da árvore real de artefatos."
3
5
  name: Index Docs
4
6
  module: core
5
7
  status: ready
@@ -114,4 +116,4 @@ total_files: 24
114
116
 
115
117
  ## Hand-off
116
118
 
117
- > "Index rebuilt at `.wize/knowledge/index.md`. {N} files indexed across 5 sections. Next: `/wize-help` reads this file when answering."
119
+ > "Index rebuilt at `.wize/knowledge/index.md`. {N} files indexed across 5 sections. Next: `/wize` (or `/wize-help`) reads this file when answering."
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-review-adversarial
4
+ description: "Use quando um artefato (story, arquitetura, PRD) precisar de revisão adversarial — testar a ideia sob quatro personas hostis."
3
5
  name: Adversarial Review
4
6
  module: core
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-review-edge-case-hunter
4
+ description: "Use quando um código ou PR precisar de caça sistemática de edge cases ranqueados por probabilidade × impacto."
3
5
  name: Edge Case Hunter
4
6
  module: core
5
7
  status: ready
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-shard-doc
4
+ description: "Use quando um documento markdown grande (PRD, arquitetura) precisar ser dividido em shards endereçáveis por ID."
3
5
  name: Shard Doc
4
6
  module: core
5
7
  status: stub
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-spec
4
+ description: "Use quando precisar destilar qualquer entrada de intenção (ideia, PRD, RFC, transcrição) em um contrato canônico SPEC.md para consumo downstream."
3
5
  name: Spec
4
6
  module: core
5
7
  status: ready
@@ -23,6 +23,9 @@ absorbs:
23
23
  skills:
24
24
  - wize-product-brief
25
25
  - wize-research
26
+ - wize-market-research
27
+ - wize-domain-research
28
+ - wize-technical-research
26
29
  - wize-trigger-map
27
30
  - wize-prfaq
28
31
  - wize-document-project
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-document-project
4
+ description: "Use quando o kit for instalado em um repositório existente (brownfield) e precisar documentar o estado atual do projeto."
3
5
  name: Document Project (brownfield baseline)
4
6
  phase: 1-analysis
5
7
  owner: wize-agent-analyst # Pepper Potts (paired with Peggy Carter and Tony Stark)
@@ -4,8 +4,15 @@ name: Domain Research
4
4
  phase: 1-analysis
5
5
  owner: wize-agent-analyst # Pepper Potts
6
6
  status: ready
7
+ description: "Use quando precisar pesquisar um domínio de negócio, indústria ou setor."
7
8
  ---
8
9
 
10
+ > **Variante de pesquisa.** Para outros tipos de pesquisa, veja:
11
+ > - Mercado/concorrência → `/wize-market-research`
12
+ > - Domínio/indústria → `/wize-domain-research`
13
+ > - Técnica/stack → `/wize-technical-research`
14
+ > - Pesquisa geral (dispatcher) → `/wize-research`
15
+
9
16
  # Domain Research
10
17
 
11
18
  **Goal.** Conduct domain and industry research to ground the product in its business, regulatory, and technical context.
@@ -4,8 +4,15 @@ name: Market Research
4
4
  phase: 1-analysis
5
5
  owner: wize-agent-analyst # Pepper Potts
6
6
  status: ready
7
+ description: "Use quando precisar pesquisar mercado, concorrentes, tendências ou posicionamento."
7
8
  ---
8
9
 
10
+ > **Variante de pesquisa.** Para outros tipos de pesquisa, veja:
11
+ > - Mercado/concorrência → `/wize-market-research`
12
+ > - Domínio/indústria → `/wize-domain-research`
13
+ > - Técnica/stack → `/wize-technical-research`
14
+ > - Pesquisa geral (dispatcher) → `/wize-research`
15
+
9
16
  # Market Research
10
17
 
11
18
  **Goal.** Conduct market research on competition and customers to inform the product brief and PRD.
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-prfaq
4
+ description: "Use quando precisar forçar alinhamento escrevendo o press release futuro e FAQ antes de construir — estilo Amazon Working Backwards."
3
5
  name: PR/FAQ
4
6
  phase: 1-analysis
5
7
  owner: wize-agent-analyst # Pepper Potts
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-product-brief
4
+ description: "Use quando uma demanda bruta chegar e precisar ser convertida em um product brief de uma página."
3
5
  name: Product Brief
4
6
  phase: 1-analysis
5
7
  owner: wize-agent-analyst # Pepper Potts
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-refresh-knowledge
4
+ description: "Use quando o document-project acumulou bullets datados durante o sprint e precisar ser consolidado em uma baseline atualizada."
3
5
  name: Refresh Project Knowledge
4
6
  phase: 1-analysis
5
7
  owner: wize-agent-analyst # Pepper (drives), with Peggy on prose
@@ -16,7 +18,7 @@ Pepper drives the consolidation. Peggy edits prose. Tony reviews architecture-sn
16
18
 
17
19
  ## When to run
18
20
 
19
- - **End of sprint** (default cadence). `wize-help next` suggests it when it detects the sprint ended.
21
+ - **End of sprint** (default cadence). `/wize next` (or `/wize-help next`) suggests it when it detects the sprint ended.
20
22
  - **After a major epic ships.** Architecture often shifts visibly; this is the moment to consolidate.
21
23
  - **Before onboarding a new engineer.** The baseline is the first thing they read; keep it fresh.
22
24
  - **Before an audit / external review.** Same.
@@ -4,113 +4,48 @@ name: Research
4
4
  phase: 1-analysis
5
5
  owner: wize-agent-analyst # Pepper Potts
6
6
  status: ready
7
+ description: "Use quando precisar pesquisar algo mas não souber qual tipo de pesquisa se aplica."
7
8
  ---
8
9
 
9
- # Research
10
+ # Research (Dispatcher)
10
11
 
11
- **Goal.** Surface evidence that hardens the brief and trigger map. Frame the questions Pepper actually needs answered, do focused passes (market / competitors / analytics / interviews), and write the synthesis in a way Maria Hill can quote in the PRD.
12
+ **Goal.** Classify the user's research question and delegate to the correct variant. This skill does NOT execute research directly — it routes to one of the specialized research skills.
12
13
 
13
- Pepper drives. Peggy edits prose. Output lands in `.wize/planning/research.md` with raw materials in `.wize/knowledge/research/`.
14
+ ## Classification guide
14
15
 
15
- ## Inputs
16
+ Analyze the user's question for these signals. Score each category by keyword hits; delegate to the highest-scoring category.
16
17
 
17
- - Open questions in `.wize/planning/brief.md`.
18
- - Hypotheses in `.wize/planning/ux/trigger-map.md`.
19
- - External access (browser, MCPs) and/or attached materials (decks, transcripts).
20
-
21
- ## Outputs
22
-
23
- - `.wize/planning/research.md` — short synthesis (≤ 2 pages) referencing sources.
24
- - `.wize/knowledge/research/{slug}.md` — one file per major source (raw notes, links, attached PDFs).
18
+ | Category | Keywords (pt-BR) | Keywords (EN) | Delegate to |
19
+ |---|---|---|---|
20
+ | **Market** | concorrência, concorrentes, mercado, competidor, pricing, preço, posicionamento, cliente, segmento, TAM, SAM, market share, G2, Capterra | competitor, market, pricing, positioning, customer, segment | `wize-market-research` |
21
+ | **Domain** | domínio, indústria, setor, regulatório, regulação, compliance, legislação, lei, normativo, PESTLE, tendências do setor | domain, industry, sector, regulatory, compliance, legislation | `wize-domain-research` |
22
+ | **Technical** | técnico, tecnologia, stack, biblioteca, framework, arquitetura, ferramenta, linguagem, banco de dados, API, protocolo, desempenho, escalabilidade | technical, technology, stack, library, framework, architecture, tool, language, database, API, protocol, performance, scalability | `wize-technical-research` |
25
23
 
26
24
  ## Steps
27
25
 
28
- ### 1. Frame the questions
29
-
30
- Convert open questions + hypotheses into a numbered list. Each question is:
31
- - **Specific** — "What's the median onboarding time for the top 5 competitors?" not "How is onboarding usually done?".
32
- - **Answerable in a finite pass** — if it takes weeks, decompose.
33
- - **Tagged with category** — `market / competitive / analytics / interview / desk-research / regulatory`.
34
-
35
- ### 2. Choose the framework that fits each question
36
-
37
- | Category | Recommended frame | Tools |
38
- |---|---|---|
39
- | Market sizing | TAM/SAM/SOM, top-down + bottom-up reconciled | Statista, public filings, gov registries |
40
- | Competitive | Porter's 5 + feature matrix + pricing scan | competitor sites, G2/Capterra, Pricing/Plans pages |
41
- | User research | Jobs-to-be-Done (Christensen / Klement) | 5–8 interviews (semi-structured, 30min) |
42
- | Behavioral | 5W2H + analytics funnel | product analytics (Amplitude/PostHog), session replays |
43
- | Compliance/legal | Reg list + clause map | gov sites, legal counsel review |
44
- | Macro context | PESTLE (political/economic/social/technological/legal/environmental) | desk research |
45
-
46
- ### 3. Run focused passes
47
-
48
- One question, one pass. Don't bundle. For each:
49
-
50
- - Define what "enough evidence" looks like before starting.
51
- - Cite or it didn't happen. Links + access date.
52
- - When numbers conflict across sources, write down both and flag.
53
-
54
- ### 4. Synthesize
55
-
56
- In `research.md`, for each original question, write:
57
-
58
- ```markdown
59
- ### Q1. {{the question}}
60
- **Finding:** one sentence answer.
61
- **Confidence:** high | medium | low
62
- **Why we believe it:** 2–3 lines + citations [1][2][3].
63
- **Implication for the brief/PRD:** what changes (or doesn't) because of this.
64
- ```
65
-
66
- Don't include raw quotes here — link to `.wize/knowledge/research/{slug}.md`.
67
-
68
- ### 5. Flag the gaps
69
-
70
- End the synthesis with a "Still open" section. List questions we couldn't answer + the cheapest next step (one interview / one analytics query / one expert call). Route back to Wizer with the gap.
71
-
72
- ## Output template (synthesis)
73
-
74
- ```markdown
75
- ---
76
- status: ready-for-prd
77
- owner: Pepper Potts
78
- created: YYYY-MM-DD
79
- ---
26
+ ### 1. Read the question
80
27
 
81
- # Research — {{project_name}}
28
+ Extract the user's research topic or question. If the user provided a long message, identify the core research intent.
82
29
 
83
- ## Q1. {{question}}
84
- **Finding:** …
85
- **Confidence:** medium
86
- **Why:** … [1]
87
- **Implication:** Brief constraint #3 holds; PRD scope can drop feature X.
30
+ ### 2. Classify
88
31
 
89
- ## Q2. …
32
+ Match keywords against the classification guide above. Score each category by keyword hits. Pick the highest-scoring category.
90
33
 
91
- ## Still open
92
- - Q5: pricing elasticity in segment S — needs 1 hour with sales lead.
34
+ ### 3. Delegate or ask
93
35
 
94
- ## Sources
95
- [1] {{title}} — {{url}} (accessed YYYY-MM-DD)
96
- [2] interview-acme-cto-2026-05-30 — see knowledge/research/acme-cto.md
97
- ```
36
+ - **Clear match (one category dominates):** Delegate to the corresponding variant. Load that skill and hand off the user's question intact — do not rephrase or summarize.
37
+ - **Ambiguous (multiple categories tie or no clear signal):** Ask one clarifying question:
98
38
 
99
- ## When to use which framework (heuristic)
39
+ > Isso é pesquisa de mercado, domínio ou técnica?
100
40
 
101
- - **JTBD** when you're about to write personas; JTBD is sharper than archetypes.
102
- - **Porter** when picking a market to enter or a defensible moat.
103
- - **PESTLE** for projects with regulatory or geopolitical exposure.
104
- - **5 Whys + analytics funnel** when a metric is bad and the cause isn't obvious.
41
+ Wait for the user's answer, then delegate to the chosen variant.
105
42
 
106
- ## Anti-patterns Pepper rejects
43
+ ## Anti-patterns
107
44
 
108
- - Synthesis without citations.
109
- - "We surveyed users" with no n, no method, no script.
110
- - Single-source claims with high confidence ("everyone is using X" because of one blog post).
111
- - Using brand-name competitor research as user research — they're different.
112
- - Continuing to research when the decision is already made. Stop and ship.
45
+ - Executing research directly instead of delegating.
46
+ - Asking more than one clarifying question.
47
+ - Guessing when the signal is ambiguous — ask, don't assume.
113
48
 
114
49
  ## Hand-off
115
50
 
116
- > Research is in `.wize/planning/research.md`. Q3 still open — sales lead has a slot tomorrow. Hill can start the PRD on what's confirmed.
51
+ > Pesquisa classificada como {{category}}. Delegando para {{variant}}.
@@ -4,8 +4,15 @@ name: Technical Research
4
4
  phase: 1-analysis
5
5
  owner: wize-agent-analyst # Pepper Potts
6
6
  status: ready
7
+ description: "Use quando precisar pesquisar tecnologias, stacks, bibliotecas ou decisões técnicas."
7
8
  ---
8
9
 
10
+ > **Variante de pesquisa.** Para outros tipos de pesquisa, veja:
11
+ > - Mercado/concorrência → `/wize-market-research`
12
+ > - Domínio/indústria → `/wize-domain-research`
13
+ > - Técnica/stack → `/wize-technical-research`
14
+ > - Pesquisa geral (dispatcher) → `/wize-research`
15
+
9
16
  # Technical Research
10
17
 
11
18
  **Goal.** Conduct technical research on technologies, tools, and architecture patterns to inform stack decisions.
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-trigger-map
4
+ description: "Use quando precisar mapear gatilhos psicológicos dos usuários para objetivos de negócio — a ponte entre o brief e o PRD."
3
5
  name: Trigger Map
4
6
  phase: 1-analysis
5
7
  owner: wize-agent-analyst # Pepper Potts
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-prd
4
+ description: "Use quando o brief + research + trigger map estiverem prontos e precisar convertê-los em um PRD com escopo e acceptance criteria."
3
5
  name: Create PRD
4
6
  phase: 2-plan
5
7
  owner: wize-agent-pm # Maria Hill
@@ -1,7 +1,9 @@
1
1
  ---
2
+
2
3
  code: wize-edit-prd
4
+ description: "Use quando o PRD existir e precisar de alteração pontual com registro de changelog."
3
5
  name: Edit PRD
4
- phase: 2-plan-workflows
6
+ phase: 2-plan
5
7
  owner: wize-agent-pm # Maria Hill
6
8
  status: ready
7
9
  ---
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-ux-design
4
+ description: "Use quando os cenários UX estiverem prontos e precisar produzir especificações página por página para arquitetura e implementação."
3
5
  name: UX Design
4
6
  phase: 2-plan
5
7
  owner: wize-agent-ux-designer # Mantis
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-ux-scenarios
4
+ description: "Use quando o PRD estiver validado e precisar produzir o mapa de cenários UX que ancora todo o design."
3
5
  name: UX Scenarios
4
6
  phase: 2-plan
5
7
  owner: wize-agent-ux-designer # Mantis (absorbs WDS Freya)
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-validate-prd
4
+ description: "Use quando o PRD estiver pronto para validação e precisar decidir se ele pode avançar para Solutioning."
3
5
  name: Validate PRD
4
6
  phase: 2-plan
5
7
  owner: wize-agent-pm # Maria Hill (with Pepper, Mantis, Fury input)
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-check-implementation-readiness
4
+ description: "Use quando a arquitetura e as stories estiverem prontas e precisar verificar se o projeto está pronto para entrar em implementação."
3
5
  name: Check Implementation Readiness
4
6
  phase: 3-solutioning
5
7
  owner: wize-agent-architect # Tony Stark (with Hawkeye + Hill)
@@ -47,7 +47,7 @@ lastStep: 8
47
47
  Architecture complete. Next:
48
48
  1. Hawkeye: run wize-tea-risk to build the global risk profile.
49
49
  2. Tony: run wize-create-epics-and-stories to slice the work.
50
- 3. Use wize-help anytime to check what comes next.
50
+ 3. Use `/wize` (or `/wize-help`) anytime to check what comes next.
51
51
  ```
52
52
 
53
53
  ## On complete
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-architecture
4
+ description: "Use quando o PRD e UX design estiverem prontos e precisar projetar a arquitetura do sistema com componentes, sequências e ADRs."
3
5
  name: Create Architecture
4
6
  phase: 3-solutioning
5
7
  owner: wize-agent-architect # Tony Stark
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-epics-and-stories
4
+ description: "Use quando a arquitetura estiver definida e precisar fatiar o escopo em epics e stories com acceptance criteria."
3
5
  name: Create Epics and Stories
4
6
  phase: 3-solutioning
5
7
  owner: wize-agent-architect # Tony Stark
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-design-system
4
+ description: "Use quando o UX design estiver avançando e precisar estabelecer a baseline do design system (tokens, componentes, grids)."
3
5
  name: Design System
4
6
  phase: 3-solutioning
5
7
  owner: wize-agent-ux-designer # Mantis (WDS Freya — Phase 7)
@@ -1,7 +1,9 @@
1
1
  ---
2
+
2
3
  code: wize-nfr-principles
4
+ description: "Use quando o PRD estiver validado e precisar definir os princípios de NFR (perf, segurança, confiabilidade, acessibilidade, custo) que guiarão a arquitetura."
3
5
  name: NFR Principles
4
- phase: 2-to-3-boundary
6
+ phase: 3-solutioning
5
7
  owner: wize-agent-solution-strategist # Nick Fury
6
8
  status: ready
7
9
  ---
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-project-context
4
+ description: "Use quando precisar estabelecer ou atualizar o contexto do projeto (stack, convenções, restrições) para orientar a solução."
3
5
  name: Project Context
4
6
  phase: 3-solutioning
5
7
  owner: wize-agent-architect # Tony Stark
@@ -60,7 +62,7 @@ Read `.wize/implementation/sprint-status.yaml` and include: sprint number, capac
60
62
 
61
63
  ### 6. Hand off
62
64
 
63
- Output is a markdown file. Wizer uses this file to seed `/wize-help`, `/wize-dev-story`, and `/wize-onboarding` reads.
65
+ Output is a markdown file. Wizer uses this file to seed `/wize`, `/wize-help`, `/wize-dev-story`, and `/wize-onboarding` reads.
64
66
 
65
67
  ## Output template
66
68
 
@@ -1,7 +1,9 @@
1
1
  ---
2
+
2
3
  code: wize-tech-vision
4
+ description: "Use quando o PRD estiver validado e precisar definir o norte técnico: stack family, build-buy-borrow e non-negotiables."
3
5
  name: Tech Vision
4
- phase: 2-to-3-boundary
6
+ phase: 3-solutioning
5
7
  owner: wize-agent-solution-strategist # Nick Fury
6
8
  status: ready
7
9
  ---