wize-dev-kit 0.16.0 → 0.17.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 (235) hide show
  1. package/AGENTS.md +37 -0
  2. package/ARCH.md +77 -24
  3. package/CHANGELOG.md +14 -0
  4. package/DECISIONS.md +27 -1
  5. package/README.es.md +296 -0
  6. package/README.md +3 -2
  7. package/README.pt-BR.md +294 -0
  8. package/ROSTER.md +11 -3
  9. package/adapters/README.md +9 -7
  10. package/adapters/antigravity/README.md +5 -5
  11. package/adapters/claude-code/README.md +1 -1
  12. package/adapters/codex/README.md +5 -5
  13. package/adapters/codex/adapter.yaml +1 -1
  14. package/adapters/codex/render.js +1 -1
  15. package/adapters/continue/README.md +5 -5
  16. package/adapters/cursor/README.md +2 -2
  17. package/adapters/generic/README.md +1 -1
  18. package/adapters/hermes/README.md +23 -0
  19. package/adapters/hermes/adapter.yaml +8 -0
  20. package/adapters/hermes/render.js +17 -0
  21. package/adapters/kimi-code/README.md +5 -5
  22. package/adapters/kimi-code/render.js +2 -2
  23. package/adapters/kiro/README.md +30 -0
  24. package/adapters/kiro/adapter.yaml +8 -0
  25. package/adapters/kiro/render.js +21 -0
  26. package/adapters/opencode/README.md +3 -3
  27. package/adapters/opencode/render.js +27 -1
  28. package/adapters/windsurf/README.md +3 -3
  29. package/docs/harnesses/antigravity.md +20 -0
  30. package/docs/harnesses/antigravity.pt-BR.md +20 -0
  31. package/docs/harnesses/claude-code.md +23 -0
  32. package/docs/harnesses/claude-code.pt-BR.md +23 -0
  33. package/docs/harnesses/codex.md +21 -0
  34. package/docs/harnesses/codex.pt-BR.md +21 -0
  35. package/docs/harnesses/continue.md +21 -0
  36. package/docs/harnesses/continue.pt-BR.md +21 -0
  37. package/docs/harnesses/cursor.md +22 -0
  38. package/docs/harnesses/cursor.pt-BR.md +22 -0
  39. package/docs/harnesses/generic.md +20 -0
  40. package/docs/harnesses/generic.pt-BR.md +20 -0
  41. package/docs/harnesses/hermes.md +26 -0
  42. package/docs/harnesses/hermes.pt-BR.md +26 -0
  43. package/docs/harnesses/kimi-code.md +19 -0
  44. package/docs/harnesses/kimi-code.pt-BR.md +19 -0
  45. package/docs/harnesses/kiro.md +26 -0
  46. package/docs/harnesses/kiro.pt-BR.md +26 -0
  47. package/docs/harnesses/opencode.md +31 -0
  48. package/docs/harnesses/opencode.pt-BR.md +31 -0
  49. package/docs/harnesses/windsurf.md +22 -0
  50. package/docs/harnesses/windsurf.pt-BR.md +22 -0
  51. package/package.json +1 -1
  52. package/schemas/agent.schema.json +2 -2
  53. package/schemas/workflow.schema.json +1 -1
  54. package/src/app-overlay/wize-app-release-channels/workflow.md +2 -0
  55. package/src/app-overlay/wize-app-scaffold/workflow.md +2 -0
  56. package/src/app-overlay/wize-app-store-listing/workflow.md +2 -0
  57. package/src/builder-skills/wize-create-agent/workflow.md +2 -0
  58. package/src/builder-skills/wize-create-skill/workflow.md +2 -0
  59. package/src/builder-skills/wize-create-workflow/workflow.md +2 -0
  60. package/src/core-skills/wize-advanced-elicitation/skill.md +2 -0
  61. package/src/core-skills/wize-brainstorming/skill.md +2 -0
  62. package/src/core-skills/wize-customize/skill.md +116 -0
  63. package/src/core-skills/wize-editorial-review-prose/skill.md +94 -0
  64. package/src/core-skills/wize-editorial-review-structure/skill.md +99 -0
  65. package/src/core-skills/wize-grill/skill.md +77 -0
  66. package/src/core-skills/wize-index-docs/skill.md +119 -0
  67. package/src/core-skills/wize-pre-pr-check/skill.md +134 -0
  68. package/src/core-skills/wize-review-adversarial/skill.md +3 -0
  69. package/src/core-skills/wize-review-edge-case-hunter/skill.md +115 -0
  70. package/src/core-skills/wize-shard-doc/skill.md +2 -0
  71. package/src/core-skills/wize-spec/assets/headless-schemas.md +39 -0
  72. package/src/core-skills/wize-spec/assets/spec-template.md +40 -0
  73. package/src/core-skills/wize-spec/customize.toml +20 -0
  74. package/src/core-skills/wize-spec/skill.md +112 -0
  75. package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +3 -0
  76. package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +12 -0
  77. package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +38 -0
  78. package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +54 -0
  79. package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +40 -0
  80. package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +34 -0
  81. package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +36 -0
  82. package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +312 -0
  83. package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +42 -0
  84. package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +61 -0
  85. package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +185 -0
  86. package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +110 -0
  87. package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +159 -0
  88. package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +142 -0
  89. package/src/method-skills/1-analysis/wize-document-project/workflow.md +213 -20
  90. package/src/method-skills/1-analysis/wize-domain-research/customize.toml +14 -0
  91. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +49 -0
  92. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +39 -0
  93. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +39 -0
  94. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +39 -0
  95. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +39 -0
  96. package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +43 -0
  97. package/src/method-skills/1-analysis/wize-domain-research/research.template.md +31 -0
  98. package/src/method-skills/1-analysis/wize-domain-research/workflow.md +58 -0
  99. package/src/method-skills/1-analysis/wize-market-research/customize.toml +14 -0
  100. package/src/method-skills/1-analysis/wize-market-research/research.template.md +31 -0
  101. package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +57 -0
  102. package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +39 -0
  103. package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +37 -0
  104. package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +39 -0
  105. package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +37 -0
  106. package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +47 -0
  107. package/src/method-skills/1-analysis/wize-market-research/workflow.md +66 -0
  108. package/src/method-skills/1-analysis/wize-prfaq/workflow.md +152 -11
  109. package/src/method-skills/1-analysis/wize-product-brief/workflow.md +92 -19
  110. package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +129 -0
  111. package/src/method-skills/1-analysis/wize-research/workflow.md +39 -12
  112. package/src/method-skills/1-analysis/wize-technical-research/customize.toml +14 -0
  113. package/src/method-skills/1-analysis/wize-technical-research/research.template.md +31 -0
  114. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +49 -0
  115. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +45 -0
  116. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +39 -0
  117. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +39 -0
  118. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +42 -0
  119. package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +46 -0
  120. package/src/method-skills/1-analysis/wize-technical-research/workflow.md +60 -0
  121. package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +82 -16
  122. package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +135 -23
  123. package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +110 -0
  124. package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +134 -28
  125. package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +93 -15
  126. package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +108 -12
  127. package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +103 -11
  128. package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +41 -0
  129. package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +20 -0
  130. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +95 -0
  131. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +32 -0
  132. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +126 -0
  133. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +110 -0
  134. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +129 -0
  135. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +109 -0
  136. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +97 -0
  137. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +124 -0
  138. package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +59 -0
  139. package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +55 -48
  140. package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +154 -15
  141. package/src/method-skills/3-solutioning/wize-design-system/workflow.md +184 -22
  142. package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +145 -17
  143. package/src/method-skills/3-solutioning/wize-project-context/workflow.md +120 -0
  144. package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +130 -22
  145. package/src/method-skills/4-implementation/wize-agent-dev/persona.md +12 -0
  146. package/src/method-skills/4-implementation/wize-changelog/workflow.md +184 -0
  147. package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +117 -0
  148. package/src/method-skills/4-implementation/wize-code-review/customize.toml +21 -0
  149. package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +64 -0
  150. package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +40 -0
  151. package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +43 -0
  152. package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +100 -0
  153. package/src/method-skills/4-implementation/wize-code-review/workflow.md +54 -12
  154. package/src/method-skills/4-implementation/wize-correct-course/workflow.md +93 -0
  155. package/src/method-skills/4-implementation/wize-create-story/workflow.md +154 -10
  156. package/src/method-skills/4-implementation/wize-dev-story/workflow.md +185 -17
  157. package/src/method-skills/4-implementation/wize-investigate/workflow.md +123 -0
  158. package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +136 -18
  159. package/src/method-skills/4-implementation/wize-release/workflow.md +162 -0
  160. package/src/method-skills/4-implementation/wize-retrospective/workflow.md +114 -10
  161. package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +78 -11
  162. package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +45 -11
  163. package/src/method-skills/module.yaml +28 -0
  164. package/src/orchestrator-skills/module.yaml +7 -1
  165. package/src/orchestrator-skills/wize/skill.md +164 -0
  166. package/src/orchestrator-skills/wize-check/skill.md +98 -0
  167. package/src/orchestrator-skills/wize-help/skill.md +227 -67
  168. package/src/orchestrator-skills/wize-onboarding/workflow.md +78 -14
  169. package/src/orchestrator-skills/wize-orchestrator/agent.yaml +2 -0
  170. package/src/orchestrator-skills/wize-orchestrator/persona.md +44 -3
  171. package/src/orchestrator-skills/wize-party-mode/workflow.md +2 -0
  172. package/src/security-overlay/_shared/allowlist.js +154 -0
  173. package/src/security-overlay/_shared/backlog.js +169 -0
  174. package/src/security-overlay/_shared/cli-runner.js +87 -0
  175. package/src/security-overlay/_shared/cvss.js +108 -0
  176. package/src/security-overlay/_shared/detect.js +125 -0
  177. package/src/security-overlay/_shared/install-script.js +205 -0
  178. package/src/security-overlay/_shared/invoke-phase.js +86 -0
  179. package/src/security-overlay/_shared/owasp.js +56 -0
  180. package/src/security-overlay/_shared/partial.js +225 -0
  181. package/src/security-overlay/_shared/preflight.js +175 -0
  182. package/src/security-overlay/_shared/scope-gate.js +172 -0
  183. package/src/security-overlay/_shared/scope-parser.js +147 -0
  184. package/src/security-overlay/agents/red-teamer/agent.yaml +54 -0
  185. package/src/security-overlay/agents/red-teamer/persona.md +49 -0
  186. package/src/security-overlay/data/common.txt +115 -0
  187. package/src/security-overlay/data/owasp-top10.json +15 -0
  188. package/src/security-overlay/data/tool-allowlist.json +31 -0
  189. package/src/security-overlay/skills/wize-sec-enumerate/scripts/run-enumerate.js +180 -0
  190. package/src/security-overlay/skills/wize-sec-enumerate/skill.md +34 -0
  191. package/src/security-overlay/skills/wize-sec-exploit/data/common.txt +117 -0
  192. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-ffuf.js +147 -0
  193. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nikto.js +145 -0
  194. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nuclei.js +176 -0
  195. package/src/security-overlay/skills/wize-sec-exploit/scripts/run-sqlmap.js +139 -0
  196. package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +184 -0
  197. package/src/security-overlay/skills/wize-sec-pentest/skill.md +54 -0
  198. package/src/security-overlay/skills/wize-sec-recon/scripts/run-gitleaks.js +139 -0
  199. package/src/security-overlay/skills/wize-sec-recon/scripts/run-osv.js +227 -0
  200. package/src/security-overlay/skills/wize-sec-recon/scripts/run-recon.js +162 -0
  201. package/src/security-overlay/skills/wize-sec-recon/skill.md +37 -0
  202. package/src/security-overlay/skills/wize-sec-report/scripts/render-report.js +1033 -0
  203. package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +106 -0
  204. package/src/security-overlay/skills/wize-sec-scope/skill.md +52 -0
  205. package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +121 -0
  206. package/src/tea-skills/wize-tea-design/workflow.md +107 -13
  207. package/src/tea-skills/wize-tea-gate/workflow.md +118 -25
  208. package/src/tea-skills/wize-tea-nfr/workflow.md +107 -14
  209. package/src/tea-skills/wize-tea-review/workflow.md +123 -13
  210. package/src/tea-skills/wize-tea-risk/workflow.md +113 -10
  211. package/src/tea-skills/wize-tea-trace/workflow.md +86 -12
  212. package/src/web-overlay/wize-web-deploy/workflow.md +2 -0
  213. package/src/web-overlay/wize-web-scaffold/workflow.md +2 -0
  214. package/src/web-overlay/wize-web-seo-audit/workflow.md +2 -0
  215. package/tools/check-eli5-all-adapters.js +3 -2
  216. package/tools/installer/baseline.js +138 -0
  217. package/tools/installer/commands/agent.js +197 -0
  218. package/tools/installer/commands/doctor.js +321 -0
  219. package/tools/installer/commands/document-project.js +93 -0
  220. package/tools/installer/commands/sync.js +45 -0
  221. package/tools/installer/commands/update.js +172 -0
  222. package/tools/installer/document-project/batch-scanner.js +93 -0
  223. package/tools/installer/document-project/classify.js +170 -0
  224. package/tools/installer/document-project/modes/deep-dive.js +196 -0
  225. package/tools/installer/document-project/modes/full-rescan.js +15 -0
  226. package/tools/installer/document-project/modes/initial-scan.js +100 -0
  227. package/tools/installer/document-project/modes/quick.js +211 -0
  228. package/tools/installer/document-project/render-index.js +101 -0
  229. package/tools/installer/document-project/state.js +110 -0
  230. package/tools/installer/onboarding.js +14 -20
  231. package/tools/installer/render-shared.js +159 -15
  232. package/tools/installer/setup-helpers.js +2 -0
  233. package/tools/installer/validators/run-all.js +3 -2
  234. package/tools/installer/version-check.js +117 -0
  235. package/tools/installer/wize-cli.js +501 -70
