wize-dev-kit 0.1.0 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,26 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [0.1.1] — 2026-05-31
9
+
10
+ ### Changed
11
+
12
+ - `README.md`: `Install` section now appears right after the badges (was buried in the middle).
13
+ - `ROSTER.md`: rewritten entirely in English; Wizer's motto no longer references a personal name — now reads "I know the qwize methodology, I know the project — I activate the right agent."
14
+ - Installer: now asks **two** language questions separately (BMAD parity):
15
+ - **Communication language** — how agents talk to you in chat.
16
+ - **Document output language** — language used in generated files (`brief.md`, `prd.md`, `architecture.md`, gates, etc.).
17
+ - Both stored under `[language]` in `.wize/config/project.toml`.
18
+ - Includes a curated catalog of common BCP-47 codes (en, pt-BR, pt-PT, es, fr, de, it, zh-CN, ja, vi) with free-text fallback for any other locale.
19
+ - `package.json`: corrected `repository`, `homepage`, `bugs` to point at `qwize-br/wize-development-kit` (was `qwize/wize-dev-kit`).
20
+ - `package.json`: added `prepublishOnly` running tests + structural validators.
21
+
22
+ ### Added
23
+
24
+ - `.github/workflows/publish.yml`: GitHub Actions workflow that publishes to npm on tag push (`v*`) using **Trusted Publishing** (OIDC). No long-lived `NPM_TOKEN` secret. Emits `--provenance` attestation.
25
+
26
+ ## [0.1.0] — 2026-05-31
27
+
8
28
  ### Added
9
29
 
10
30
  - Initial skeleton (v0.1.0 scaffold).
