wize-dev-kit 0.1.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.
- package/ARCH.md +341 -0
- package/CHANGELOG.md +24 -0
- package/DECISIONS.md +141 -0
- package/LICENSE +31 -0
- package/README.md +113 -0
- package/ROSTER.md +25 -0
- package/adapters/README.md +26 -0
- package/adapters/antigravity/README.md +9 -0
- package/adapters/antigravity/adapter.yaml +8 -0
- package/adapters/antigravity/render.js +15 -0
- package/adapters/claude-code/README.md +9 -0
- package/adapters/claude-code/adapter.yaml +8 -0
- package/adapters/claude-code/render.js +15 -0
- package/adapters/codex/README.md +9 -0
- package/adapters/codex/adapter.yaml +8 -0
- package/adapters/codex/render.js +15 -0
- package/adapters/continue/README.md +9 -0
- package/adapters/continue/adapter.yaml +8 -0
- package/adapters/continue/render.js +15 -0
- package/adapters/cursor/README.md +9 -0
- package/adapters/cursor/adapter.yaml +8 -0
- package/adapters/cursor/render.js +15 -0
- package/adapters/generic/README.md +9 -0
- package/adapters/generic/adapter.yaml +8 -0
- package/adapters/generic/render.js +15 -0
- package/adapters/kimi-code/README.md +9 -0
- package/adapters/kimi-code/adapter.yaml +8 -0
- package/adapters/kimi-code/render.js +15 -0
- package/adapters/opencode/README.md +9 -0
- package/adapters/opencode/adapter.yaml +8 -0
- package/adapters/opencode/render.js +15 -0
- package/adapters/windsurf/README.md +9 -0
- package/adapters/windsurf/adapter.yaml +8 -0
- package/adapters/windsurf/render.js +15 -0
- package/package.json +52 -0
- package/schemas/agent.schema.json +37 -0
- package/schemas/module.schema.json +18 -0
- package/schemas/skill.schema.json +14 -0
- package/schemas/workflow.schema.json +19 -0
- package/src/app-overlay/module.yaml +40 -0
- package/src/app-overlay/wize-app-release-channels/workflow.md +21 -0
- package/src/app-overlay/wize-app-scaffold/workflow.md +27 -0
- package/src/app-overlay/wize-app-store-listing/workflow.md +22 -0
- package/src/builder-skills/module.yaml +23 -0
- package/src/builder-skills/wize-create-agent/workflow.md +40 -0
- package/src/builder-skills/wize-create-skill/workflow.md +25 -0
- package/src/builder-skills/wize-create-workflow/workflow.md +26 -0
- package/src/core-skills/module.yaml +27 -0
- package/src/core-skills/wize-advanced-elicitation/skill.md +22 -0
- package/src/core-skills/wize-brainstorming/skill.md +20 -0
- package/src/core-skills/wize-help/skill.md +18 -0
- package/src/core-skills/wize-review-adversarial/skill.md +19 -0
- package/src/core-skills/wize-shard-doc/skill.md +18 -0
- package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +39 -0
- package/src/method-skills/1-analysis/wize-agent-analyst/persona.md +33 -0
- package/src/method-skills/1-analysis/wize-agent-tech-writer/agent.yaml +28 -0
- package/src/method-skills/1-analysis/wize-agent-tech-writer/persona.md +30 -0
- package/src/method-skills/1-analysis/wize-document-project/workflow.md +36 -0
- package/src/method-skills/1-analysis/wize-prfaq/workflow.md +27 -0
- package/src/method-skills/1-analysis/wize-product-brief/workflow.md +60 -0
- package/src/method-skills/1-analysis/wize-research/workflow.md +24 -0
- package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +40 -0
- package/src/method-skills/2-plan-workflows/wize-agent-pm/agent.yaml +33 -0
- package/src/method-skills/2-plan-workflows/wize-agent-pm/persona.md +33 -0
- package/src/method-skills/2-plan-workflows/wize-agent-ux-designer/agent.yaml +39 -0
- package/src/method-skills/2-plan-workflows/wize-agent-ux-designer/persona.md +33 -0
- package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +57 -0
- package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +66 -0
- package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +48 -0
- package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +27 -0
- package/src/method-skills/3-solutioning/wize-agent-architect/agent.yaml +35 -0
- package/src/method-skills/3-solutioning/wize-agent-architect/persona.md +29 -0
- package/src/method-skills/3-solutioning/wize-agent-solution-strategist/agent.yaml +30 -0
- package/src/method-skills/3-solutioning/wize-agent-solution-strategist/persona.md +31 -0
- package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +22 -0
- package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +64 -0
- package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +48 -0
- package/src/method-skills/3-solutioning/wize-design-system/workflow.md +36 -0
- package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +33 -0
- package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +43 -0
- package/src/method-skills/4-implementation/wize-agent-dev/agent.yaml +34 -0
- package/src/method-skills/4-implementation/wize-agent-dev/persona.md +33 -0
- package/src/method-skills/4-implementation/wize-code-review/workflow.md +24 -0
- package/src/method-skills/4-implementation/wize-create-story/workflow.md +27 -0
- package/src/method-skills/4-implementation/wize-dev-story/workflow.md +33 -0
- package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +33 -0
- package/src/method-skills/4-implementation/wize-retrospective/workflow.md +36 -0
- package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +24 -0
- package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +25 -0
- package/src/method-skills/module.yaml +105 -0
- package/src/orchestrator-skills/module.yaml +21 -0
- package/src/orchestrator-skills/wize-onboarding/workflow.md +28 -0
- package/src/orchestrator-skills/wize-orchestrator/agent.yaml +37 -0
- package/src/orchestrator-skills/wize-orchestrator/persona.md +22 -0
- package/src/orchestrator-skills/wize-party-mode/workflow.md +25 -0
- package/src/tea-skills/module.yaml +45 -0
- package/src/tea-skills/wize-agent-test-architect/agent.yaml +47 -0
- package/src/tea-skills/wize-agent-test-architect/persona.md +38 -0
- package/src/tea-skills/wize-tea-design/workflow.md +38 -0
- package/src/tea-skills/wize-tea-gate/workflow.md +51 -0
- package/src/tea-skills/wize-tea-nfr/workflow.md +37 -0
- package/src/tea-skills/wize-tea-review/workflow.md +35 -0
- package/src/tea-skills/wize-tea-risk/workflow.md +39 -0
- package/src/tea-skills/wize-tea-trace/workflow.md +36 -0
- package/src/web-overlay/module.yaml +41 -0
- package/src/web-overlay/wize-web-deploy/workflow.md +26 -0
- package/src/web-overlay/wize-web-scaffold/workflow.md +32 -0
- package/src/web-overlay/wize-web-seo-audit/workflow.md +22 -0
- package/tools/installer/detect.js +43 -0
- package/tools/installer/onboarding.js +32 -0
- package/tools/installer/sync.js +29 -0
- package/tools/installer/validators/run-all.js +82 -0
- package/tools/installer/validators/walk.js +40 -0
- package/tools/installer/wize-cli.js +346 -0
package/ROSTER.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Wize Dev Kit — Roster de Agentes (proposta v1)
|
|
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.
|
|
5
|
+
|
|
6
|
+
## Quadro
|
|
7
|
+
|
|
8
|
+
| # | Persona | Code | Papel | Fase | Lema / Estilo | Equiv. BMAD |
|
|
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. | (novo — nã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`) |
|
|
19
|
+
|
|
20
|
+
## Notas
|
|
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 já está usada como Analyst; Fury já 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.).
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Wize Dev Kit — IDE Adapters
|
|
2
|
+
|
|
3
|
+
Each adapter renders the kit's agents/skills/workflows into the file layout that a particular IDE or AI runtime expects.
|
|
4
|
+
|
|
5
|
+
## Targets shipped in v0.1
|
|
6
|
+
|
|
7
|
+
| Code | Target path in repo | File format | Notes |
|
|
8
|
+
|---|---|---|---|
|
|
9
|
+
| `claude-code` | `.claude/skills/wize-*/` | `SKILL.md` per agent/workflow | Default. Uses Claude Code skill folder pattern. |
|
|
10
|
+
| `cursor` | `.cursor/rules/wize-*.mdc` | MDC | Each agent/skill becomes a rule file. |
|
|
11
|
+
| `windsurf` | `.windsurf/agents/wize-*.md` | Markdown | Cascade-friendly. |
|
|
12
|
+
| `codex` | `.codex/wize-*.md` | Markdown | OpenAI Codex CLI. |
|
|
13
|
+
| `continue` | `.continue/agents/wize-*.md` | Markdown | Continue agent slot. |
|
|
14
|
+
| `kimi-code` | `.kimi/agents/wize-*.md` | Markdown | Moonshot Kimi Code. |
|
|
15
|
+
| `opencode` | `.opencode/agents/wize-*.md` | Markdown | OpenCode CLI. |
|
|
16
|
+
| `antigravity` | `.antigravity/agents/wize-*.md` | Markdown | Antigravity CLI + IDE. |
|
|
17
|
+
| `generic` | `.wize/agents/wize-*.md` | Markdown | Fallback for any agent that can read a folder of markdown. |
|
|
18
|
+
|
|
19
|
+
## Adapter shape
|
|
20
|
+
|
|
21
|
+
Every adapter is a folder under `adapters/{code}/` with:
|
|
22
|
+
- `adapter.yaml` — descriptor (target path, file pattern, post-install hooks).
|
|
23
|
+
- `render.js` — function `(kitRoot, projectRoot, opts) => void` that emits files.
|
|
24
|
+
- `README.md` — adapter-specific notes.
|
|
25
|
+
|
|
26
|
+
In v0.1 only the descriptors and READMEs are present; `render.js` is a stub printing what it would emit. Wiring is on the v0.2 roadmap.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — antigravity
|
|
2
|
+
|
|
3
|
+
Antigravity CLI + IDE.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.antigravity/agents/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — claude-code
|
|
2
|
+
|
|
3
|
+
Native Claude Code skills.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.claude/skills/`
|
|
6
|
+
- **File pattern:** `wize-*/SKILL.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — codex
|
|
2
|
+
|
|
3
|
+
OpenAI Codex CLI agents.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.codex/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — continue
|
|
2
|
+
|
|
3
|
+
Continue agent slot.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.continue/agents/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — cursor
|
|
2
|
+
|
|
3
|
+
Cursor MDC rules.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.cursor/rules/`
|
|
6
|
+
- **File pattern:** `wize-*.mdc`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — generic
|
|
2
|
+
|
|
3
|
+
Generic markdown fallback for any AI agent runtime that can read a folder of markdown.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.wize/agents/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — kimi-code
|
|
2
|
+
|
|
3
|
+
Moonshot Kimi Code agents.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.kimi/agents/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — opencode
|
|
2
|
+
|
|
3
|
+
OpenCode CLI agents.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.opencode/agents/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Adapter — windsurf
|
|
2
|
+
|
|
3
|
+
Windsurf Cascade-friendly markdown agents.
|
|
4
|
+
|
|
5
|
+
- **Target path:** `.windsurf/agents/`
|
|
6
|
+
- **File pattern:** `wize-*.md`
|
|
7
|
+
- **Format:** markdown
|
|
8
|
+
|
|
9
|
+
This v0.1 adapter ships the descriptor only. Actual rendering of `wize-*` agents/skills/workflows into the target IDE format is on the v0.2 roadmap.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* Stub renderer for this adapter — emits a console preview of what would be written. */
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const fs = require('node:fs');
|
|
5
|
+
const path = require('node:path');
|
|
6
|
+
|
|
7
|
+
function render(kitRoot, projectRoot, opts = {}) {
|
|
8
|
+
const adapterDir = __dirname;
|
|
9
|
+
const cfg = require('node:fs').readFileSync(path.join(adapterDir, 'adapter.yaml'), 'utf-8');
|
|
10
|
+
const targetPath = (cfg.match(/^target_path:\s*"(.+)"$/m) || [])[1] || '';
|
|
11
|
+
const filePattern = (cfg.match(/^file_pattern:\s*"(.+)"$/m) || [])[1] || '';
|
|
12
|
+
console.log(`[adapter:${path.basename(adapterDir)}] would emit ${filePattern} under ${path.join(projectRoot, targetPath)}`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
module.exports = { render };
|
package/package.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
+
"name": "wize-dev-kit",
|
|
4
|
+
"version": "0.1.0",
|
|
5
|
+
"description": "Full-lifecycle AI-assisted development kit with Test Architect and Whiteport Design Studio embedded. Inspired by BMAD Method and WDS.",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"ai",
|
|
8
|
+
"agile",
|
|
9
|
+
"agents",
|
|
10
|
+
"orchestrator",
|
|
11
|
+
"test-architect",
|
|
12
|
+
"whiteport",
|
|
13
|
+
"wize",
|
|
14
|
+
"development-kit"
|
|
15
|
+
],
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/qwize-br/wize-development-kit.git"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/qwize-br/wize-development-kit#readme",
|
|
21
|
+
"bugs": {
|
|
22
|
+
"url": "https://github.com/qwize-br/wize-development-kit/issues"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": "Qwize <desenvolvimento@qwize.io>",
|
|
26
|
+
"main": "tools/installer/wize-cli.js",
|
|
27
|
+
"bin": {
|
|
28
|
+
"wize-dev-kit": "tools/installer/wize-cli.js"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"install:wize": "node tools/installer/wize-cli.js install",
|
|
32
|
+
"uninstall:wize": "node tools/installer/wize-cli.js uninstall",
|
|
33
|
+
"validate": "node tools/installer/validators/run-all.js",
|
|
34
|
+
"test": "node --test test/*.test.js",
|
|
35
|
+
"prepublishOnly": "npm test && npm run validate"
|
|
36
|
+
},
|
|
37
|
+
"engines": {
|
|
38
|
+
"node": ">=20"
|
|
39
|
+
},
|
|
40
|
+
"files": [
|
|
41
|
+
"src/",
|
|
42
|
+
"adapters/",
|
|
43
|
+
"tools/",
|
|
44
|
+
"schemas/",
|
|
45
|
+
"README.md",
|
|
46
|
+
"LICENSE",
|
|
47
|
+
"CHANGELOG.md",
|
|
48
|
+
"ARCH.md",
|
|
49
|
+
"ROSTER.md",
|
|
50
|
+
"DECISIONS.md"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://qwize.io/wize-dev-kit/schemas/agent.schema.json",
|
|
4
|
+
"title": "Wize Agent",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["code", "name", "title", "module", "description"],
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"properties": {
|
|
9
|
+
"code": { "type": "string", "pattern": "^wize-(agent|orchestrator)-[a-z0-9-]+$|^wize-orchestrator$" },
|
|
10
|
+
"name": { "type": "string", "minLength": 1 },
|
|
11
|
+
"title": { "type": "string", "minLength": 1 },
|
|
12
|
+
"icon": { "type": "string" },
|
|
13
|
+
"team": { "type": "string" },
|
|
14
|
+
"module": { "enum": ["orchestrator", "method", "tea", "builder", "core", "web-overlay", "app-overlay", "custom"] },
|
|
15
|
+
"phase": { "type": "string" },
|
|
16
|
+
"description": { "type": "string", "minLength": 10 },
|
|
17
|
+
"style": {
|
|
18
|
+
"type": "object",
|
|
19
|
+
"properties": {
|
|
20
|
+
"voice": { "type": "string" },
|
|
21
|
+
"brevity": { "type": "string" },
|
|
22
|
+
"motto": { "type": "string" },
|
|
23
|
+
"approach": { "type": "string" }
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"capabilities": { "type": "array", "items": { "type": "string" } },
|
|
27
|
+
"skills": { "type": "array", "items": { "type": "string" } },
|
|
28
|
+
"inputs": { "type": "array", "items": { "type": "string" } },
|
|
29
|
+
"outputs": { "type": "array", "items": { "type": "string" } },
|
|
30
|
+
"absorbs": { "oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }] },
|
|
31
|
+
"routes_to": { "type": "array", "items": { "type": "string" } },
|
|
32
|
+
"overlays_aware": { "type": "array", "items": { "type": "string" } },
|
|
33
|
+
"gates": { "type": "array", "items": { "enum": ["risk", "design", "trace", "nfr", "review", "gate"] } },
|
|
34
|
+
"policy": { "enum": ["advisory", "enforcing"] },
|
|
35
|
+
"format": { "type": "string" }
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://qwize.io/wize-dev-kit/schemas/module.schema.json",
|
|
4
|
+
"title": "Wize Module",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["code", "name", "description"],
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"properties": {
|
|
9
|
+
"code": { "type": "string" },
|
|
10
|
+
"name": { "type": "string" },
|
|
11
|
+
"description": { "type": "string" },
|
|
12
|
+
"default_selected": { "type": "boolean" },
|
|
13
|
+
"required": { "type": "boolean" },
|
|
14
|
+
"overlay_of": { "type": "string" },
|
|
15
|
+
"agents": { "type": "array" },
|
|
16
|
+
"skills": { "type": "array" }
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://qwize.io/wize-dev-kit/schemas/skill.schema.json",
|
|
4
|
+
"title": "Wize Skill (frontmatter)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["code", "name"],
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"properties": {
|
|
9
|
+
"code": { "type": "string", "pattern": "^wize-[a-z0-9-]+$" },
|
|
10
|
+
"name": { "type": "string", "minLength": 1 },
|
|
11
|
+
"module": { "type": "string" },
|
|
12
|
+
"status": { "enum": ["stub", "draft", "ready", "stable"] }
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://qwize.io/wize-dev-kit/schemas/workflow.schema.json",
|
|
4
|
+
"title": "Wize Workflow (frontmatter)",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"required": ["code", "name"],
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"properties": {
|
|
9
|
+
"code": { "type": "string", "pattern": "^wize-[a-z0-9-]+$" },
|
|
10
|
+
"name": { "type": "string", "minLength": 1 },
|
|
11
|
+
"phase": { "type": "string" },
|
|
12
|
+
"owner": { "type": "string" },
|
|
13
|
+
"absorbs": { "type": "string" },
|
|
14
|
+
"overlay": { "enum": ["web", "app"] },
|
|
15
|
+
"status": { "enum": ["stub", "draft", "ready", "stable"] },
|
|
16
|
+
"gate": { "enum": ["risk", "design", "trace", "nfr", "review", "gate"] },
|
|
17
|
+
"when": { "type": "string" }
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
code: app-overlay
|
|
2
|
+
name: "Wize App Development (overlay)"
|
|
3
|
+
description: "Mobile-stack extension: scaffolds (RN/Expo/Flutter/native), store-listing, release channels, HIG/Material 3 playbook for Mantis, Detox/Maestro playbook for Hawkeye."
|
|
4
|
+
default_selected: false
|
|
5
|
+
required: false
|
|
6
|
+
overlay_of: method
|
|
7
|
+
|
|
8
|
+
# Stack catalog:
|
|
9
|
+
stack_catalog:
|
|
10
|
+
- React Native + Expo
|
|
11
|
+
- React Native bare (no Expo)
|
|
12
|
+
- Flutter
|
|
13
|
+
- SwiftUI (iOS native)
|
|
14
|
+
- Jetpack Compose (Android native)
|
|
15
|
+
- Capacitor / Ionic (hybrid)
|
|
16
|
+
|
|
17
|
+
# Extra artifacts:
|
|
18
|
+
artifacts:
|
|
19
|
+
- ".wize/planning/app/mobile-store-listing.md"
|
|
20
|
+
- ".wize/planning/app/app-perms-and-privacy.md"
|
|
21
|
+
- ".wize/planning/app/release-channels.md"
|
|
22
|
+
|
|
23
|
+
skills:
|
|
24
|
+
- code: wize-app-scaffold
|
|
25
|
+
description: "Scaffold a mobile app skeleton per chosen runtime."
|
|
26
|
+
- code: wize-app-release-channels
|
|
27
|
+
description: "Define release channel strategy (dev/preview/prod, EAS branches, beta tracks)."
|
|
28
|
+
- code: wize-app-store-listing
|
|
29
|
+
description: "Draft store listing copy + screenshots brief + ASO keywords."
|
|
30
|
+
|
|
31
|
+
agent_playbooks:
|
|
32
|
+
wize-agent-ux-designer:
|
|
33
|
+
- "playbooks/apple-hig.md"
|
|
34
|
+
- "playbooks/material-design-3.md"
|
|
35
|
+
- "playbooks/touch-targets-and-gestures.md"
|
|
36
|
+
- "playbooks/permissions-ux.md"
|
|
37
|
+
wize-agent-test-architect:
|
|
38
|
+
- "playbooks/detox-maestro.md"
|
|
39
|
+
- "playbooks/mobile-perf-budgets.md"
|
|
40
|
+
- "playbooks/device-matrix.md"
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: wize-app-release-channels
|
|
3
|
+
name: App Release Channels
|
|
4
|
+
overlay: app
|
|
5
|
+
owner: wize-agent-pm # Maria Hill
|
|
6
|
+
status: stub
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# App Release Channels
|
|
10
|
+
|
|
11
|
+
**Goal.** Define release-channel strategy for a mobile app.
|
|
12
|
+
|
|
13
|
+
## Output
|
|
14
|
+
- `.wize/planning/app/release-channels.md`
|
|
15
|
+
|
|
16
|
+
## Sections
|
|
17
|
+
- Channels: dev / preview / production (and any beta tracks).
|
|
18
|
+
- Distribution: App Store / TestFlight / Play Store / internal track / EAS Updates / Firebase App Distribution.
|
|
19
|
+
- OTA strategy (Expo Updates, CodePush) — when in scope.
|
|
20
|
+
- Versioning policy (semver + build number).
|
|
21
|
+
- Rollback / kill-switch.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
---
|
|
2
|
+
code: wize-app-scaffold
|
|
3
|
+
name: App Scaffold
|
|
4
|
+
overlay: app
|
|
5
|
+
owner: wize-agent-architect # Tony
|
|
6
|
+
status: stub
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# App Scaffold
|
|
10
|
+
|
|
11
|
+
**Goal.** Scaffold an empty-but-runnable mobile app per chosen runtime.
|
|
12
|
+
|
|
13
|
+
## Supported runtimes (catalog)
|
|
14
|
+
- React Native + Expo
|
|
15
|
+
- React Native bare
|
|
16
|
+
- Flutter
|
|
17
|
+
- SwiftUI (iOS native)
|
|
18
|
+
- Jetpack Compose (Android native)
|
|
19
|
+
- Capacitor / Ionic (hybrid)
|
|
20
|
+
|
|
21
|
+
## Steps
|
|
22
|
+
1. Runtime interview (Tony asks; Fury approves).
|
|
23
|
+
2. Run the runtime's create command (e.g., `npx create-expo-app`).
|
|
24
|
+
3. Wire up design tokens from `.wize/solutioning/design-system/tokens.json`.
|
|
25
|
+
4. Configure linter, formatter, test runner (Detox / Maestro placeholder).
|
|
26
|
+
5. Generate baseline navigation from `.wize/planning/ux/ux-design/`.
|
|
27
|
+
6. Commit "initial scaffold (story E00-S01)".
|