@@ -0,0 +1,66 @@
1
+ ---
2
+ code: wize-market-research
3
+ name: Market Research
4
+ phase: 1-analysis
5
+ owner: wize-agent-analyst # Pepper Potts
6
+ status: ready
7
+ description: "Use quando precisar pesquisar mercado, concorrentes, tendências ou posicionamento."
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
+
16
+ # Market Research
17
+
18
+ **Goal.** Conduct market research on competition and customers to inform the product brief and PRD.
19
+
20
+ Pepper Potts drives. Peggy Carter edits prose. Output lands in `.wize/planning/research/market-{slug}-research-{date}.md`.
21
+
22
+ ## When to use
23
+
24
+ - "I need market research on..."
25
+ - "Who are the competitors?"
26
+ - "What do customers actually want?"
27
+
28
+ ## Inputs
29
+
30
+ - Open questions from `.wize/planning/brief.md`
31
+ - User-provided topic or problem area
32
+ - Web search access
33
+
34
+ ## Outputs
35
+
36
+ - `.wize/planning/research/market-{slug}-research-{date}.md`
37
+
38
+ ## Workflow architecture
39
+
40
+ This skill uses **step-file architecture**:
41
+
42
+ - Six steps, each self-contained.
43
+ - Sequential progression with user control.
44
+ - Document state tracked in frontmatter (`stepsCompleted`).
45
+
46
+ ## On activation
47
+
48
+ 1. Load `.wize/config/project.toml` and `.wize/config/user.toml`.
49
+ 2. Resolve language settings and output paths.
50
+ 3. Greet the user in `communication_language`.
51
+ 4. Ask for the market research topic if not provided.
52
+ 5. Derive `{research_topic_slug}` and create the output file from `research.template.md`.
53
+ 6. Read fully and follow `./steps/step-01-init.md`.
54
+
55
+ ## Steps
56
+
57
+ 1. `step-01-init.md` — confirm scope.
58
+ 2. `step-02-customer-behavior.md` — analyze customer behavior.
59
+ 3. `step-03-customer-pain-points.md` — identify pain points.
60
+ 4. `step-04-customer-decisions.md` — map purchase/journey decisions.
61
+ 5. `step-05-competitive-analysis.md` — analyze competitors.
62
+ 6. `step-06-research-completion.md` — synthesize and complete.
63
+
64
+ ## Hand-off
65
+
66
+ > Market research document is in `.wize/planning/research/`. Hill can quote the findings in the PRD; open questions route back to Wizer.
@@ -1,27 +1,168 @@
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
6
- status: stub
8
+ status: ready
7
9
  ---