@@ -21,4 +41,6 @@ Format inspired by [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
21
41
  - Inspired by [BMAD Method v6.8.0](https://github.com/bmad-code-org/BMAD-METHOD).
22
42
  - WDS module inspired by [bmad-method-wds-expansion](https://github.com/bmad-code-org/bmad-method-wds-expansion).
23
43
 
24
- [Unreleased]: https://github.com/qwize/wize-dev-kit/compare/v0.1.0...HEAD
44
+ [Unreleased]: https://github.com/qwize-br/wize-development-kit/compare/v0.1.1...HEAD
45
+ [0.1.1]: https://github.com/qwize-br/wize-development-kit/compare/v0.1.0...v0.1.1
46
+ [0.1.0]: https://github.com/qwize-br/wize-development-kit/releases/tag/v0.1.0
package/README.md CHANGED
@@ -10,6 +10,36 @@
10
10
 
11
11
  ---
12
12
 
13
+ ## Install
14
+
15
+ In any greenfield or brownfield repo:
16
+
17
+ ```bash
18
+ npx wize-dev-kit install
19
+ ```
20
+
21
+ Or straight from GitHub (no npm required):
22
+
23
+ ```bash
24
+ npx github:qwize-br/wize-development-kit install
25
+ ```
26
+
27
+ The installer asks:
28
+
29
+ 1. Profile(s) to enable (Core / +Web / +App — multi-select).
30
+ 2. IDE target(s) (Claude Code, Cursor, Windsurf, Codex, Continue, Kimi Code, OpenCode, Antigravity, or generic fallback — multi-select).
31
+ 3. Language preferences (communication + document output).
32
+ 4. Output folder (default `.wize/`).
33
+ 5. For brownfield repos: offers to run `wize-document-project` to baseline the existing codebase.
34
+
35
+ After install, open your IDE and start with:
36
+
37
+ > "Activate Wizer and brief him on the project."
38
+
39
+ Wizer will route you to the right persona (Pepper for brief, Mantis for UX baseline, Tony for architecture preferences, etc.).
40
+
41
+ ---
42
+
13
43
  ## What it is
14
44
 
15
45
  Wize Development Kit (WDK) is an installable AI agent stack that takes a project from **brief → PRD → UX strategy → architecture → tested implementation** through 9 specialized agents (Marvel-themed) and a structured workflow library. It runs inside your AI IDE (Claude Code, Cursor, Windsurf, and others) and writes structured artifacts to a hidden `.wize/` folder in the target repo.
@@ -42,35 +72,6 @@ See [`ROSTER.md`](ROSTER.md) for personas, styles and BMAD equivalences.
42
72
 
43
73
  ---
44
74
 
45
- ## Quick start
46
-
47
- ```bash
48
- # In any greenfield or brownfield repo
49
- npx wize-dev-kit install
50
- ```
51
-
52
- Or, before this is published in your environment, install straight from GitHub:
53
-
54
- ```bash
55
- npx github:qwize-br/wize-development-kit install
56
- ```
57
-
58
- The installer asks:
59
-
60
- 1. Profile(s) to enable (Core / +Web / +App — multi-select).
61
- 2. IDE target(s) (Claude Code, Cursor, Windsurf, Codex, Continue, Kimi Code, OpenCode, Antigravity, or generic fallback — multi-select).
62
- 3. Language preferences (communication + document output).
63
- 4. Output folder (default `.wize/`).
64
- 5. For brownfield repos: offers to run `wize-document-project` to baseline the existing codebase.
65
-
66
- After install, open your IDE and start with:
67
-
68
- > "Activate Wizer and brief him on the project."
69
-
70
- Wizer will route you to the right persona (Pepper for brief, Mantis for UX baseline, Tony for architecture preferences, etc.).
71
-
72
- ---
73
-
74
75
  ## Output layout (in the target repo)
75
76
 
76
77
  ```
package/ROSTER.md CHANGED
@@ -1,25 +1,25 @@
1
- # Wize Dev Kit — Roster de Agentes (proposta v1)
1
+ # Wize Dev Kit — Agent Roster (v1)
2
2
 
3
- > Tema: **Marvel**. Cada persona representa um papel específico no método.
4
- > Equivalências BMAD listadas para referência cruzada com o repositório-pai.
3
+ > Theme: **Marvel**. Each persona represents a specific role in the qwize methodology.
4
+ > BMAD equivalences listed for cross-reference with the inspiration repo.
5
5
 
6
- ## Quadro
6
+ ## Roster table
7
7
 
8
- | # | Persona | Code | Papel | Fase | Lema / Estilo | Equiv. BMAD |
8
+ | # | Persona | Code | Role | Phase | Motto / Style | BMAD equiv. |
9
9
  |---|---|---|---|---|---|---|
10
- | 1 | **Wizer** | `wize-orchestrator` | Orchestrator / Knowledge Base / Briefing | Todas | "Conheço o time, conheço o André, ative o agente certo." Estilo: anfitrião, escolhe, distribui. Tools: globais. | (não existe papel de orchestrator surge no `party-mode` do BMAD) |
11
- | 2 | **Pepper Potts** | `wize-agent-analyst` | Business Analyst | 1 — Analysis | "Eficiência implacável." Brainstorming, market research, product-brief, PRFAQ, ROI, stakeholder map. Estilo: pragmática, antecipa, conecta business → tech. | Mary (`bmad-agent-analyst`) |
12
- | 3 | **Peggy Carter** | `wize-agent-tech-writer` | Technical Writer | Transversal (1–4) | "Estrutura, audiência, clareza." DITA, CommonMark, OpenAPI, READMEs, runbooks. Estilo: organizada, didática, técnica-mas-acessível. | Paige (`bmad-agent-tech-writer`) |
13
- | 4 | **Maria Hill** | `wize-agent-pm` | Product Manager | 2 — Planning | "Mission first." PRD, epics, sprint planning, cobrança de prazos. Estilo: militar, disciplinado, sem desculpas. | John (`bmad-agent-pm`) |
14
- | 5 | **Mantis** | `wize-agent-ux-designer` | UX Designer (Whiteport Strategic UX v0.4.3) | 2–3 | "Sinto o usuário antes de desenhar." Jobs-to-be-done, jornadas, empathy mapping, design tokens, IA, design system. Estilo: research-heavy, qualitative, narrativa empática. | Sally (`bmad-agent-ux-designer`) — substituída + metodologia Whiteport |
15
- | 6 | **Nick Fury** | `wize-agent-solution-strategist` | Solution Strategy / Tech Vision | 2 → 3 (boundary) | "Pessoas > Objetivo." Big-picture, NFRs, escolha de stack, princípios, trade-offs estratégicos. Estilo: autoritário, direto, poucas palavras. | (parcial de) Winston — vertente estratégica |
16
- | 7 | **Tony Stark** | `wize-agent-architect` | System Architect | 3 — Solutioning | "Eu construo as coisas." System design, componentes, ADRs, prototipagem, escolha de patterns. Estilo: confiante, irreverente, mostra com código. | Winston (`bmad-agent-architect`) — vertente sistêmica |
17
- | 8 | **Hawkeye** | `wize-agent-test-architect` | Test Architect (TEA) | Transversal (gates em 2, 3, 4) | "Sempre acerto onde dói." Risk profile, test design, traceability, NFR assessment, review, gate decision. Estilo: pragmático, edge-case hunter, foca no que importa. | (novonão existe no BMAD, inspirado no TEA do BMAD-Method v5) |
18
- | 9 | **Shuri** | `wize-agent-dev` | Senior Developer | 4 — Implementation | "Wakanda forever — agora compila." TDD red-green-refactor, segurança, performance. Estilo: gênio inovador, rápida, protetora do ecossistema, código limpo. | Amelia (`bmad-agent-dev`) |
10
+ | 1 | **Wizer** | `wize-orchestrator` | Orchestrator / Knowledge Base / Briefing | All | "I know the qwize methodology, I know the project I activate the right agent." Style: host, picks, routes. Tools: global. | (noneorchestrator role surfaces only in BMAD's `party-mode`) |
11
+ | 2 | **Pepper Potts** | `wize-agent-analyst` | Business Analyst | 1 — Analysis | "Relentless efficiency." Brainstorming, market research, product brief, PR/FAQ, ROI, stakeholder map. Style: pragmatic, anticipates, connects business → tech. | Mary (`bmad-agent-analyst`) |
12
+ | 3 | **Peggy Carter** | `wize-agent-tech-writer` | Technical Writer | Transversal (1–4) | "Structure, audience, clarity." DITA, CommonMark, OpenAPI, READMEs, runbooks. Style: organized, didactic, technical but accessible. | Paige (`bmad-agent-tech-writer`) |
13
+ | 4 | **Maria Hill** | `wize-agent-pm` | Product Manager | 2 — Planning | "Mission first." PRD, epics, sprint planning, deadline enforcement. Style: military discipline, no excuses, outcome-focused. | John (`bmad-agent-pm`) |
14
+ | 5 | **Mantis** | `wize-agent-ux-designer` | UX Designer (Whiteport Strategic UX v0.4.3) | 2–3 | "I feel the user before I sketch." Jobs-to-be-done, journeys, empathy mapping, design tokens, IA, design system. Style: research-heavy, qualitative, empathic narrative. | Sally (`bmad-agent-ux-designer`) — replaced with Whiteport methodology |
15
+ | 6 | **Nick Fury** | `wize-agent-solution-strategist` | Solution Strategy / Tech Vision | 2 → 3 (boundary) | "People > Objective." Big-picture, NFRs, stack family, principles, strategic trade-offs. Style: authoritative, direct, few words. | (partial) Winston — strategic side |
16
+ | 7 | **Tony Stark** | `wize-agent-architect` | System Architect | 3 — Solutioning | "I build the thing." System design, components, ADRs, prototyping, pattern selection. Style: confident, irreverent, shows with code. | Winston (`bmad-agent-architect`) — systemic side |
17
+ | 8 | **Hawkeye** | `wize-agent-test-architect` | Test Architect (TEA) | Transversal (gates in 2, 3, 4) | "I always hit where it hurts." Risk profile, test design, traceability, NFR assessment, review, gate decision. Style: pragmatic, edge-case hunter, focused on what matters. | (newdoes not exist in BMAD core; inspired by BMAD-Method v5 TEA) |
18
+ | 9 | **Shuri** | `wize-agent-dev` | Senior Developer | 4 — Implementation | "Wakanda forever — now it compiles." TDD red-green-refactor, security, performance. Style: genius innovator, fast, clean code, protective of the ecosystem. | Amelia (`bmad-agent-dev`) |
19
19
 
20
- ## Notas
20
+ ## Notes
21
21
 
22
- - **Tema visual:** ícones podem usar emojis (📊 🛡️ 🦾 etc.) mas a identidade visual fica para a Fase 8 de consolidação.
23
- - **Agent Builder:** decidido na Fase 3 como **skill**, não agente (`wize-create-agent`). Wizer chama essa skill quando precisa registrar um novo persona/módulo custom.
24
- - **Times:** todos no time default `software-development`. Times opcionais (`web-dev`, `app-dev`) ativam variantes de Tony e Shuri por perfil (decisão pendente para Fase 4).
25
- - **Adições futuras (fora do kit dev):** Pepper está usada como Analyst; Fury como Strategist. Outras personas do ecossistema Marvel (Black Panther, Wanda, Falcon, Vision, Riri Williams) ficam livres para kits futuros (Wize Ops Kit, Wize Data Kit, Wize Security Kit, etc.).
22
+ - **Visual theme:** emoji icons (📊 🛡️ 🦾 etc.) are placeholders; a full visual identity will be consolidated in a later phase.
23
+ - **Agent Builder:** decided as a **skill** (`wize-create-agent`), not an agent. Wizer invokes the skill when a new persona or custom module needs to be registered.
24
+ - **Teams:** default team is `software-development`. Optional teams (`web-dev`, `app-dev`) activate variants of Tony and Shuri per profile.
25
+ - **Future Marvel personas (out of dev-kit scope):** Pepper is already Analyst here, Fury is already Strategist. Other Marvel personas (Black Panther, Wanda, Falcon, Vision, Riri Williams, Kamala Khan) remain reserved for future kits (Wize Ops Kit, Wize Data Kit, Wize Security Kit, etc.).
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "wize-dev-kit",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description": "Full-lifecycle AI-assisted development kit with Test Architect and Whiteport Design Studio embedded. Inspired by BMAD Method and WDS.",
6
6
  "keywords": [
7
7
  "ai",
@@ -34,6 +34,20 @@ const PROFILES = [
34
34
  { code: 'app-overlay', label: 'Wize App Development (overlay)', required: false }
35
35
  ];
36
36
 
37
+ // Common BCP-47 short codes. Users can type any other value freely.
38
+ const LANGUAGES = [
39
+ { code: 'en', label: 'English' },
40
+ { code: 'pt-BR', label: 'Português (Brasil)' },
41
+ { code: 'pt-PT', label: 'Português (Portugal)' },
42
+ { code: 'es', label: 'Español' },
43
+ { code: 'fr', label: 'Français' },
44
+ { code: 'de', label: 'Deutsch' },
45
+ { code: 'it', label: 'Italiano' },
46
+ { code: 'zh-CN', label: '中文 (简体)' },
47
+ { code: 'ja', label: '日本語' },
48
+ { code: 'vi', label: 'Tiếng Việt' }
49
+ ];
50
+
37
51
  const HELP = `wize-dev-kit v${KIT_VERSION}
38
52
 
39
53
  Usage:
@@ -79,6 +93,19 @@ async function confirm(question, defaultYes = true) {
79
93
  return ans.startsWith('y');
80
94
  }
81
95
 
96
+ async function selectLanguage(label, defaultCode = 'en') {
97
+ console.log(`\n${label}:`);
98
+ LANGUAGES.forEach((l, i) => {
99
+ const def = l.code === defaultCode ? '(default)' : '';
100
+ console.log(` ${String(i + 1).padStart(2)}. ${l.code.padEnd(6)} — ${l.label} ${def}`);
101
+ });
102
+ const ans = (await prompt(`Pick a number, type a code (e.g. "en", "pt-BR", "ko"), or ENTER for ${defaultCode}: `)).trim();
103
+ if (!ans) return defaultCode;
104
+ const asNum = parseInt(ans, 10);
105
+ if (!isNaN(asNum) && asNum >= 1 && asNum <= LANGUAGES.length) return LANGUAGES[asNum - 1].code;
106
+ return ans;
107
+ }
108
+
82
109
  async function multiSelect(label, items, isSelected = i => i.default) {
83
110
  console.log(`\n${label}:`);
84
111
  items.forEach((it, i) => {
@@ -147,7 +174,7 @@ const WIZE_DIRS = [
147
174
  '.wize/custom/workflows'
148
175
  ];
149
176
 
150
- function projectToml({ profiles, targets, language, project_name }) {
177
+ function projectToml({ profiles, targets, communication_language, document_output_language, project_name }) {
151
178
  const profileLine = profiles.map(p => `"${p.code}"`).join(', ');
152
179
  const targetLine = targets.map(t => `"${t.code}"`).join(', ');
153
180
  return `# Wize Development Kit — project config
@@ -162,8 +189,11 @@ profiles = [${profileLine}]
162
189
  ide_targets = [${targetLine}]
163
190
 
164
191
  [language]
165
- communication = "${language}"
166
- document_output = "${language}"
192
+ # Language used when agents talk to you in the IDE chat.
193
+ communication = "${communication_language}"
194
+ # Language used when agents write artifacts to disk
195
+ # (brief.md, prd.md, architecture.md, gate.md, etc.).
196
+ document_output = "${document_output_language}"
167
197
 
168
198
  [paths]
169
199
  output_root = ".wize"
@@ -217,12 +247,22 @@ async function cmdInstall(args) {
217
247
  const project_name = (await prompt(`Project name [${path.basename(cwd)}]: `)) || path.basename(cwd);
218
248
  const profiles = await multiSelect('Select profile(s) to install', PROFILES);
219
249
  const targets = await multiSelect('Select IDE target(s)', TARGETS);
220
- const language = (await prompt('Communication language [en]: ')) || 'en';
250
+
251
+ const communication_language = await selectLanguage(
252
+ 'Communication language (how agents will talk to you in chat)',
253
+ 'en'
254
+ );
255
+ const document_output_language = await selectLanguage(
256
+ `Document output language (language used in generated files; ENTER for "${communication_language}")`,
257
+ communication_language
258
+ );
221
259
 
222
260
  console.log('\nCreating .wize/ skeleton...');
223
261
  for (const dir of WIZE_DIRS) mkdirp(path.join(cwd, dir));
224
262
 
225
- writeIfMissing(path.join(cwd, '.wize/config/project.toml'), projectToml({ profiles, targets, language, project_name }));
263
+ writeIfMissing(path.join(cwd, '.wize/config/project.toml'), projectToml({
264
+ profiles, targets, communication_language, document_output_language, project_name
265
+ }));
226
266
  writeIfMissing(path.join(cwd, '.wize/config/user.toml'), userToml());
227
267
  writeIfMissing(path.join(cwd, '.wize/config/tea.toml'), teaToml());
228
268