wize-dev-kit 0.15.0 → 0.16.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 +24 -77
- package/CHANGELOG.md +9 -0
- package/DECISIONS.md +1 -27
- package/README.md +4 -0
- package/ROSTER.md +3 -11
- package/adapters/README.md +7 -8
- package/adapters/antigravity/README.md +5 -5
- package/adapters/claude-code/README.md +1 -1
- package/adapters/codex/README.md +5 -5
- package/adapters/codex/adapter.yaml +1 -1
- package/adapters/codex/render.js +1 -1
- package/adapters/continue/README.md +5 -5
- package/adapters/cursor/README.md +2 -2
- package/adapters/generic/README.md +1 -1
- package/adapters/kimi-code/README.md +5 -5
- package/adapters/kimi-code/render.js +2 -2
- package/adapters/opencode/README.md +3 -3
- package/adapters/opencode/render.js +1 -27
- package/adapters/windsurf/README.md +3 -3
- package/package.json +1 -1
- package/schemas/agent.schema.json +2 -2
- package/schemas/workflow.schema.json +1 -1
- package/src/app-overlay/wize-app-release-channels/workflow.md +0 -2
- package/src/app-overlay/wize-app-scaffold/workflow.md +0 -2
- package/src/app-overlay/wize-app-store-listing/workflow.md +0 -2
- package/src/builder-skills/wize-create-agent/workflow.md +0 -2
- package/src/builder-skills/wize-create-skill/workflow.md +0 -2
- package/src/builder-skills/wize-create-workflow/workflow.md +0 -2
- package/src/core-skills/module.yaml +3 -0
- package/src/core-skills/wize-advanced-elicitation/skill.md +0 -2
- package/src/core-skills/wize-brainstorming/skill.md +0 -2
- package/src/core-skills/wize-eli5/skill.md +72 -0
- package/src/core-skills/wize-review-adversarial/skill.md +0 -3
- package/src/core-skills/wize-shard-doc/skill.md +0 -2
- package/src/method-skills/1-analysis/wize-agent-analyst/agent.yaml +0 -3
- package/src/method-skills/1-analysis/wize-document-project/workflow.md +20 -213
- package/src/method-skills/1-analysis/wize-prfaq/workflow.md +11 -152
- package/src/method-skills/1-analysis/wize-product-brief/workflow.md +19 -92
- package/src/method-skills/1-analysis/wize-research/workflow.md +12 -39
- package/src/method-skills/1-analysis/wize-trigger-map/workflow.md +16 -82
- package/src/method-skills/2-plan-workflows/wize-create-prd/workflow.md +23 -135
- package/src/method-skills/2-plan-workflows/wize-ux-design/workflow.md +28 -134
- package/src/method-skills/2-plan-workflows/wize-ux-scenarios/workflow.md +15 -93
- package/src/method-skills/2-plan-workflows/wize-validate-prd/workflow.md +12 -108
- package/src/method-skills/3-solutioning/wize-check-implementation-readiness/workflow.md +11 -103
- package/src/method-skills/3-solutioning/wize-create-architecture/workflow.md +48 -55
- package/src/method-skills/3-solutioning/wize-create-epics-and-stories/workflow.md +15 -154
- package/src/method-skills/3-solutioning/wize-design-system/workflow.md +22 -184
- package/src/method-skills/3-solutioning/wize-nfr-principles/workflow.md +17 -145
- package/src/method-skills/3-solutioning/wize-tech-vision/workflow.md +22 -130
- package/src/method-skills/4-implementation/wize-agent-dev/persona.md +0 -12
- package/src/method-skills/4-implementation/wize-code-review/workflow.md +12 -54
- package/src/method-skills/4-implementation/wize-create-story/workflow.md +10 -154
- package/src/method-skills/4-implementation/wize-dev-story/workflow.md +17 -185
- package/src/method-skills/4-implementation/wize-quick-dev/workflow.md +18 -136
- package/src/method-skills/4-implementation/wize-retrospective/workflow.md +10 -114
- package/src/method-skills/4-implementation/wize-sprint-planning/workflow.md +11 -78
- package/src/method-skills/4-implementation/wize-sprint-status/workflow.md +11 -45
- package/src/method-skills/module.yaml +0 -28
- package/src/orchestrator-skills/module.yaml +1 -7
- package/src/orchestrator-skills/wize-help/skill.md +67 -227
- package/src/orchestrator-skills/wize-onboarding/workflow.md +14 -78
- package/src/orchestrator-skills/wize-orchestrator/agent.yaml +0 -2
- package/src/orchestrator-skills/wize-orchestrator/persona.md +3 -44
- package/src/orchestrator-skills/wize-party-mode/workflow.md +0 -2
- package/src/tea-skills/wize-tea-design/workflow.md +13 -107
- package/src/tea-skills/wize-tea-gate/workflow.md +25 -118
- package/src/tea-skills/wize-tea-nfr/workflow.md +14 -107
- package/src/tea-skills/wize-tea-review/workflow.md +13 -123
- package/src/tea-skills/wize-tea-risk/workflow.md +10 -113
- package/src/tea-skills/wize-tea-trace/workflow.md +12 -86
- package/src/web-overlay/wize-web-deploy/workflow.md +0 -2
- package/src/web-overlay/wize-web-scaffold/workflow.md +0 -2
- package/src/web-overlay/wize-web-seo-audit/workflow.md +0 -2
- package/tools/check-eli5-all-adapters.js +50 -0
- package/tools/installer/onboarding.js +20 -14
- package/tools/installer/render-shared.js +15 -159
- package/tools/installer/setup-helpers.js +0 -1
- package/tools/installer/validators/run-all.js +2 -3
- package/tools/installer/wize-cli.js +70 -500
- package/AGENTS.md +0 -37
- package/README.es.md +0 -295
- package/README.pt-BR.md +0 -293
- package/adapters/hermes/README.md +0 -23
- package/adapters/hermes/adapter.yaml +0 -8
- package/adapters/hermes/render.js +0 -17
- package/docs/harnesses/antigravity.md +0 -20
- package/docs/harnesses/antigravity.pt-BR.md +0 -20
- package/docs/harnesses/claude-code.md +0 -23
- package/docs/harnesses/claude-code.pt-BR.md +0 -23
- package/docs/harnesses/codex.md +0 -21
- package/docs/harnesses/codex.pt-BR.md +0 -21
- package/docs/harnesses/continue.md +0 -21
- package/docs/harnesses/continue.pt-BR.md +0 -21
- package/docs/harnesses/cursor.md +0 -22
- package/docs/harnesses/cursor.pt-BR.md +0 -22
- package/docs/harnesses/generic.md +0 -20
- package/docs/harnesses/generic.pt-BR.md +0 -20
- package/docs/harnesses/hermes.md +0 -26
- package/docs/harnesses/hermes.pt-BR.md +0 -26
- package/docs/harnesses/kimi-code.md +0 -19
- package/docs/harnesses/kimi-code.pt-BR.md +0 -19
- package/docs/harnesses/opencode.md +0 -31
- package/docs/harnesses/opencode.pt-BR.md +0 -31
- package/docs/harnesses/windsurf.md +0 -22
- package/docs/harnesses/windsurf.pt-BR.md +0 -22
- package/src/core-skills/wize-customize/skill.md +0 -116
- package/src/core-skills/wize-editorial-review-prose/skill.md +0 -94
- package/src/core-skills/wize-editorial-review-structure/skill.md +0 -99
- package/src/core-skills/wize-grill/skill.md +0 -77
- package/src/core-skills/wize-index-docs/skill.md +0 -119
- package/src/core-skills/wize-pre-pr-check/skill.md +0 -134
- package/src/core-skills/wize-review-edge-case-hunter/skill.md +0 -115
- package/src/core-skills/wize-spec/assets/headless-schemas.md +0 -39
- package/src/core-skills/wize-spec/assets/spec-template.md +0 -40
- package/src/core-skills/wize-spec/customize.toml +0 -20
- package/src/core-skills/wize-spec/skill.md +0 -112
- package/src/method-skills/1-analysis/wize-document-project/documentation-requirements.csv +0 -12
- package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md +0 -38
- package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md +0 -54
- package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md +0 -40
- package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md +0 -34
- package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md +0 -36
- package/src/method-skills/1-analysis/wize-document-project/templates/deep-dive-template.md +0 -312
- package/src/method-skills/1-analysis/wize-document-project/templates/deployment-guide-template.md +0 -42
- package/src/method-skills/1-analysis/wize-document-project/templates/development-guide-template.md +0 -61
- package/src/method-skills/1-analysis/wize-document-project/templates/index-template.md +0 -185
- package/src/method-skills/1-analysis/wize-document-project/templates/project-overview-template.md +0 -110
- package/src/method-skills/1-analysis/wize-document-project/templates/project-scan-report-schema.json +0 -159
- package/src/method-skills/1-analysis/wize-document-project/templates/source-tree-template.md +0 -142
- package/src/method-skills/1-analysis/wize-domain-research/customize.toml +0 -14
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-01-init.md +0 -49
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-02-domain-analysis.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-03-competitive-landscape.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-04-regulatory-focus.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-05-technical-trends.md +0 -39
- package/src/method-skills/1-analysis/wize-domain-research/domain-steps/step-06-research-synthesis.md +0 -43
- package/src/method-skills/1-analysis/wize-domain-research/research.template.md +0 -31
- package/src/method-skills/1-analysis/wize-domain-research/workflow.md +0 -58
- package/src/method-skills/1-analysis/wize-market-research/customize.toml +0 -14
- package/src/method-skills/1-analysis/wize-market-research/research.template.md +0 -31
- package/src/method-skills/1-analysis/wize-market-research/steps/step-01-init.md +0 -57
- package/src/method-skills/1-analysis/wize-market-research/steps/step-02-customer-behavior.md +0 -39
- package/src/method-skills/1-analysis/wize-market-research/steps/step-03-customer-pain-points.md +0 -37
- package/src/method-skills/1-analysis/wize-market-research/steps/step-04-customer-decisions.md +0 -39
- package/src/method-skills/1-analysis/wize-market-research/steps/step-05-competitive-analysis.md +0 -37
- package/src/method-skills/1-analysis/wize-market-research/steps/step-06-research-completion.md +0 -47
- package/src/method-skills/1-analysis/wize-market-research/workflow.md +0 -66
- package/src/method-skills/1-analysis/wize-refresh-knowledge/workflow.md +0 -129
- package/src/method-skills/1-analysis/wize-technical-research/customize.toml +0 -14
- package/src/method-skills/1-analysis/wize-technical-research/research.template.md +0 -31
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-01-init.md +0 -49
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-02-technical-overview.md +0 -45
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-03-integration-patterns.md +0 -39
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-04-architectural-patterns.md +0 -39
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-05-implementation-research.md +0 -42
- package/src/method-skills/1-analysis/wize-technical-research/technical-steps/step-06-research-synthesis.md +0 -46
- package/src/method-skills/1-analysis/wize-technical-research/workflow.md +0 -60
- package/src/method-skills/2-plan-workflows/wize-edit-prd/workflow.md +0 -110
- package/src/method-skills/3-solutioning/wize-create-architecture/architecture-decision-template.md +0 -41
- package/src/method-skills/3-solutioning/wize-create-architecture/customize.toml +0 -20
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01-init.md +0 -95
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-01b-continue.md +0 -32
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-02-context.md +0 -126
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-03-starter.md +0 -110
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-04-decisions.md +0 -129
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-05-patterns.md +0 -109
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-06-structure.md +0 -97
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-07-validation.md +0 -124
- package/src/method-skills/3-solutioning/wize-create-architecture/steps/step-08-complete.md +0 -59
- package/src/method-skills/3-solutioning/wize-project-context/workflow.md +0 -120
- package/src/method-skills/4-implementation/wize-changelog/workflow.md +0 -184
- package/src/method-skills/4-implementation/wize-checkpoint-preview/workflow.md +0 -117
- package/src/method-skills/4-implementation/wize-code-review/customize.toml +0 -21
- package/src/method-skills/4-implementation/wize-code-review/steps/step-01-gather-context.md +0 -64
- package/src/method-skills/4-implementation/wize-code-review/steps/step-02-review.md +0 -40
- package/src/method-skills/4-implementation/wize-code-review/steps/step-03-triage.md +0 -43
- package/src/method-skills/4-implementation/wize-code-review/steps/step-04-present.md +0 -100
- package/src/method-skills/4-implementation/wize-correct-course/workflow.md +0 -93
- package/src/method-skills/4-implementation/wize-investigate/workflow.md +0 -123
- package/src/method-skills/4-implementation/wize-release/workflow.md +0 -162
- package/src/orchestrator-skills/wize/skill.md +0 -164
- package/src/orchestrator-skills/wize-check/skill.md +0 -98
- package/src/security-overlay/_shared/allowlist.js +0 -154
- package/src/security-overlay/_shared/backlog.js +0 -169
- package/src/security-overlay/_shared/cli-runner.js +0 -87
- package/src/security-overlay/_shared/cvss.js +0 -108
- package/src/security-overlay/_shared/detect.js +0 -125
- package/src/security-overlay/_shared/install-script.js +0 -205
- package/src/security-overlay/_shared/invoke-phase.js +0 -86
- package/src/security-overlay/_shared/owasp.js +0 -56
- package/src/security-overlay/_shared/partial.js +0 -225
- package/src/security-overlay/_shared/preflight.js +0 -175
- package/src/security-overlay/_shared/scope-gate.js +0 -172
- package/src/security-overlay/_shared/scope-parser.js +0 -147
- package/src/security-overlay/agents/red-teamer/agent.yaml +0 -54
- package/src/security-overlay/agents/red-teamer/persona.md +0 -49
- package/src/security-overlay/data/common.txt +0 -115
- package/src/security-overlay/data/owasp-top10.json +0 -15
- package/src/security-overlay/data/tool-allowlist.json +0 -31
- package/src/security-overlay/skills/wize-sec-enumerate/scripts/run-enumerate.js +0 -180
- package/src/security-overlay/skills/wize-sec-enumerate/skill.md +0 -34
- package/src/security-overlay/skills/wize-sec-exploit/data/common.txt +0 -117
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-ffuf.js +0 -147
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nikto.js +0 -145
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-nuclei.js +0 -176
- package/src/security-overlay/skills/wize-sec-exploit/scripts/run-sqlmap.js +0 -139
- package/src/security-overlay/skills/wize-sec-pentest/scripts/run-pipeline.js +0 -184
- package/src/security-overlay/skills/wize-sec-pentest/skill.md +0 -54
- package/src/security-overlay/skills/wize-sec-recon/scripts/run-gitleaks.js +0 -139
- package/src/security-overlay/skills/wize-sec-recon/scripts/run-osv.js +0 -227
- package/src/security-overlay/skills/wize-sec-recon/scripts/run-recon.js +0 -162
- package/src/security-overlay/skills/wize-sec-recon/skill.md +0 -37
- package/src/security-overlay/skills/wize-sec-report/scripts/render-report.js +0 -1033
- package/src/security-overlay/skills/wize-sec-scope/scripts/generate-scope.js +0 -106
- package/src/security-overlay/skills/wize-sec-scope/skill.md +0 -52
- package/src/tea-skills/wize-qa-generate-e2e-tests/workflow.md +0 -121
- package/tools/installer/baseline.js +0 -133
- package/tools/installer/commands/agent.js +0 -197
- package/tools/installer/commands/doctor.js +0 -320
- package/tools/installer/commands/document-project.js +0 -93
- package/tools/installer/commands/sync.js +0 -45
- package/tools/installer/commands/update.js +0 -172
- package/tools/installer/document-project/batch-scanner.js +0 -93
- package/tools/installer/document-project/classify.js +0 -170
- package/tools/installer/document-project/modes/deep-dive.js +0 -196
- package/tools/installer/document-project/modes/full-rescan.js +0 -15
- package/tools/installer/document-project/modes/initial-scan.js +0 -100
- package/tools/installer/document-project/modes/quick.js +0 -211
- package/tools/installer/document-project/render-index.js +0 -101
- package/tools/installer/document-project/state.js +0 -110
- package/tools/installer/version-check.js +0 -117
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
slug: "{{slug}}"
|
|
3
|
-
status: draft
|
|
4
|
-
owner: "{{owner}}"
|
|
5
|
-
companions: []
|
|
6
|
-
sources: []
|
|
7
|
-
assumptions: []
|
|
8
|
-
open_questions: []
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
# SPEC — {{slug}}
|
|
12
|
-
|
|
13
|
-
## Why
|
|
14
|
-
|
|
15
|
-
{{One paragraph: what problem this thing exists to solve and for whom.}}
|
|
16
|
-
|
|
17
|
-
## Capabilities
|
|
18
|
-
|
|
19
|
-
| ID | Intent | Success |
|
|
20
|
-
|---|---|---|
|
|
21
|
-
| CAP-1 | {{what the system does for the user}} | {{observable outcome that proves it works}} |
|
|
22
|
-
| CAP-2 | … | … |
|
|
23
|
-
|
|
24
|
-
## Constraints
|
|
25
|
-
|
|
26
|
-
- {{Constraint that bends a design decision.}}
|
|
27
|
-
- …
|
|
28
|
-
|
|
29
|
-
## Non-goals
|
|
30
|
-
|
|
31
|
-
- {{Explicitly out of scope.}}
|
|
32
|
-
- …
|
|
33
|
-
|
|
34
|
-
## Success signal
|
|
35
|
-
|
|
36
|
-
{{Concrete, testable or demonstrable signal that the spec is satisfied.}}
|
|
37
|
-
|
|
38
|
-
## Decision log
|
|
39
|
-
|
|
40
|
-
See `.decision-log.md`.
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Wize Dev Kit — overrides for the built-in skill "wize-spec".
|
|
2
|
-
# DO NOT EDIT in the installed kit; copy to .wize/custom/skills/wize-spec/
|
|
3
|
-
# for project-level overrides.
|
|
4
|
-
|
|
5
|
-
[workflow]
|
|
6
|
-
|
|
7
|
-
# Steps to run before standard activation (config load, greet).
|
|
8
|
-
activation_steps_prepend = []
|
|
9
|
-
|
|
10
|
-
# Steps to run after greet but before the workflow begins.
|
|
11
|
-
activation_steps_append = []
|
|
12
|
-
|
|
13
|
-
# Persistent facts the skill keeps in mind for the whole run.
|
|
14
|
-
persistent_facts = [
|
|
15
|
-
"file:{project-root}/.wize/knowledge/document-project/conventions.md",
|
|
16
|
-
]
|
|
17
|
-
|
|
18
|
-
# Scalar executed when the spec is finalized and the decision-log verdict is written.
|
|
19
|
-
# Override wins. Leave empty for no custom post-completion behavior.
|
|
20
|
-
on_complete = ""
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
|
|
3
|
-
code: wize-spec
|
|
4
|
-
description: "Use quando precisar destilar qualquer entrada de intenção (ideia, PRD, RFC, transcrição) em um contrato canônico SPEC.md para consumo downstream."
|
|
5
|
-
name: Spec
|
|
6
|
-
module: core
|
|
7
|
-
status: ready
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
# Spec
|
|
11
|
-
|
|
12
|
-
**Goal.** Distill any intent input into a canonical, preservation-validated machine contract for downstream Wize work.
|
|
13
|
-
|
|
14
|
-
Takes any intent input — vague idea, brain dump, PRD, RFC, brief, Slack thread, customer email, meeting transcript, mockups, mixed multi-source — and produces `SPEC.md` carrying the five-field kernel (Why, Capabilities, Constraints, Non-goals, Success signal) plus companion files for load-bearing content that does not fit or would bloat the kernel.
|
|
15
|
-
|
|
16
|
-
Peggy Carter edits prose; Tony, Maria Hill, and Shuri consume the spec downstream.
|
|
17
|
-
|
|
18
|
-
## When to use
|
|
19
|
-
|
|
20
|
-
- "Create a spec for this idea."
|
|
21
|
-
- "Distill this PRD into a spec."
|
|
22
|
-
- "Validate this spec."
|
|
23
|
-
- "Update the spec."
|
|
24
|
-
|
|
25
|
-
Multiple skills may call to update the same spec over time.
|
|
26
|
-
|
|
27
|
-
## Workspace
|
|
28
|
-
|
|
29
|
-
The spec is **always a folder** named `{output_folder}/specs/spec-{slug}/`.
|
|
30
|
-
|
|
31
|
-
`{slug}` describes the thing being specced, not the input shape:
|
|
32
|
-
|
|
33
|
-
- Source artifact already carries a slug (e.g., `prd-foo-bar-2026-05-23/`): inherit (`foo-bar`).
|
|
34
|
-
- Sparse, in-chat, or multi-source input: ask interactively. Headless callers must provide it.
|
|
35
|
-
- Same slug = same folder. A second invocation updates in place, preserving capability IDs.
|
|
36
|
-
|
|
37
|
-
Inside the spec folder:
|
|
38
|
-
|
|
39
|
-
```
|
|
40
|
-
<spec-folder>/
|
|
41
|
-
SPEC.md ← uppercase, the kernel
|
|
42
|
-
<companion-1>.md ← optional, content-typed
|
|
43
|
-
<companion-2>.md
|
|
44
|
-
.decision-log.md ← canonical memory for this spec
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
## The Operation
|
|
48
|
-
|
|
49
|
-
1. Read the input and its ancillary linked materials. If no input, ask or block.
|
|
50
|
-
2. If a prior `SPEC.md` exists at the target folder, read it — the operation becomes an **update**. Preserve capability IDs; new capabilities get the next unused `CAP-N`; never reuse retired IDs.
|
|
51
|
-
3. When input is structured and pre-sorted (PRD with addendum, brief from Pepper, UX spec from Mantis), trust the authored separation.
|
|
52
|
-
4. When input is mixed (brain dump, transcript, email), sort claims using the three-lens load-bearing test and route to the kernel field or a companion.
|
|
53
|
-
5. Distill into the five-field kernel using `assets/spec-template.md`. When input is rich, extract directly. When input is sparse, choose:
|
|
54
|
-
- **express** — best-effort distill, every gap becomes an `open_questions[]` entry
|
|
55
|
-
- **guided** — walk the five fields with the user one at a time, `wize-grill` style: one question per turn, recommendation attached
|
|
56
|
-
6. Write lean: every sentence must earn its place.
|
|
57
|
-
7. If input is genuinely too thin (e.g. "an app for hikers" with no context), stop and suggest `wize-product-brief` or `wize-create-prd`.
|
|
58
|
-
|
|
59
|
-
## Load-bearing
|
|
60
|
-
|
|
61
|
-
A claim is **load-bearing** if any downstream consumer (skill, implementing agent, verification pass) would change a decision without it.
|
|
62
|
-
|
|
63
|
-
## Companions
|
|
64
|
-
|
|
65
|
-
When load-bearing content does not fit the five-field kernel, it lives in a companion. The kernel cites it; the companion holds it. Companions are part of the contract; every consumer reads `companions:` in `SPEC.md` frontmatter to discover them.
|
|
66
|
-
|
|
67
|
-
**Spawn a companion when the content needs more than one kernel-shape line:** multi-item catalogs (archetypes, modes, routes, entity matrices), tables, diagrams (always), editorial voice rules, long-form reference material the kernel cites by name.
|
|
68
|
-
|
|
69
|
-
Companions are either:
|
|
70
|
-
|
|
71
|
-
- **Spec-authored** — written by `wize-spec` and live as siblings of `SPEC.md` (e.g., `glossary.md`, `patron-archetypes.md`, `stack.md`, `conventions.md`, `brownfield.md`, `architecture-diagrams.md`, `state-machines.md`, `failure-modes.md`).
|
|
72
|
-
- **Adopted** — load-bearing artifacts written by upstream skills that downstream still needs to read (e.g., a `DESIGN.md` from Mantis, an API spec from a partner). The originating skill owns them; `wize-spec` references them in `companions:` but does not edit them.
|
|
73
|
-
|
|
74
|
-
Two rules govern companions:
|
|
75
|
-
|
|
76
|
-
1. Name spec-authored companions for the content type they hold.
|
|
77
|
-
2. Diagrams always land in a companion, regardless of size. Mermaid/ASCII/image references live there; `SPEC.md` holds prose only.
|
|
78
|
-
|
|
79
|
-
Pre-existing project-wide docs (e.g., `.wize/knowledge/document-project/conventions.md`) that downstream needs are listed as **adopted companions**, never duplicated.
|
|
80
|
-
|
|
81
|
-
## Spec Law
|
|
82
|
-
|
|
83
|
-
1. Each capability has both `intent` and `success`.
|
|
84
|
-
2. Intents describe WHAT, not HOW.
|
|
85
|
-
3. Constraints actually bend design decisions.
|
|
86
|
-
4. Non-goals are explicit — at least one.
|
|
87
|
-
5. Success signal is concrete enough to test or demonstrate against.
|
|
88
|
-
6. Capability IDs are stable and unique — never reused, never renumbered.
|
|
89
|
-
7. Preservation — every load-bearing source claim lands in `SPEC.md` or a companion.
|
|
90
|
-
8. Lean prose — every sentence carries load-bearing content.
|
|
91
|
-
|
|
92
|
-
## Self-Validate
|
|
93
|
-
|
|
94
|
-
After every create or update, sweep the artifact in two passes:
|
|
95
|
-
|
|
96
|
-
- **Pass 1 — Coherence.** Judge against Spec Law rules 1–6 and 8. Calls made without direct confirmation become `assumptions[]`; gaps become `open_questions[]`.
|
|
97
|
-
- **Pass 2 — Preservation.** Walk source claims; confirm each landed in `SPEC.md` or a companion. Wrapper-only drops are logged under "Wrapper-only content" so the drop is on the record.
|
|
98
|
-
|
|
99
|
-
Append a one-paragraph verdict to `.decision-log.md`.
|
|
100
|
-
|
|
101
|
-
## Output
|
|
102
|
-
|
|
103
|
-
- **Interactive** — share the spec folder path, name capability count, companions produced, and verdict in one or two sentences. List `assumptions[]` and `open_questions[]` if non-empty.
|
|
104
|
-
- **Headless** — return JSON per `assets/headless-schemas.md`.
|
|
105
|
-
|
|
106
|
-
## After the spec is output
|
|
107
|
-
|
|
108
|
-
Any update to assumptions, open questions, or other changes is appended to `.decision-log.md` and, when applicable, to the source artifact's decision log.
|
|
109
|
-
|
|
110
|
-
## Hand-off
|
|
111
|
-
|
|
112
|
-
> Spec `{slug}` distilled into `{output_folder}/specs/spec-{slug}/SPEC.md` with `{n}` capabilities and `{m}` companions. Verdict: `{verdict}`. Open questions: `{list}`.
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
project_type_id,requires_api_scan,requires_data_models,requires_state_management,requires_ui_components,requires_deployment_config,key_file_patterns,critical_directories,integration_scan_patterns,test_file_patterns,config_patterns,auth_security_patterns,schema_migration_patterns,entry_point_patterns,shared_code_patterns,monorepo_workspace_patterns,async_event_patterns,ci_cd_patterns,asset_patterns,hardware_interface_patterns,protocol_schema_patterns,localization_patterns,requires_hardware_docs,requires_asset_inventory
|
|
2
|
-
web,true,true,true,true,true,package.json;tsconfig.json;*.config.js;*.config.ts;vite.config.*;webpack.config.*;next.config.*;nuxt.config.*,src/;app/;pages/;components/;api/;lib/;styles/;public/;static/,*client.ts;*service.ts;*api.ts;fetch*.ts;axios*.ts;*http*.ts,*.test.ts;*.spec.ts;*.test.tsx;*.spec.tsx;**/__tests__/**;**/*.test.*;**/*.spec.*,.env*;config/*;*.config.*;.config/;settings/,*auth*.ts;*session*.ts;middleware/auth*;*.guard.ts;*authenticat*;*permission*;guards/,migrations/**;prisma/**;*.prisma;alembic/**;knex/**;*migration*.sql;*migration*.ts,main.ts;index.ts;app.ts;server.ts;_app.tsx;_app.ts;layout.tsx,shared/**;common/**;utils/**;lib/**;helpers/**;@*/**;packages/**,pnpm-workspace.yaml;lerna.json;nx.json;turbo.json;workspace.json;rush.json,*event*.ts;*queue*.ts;*subscriber*.ts;*consumer*.ts;*producer*.ts;*worker*.ts;jobs/**,.github/workflows/**;.gitlab-ci.yml;Jenkinsfile;.circleci/**;azure-pipelines.yml;bitbucket-pipelines.yml;.drone.yml,public/**;static/**;assets/**;images/**;media/**,N/A,*.proto;*.graphql;graphql/**;schema.graphql;*.avro;openapi.*;swagger.*,i18n/**;locales/**;lang/**;translations/**;messages/**;*.po;*.pot,false,false
|
|
3
|
-
mobile,true,true,true,true,true,package.json;pubspec.yaml;Podfile;build.gradle;app.json;capacitor.config.*;ionic.config.json,src/;app/;screens/;components/;services/;models/;assets/;ios/;android/,*client.ts;*service.ts;*api.ts;fetch*.ts;axios*.ts;*http*.ts,*.test.ts;*.test.tsx;*_test.dart;*.test.dart;**/__tests__/**,.env*;config/*;app.json;capacitor.config.*;google-services.json;GoogleService-Info.plist,*auth*.ts;*session*.ts;*authenticat*;*permission*;*biometric*;secure-store*,migrations/**;realm/**;*.realm;watermelondb/**;sqlite/**,main.ts;index.ts;App.tsx;App.ts;main.dart,shared/**;common/**;utils/**;lib/**;components/shared/**;@*/**,pnpm-workspace.yaml;lerna.json;nx.json;turbo.json,*event*.ts;*notification*.ts;*push*.ts;background-fetch*,fastlane/**;.github/workflows/**;.gitlab-ci.yml;bitbucket-pipelines.yml;appcenter-*,assets/**;Resources/**;res/**;*.xcassets;drawable*/;mipmap*/;images/**,N/A,*.proto;graphql/**;*.graphql,i18n/**;locales/**;translations/**;*.strings;*.xml,false,true
|
|
4
|
-
backend,true,true,false,false,true,package.json;requirements.txt;go.mod;Gemfile;pom.xml;build.gradle;Cargo.toml;*.csproj,src/;api/;services/;models/;routes/;controllers/;middleware/;handlers/;repositories/;domain/,*client.ts;*repository.ts;*service.ts;*connector*.ts;*adapter*.ts,*.test.ts;*.spec.ts;*_test.go;test_*.py;*Test.java;*_test.rs,.env*;config/*;*.config.*;application*.yml;application*.yaml;appsettings*.json;settings.py,*auth*.ts;*session*.ts;*authenticat*;*authorization*;middleware/auth*;guards/;*jwt*;*oauth*,migrations/**;alembic/**;flyway/**;liquibase/**;prisma/**;*.prisma;*migration*.sql;*migration*.ts;db/migrate,main.ts;index.ts;server.ts;app.ts;main.go;main.py;Program.cs;__init__.py,shared/**;common/**;utils/**;lib/**;core/**;@*/**;pkg/**,pnpm-workspace.yaml;lerna.json;nx.json;go.work,*event*.ts;*queue*.ts;*subscriber*.ts;*consumer*.ts;*producer*.ts;*worker*.ts;*handler*.ts;jobs/**;workers/**,.github/workflows/**;.gitlab-ci.yml;Jenkinsfile;.circleci/**;azure-pipelines.yml;.drone.yml,N/A,N/A,*.proto;*.graphql;graphql/**;*.avro;*.thrift;openapi.*;swagger.*;schema/**,N/A,false,false
|
|
5
|
-
cli,false,false,false,false,false,package.json;go.mod;Cargo.toml;setup.py;pyproject.toml;*.gemspec,src/;cmd/;cli/;bin/;lib/;commands/,N/A,*.test.ts;*_test.go;test_*.py;*.spec.ts;*_spec.rb,.env*;config/*;*.config.*;.*.rc;.*rc,N/A,N/A,main.ts;index.ts;cli.ts;main.go;main.py;__main__.py;bin/*,shared/**;common/**;utils/**;lib/**;helpers/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;goreleaser.yml,N/A,N/A,N/A,N/A,false,false
|
|
6
|
-
library,false,false,false,false,false,package.json;setup.py;Cargo.toml;go.mod;*.gemspec;*.csproj;pom.xml,src/;lib/;dist/;pkg/;build/;target/,N/A,*.test.ts;*_test.go;test_*.py;*.spec.ts;*Test.java;*_test.rs,.*.rc;tsconfig.json;rollup.config.*;vite.config.*;webpack.config.*,N/A,N/A,index.ts;index.js;lib.rs;main.go;__init__.py,src/**;lib/**;core/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;.circleci/**,N/A,N/A,N/A,N/A,false,false
|
|
7
|
-
desktop,false,false,true,true,true,package.json;Cargo.toml;*.csproj;CMakeLists.txt;tauri.conf.json;electron-builder.yml;wails.json,src/;app/;components/;main/;renderer/;resources/;assets/;build/,*service.ts;ipc*.ts;*bridge*.ts;*native*.ts;invoke*,*.test.ts;*.spec.ts;*_test.rs;*.spec.tsx,.env*;config/*;*.config.*;app.config.*;forge.config.*;builder.config.*,*auth*.ts;*session*.ts;keychain*;secure-storage*,N/A,main.ts;index.ts;main.js;src-tauri/main.rs;electron.ts,shared/**;common/**;utils/**;lib/**;components/shared/**,N/A,*event*.ts;*ipc*.ts;*message*.ts,.github/workflows/**;.gitlab-ci.yml;.circleci/**,resources/**;assets/**;icons/**;static/**;build/resources,N/A,N/A,i18n/**;locales/**;translations/**;lang/**,false,true
|
|
8
|
-
game,false,false,true,false,false,*.unity;*.godot;*.uproject;package.json;project.godot,Assets/;Scenes/;Scripts/;Prefabs/;Resources/;Content/;Source/;src/;scenes/;scripts/,N/A,*Test.cs;*_test.gd;*Test.cpp;*.test.ts,.env*;config/*;*.ini;settings/;GameSettings/,N/A,N/A,main.gd;Main.cs;GameManager.cs;main.cpp;index.ts,shared/**;common/**;utils/**;Core/**;Framework/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml,Assets/**;Scenes/**;Prefabs/**;Materials/**;Textures/**;Audio/**;Models/**;*.fbx;*.blend;*.shader;*.hlsl;*.glsl;Shaders/**;VFX/**,N/A,N/A,Localization/**;Languages/**;i18n/**,false,true
|
|
9
|
-
data,false,true,false,false,true,requirements.txt;pyproject.toml;dbt_project.yml;airflow.cfg;setup.py;Pipfile,dags/;pipelines/;models/;transformations/;notebooks/;sql/;etl/;jobs/,N/A,test_*.py;*_test.py;tests/**,.env*;config/*;profiles.yml;dbt_project.yml;airflow.cfg,N/A,migrations/**;dbt/models/**;*.sql;schemas/**,main.py;__init__.py;pipeline.py;dag.py,shared/**;common/**;utils/**;lib/**;helpers/**,N/A,*event*.py;*consumer*.py;*producer*.py;*worker*.py;jobs/**;tasks/**,.github/workflows/**;.gitlab-ci.yml;airflow/dags/**,N/A,N/A,*.proto;*.avro;schemas/**;*.parquet,N/A,false,false
|
|
10
|
-
extension,true,false,true,true,false,manifest.json;package.json;wxt.config.ts,src/;popup/;content/;background/;assets/;components/,*message.ts;*runtime.ts;*storage.ts;*tabs.ts,*.test.ts;*.spec.ts;*.test.tsx,.env*;wxt.config.*;webpack.config.*;vite.config.*,*auth*.ts;*session*.ts;*permission*,N/A,index.ts;popup.ts;background.ts;content.ts,shared/**;common/**;utils/**;lib/**,N/A,*message*.ts;*event*.ts;chrome.runtime*;browser.runtime*,.github/workflows/**,assets/**;icons/**;images/**;static/**,N/A,N/A,_locales/**;locales/**;i18n/**,false,false
|
|
11
|
-
infra,false,false,false,false,true,*.tf;*.tfvars;pulumi.yaml;cdk.json;*.yml;*.yaml;Dockerfile;docker-compose*.yml,terraform/;modules/;k8s/;charts/;playbooks/;roles/;policies/;stacks/,N/A,*_test.go;test_*.py;*_test.tf;*_spec.rb,.env*;*.tfvars;config/*;vars/;group_vars/;host_vars/,N/A,N/A,main.tf;index.ts;__main__.py;playbook.yml,modules/**;shared/**;common/**;lib/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml;.circleci/**,N/A,N/A,N/A,N/A,false,false
|
|
12
|
-
embedded,false,false,false,false,false,platformio.ini;CMakeLists.txt;*.ino;Makefile;*.ioc;mbed-os.lib,src/;lib/;include/;firmware/;drivers/;hal/;bsp/;components/,N/A,test_*.c;*_test.cpp;*_test.c;tests/**,.env*;config/*;sdkconfig;*.json;settings/,N/A,N/A,main.c;main.cpp;main.ino;app_main.c,lib/**;shared/**;common/**;drivers/**,N/A,N/A,.github/workflows/**;.gitlab-ci.yml,N/A,*.h;*.hpp;drivers/**;hal/**;bsp/**;pinout.*;peripheral*;gpio*;*.fzz;schematics/**,*.proto;mqtt*;coap*;modbus*,N/A,true,false
|
package/src/method-skills/1-analysis/wize-document-project/templates/api-contracts-template.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
status: baseline
|
|
3
|
-
owner: Pepper Potts + Tony Stark
|
|
4
|
-
created: {{date}}
|
|
5
|
-
last_refreshed: {{date}}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# {{project_name}} — API Contracts{{#if part_id}} — {{part_id}}{{/if}}
|
|
9
|
-
|
|
10
|
-
**Date:** {{date}}
|
|
11
|
-
|
|
12
|
-
## Overview
|
|
13
|
-
|
|
14
|
-
{{api_overview}}
|
|
15
|
-
|
|
16
|
-
## Endpoints
|
|
17
|
-
|
|
18
|
-
{{#each endpoints}}
|
|
19
|
-
### {{name}}
|
|
20
|
-
- **Method:** {{method}}
|
|
21
|
-
- **Path:** `{{path}}`
|
|
22
|
-
- **Description:** {{description}}
|
|
23
|
-
|
|
24
|
-
#### Request
|
|
25
|
-
{{request_schema}}
|
|
26
|
-
|
|
27
|
-
#### Response
|
|
28
|
-
{{response_schema}}
|
|
29
|
-
|
|
30
|
-
#### Errors
|
|
31
|
-
{{#each errors}}
|
|
32
|
-
- **{{status}}** — {{description}}
|
|
33
|
-
{{/each}}
|
|
34
|
-
{{/each}}
|
|
35
|
-
|
|
36
|
-
---
|
|
37
|
-
|
|
38
|
-
_Generated using Wize Dev Kit `document-project` workflow_
|
package/src/method-skills/1-analysis/wize-document-project/templates/architecture-template.md
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
status: baseline
|
|
3
|
-
owner: Pepper Potts + Tony Stark
|
|
4
|
-
created: {{date}}
|
|
5
|
-
last_refreshed: {{date}}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# {{project_name}} — Architecture{{#if part_id}} — {{part_id}}{{/if}}
|
|
9
|
-
|
|
10
|
-
**Date:** {{date}}
|
|
11
|
-
**Type:** {{project_type}}
|
|
12
|
-
**Architecture Pattern:** {{architecture_pattern}}
|
|
13
|
-
|
|
14
|
-
## Executive Summary
|
|
15
|
-
|
|
16
|
-
{{architecture_summary}}
|
|
17
|
-
|
|
18
|
-
## Entry Points
|
|
19
|
-
|
|
20
|
-
{{#each entry_points}}
|
|
21
|
-
- **`{{path}}`** — {{description}}
|
|
22
|
-
{{/each}}
|
|
23
|
-
|
|
24
|
-
## Components
|
|
25
|
-
|
|
26
|
-
{{#each components}}
|
|
27
|
-
### {{name}}
|
|
28
|
-
- **Responsibility:** {{responsibility}}
|
|
29
|
-
- **Location:** `{{location}}`
|
|
30
|
-
- **Depends on:** {{dependencies}}
|
|
31
|
-
- **Used by:** {{dependents}}
|
|
32
|
-
{{/each}}
|
|
33
|
-
|
|
34
|
-
## Data Flow
|
|
35
|
-
|
|
36
|
-
{{data_flow_description}}
|
|
37
|
-
|
|
38
|
-
## Integrations
|
|
39
|
-
|
|
40
|
-
{{#each integrations}}
|
|
41
|
-
- **{{name}}** — {{description}}
|
|
42
|
-
- **Type:** {{integration_type}}
|
|
43
|
-
- **Boundary:** {{boundary}}
|
|
44
|
-
{{/each}}
|
|
45
|
-
|
|
46
|
-
## Decisions & Trade-offs
|
|
47
|
-
|
|
48
|
-
{{#each decisions}}
|
|
49
|
-
- {{description}}
|
|
50
|
-
{{/each}}
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
_Generated using Wize Dev Kit `document-project` workflow_
|
package/src/method-skills/1-analysis/wize-document-project/templates/component-inventory-template.md
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
status: baseline
|
|
3
|
-
owner: Pepper Potts + Mantis
|
|
4
|
-
created: {{date}}
|
|
5
|
-
last_refreshed: {{date}}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# {{project_name}} — Component Inventory{{#if part_id}} — {{part_id}}{{/if}}
|
|
9
|
-
|
|
10
|
-
**Date:** {{date}}
|
|
11
|
-
**Type:** {{project_type}}
|
|
12
|
-
|
|
13
|
-
## Categorization
|
|
14
|
-
|
|
15
|
-
{{#each categories}}
|
|
16
|
-
### {{name}}
|
|
17
|
-
{{#each components}}
|
|
18
|
-
- **{{name}}** (`{{location}}`) — {{purpose}}
|
|
19
|
-
{{/each}}
|
|
20
|
-
{{/each}}
|
|
21
|
-
|
|
22
|
-
## Reuse
|
|
23
|
-
|
|
24
|
-
{{#each reusable_components}}
|
|
25
|
-
- **{{name}}** — {{usage_guidance}}
|
|
26
|
-
{{/each}}
|
|
27
|
-
|
|
28
|
-
## Design System
|
|
29
|
-
|
|
30
|
-
{{design_system_notes}}
|
|
31
|
-
|
|
32
|
-
## Component Dependencies
|
|
33
|
-
|
|
34
|
-
{{#each dependency_notes}}
|
|
35
|
-
- {{description}}
|
|
36
|
-
{{/each}}
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
_Generated using Wize Dev Kit `document-project` workflow_
|
package/src/method-skills/1-analysis/wize-document-project/templates/contribution-guide-template.md
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
status: baseline
|
|
3
|
-
owner: Peggy Carter + Pepper Potts
|
|
4
|
-
created: {{date}}
|
|
5
|
-
last_refreshed: {{date}}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# {{project_name}} — Contribution Guide{{#if part_id}} — {{part_id}}{{/if}}
|
|
9
|
-
|
|
10
|
-
**Date:** {{date}}
|
|
11
|
-
|
|
12
|
-
## Local Setup
|
|
13
|
-
|
|
14
|
-
{{local_setup}}
|
|
15
|
-
|
|
16
|
-
## Conventions
|
|
17
|
-
|
|
18
|
-
{{contribution_conventions}}
|
|
19
|
-
|
|
20
|
-
## Pull Request Process
|
|
21
|
-
|
|
22
|
-
{{pr_process}}
|
|
23
|
-
|
|
24
|
-
## Testing
|
|
25
|
-
|
|
26
|
-
{{testing_requirements}}
|
|
27
|
-
|
|
28
|
-
## Questions
|
|
29
|
-
|
|
30
|
-
{{contact_notes}}
|
|
31
|
-
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
_Generated using Wize Dev Kit `document-project` workflow_
|
package/src/method-skills/1-analysis/wize-document-project/templates/data-models-template.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
status: baseline
|
|
3
|
-
owner: Pepper Potts + Tony Stark
|
|
4
|
-
created: {{date}}
|
|
5
|
-
last_refreshed: {{date}}
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# {{project_name}} — Data Models{{#if part_id}} — {{part_id}}{{/if}}
|
|
9
|
-
|
|
10
|
-
**Date:** {{date}}
|
|
11
|
-
|
|
12
|
-
## Overview
|
|
13
|
-
|
|
14
|
-
{{data_model_overview}}
|
|
15
|
-
|
|
16
|
-
## Entities
|
|
17
|
-
|
|
18
|
-
{{#each entities}}
|
|
19
|
-
### {{name}}
|
|
20
|
-
- **Purpose:** {{purpose}}
|
|
21
|
-
- **Source:** `{{source_file}}`
|
|
22
|
-
|
|
23
|
-
#### Fields
|
|
24
|
-
{{#each fields}}
|
|
25
|
-
- `{{name}}` ({{type}}) — {{description}}
|
|
26
|
-
{{/each}}
|
|
27
|
-
|
|
28
|
-
#### Relationships
|
|
29
|
-
{{#each relationships}}
|
|
30
|
-
- {{description}}
|
|
31
|
-
{{/each}}
|
|
32
|
-
{{/each}}
|
|
33
|
-
|
|
34
|
-
---
|
|
35
|
-
|
|
36
|
-
_Generated using Wize Dev Kit `document-project` workflow_
|