8
10
 
9
- # PR/FAQ
11
+ # PR/FAQ — Working Backwards
12
+
13
+ **Goal.** Force alignment by writing the *future* press release and a tight FAQ **before** anyone builds anything. Amazon-style. If you can't write a compelling PR, you don't have a product yet.
14
+
15
+ Pepper drives. Peggy polishes prose. Output lands in `.wize/planning/prfaq.md`.
16
+
17
+ ## When to run
10
18
 
11
- **Goal.** Force alignment by drafting the "future press release + FAQ" before building. Amazon-style.
19
+ Run this:
20
+ - New product or new strategic feature.
21
+ - The team disagrees on the user-visible value.
22
+ - You're about to commit > 1 month of engineering.
23
+
24
+ Skip this:
25
+ - Bug fix, copy edit, dependency bump → use `wize-quick-dev`.
26
+ - The brief already crisply names the user-visible value and the team is aligned → write the PRD directly.
12
27
 
13
28
  ## Inputs
29
+
14
30
  - `.wize/planning/brief.md`
31
+ - `.wize/planning/research.md` (optional)
15
32
 
16
33
  ## Outputs
34
+
17
35
  - `.wize/planning/prfaq.md`
18
36
 
37
+ ## Structure (the Amazon shape)
38
+
39
+ A PR/FAQ has two parts: the **PR** (≤ 1 page) and the **FAQ** (≤ 2 pages).
40
+
41
+ ### The PR (write this first)
42
+
43
+ | Section | Length | What goes in it |
44
+ |---|---|---|
45
+ | **Headline** | 1 line | Audience + benefit + product name. Reader-understandable. |
46
+ | **Sub-headline** | 1 line | The non-obvious part of the benefit. |
47
+ | **Summary paragraph** | 3–5 sentences | What it is, who it's for, what changes, where to get it. |
48
+ | **Problem paragraph** | 3–5 sentences | Why this matters *now*, evidence the pain is real. |
49
+ | **Solution paragraph** | 3–5 sentences | How the product solves the problem. Concrete, not abstract. |
50
+ | **Internal quote** | 1 quote | A leader (founder/CEO) saying why this matters strategically. |
51
+ | **How it works** | 3 sentences | Three lines max. Not implementation — the *user* mental model. |
52
+ | **Customer quote** | 1 quote | An imagined real user saying the thing they'd say. Specific. |
53
+ | **How to get started** | 2 lines | One sentence: where + how. One sentence: what's first. |
54
+
55
+ If you find yourself writing more, cut. The discipline is the point.
56
+
57
+ ### The FAQ
58
+
59
+ 5–10 questions a sharp reader would actually ask. Crisp answers.
60
+
61
+ **Mandatory questions** (always include):
62
+
63
+ 1. Who exactly is this for?
64
+ 2. What does this replace today?
65
+ 3. Why now? (Why not last year, why not next year?)
66
+ 4. How is this different from {{nearest competitor}}?
67
+ 5. What's *out* of scope at launch?
68
+ 6. What does success look like in 6 months? In 18 months?
69
+ 7. What are the top three risks?
70
+
71
+ **Optional questions** (include when relevant):
72
+
73
+ 8. What's the pricing model?
74
+ 9. How does this work for non-English locales / accessibility / offline?
75
+ 10. What does the regulatory story look like?
76
+ 11. What's the launch sequence (geos / segments / preview)?
77
+
19
78
  ## Steps
