wize-dev-kit 0.11.0 → 0.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/AGENTS.md +3 -3
  2. package/CHANGELOG.md +37 -0
  3. package/README.es.md +3 -1
  4. package/README.md +3 -1
  5. package/README.pt-BR.md +3 -1
  6. package/package.json +1 -1
  7. package/src/app-overlay/wize-app-release-channels/workflow.md +2 -0
  8. package/src/app-overlay/wize-app-scaffold/workflow.md +2 -0
  9. package/src/app-overlay/wize-app-store-listing/workflow.md +2 -0
  10. package/src/builder-skills/wize-create-agent/workflow.md +2 -0
  11. package/src/builder-skills/wize-create-skill/workflow.md +2 -0
  12. package/src/builder-skills/wize-create-workflow/workflow.md +2 -0
  13. package/src/core-skills/module.yaml +3 -0
  14. package/src/core-skills/wize-advanced-elicitation/skill.md +2 -0
  15. package/src/core-skills/wize-brainstorming/skill.md +2 -0
  16. package/src/core-skills/wize-customize/skill.md +2 -0
  17. package/src/core-skills/wize-editorial-review-prose/skill.md +2 -0
  18. package/src/core-skills/wize-editorial-review-structure/skill.md +2 -0
  19. package/src/core-skills/wize-grill/skill.md +3 -1
  20. package/src/core-skills/wize-index-docs/skill.md +3 -1
  21. package/src/core-skills/wize-pre-pr-check/skill.md +134 -0
  22. package/src/core-skills/wize-review-adversarial/skill.md +2 -0
  23. package/src/core-skills/wize-review-edge-case-hunter/skill.md +2 -0
  24. package/src/core-skills/wize-shard-doc/skill.md +2 -0
  25. package/src/core-skills/wize-spec/skill.md +2 -0
  26. package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +3 -0
  27. package/src/method-skills/1-analysis/wize-document-project/workflow.md +2 -0
  28. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +7 -0
  29. package/src/method-skills/1-analysis/wize-market-research/workflow.md +7 -0
  30. package/src/method-skills/1-analysis/wize-prfaq/workflow.md +2 -0
  31. package/src/method-skills/1-analysis/wize-product-brief/workflow.md +2 -0
  32. package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +3 -1
  33. package/src/method-skills/1-analysis/wize-research/workflow.md +24 -89
  34. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +7 -0
  35. package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +2 -0
  36. package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +2 -0
  37. package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +3 -1
  38. package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +2 -0
  39. package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +2 -0
  40. package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +2 -0
  41. package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +2 -0
  42. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +1 -1
  43. package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +2 -0
  44. package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +2 -0
  45. package/src/method-skills/3-solutioning/wize-design-system/workflow.md +2 -0
  46. package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +3 -1
  47. package/src/method-skills/3-solutioning/wize-project-context/workflow.md +3 -1
  48. package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +3 -1
  49. package/src/method-skills/4-implementation/wize-changelog/workflow.md +184 -0
  50. package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +2 -0
  51. package/src/method-skills/4-implementation/wize-code-review/workflow.md +2 -0
  52. package/src/method-skills/4-implementation/wize-correct-course/workflow.md +2 -0
  53. package/src/method-skills/4-implementation/wize-create-story/workflow.md +2 -0
  54. package/src/method-skills/4-implementation/wize-dev-story/workflow.md +3 -1
  55. package/src/method-skills/4-implementation/wize-investigate/workflow.md +2 -0
  56. package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +2 -0
  57. package/src/method-skills/4-implementation/wize-release/workflow.md +162 -0
  58. package/src/method-skills/4-implementation/wize-retrospective/workflow.md +2 -0
  59. package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +2 -0
  60. package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +2 -0
  61. package/src/method-skills/module.yaml +12 -3
  62. package/src/orchestrator-skills/module.yaml +4 -1
  63. package/src/orchestrator-skills/wize/skill.md +164 -0
  64. package/src/orchestrator-skills/wize-help/skill.md +126 -5
  65. package/src/orchestrator-skills/wize-onboarding/workflow.md +3 -1
  66. package/src/orchestrator-skills/wize-orchestrator/agent.yaml +1 -0
  67. package/src/orchestrator-skills/wize-orchestrator/persona.md +29 -4
  68. package/src/orchestrator-skills/wize-party-mode/workflow.md +2 -0
  69. package/src/security-overlay/_shared/scope-parser.js +27 -0
  70. package/src/security-overlay/agents/red-teamer/agent.yaml +2 -0
  71. package/src/security-overlay/agents/red-teamer/persona.md +6 -0
  72. package/src/security-overlay/skills/wize-sec-enumerate/skill.md +2 -0
  73. package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +18 -1
  74. package/src/security-overlay/skills/wize-sec-pentest/skill.md +2 -0
  75. package/src/security-overlay/skills/wize-sec-recon/skill.md +2 -0
  76. package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +106 -0
  77. package/src/security-overlay/skills/wize-sec-scope/skill.md +52 -0
  78. package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +2 -0
  79. package/src/tea-skills/wize-tea-design/workflow.md +3 -0
  80. package/src/tea-skills/wize-tea-gate/workflow.md +3 -0
  81. package/src/tea-skills/wize-tea-nfr/workflow.md +3 -0
  82. package/src/tea-skills/wize-tea-review/workflow.md +3 -0
  83. package/src/tea-skills/wize-tea-risk/workflow.md +3 -0
  84. package/src/tea-skills/wize-tea-trace/workflow.md +3 -0
  85. package/src/web-overlay/wize-web-deploy/workflow.md +2 -0
  86. package/src/web-overlay/wize-web-scaffold/workflow.md +2 -0
  87. package/src/web-overlay/wize-web-seo-audit/workflow.md +2 -0
  88. package/tools/installer/commands/doctor.js +2 -2
  89. package/tools/installer/onboarding.js +14 -21
  90. package/tools/installer/render-shared.js +50 -28
  91. package/tools/installer/validators/run-all.js +3 -2
  92. package/tools/installer/wize-cli.js +323 -77
