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
@@ -11,7 +11,7 @@
11
11
  "phase": { "type": "string" },
12
12
  "owner": { "type": "string" },
13
13
  "absorbs": { "type": "string" },
14
- "overlay": { "enum": ["web", "app"] },
14
+ "overlay": { "enum": ["web", "app", "security"] },
15
15
  "status": { "enum": ["stub", "draft", "ready", "stable"] },
16
16
  "gate": { "enum": ["risk", "design", "trace", "nfr", "review", "gate"] },
17
17
  "when": { "type": "string" }
@@ -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
@@ -0,0 +1,116 @@
1
+ ---
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."
5
+ name: Customize
6
+ module: core
7
+ status: ready
8
+ ---
9
+
10
+ # Customize
11
+
12
+ **Goal.** Guide the user through creating an override (customize.toml) for a built-in agent, skill, or workflow. The override lives at `.wize/custom/{type}/{code}/customize.toml` and is loaded by the adapter at sync time.
13
+
14
+ Wizer drives. Tony on call for agent structure.
15
+
16
+ ## When to use
17
+
18
+ - "Override the persona of `wize-agent-pm`."
19
+ - "Customize the wording in `wize-product-brief`."
20
+ - "Add a tool to `wize-orchestrator`."
21
+
22
+ ## When NOT to use
23
+
24
+ - Creating a brand-new agent/skill/workflow → use `wize-create-agent` (or `wize-create-skill` / `wize-create-workflow`).
25
+ - Updating built-ins directly (the kit does not support forking built-ins; the next update would clobber your changes).
26
+
27
+ ## Inputs
28
+
29
+ - A target: agent code, skill code, or workflow code.
30
+ - A scope: what to override (name, title, persona, tools, body).
31
+
32
+ ## Output
33
+
34
+ - A new file at `.wize/custom/{type}/{code}/customize.toml` (or update of an existing one).
35
+ - A re-run of `wize-dev-kit sync` to apply the override.
36
+
37
+ ## Steps
38
+
39
+ ### 1. Identify the target
40
+
41
+ The user names the code (e.g., `wize-agent-pm`). The skill validates:
42
+
43
+ - Code shape: `wize-{kind}-{slug}`.
44
+ - Exists in the kit's built-in roster.
45
+
46
+ If the target does not exist, suggest `wize-create-agent` instead.
47
+
48
+ ### 2. Inspect the existing override
49
+
50
+ If `.wize/custom/{type}/{code}/customize.toml` exists, read it. The user is updating; otherwise creating.
51
+
52
+ ### 3. Ask what to change
53
+
54
+ The skill asks the user to pick from the overrideable fields:
55
+
56
+ - `name` (display name)
57
+ - `title` (job title)
58
+ - `persona` (markdown body)
59
+ - `tools` (list of tool names the agent can call)
60
+ - `icon` (emoji)
61
+
62
+ One field per run. Re-run for additional fields.
63
+
64
+ ### 4. Generate the customize.toml
65
+
66
+ Write the new (or merged) customize.toml. Keep the structure as comments so the user can see the template.
67
+
68
+ ```toml
69
+ # Override for {code} — generated by /wize-customize
70
+ # Re-running the skill merges; lines you delete are restored on next install.
71
+
72
+ [persona]
73
+ # name = "Your name here"
74
+ # title = "Your title here"
75
+
76
+ [tools]
77
+ # Add tool names the agent can call. Empty = default set.
78
+ # tools = []
79
+ ```
80
+
81
+ ### 5. Re-sync
82
+
83
+ Run `wize-dev-kit sync` (or instruct the user to). The override is loaded by the adapter and emitted to the IDE targets.
84
+
85
+ ### 6. Hand off
86
+
87
+ Notify the user of:
88
+
89
+ - File written: `.wize/custom/{type}/{code}/customize.toml`.
90
+ - Sync completed (or instructions to run it).
91
+ - Where to verify the override (e.g., `.claude/skills/{code}/SKILL.md`).
92
+
93
+ ## Output template
94
+
95
+ The skill does not write a markdown output; it writes the customize.toml and re-syncs.
96
+
97
+ ```toml
98
+ # Override for wize-agent-pm — generated by /wize-customize
99
+
100
+ [persona]
101
+ name = "Hill" # shortened from "Maria Hill"
102
+
103
+ [tools]
104
+ # tools = [] # default set
105
+ ```
106
+
107
+ ## Anti-patterns Wizer rejects
108
+
109
+ - Suggesting direct edits to built-in files in `node_modules/wize-dev-kit/`. (Next update clobbers.)
110
+ - Creating a customize.toml with no overrideable fields filled. (Empty = no-op.)
111
+ - Auto-running `wize-dev-kit sync` silently. (Confirm with the user first.)
112
+ - Customizing the same field twice in one run. (One field per run.)
113
+
114
+ ## Hand-off
115
+
116
+ > "Override written at `.wize/custom/{type}/{code}/customize.toml`. Sync applied. Verify in `.claude/skills/{code}/SKILL.md` (or your IDE target)."
@@ -0,0 +1,94 @@
1
+ ---
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."
5
+ name: Editorial Review — Prose
6
+ module: core
7
+ status: ready
8
+ ---
9
+
10
+ # Editorial Review — Prose
11
+
12
+ **Goal.** Catch prose drift in Wize artifacts (brief, PRD, ADR, gate, story, retrospective). Peggy Carter runs the review; the user applies the fixes.
13
+
14
+ Peggy drives. Wizer is on call for the call to action ("rewrite the whole section" or "leave it").
15
+
16
+ ## When to use
17
+
18
+ - "Review the prose in this PRD."
19
+ - "Find jargon and hedging in the brief."
20
+ - "Is this gate file clear?"
21
+
22
+ ## When NOT to use
23
+
24
+ - Spelling/grammar (use a linter; out of scope here).
25
+ - Structure (missing sections, wrong ordering) → use `wize-editorial-review-structure`.
26
+ - Tone change (tone is intentional; leave it).
27
+
28
+ ## Inputs
29
+
30
+ - A markdown file under `.wize/`.
31
+ - A line range (optional; default = whole file).
32
+
33
+ ## Output
34
+
35
+ - A markdown review with line-level findings, each tagged with severity (nit / suggest / recommend).
36
+
37
+ ## Steps
38
+
39
+ ### 1. Read
40
+
41
+ Read the file (or line range). Skip code blocks. Skip frontmatter.
42
+
43
+ ### 2. Hunt (4 areas)
44
+
45
+ - **Voice.** Active voice preferred. Flag passive constructions ("was decided by", "is being implemented").
46
+ - **Jargon.** Acronyms not defined on first use. Discipline-specific terms (e.g., "JTBD", "NFR") that are not in the project glossary.
47
+ - **Hedging.** Softeners that hide commitment: "might", "could possibly", "we should consider", "it would be nice". Suggest a stronger verb.
48
+ - **Pronouns.** Ambiguous "this", "it", "they" without a clear referent. Suggest a specific noun.
49
+
50
+ ### 3. Rank
51
+
52
+ Per finding:
53
+
54
+ - **Nit** — minor; user can ignore.
55
+ - **Suggest** — worth a 5-second fix.
56
+ - **Recommend** — blocks the artifact's clarity; should be fixed.
57
+
58
+ ### 4. Hand off
59
+
60
+ Output is a markdown list. The user applies or rejects each finding. Peggy does not auto-edit.
61
+
62
+ ## Output template
63
+
64
+ ```markdown
65
+ ---
66
+ date: 2026-06-17
67
+ file: planning/prd.md
68
+ author: Peggy
69
+ ---
70
+
71
+ # Prose review — prd.md
72
+
73
+ ## Recommendations
74
+ - L42: "we should consider using a token bucket" → "we use a token bucket". Hedging hides the decision. **[recommend]**
75
+ - L78: "this might affect the user" → "this affects new signups". Pronoun + hedging. **[recommend]**
76
+
77
+ ## Suggests
78
+ - L15: "rate-limit" appears 4 times. First use: spell out "rate-limit (per-IP cap on request rate)". **[suggest]**
79
+ - L23: passive "is implemented by" → active "we implement". **[suggest]**
80
+
81
+ ## Nits
82
+ - L88: comma splice. **[nit]**
83
+ ```
84
+
85
+ ## Anti-patterns Peggy rejects
86
+
87
+ - Auto-editing the source file. (Suggest; never write.)
88
+ - Commenting on tone or style preference. (Tone is intentional; structure is a separate review.)
89
+ - Marking everything as recommend. (Cap at 5 recommends per review.)
90
+ - Reviewing code blocks. (Out of scope.)
91
+
92
+ ## Hand-off
93
+
94
+ > "Prose review complete for `{file}`. {N} findings. {M} recommends, {K} suggests, {L} nits. Apply or reject per finding."
@@ -0,0 +1,99 @@
1
+ ---
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."
5
+ name: Editorial Review — Structure
6
+ module: core
7
+ status: ready
8
+ ---
9
+
10
+ # Editorial Review — Structure
11
+
12
+ **Goal.** Catch structural drift in Wize artifacts: missing required sections, wrong ordering, inconsistent heading levels. Peggy Carter runs the review; the user applies the fixes.
13
+
14
+ Peggy drives. Tony on call for architecture artifacts; Maria Hill for PRD; Hawkeye for gates.
15
+
16
+ ## When to use
17
+
18
+ - "Review the structure of this PRD."
19
+ - "Is this ADR complete?"
20
+ - "Does this gate file have all required sections?"
21
+
22
+ ## When NOT to use
23
+
24
+ - Prose quality → use `wize-editorial-review-prose`.
25
+ - Content correctness (does the AC actually hold?) → use `wize-tea-review` or `wize-validate-prd`.
26
+
27
+ ## Inputs
28
+
29
+ - A markdown file under `.wize/`.
30
+ - (Optional) the artifact type (PRD, ADR, gate, story, brief) — auto-detected from path.
31
+
32
+ ## Output
33
+
34
+ - A markdown review with section-level findings (missing, misordered, mistyped).
35
+
36
+ ## Steps
37
+
38
+ ### 1. Detect
39
+
40
+ Infer the artifact type from the path:
41
+
42
+ | Path | Type |
43
+ |---|---|
44
+ | `planning/brief.md` | brief |
45
+ | `planning/prd.md` | prd |
46
+ | `solutioning/adrs/ADR-*.md` | adr |
47
+ | `solutioning/architecture.md` | architecture |
48
+ | `implementation/tea/{epic}/{story}/gate.md` | gate |
49
+ | `solutioning/stories/*/*.md` | story |
50
+ | `solutioning/epics/*/*.md` | epic |
51
+
52
+ ### 2. Check against the template
53
+
54
+ Each type has a required set of H2 sections. Use the template in the relevant workflow file (e.g., for PRD, see `wize-create-prd/workflow.md`). Compare against the file.
55
+
56
+ ### 3. Hunt (4 areas)
57
+
58
+ - **Missing sections.** Required H2 not present.
59
+ - **Misordered sections.** H2 present but in wrong order relative to the template.
60
+ - **Inconsistent heading levels.** H3 used where H2 is expected (or vice versa).
61
+ - **Empty sections.** H2 with no content (a heading and nothing else).
62
+
63
+ ### 4. Hand off
64
+
65
+ Output is a markdown list with section-level findings. Severity: **must-fix** (missing) / **should-fix** (misordered) / **nit** (heading level).
66
+
67
+ ## Output template
68
+
69
+ ```markdown
70
+ ---
71
+ date: 2026-06-17
72
+ file: planning/prd.md
73
+ type: prd
74
+ author: Peggy
75
+ ---
76
+
77
+ # Structure review — prd.md (PRD)
78
+
79
+ ## Must-fix
80
+ - Missing H2: "Out of scope".
81
+ - Missing H2: "Open questions".
82
+
83
+ ## Should-fix
84
+ - H2 "Success criteria" appears after "Non-goals"; should be before (per template).
85
+
86
+ ## Nits
87
+ - H3 used in "Constraints" where H4 would match the rest of the doc.
88
+ ```
89
+
90
+ ## Anti-patterns Peggy rejects
91
+
92
+ - Suggesting a different section order than the template. (The template is the source of truth.)
93
+ - Reviewing prose. (Use the prose skill.)
94
+ - Marking optional sections (e.g., "Glossary" in PRD) as missing.
95
+ - Auto-rewriting the file. (Suggest; never write.)
96
+
97
+ ## Hand-off
98
+
99
+ > "Structure review complete for `{file}` ({type}). {M} must-fix, {K} should-fix, {L} nits. Apply or reject per finding."
@@ -0,0 +1,77 @@
1
+ ---
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."
5
+ name: Grill
6
+ module: core
7
+ status: ready
8
+ ---
9
+
10
+ # Grill
11
+
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.
13
+
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.
15
+
16
+ ## The five rules
17
+
18
+ 1. **One question at a time.** Ask, then wait for the answer. A batch of questions is bewildering and produces shallow answers.
19
+ 2. **Every question ships with a recommendation.** State your recommended answer and a one-line reason. The user confirms or corrects — far cheaper than answering from scratch.
20
+ 3. **Facts are looked up; decisions are asked.** If the answer lives in the repo, `.wize/`, or the environment (stack, existing behavior, conventions, prior artifacts), fetch it — never ask. Only genuine decisions — trade-offs, priorities, scope calls — go to the user.
21
+ 4. **Walk the decision tree in dependency order.** Resolve upstream decisions before the downstream ones that depend on them. Don't ask about scope before the problem is agreed.
22
+ 5. **No drafting until confirmed.** Close with a compact summary of every decision made and ask for confirmation of shared understanding. Only then hand back to the authoring workflow.
23
+
24
+ ## Question ladder (dependency order)
25
+
26
+ Climb top-down; **skip any rung an existing artifact already answers** (brief, trigger map, PRD, architecture — check first, rule 3).
27
+
28
+ | Rung | Resolves | Feeds |
29
+ |---|---|---|
30
+ | 1. Problem | What hurts, for whom, what's the evidence it hurts | Brief vision / story context |
31
+ | 2. Outcome | The observable result that means "solved" — metric, target, deadline | Success criteria / PRD goals |
32
+ | 3. Audience | Primary user (role + JTBD), who else is affected | Brief audience / trigger map |
33
+ | 4. Scope | What's in, what's explicitly out, non-goals | PRD scope table / story restrictions |
34
+ | 5. Constraints | Deadline, budget, compliance, integrations, protected behaviors | Brief constraints / restrictions |
35
+ | 6. Risks & assumptions | What, if wrong, changes the plan | PRD assumptions / risk profile |
36
+ | 7. Validation | How we'll verify — which checks, which ACs, what "done" means | ACs / validation contract |
37
+
38
+ When an answer comes back vague, apply a technique from `wize-advanced-elicitation` (5 Whys, laddering, premortem) to that one rung before moving on.
39
+
40
+ ## Calibration — how hard to grill
41
+
42
+ | Demand class | Depth |
43
+ |---|---|
44
+ | **Quick Dev** (bug fix, copy edit, dep bump) | Don't grill. One clarifying question max — grilling a typo fix is theater. |
45
+ | **Full Lifecycle, incremental** (new story in a known epic) | Short pass: rungs 4, 5, 7 only — the upstream rungs live in the PRD. |
46
+ | **Full Lifecycle, new value** (new feature, new product, new plan) | Full ladder. |
47
+
48
+ Momentum shortcut: after **three consecutive "as you recommend"** answers, switch to batch mode — state the remaining recommendations as one list and ask for a single confirmation. Respect the user's time; the point is clarity, not ceremony.
49
+
50
+ ## Where answers land
51
+
52
+ Grill produces no separate file. Route each decision to its home:
53
+
54
+ - **Decisions** → the target artifact's fields (brief sections, PRD scope/ACs, story restrictions/validation contract) — in the artifact's own words, not chat quotes.
55
+ - **Unresolved questions** → the artifact's *Open questions*, each with owner + priority (`blocker` / `important` / `nice-to-know`).
56
+ - **Load-bearing trade-offs** → the artifact's decision log (or `DECISIONS.md` / an ADR when architectural).
57
+
58
+ ## Stop conditions
59
+
60
+ Stop grilling when **any** of these hits:
61
+
62
+ - Every relevant rung is resolved or explicitly parked as an open question with an owner.
63
+ - The user says "enough" / "just go" — park the rest as open questions and proceed with your recommendations, flagged as assumptions.
64
+ - The summary is confirmed — shared understanding reached.
65
+
66
+ ## Anti-patterns
67
+
68
+ - Multiple questions in one message.
69
+ - Asking a fact `grep` or `.wize/` would answer.
70
+ - A question without a recommendation ("So… what do you want?").
71
+ - Grilling a Quick Dev demand.
72
+ - Re-opening a confirmed decision without new information.
73
+ - Continuing to interrogate after confirmation — grill is a phase, not a personality.
74
+
75
+ ## Hand-off
76
+
77
+ > Shared understanding confirmed: {n} decisions captured, {m} open questions parked with owners. Handing back to {persona} / `{workflow}` to draft the {artifact}.
@@ -0,0 +1,119 @@
1
+ ---
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."
5
+ name: Index Docs
6
+ module: core
7
+ status: ready
8
+ ---
9
+
10
+ # Index Docs
11
+
12
+ **Goal.** Rebuild `.wize/knowledge/index.md` from the actual tree. One file that lists every artifact with a one-line description and a relative link. New devs read this file first.
13
+
14
+ Wizer drives. Peggy polishes the one-line descriptions on the second pass.
15
+
16
+ ## When to run
17
+
18
+ - After any major artifact is created or moved.
19
+ - Before sprint planning (to confirm what exists).
20
+ - When onboarding a new team member.
21
+
22
+ ## When NOT to run
23
+
24
+ - Inside an IDE target folder (`.claude/`, `.cursor/`, etc.) — out of scope.
25
+ - As a CI step on every commit (too noisy; manual).
26
+
27
+ ## Inputs
28
+
29
+ - The `.wize/` tree (read-only scan).
30
+ - A user message: "Rebuild the index" or similar.
31
+
32
+ ## Output
33
+
34
+ - `.wize/knowledge/index.md` with sections: Planning, Solutioning, Implementation, Knowledge, Custom.
35
+
36
+ ## Steps
37
+
38
+ ### 1. Scan
39
+
40
+ Walk `.wize/` recursively. Skip hidden directories (`.DS_Store` etc.). For each file:
41
+
42
+ - Read its YAML frontmatter.
43
+ - If `description` is present, use it.
44
+ - Else use the first `# Heading` line.
45
+ - Else use the file name (kebab-case to title case).
46
+
47
+ ### 2. Group
48
+
49
+ Sort into 5 sections by file path:
50
+
51
+ | Section | Path prefix |
52
+ |---|---|
53
+ | Planning | `.wize/planning/` |
54
+ | Solutioning | `.wize/solutioning/` |
55
+ | Implementation | `.wize/implementation/` |
56
+ | Knowledge | `.wize/knowledge/` (excluding the index file itself) |
57
+ | Custom | `.wize/custom/` |
58
+
59
+ ### 3. Write
60
+
61
+ Generate `.wize/knowledge/index.md` with:
62
+
63
+ - YAML frontmatter (`generated`, `last_updated`, `total_files`).
64
+ - One H2 per section.
65
+ - One bullet per file: `- [{title}]({relative_path}) — {one-line description}`.
66
+ - A footer with the total file count and the timestamp.
67
+
68
+ If a section is empty, omit the heading.
69
+
70
+ ### 4. Hand off
71
+
72
+ Output is the index file. The user can review and adjust manually if the one-liners are stale. Re-run to overwrite.
73
+
74
+ ## Output template
75
+
76
+ ```markdown
77
+ ---
78
+ generated: 2026-06-17
79
+ last_updated: 2026-06-17
80
+ total_files: 24
81
+ ---
82
+
83
+ # Wize artifacts index
84
+
85
+ ## Planning (5)
86
+ - [Brief — site-qwize](planning/brief.md) — Pepper's one-pager for the site.
87
+ - [PRD — site-qwize](planning/prd.md) — Maria Hill's PRD for v1.
88
+ - [Trigger map](planning/trigger-map.md) — WDS user-psychology map.
89
+ - [UX scenarios](planning/ux/ux-scenarios.md) — Mantis's 8-question dialog.
90
+ - [Tech vision](planning/tech-vision.md) — Fury's stack pick.
91
+
92
+ ## Solutioning (4)
93
+ - [Architecture](solutioning/architecture.md) — Tony's 8-step architecture.
94
+ - [ADR-001](solutioning/adrs/ADR-001-...) — ...
95
+ ...
96
+
97
+ ## Implementation (8)
98
+ - [Sprint 1 status](implementation/sprint-status.md) — closed.
99
+ - [Risk profile](implementation/tea/risk-profile.md) — 13 risks mitigated.
100
+ ...
101
+
102
+ ## Knowledge (6)
103
+ - [Document project overview](knowledge/document-project/overview.md) — ...
104
+ ...
105
+
106
+ ## Custom (1)
107
+ - [Agent: runbooks](custom/agents/wize-agent-runbooks/agent.yaml) — ...
108
+ ```
109
+
110
+ ## Anti-patterns Wizer rejects
111
+
112
+ - Including IDE target folders (`.claude/`, `.cursor/`, `.kimi/`, etc.) in the index.
113
+ - Dumping file contents (just the description + link).
114
+ - Auto-running on every commit (manual or scheduled only).
115
+ - Mixing in files outside `.wize/`.
116
+
117
+ ## Hand-off
118
+
119
+ > "Index rebuilt at `.wize/knowledge/index.md`. {N} files indexed across 5 sections. Next: `/wize` (or `/wize-help`) reads this file when answering."