20
- 1. **Headline + subhead.** One sentence each. Reader must understand.
21
- 2. **Quote (customer).** Why does this matter to a real user?
22
- 3. **Quote (internal leader).** Why does this matter to the business?
23
- 4. **How it works.** Three paragraphs max.
24
- 5. **FAQ.** 5–10 most likely sharp questions, with crisp answers.
25
-
26
- ## When to skip
27
- Skip this workflow for small fixes or features whose audience is obvious. Use for net-new products or strategic bets.
79
+
80
+ ### 1. Frame and freeze the audience
81
+
82
+ Write the audience line at the top of your draft and don't move it. Every sentence is judged against "does this matter to the audience?"
83
+
84
+ ### 2. PR before FAQ
85
+
86
+ Always. The discipline of writing the PR exposes vague thinking. The FAQ comes after, when you're forced to defend it.
87
+
88
+ ### 3. Show, don't market
89
+
90
+ No "world-class," "revolutionary," "AI-powered" without a noun next to it. If you can replace the adjective with another and lose nothing, delete it.
91
+
92
+ ### 4. Numbers, not adjectives
93
+
94
+ Every claim has a unit. "Reduces onboarding from 35 minutes to 7" beats "reduces onboarding significantly."
95
+
96
+ ### 5. Pre-mortem question
97
+
98
+ Before sending, write the answer to: *"It's six months after launch and it failed. Why?"*. If the FAQ doesn't already cover the failure mode, add the question.
99
+
100
+ ### 6. Adversarial review
101
+
102
+ Run `wize-review-adversarial` on the draft. Cut what survives only "trust me."
103
+
104
+ ### 7. Hand off
105
+
106
+ The PR/FAQ is **not** the PRD. It's a strategic alignment doc. Marker `status: aligned`. Hill writes the PRD from this + the brief.
107
+
108
+ ## Output template
109
+
110
+ ```markdown
111
+ ---
112
+ status: draft | aligned
113
+ owner: Pepper Potts
114
+ created: YYYY-MM-DD
115
+ ---
116
+
117
+ # PR/FAQ — {{project_name}}
118
+
119
+ ## Press Release
120
+
121
+ **Headline:** {{audience}} can now {{benefit}} with {{product_name}}.
122
+ **Sub-headline:** {{the non-obvious twist}}.
123
+
124
+ {{summary paragraph}}
125
+
126
+ {{problem paragraph}}
127
+
128
+ {{solution paragraph}}
129
+
130
+ > "{{quote}}" — {{internal leader title}}
131
+
132
+ How it works: {{three sentences}}
133
+
134
+ > "{{customer quote}}" — {{persona}}
135
+
136
+ Get started: {{where + first step}}
137
+
138
+ ## FAQ
139
+
140
+ **Q1. Who exactly is this for?**
141
+ …
142
+
143
+ **Q2. What does this replace today?**
144
+ …
145
+
146
+ **Q3. Why now?**
147
+ …
148
+
149
+ (…through Q10 as needed)
150
+
151
+ ## Pre-mortem
152
+ It's six months after launch and it failed. Why?
153
+ 1. …
154
+ 2. …
155
+ 3. …
156
+ ```
157
+
158
+ ## Anti-patterns Pepper rejects
159
+
160
+ - PR longer than one page. Cut.
161
+ - A press release with no user. ("Wize Foo unlocks synergies.") — say *who*.
162
+ - A FAQ that dodges the hard question. The reader will ask it; better in your draft than in a launch review.
163
+ - Pricing left vague when it's the load-bearing question.
164
+ - Customer quote that sounds like marketing copy. Rewrite as a person speaking.
165
+
166
+ ## Hand-off
167
+
168
+ > PR/FAQ is in `.wize/planning/prfaq.md`. Aligned with leadership. Hill, the PRD scope should anchor on FAQ Q5 (in/out). Mantis, the customer quote is your North Star for UX.
@@ -1,60 +1,133 @@
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
6
8
  absorbs: "WDS Saga — Phase 1"