@@ -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
  ---
@@ -0,0 +1,184 @@
1
+ ---
2
+ code: wize-changelog
3
+ description: "Use quando precisar gerar ou atualizar o changelog no formato Keep a Changelog a partir das stories concluídas."
4
+ name: Changelog
5
+ phase: 4-implementation
6
+ owner: wize-agent-dev # Shuri
7
+ status: ready
8
+ ---
9
+
10
+ # Changelog
11
+
12
+ **Goal.** Gerar `CHANGELOG.md` no formato [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) a partir das stories concluídas no sprint, agrupadas por epic e categoria.
13
+
14
+ Shuri executa. O changelog é gerado em pt-BR (texto voltado ao usuário) e segue a convenção do projeto.
15
+
16
+ ## Inputs
17
+
18
+ - `.wize/implementation/sprint-status.yaml` — stories concluídas
19
+ - `.wize/solutioning/stories/{epic}/*.md` — detalhes das stories
20
+ - `.wize/solutioning/epics/*.md` — nomes legíveis dos epics
21
+ - `CHANGELOG.md` — changelog existente (se houver)
22
+ - `git tag --list 'v*' --sort=-v:refname | head -1` — última tag
23
+
24
+ ## Output
25
+
26
+ - `CHANGELOG.md` criado ou atualizado com a nova entrada pré-pendida
27
+
28
+ ## Formato Keep a Changelog
29
+
30
+ Seguir estritamente o formato [Keep a Changelog 1.1.0](https://keepachangelog.com/en/1.1.0/):
31
+
32
+ ```markdown
33
+ # Changelog
34
+
35
+ All notable changes to this project are documented here.
36
+ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
37
+
38
+ ## [Unreleased]
39
+
40
+ ## [0.12.0] — 2026-08-08
41
+
42
+ ### Added
43
+ - **Epic 09 — UX / intent:** Release e changelog skills (`wize-release`, `wize-changelog`). #E09-S07
44
+
45
+ ### Changed
46
+ - **Epic 09 — UX / intent:** Roteamento por intenção expandido com release/changelog. #E09-S03
47
+
48
+ ### Fixed
49
+ - **Epic 09 — UX / intent:** Descrições de skill corrigidas (block scalars). #E09-S01
50
+
51
+ ### Security
52
+ - (vazio se não houver stories de segurança)
53
+ ```
54
+
55
+ ### Regras de categoria
56
+
57
+ | Categoria | Quando usar |
58
+ |---|---|
59
+ | **Added** | Nova feature, nova skill, nova funcionalidade |
60
+ | **Changed** | Mudança em funcionalidade existente, alteração de comportamento |
61
+ | **Deprecated** | Funcionalidade que será removida em breve |
62
+ | **Removed** | Funcionalidade removida |
63
+ | **Fixed** | Correção de bug |
64
+ | **Security** | Correção de vulnerabilidade, melhoria de segurança |
65
+
66
+ ### Regras de agrupamento
67
+
68
+ - Agrupar por **epic** dentro de cada categoria.
69
+ - Cada linha começa com `- **Epic NN — Nome:**` seguido da descrição e `#story_id`.
70
+ - Stories sem epic definido vão sob `- **Geral:**`.
71
+ - Se uma categoria não tiver stories, escrever `- (vazio)` ou omitir (consistente com o changelog existente).
72
+
73
+ ## Steps
74
+
75
+ ### 1. Coletar stories concluídas
76
+
77
+ Ler `sprint-status.yaml`. Para cada story com status `done`:
78
+
79
+ 1. Localizar o arquivo em `.wize/solutioning/stories/{epic}/{story}.md`
80
+ 2. Extrair do frontmatter: `story_id`, `epic`
81
+ 3. Extrair do corpo: título (linha `# Story:`) e primeira frase da seção `## Context` como sumário
82
+
83
+ Se o arquivo da story não existir, usar apenas o `story_id` como referência.
84
+
85
+ ### 2. Classificar por categoria
86
+
87
+ Para cada story, determinar a categoria com base no conteúdo:
88
+
89
+ | Padrão no título/contexto | Categoria |
90
+ |---|---|
91
+ | "Adicionar", "Criar", "Novo", "Added", "Add" | Added |
92
+ | "Corrigir", "Consertar", "Bug", "Fix", "Hotfix", "Correção" | Fixed |
93
+ | "Alterar", "Mudar", "Refatorar", "Change", "Update" | Changed |
94
+ | "Remover", "Deprecar" | Removed / Deprecated |
95
+ | "Segurança", "Vulnerabilidade", "Security", "CVE" | Security |
96
+
97
+ Se ambíguo, default `Added` para stories novas, `Changed` para alterações.
98
+
99
+ ### 3. Agrupar por epic
100
+
101
+ Para cada story, resolver o nome do epic:
102
+
103
+ 1. Se o frontmatter tem `epic: NN-nome`, usar `Epic NN — Nome`
104
+ 2. Buscar em `.wize/solutioning/epics/{epic}.md` o título (`# Epic NN: Nome`)
105
+ 3. Fallback: `Epic {epic_id}`
106
+
107
+ Agrupar stories por epic, depois por categoria.
108
+
109
+ ### 4. Gerar entrada do changelog
110
+
111
+ Montar a entrada no formato:
112
+
113
+ ```markdown
114
+ ## [{version}] — {YYYY-MM-DD}
115
+
116
+ {descrição curta do release — 1-2 frases sobre o que esta versão entrega}
117
+
118
+ ### Added
119
+ - **{epic_nome}:** {descrição}. #{story_id}
120
+
121
+ ### Changed
122
+ - **{epic_nome}:** {descrição}. #{story_id}
123
+
124
+ ### Fixed
125
+ - **{epic_nome}:** {descrição}. #{story_id}
126
+
127
+ ### Security
128
+ - **{epic_nome}:** {descrição}. #{story_id}
129
+ ```
130
+
131
+ ### 5. Atualizar CHANGELOG.md
132
+
133
+ Se `CHANGELOG.md` não existir, criar com o cabeçalho padrão:
134
+
135
+ ```markdown
136
+ # Changelog
137
+
138
+ All notable changes to this project are documented here.
139
+ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
140
+
141
+ > **Language:** entries are written in **Portuguese (pt-BR)**.
142
+
143
+ ## [Unreleased]
144
+ ```
145
+
146
+ Se existir:
147
+ 1. Localizar a linha `## [Unreleased]`
148
+ 2. Inserir a nova entrada entre `## [Unreleased]` e a primeira `## [versão]` existente
149
+ 3. Se não houver `## [Unreleased]`, inserir após o cabeçalho
150
+
151
+ ### 6. Verificar formatação
152
+
153
+ - A data está no formato `YYYY-MM-DD`
154
+ - A versão segue semver (`X.Y.Z`)
155
+ - Cada story tem referência ao `#story_id`
156
+ - Categorias vazias foram omitidas
157
+ - O link do Keep a Changelog está presente
158
+
159
+ ## Exemplo de saída
160
+
161
+ ```markdown
162
+ ## [0.12.0] — 2026-08-08
163
+
164
+ Release do cluster de ship: skills de release e changelog para o perfil core, roteamento por intenção expandido.
165
+
166
+ ### Added
167
+ - **Epic 09 — UX / intent:** Skill `wize-release` para bump de versão, changelog e tag git a partir das stories gated. #E09-S07
168
+ - **Epic 09 — UX / intent:** Skill `wize-changelog` para geração de changelog no formato Keep a Changelog. #E09-S07
169
+
170
+ ### Changed
171
+ - **Epic 09 — UX / intent:** Tabela de roteamento por intenção expandida com release, changelog, lançar, publicar, notas de versão. #E09-S03
172
+ ```
173
+
174
+ ## Anti-patterns
175
+
176
+ - Changelog escrito à mão sem referência às stories — perde rastreabilidade.
177
+ - Categoria "Added" para correção de bug — usar "Fixed".
178
+ - Data fora do formato ISO — usar `YYYY-MM-DD`.
179
+ - Pular stories concluídas — toda story `done` no sprint entra no changelog.
180
+ - Escrever changelog em inglês quando o projeto usa pt-BR — seguir o idioma do changelog existente.
181
+
182
+ ## Hand-off
183
+
184
+ > Changelog atualizado em `CHANGELOG.md`. {count} stories de {epic_count} epics registradas. Próximo: `/wize-release` para bump de versão e tag, ou revisão manual do changelog.
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-checkpoint-preview
4
+ description: "Use quando uma story estiver parcialmente implementada e precisar de preview de checkpoint para validar direção antes de continuar."
3
5
  name: Checkpoint Preview
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-dev # Shuri (+ wize-agent-architect Tony on call)
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-code-review
4
+ description: "Use quando um PR estiver aberto e precisar de revisão de código por pares focada em saúde do código."
3
5
  name: Code Review
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-dev # Shuri (peer review)
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-correct-course
4
+ description: "Use quando o projeto desviar do plano e precisar de correção de curso com decisão documentada."
3
5
  name: Correct Course
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-pm # Maria Hill, with wize-orchestrator
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-create-story
4
+ description: "Use quando um epic estiver definido e precisar criar uma story individual com acceptance criteria detalhados."
3
5
  name: Create Story
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-architect # Tony writes; Shuri may refine
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-dev-story
4
+ description: "Use quando uma story estiver pronta para implementação e precisar ser desenvolvida com TDD e commits rastreáveis."
3
5
  name: Dev Story
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-dev # Shuri
@@ -14,7 +16,7 @@ Shuri drives. Hawkeye observes (test design is binding). Tony stays available fo
14
16
 
15
17
  ## Operating contract
16
18
 
17
- I work inside a repo with WDK installed: `.wize/`, `AGENTS.md`, and the `wize-*` skills are my instructions and memory, not background reading. This section is the execution slice of the story's **mission contract** (see `/wize-help mission`).
19
+ I work inside a repo with WDK installed: `.wize/`, `AGENTS.md`, and the `wize-*` skills are my instructions and memory, not background reading. This section is the execution slice of the story's **mission contract** (see `/wize mission` or `/wize-help mission`).
18
20
 
19
21
  - **Inspect before editing.** Read the story, its sources of truth, and the touched code first.
20
22
  - **Reuse ladder before new code** (see `wize-agent-dev` persona): needs to exist → already here → stdlib → framework feature → installed dep → one-liner → only then new code.
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-investigate
4
+ description: "Use quando um bug ou comportamento inesperado surgir e precisar de investigação estruturada com root cause analysis."
3
5
  name: Investigate
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-dev # Shuri (+ wize-agent-test-architect Hawkeye on call)
@@ -1,5 +1,7 @@
1
1
  ---
2
+
2
3
  code: wize-quick-dev
4
+ description: "Use quando a demanda for pequena e bem delimitada (bug fix, copy edit, refactor) e não justificar o ciclo completo."
3
5
  name: Quick Dev (lifecycle shortcut)
4
6
  phase: 4-implementation
5
7
  owner: wize-agent-dev # Shuri