7
- status: stub
9
+ status: ready
8
10
  ---
9
11
 
10
12
  # Product Brief
11
13
 
12
- **Goal.** Turn raw demand into a concise, decision-ready brief that the rest of the team can ship from.
14
+ **Goal.** Convert raw demand into a one-page brief the team can ship from. The brief is the single source of truth at this point — every other artifact (PRD, UX, architecture) references back to it.
15
+
16
+ Pepper drives. Peggy edits prose. Output lands in `.wize/planning/brief.md`.
13
17
 
14
18
  ## Inputs
15
19
 
16
- - Raw demand (chat or file)
17
- - Optional existing materials (deck, doc, ticket, recording)
18
- - `.wize/config/project.toml`
20
+ - Raw demand (chat message, doc, ticket, screenshot, recording).
21
+ - Optional existing materials (deck, doc, prior brief).
22
+ - `.wize/config/project.toml`.
19
23
 
20
24
  ## Outputs
21
25
 
22
26
  - `.wize/planning/brief.md`
27
+ - Optionally `.wize/knowledge/research/` if Pepper pulled external sources.
23
28
 
24
29
  ## Steps
25
30
 
26
- 1. **Frame.** One paragraph: what is being asked, by whom, by when.
27
- 2. **Audience.** Primary user (1), secondary users (≤2), stakeholders (≤3).
28
- 3. **Vision.** One sentence describing the desired future state.
29
- 4. **Success criteria.** 3–5 measurable outcomes (numbers, not adjectives).
30
- 5. **Non-goals.** What this is *not*. Cut ambiguity early.
31
- 6. **Constraints.** Deadlines, budgets, compliance, integrations.
32
- 7. **Open questions.** Ranked, each with the person who can answer.
33
- 8. **Hand off.** Mark `status: ready-for-prd`; ping Wizer to call Maria Hill.
31
+ ### 1. Frame in one paragraph
32
+
33
+ What is being asked, by whom, and by when. If you can't write it in three sentences, you don't understand it yet. One open decision → ask one clarifying question, then write. More than one → offer a `wize-grill` pass (one question at a time, recommendation attached) and interview until shared understanding; answers land straight in the brief fields below, unresolved ones in *Open questions*.
34
+
35
+ ### 2. Audience
36
+
37
+ - **Primary user** (one, name them by role + JTBD).
38
+ - **Secondary users** (≤ 2).
39
+ - **Stakeholders** (≤ 3 — the people whose lives change if this ships).
40
+
41
+ If the user list overflows, the brief is too broad. Force the cut.
42
+
43
+ ### 3. Vision
44
+
45
+ One sentence describing the desired future state. Future tense. Concrete. No buzzwords. Test: can a new dev one month from now repeat it after a 30-second read?
46
+
47
+ ### 4. Success criteria
48
+
49
+ 3–5 measurable outcomes. Numbers, not adjectives.
50
+
51
+ Examples:
52
+ - ✓ "Median TTI on the checkout page ≤ 1.5s on a mid-range Android by Q3."
53
+ - ✗ "Faster checkout."
54
+
55
+ ### 5. Non-goals
56
+
57
+ What this is *not*. Cut ambiguity early. If a feature isn't ruled in or out here, it will be in the PRD review.
58
+
59
+ ### 6. Constraints
60
+
61
+ Hard limits. Pick from:
62
+ - Deadline (and what slipping it means).
63
+ - Budget envelope (one-time and run-rate).
64
+ - Compliance (GDPR, LGPD, SOC2, PCI, HIPAA, etc.).
65
+ - Integrations the product must speak to.
66
+ - Team / hiring envelope.
34
67
 
35
- ## Brief template (target file)
68
+ ### 7. Open questions
69
+
70
+ Each with the human who can answer it. Each marked priority `blocker` / `important` / `nice-to-know`. Blockers must be resolved before the PRD starts.
71
+
72
+ ### 8. Hand-off
73
+
74
+ - Mark `status: ready-for-prd` in the brief.
75
+ - Notify Wizer: "Brief ready, hand to Hill."
76
+ - Move to `wize-trigger-map` next (Pepper continues).
77
+
78
+ ## Brief template
36
79
 
37
80
  ```markdown
81
+ ---
82
+ status: ready-for-prd | draft
83
+ owner: Pepper Potts
84
+ created: YYYY-MM-DD
85
+ ---
86
+
38
87
  # Brief — {{project_name}}
39
88
 
40
89
  ## Vision
41
90
  …
42
91
 
43
92
  ## Audience
44
- - Primary: …
45
- - Secondary: …
46
- - Stakeholders: …
93
+ - **Primary:** … (one role + their JTBD)
94
+ - **Secondary:** …
95
+ - **Stakeholders:** …
47
96
 
48
97
  ## Success criteria
49
98
  1. …
50
99
  2. …
100
+ 3. …
51
101
 
52
102
  ## Non-goals
53
103
  - …
54
104
 
55
105
  ## Constraints
56
- - …
106
+ - **Deadline:** …
107
+ - **Budget:** …
108
+ - **Compliance:** …
109
+ - **Integrations:** …
57
110
 
58
111
  ## Open questions
59
- - [ ] … (owner: …)
112
+ - [ ] **(blocker)** … — *owner: NAME*
113
+ - [ ] **(important)** … — *owner: NAME*
114
+ - [ ] **(nice-to-know)** … — *owner: NAME*
60
115
  ```
116
+
117
+ ## Anti-patterns Pepper rejects
118
+
119
+ - "Make the product better." → no audience, no outcome, not a brief.
120
+ - Pasting a stakeholder's slack message verbatim. Rewrite in the brief voice.
121
+ - Success criteria like "increase engagement". Reword: which event, how much, by when.
122
+ - Hidden assumptions ("everyone has fast internet"). Surface them in *Constraints* or *Open questions*.
123
+ - Open questions with no owner. If nobody owns it, the answer never comes.
124
+
125
+ ## When to skip
126
+
127
+ This workflow is **not optional** for new products / new features. For tiny fixes (typo, copy, dependency bump), use `wize-quick-dev` instead — Pepper isn't called.
128
+
129
+ ## Hand-off
130
+
131
+ When the brief is approved, Pepper notifies Wizer:
132
+
133
+ > Brief is ready in `.wize/planning/brief.md`. No blockers open. Hill, your call on PRD.
@@ -0,0 +1,129 @@
1
+ ---
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."
5
+ name: Refresh Project Knowledge
6
+ phase: 1-analysis
7
+ owner: wize-agent-analyst # Pepper (drives), with Peggy on prose
8
+ status: ready
9
+ ---
10
+
11
+ # Refresh Project Knowledge
12
+
13
+ **Goal.** Consolidate the dated bullets added to `document-project/*.md` over the sprint (via `wize-dev-story` step 8 and `wize-quick-dev` step 5) into a coherent, narrated, current-state baseline. Keep what's still true; demote what's outdated; archive what's no longer relevant.
14
+
15
+ This is the workflow that **keeps `document-project` honest over months**, instead of letting it stale within a sprint.
16
+
17
+ Pepper drives the consolidation. Peggy edits prose. Tony reviews architecture-snapshot changes. Hawkeye reviews risk-spots changes.
18
+
19
+ ## When to run
20
+
21
+ - **End of sprint** (default cadence). `/wize next` (or `/wize-help next`) suggests it when it detects the sprint ended.
22
+ - **After a major epic ships.** Architecture often shifts visibly; this is the moment to consolidate.
23
+ - **Before onboarding a new engineer.** The baseline is the first thing they read; keep it fresh.
24
+ - **Before an audit / external review.** Same.
25
+
26
+ Don't run after every story — that's why each story already does its own inline update. This is the *periodic narration pass*.
27
+
28
+ ## Inputs
29
+
30
+ - `.wize/knowledge/document-project/{overview,architecture-snapshot,conventions,dependencies,risk-spots,open-questions}.md`
31
+ - `.wize/implementation/tea/**/gate.md` from this sprint (look for `KN-NN` findings — they flag where the baseline got out of sync).
32
+ - Git log of the sprint window (`git log --since="<sprint-start>" --until="<sprint-end>"`).
33
+ - `.wize/implementation/sprint-status.md` (latest sprint block).
34
+
35
+ ## Outputs
36
+
37
+ - Updated `.wize/knowledge/document-project/*.md` (in place).
38
+ - `.wize/knowledge/document-project/_history/{YYYY-Qn}/{sprint-N}.md` — sprint-scoped snapshot (frozen).
39
+ - Optional new entries appended to `open-questions.md`.
40
+
41
+ ## Steps
42
+
43
+ ### 1. Collect the inline notes
44
+
45
+ For each of the 5 axes, list every dated bullet added since the previous refresh (or since the baseline was created). They look like:
46
+
47
+ ```
48
+ ## 2026-06-12 — E01-S03
49
+ - Conventions: `data-testid="invite-*"` published as public contract.
50
+ - Risk: R-1 (mailer) mitigation confirmed.
51
+ ```
52
+
53
+ Pepper extracts them by axis.
54
+
55
+ ### 2. Narrate, don't list
56
+
57
+ For each axis, write a short paragraph that **integrates** the new bullets into the surrounding context. The bullets disappear; the prose grows. Each axis remains a single coherent file — not a chronological log.
58
+
59
+ Example for `conventions.md` before refresh:
60
+
61
+ ```markdown
62
+ ## Tests
63
+ Co-located with the file under test. `.spec.ts` for unit; `.e2e.ts` for end-to-end.
64
+ ```
65
+
66
+ After refresh integrating an inline note "data-testid='invite-*' is a public contract":
67
+
68
+ ```markdown
69
+ ## Tests
70
+ Co-located with the file under test. `.spec.ts` for unit; `.e2e.ts` for end-to-end. Test IDs follow the `data-testid="{feature}-{element}"` convention and are treated as a **public contract** — renaming one is a breaking change for end-to-end tests; ping Hawkeye before changing.
71
+ ```
72
+
73
+ ### 3. Demote what's outdated
74
+
75
+ If a previous claim no longer holds (a service was retired, a convention was replaced), don't delete silently. Move it to a "Deprecated" section at the bottom of the file with the date it was replaced and the new pattern. Future readers need the breadcrumb.
76
+
77
+ ### 4. Archive a sprint snapshot
78
+
79
+ Freeze the *current* state into `_history/{YYYY-Qn}/sprint-{N}.md`. This file is read-only after creation. Six months from now, when someone asks "when did we change the test-id convention?", the answer is in `_history/`.
80
+
81
+ ### 5. Open questions sweep
82
+
83
+ Pull any `KN-NN` findings that weren't resolved (the gap was acknowledged but the doc still wasn't updated) and copy them as `open-questions.md` entries with owners.
84
+
85
+ ### 6. Diff narrative
86
+
87
+ Append a one-paragraph summary to the bottom of each updated file:
88
+
89
+ ```markdown
90
+ ## Last refresh: 2026-06-25 (Sprint 7)
91
+ - Architecture: 2 new components documented (`<InviteForm>`, `<TeamList>`); ADR-008 anchored in the auth section.
92
+ - Conventions: test-id public contract documented; eslint plugin added (commit 7a3d2f).
93
+ - Risk-spots: R-1 (mailer) closed; R-7 (rate limiter) added.
94
+ - Dependencies: bumped zod, drizzle, expo (notes in dependencies.md).
95
+ - Overview: unchanged; no new top-level feature in this sprint.
96
+ ```
97
+
98
+ ### 7. Hand off
99
+
100
+ - All updated docs flip frontmatter `last_refreshed: YYYY-MM-DD`.
101
+ - Wizer announces in `sprint-status.md`: *"Knowledge refresh done; baseline current."*
102
+ - Maria Hill carries this into the retrospective: was the refresh smooth, or did the team accumulate too many KN findings?
103
+
104
+ ## Frontmatter convention for `document-project/*.md`
105
+
106
+ Each baseline file ships with:
107
+
108
+ ```yaml
109
+ ---
110
+ status: baseline
111
+ owner: Pepper + Peggy
112
+ created: 2026-04-02
113
+ last_refreshed: 2026-06-25
114
+ sampled: "wkly + sprint refresh"
115
+ ---
116
+ ```
117
+
118
+ `last_refreshed` tells the next reader how much to trust the file vs read the more recent inline notes from `_history/`.
119
+
120
+ ## Anti-patterns Pepper rejects
121
+
122
+ - **Refreshing into a chronological log.** That defeats narration; if a new dev opens `conventions.md` and sees 47 dated bullets, they can't form a mental model. Narrate.
123
+ - **Refresh without reading the gate findings.** `KN-NN` findings are exactly the gaps you should be patching here; ignoring them recreates the original problem.
124
+ - **Refresh every sprint regardless of activity.** If the sprint touched zero axes (rare but possible — a sprint of pure UI polish), say so in the diff narrative and skip the bulk of the work.
125
+ - **Demotion without breadcrumb.** Future readers need the trail.
126
+
127
+ ## Hand-off
128
+
129
+ > Knowledge refresh for Sprint 7 done. Baseline current; 1 historical snapshot frozen at `_history/2026-Q2/sprint-7.md`. KN-01 closed, KN-03 still open (deferred to S8 — assigned to Aaliyah).
@@ -3,22 +3,49 @@ code: wize-research
3
3
  name: Research
4
4
  phase: 1-analysis
5
5
  owner: wize-agent-analyst # Pepper Potts
6
- status: stub
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.** Synthesize external evidence (market, competitors, analytics, interviews) that informs the brief.
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
- ## Inputs
14
- - Research questions from the brief
15
- - External access (browser, MCPs) and/or attached docs
14
+ ## Classification guide
16
15
 
17
- ## Outputs
18
- - `.wize/planning/research.md`
16
+ Analyze the user's question for these signals. Score each category by keyword hits; delegate to the highest-scoring category.
17
+
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` |
19
23
 
20
24
  ## Steps
21
- 1. List the questions to answer.
22
- 2. For each question: gather sources, summarize, cite.
23
- 3. Mark gaps explicitly as `open` so Wizer can re-route.
24
- 4. Hand off back to brief workflow.
25
+
26
+ ### 1. Read the question
27
+
28
+ Extract the user's research topic or question. If the user provided a long message, identify the core research intent.
29
+
30
+ ### 2. Classify
31
+
32
+ Match keywords against the classification guide above. Score each category by keyword hits. Pick the highest-scoring category.
33
+
34
+ ### 3. Delegate or ask
35
+
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:
38
+
39
+ > Isso é pesquisa de mercado, domínio ou técnica?
40
+
41
+ Wait for the user's answer, then delegate to the chosen variant.
42
+
43
+ ## Anti-patterns
44
+
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.
48
+
49
+ ## Hand-off
50
+
51
+ > Pesquisa classificada como {{category}}. Delegando para {{variant}}.
@@ -0,0 +1,14 @@
1
+ # Wize Dev Kit — overrides for the built-in workflow "wize-technical-research".
2
+ # DO NOT EDIT in the installed kit; copy to .wize/custom/workflows/wize-technical-research/
3
+ # for project-level overrides.
4
+
5
+ [workflow]
6
+
7
+ activation_steps_prepend = []
8
+ activation_steps_append = []
9
+
10
+ persistent_facts = [
11
+ "file:{project-root}/.wize/planning/brief.md",
12
+ ]
13
+
14
+ on_complete = ""
@@ -0,0 +1,31 @@
1
+ ---
2
+ research_type: technical
3
+ research_topic: "{{research_topic}}"
4
+ research_goals: "{{research_goals}}"
5
+ status: in-progress
6
+ stepsCompleted: []
7
+ owner: Pepper Potts
8
+ created: "{{date}}"
9
+ ---
10
+
11
+ # Technical Research — {{research_topic}}
12
+
13
+ ## Research Overview
14
+
15
+ [Research overview and methodology will be appended here.]
16
+
17
+ ## Scope Confirmation
18
+
19
+ ## Technology Stack Analysis
20
+
21
+ ## Integration Patterns
22
+
23
+ ## Architectural Patterns
24
+
25
+ ## Implementation Research
26
+
27
+ ## Research Synthesis
28
+
29
+ ## Sources
30
+
31
+ ## Open Questions