@grant-vine/wunderkind 0.16.0 → 0.18.2
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/.claude-plugin/plugin.json +1 -1
- package/README.md +25 -8
- package/agents/ciso.md +4 -0
- package/agents/creative-director.md +1 -0
- package/agents/fullstack-wunderkind.md +15 -0
- package/agents/legal-counsel.md +1 -0
- package/agents/marketing-wunderkind.md +1 -0
- package/agents/product-wunderkind.md +14 -2
- package/commands/docs-index.md +1 -0
- package/commands/dream.md +1 -0
- package/dist/agents/fullstack-wunderkind.d.ts.map +1 -1
- package/dist/agents/fullstack-wunderkind.js +3 -1
- package/dist/agents/fullstack-wunderkind.js.map +1 -1
- package/dist/agents/product-wunderkind.js +1 -1
- package/dist/agents/render-markdown.d.ts.map +1 -1
- package/dist/agents/render-markdown.js +3 -0
- package/dist/agents/render-markdown.js.map +1 -1
- package/dist/agents/shared-prompt-sections.d.ts.map +1 -1
- package/dist/agents/shared-prompt-sections.js +3 -0
- package/dist/agents/shared-prompt-sections.js.map +1 -1
- package/dist/agents/slash-commands.d.ts +10 -2
- package/dist/agents/slash-commands.d.ts.map +1 -1
- package/dist/agents/slash-commands.js +13 -1
- package/dist/agents/slash-commands.js.map +1 -1
- package/dist/agents/versioning.d.ts +4 -0
- package/dist/agents/versioning.d.ts.map +1 -0
- package/dist/agents/versioning.js +41 -0
- package/dist/agents/versioning.js.map +1 -0
- package/dist/cli/cli-installer.js +3 -3
- package/dist/cli/cli-installer.js.map +1 -1
- package/dist/cli/config-manager/index.d.ts +24 -0
- package/dist/cli/config-manager/index.d.ts.map +1 -1
- package/dist/cli/config-manager/index.js +107 -11
- package/dist/cli/config-manager/index.js.map +1 -1
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +42 -1
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/gitignore-manager.d.ts.map +1 -1
- package/dist/cli/gitignore-manager.js +1 -0
- package/dist/cli/gitignore-manager.js.map +1 -1
- package/dist/cli/index.js +2 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/init.d.ts.map +1 -1
- package/dist/cli/init.js +25 -0
- package/dist/cli/init.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +10 -6
- package/skills/SKILL-STANDARD.md +2 -0
- package/skills/diagnose/SKILL.md +84 -0
- package/skills/docs-with-grill/SKILL.md +66 -0
- package/skills/setup-wunderkind-workflow/SKILL.md +9 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: diagnose
|
|
3
|
+
description: >
|
|
4
|
+
USE FOR: deterministic bug diagnosis, reproducible failure loops, ranked
|
|
5
|
+
hypotheses, focused instrumentation, root-cause isolation, and deciding the
|
|
6
|
+
smallest proving regression surface before implementation starts.
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Diagnose
|
|
11
|
+
|
|
12
|
+
Adapted from Matt Pocock's `diagnose` skill for Wunderkind's engineering, triage, and
|
|
13
|
+
incident-debugging workflow.
|
|
14
|
+
|
|
15
|
+
## Primary owner
|
|
16
|
+
|
|
17
|
+
**Owned by:** wunderkind:fullstack-wunderkind
|
|
18
|
+
|
|
19
|
+
This skill is explicitly owned by `fullstack-wunderkind`.
|
|
20
|
+
|
|
21
|
+
Use it when the fault is still unclear and engineering must isolate the defect before
|
|
22
|
+
committing to a fix path.
|
|
23
|
+
|
|
24
|
+
## Filesystem scope
|
|
25
|
+
|
|
26
|
+
This skill is diagnosis-first. It reads the nearest repro surface and may write to:
|
|
27
|
+
|
|
28
|
+
- `src/` files only when adding temporary or minimal proving instrumentation
|
|
29
|
+
- `tests/unit/` or the nearest test surface when pinning the failure with a regression
|
|
30
|
+
- `.sisyphus/notepads/` or `.sisyphus/evidence/` when the diagnosis trail must persist
|
|
31
|
+
- `skills/diagnose/SKILL.md` for doctrine maintenance
|
|
32
|
+
|
|
33
|
+
## When to trigger
|
|
34
|
+
|
|
35
|
+
Use this skill for:
|
|
36
|
+
|
|
37
|
+
- bugs that are real but not yet isolated
|
|
38
|
+
- flaky behavior that needs a deterministic repro loop
|
|
39
|
+
- incidents where the likely failing layer is still uncertain
|
|
40
|
+
- regressions where several competing root-cause hypotheses exist
|
|
41
|
+
- product or support handoffs that still need engineering diagnosis before TDD execution
|
|
42
|
+
|
|
43
|
+
## Anti-triggers
|
|
44
|
+
|
|
45
|
+
Do not trigger this skill for:
|
|
46
|
+
|
|
47
|
+
- straightforward fixes where the broken contract and code path are already obvious
|
|
48
|
+
- pure feature work with no defect investigation
|
|
49
|
+
- architecture redesign discussions better served by `design-an-interface` or `improve-codebase-architecture`
|
|
50
|
+
- work that is already in a clear red-green-refactor loop; use `tdd` there instead
|
|
51
|
+
|
|
52
|
+
## Process
|
|
53
|
+
|
|
54
|
+
1. Restate the observed failure as a single testable contract.
|
|
55
|
+
2. Build the smallest deterministic repro loop possible.
|
|
56
|
+
3. List the leading hypotheses in ranked order.
|
|
57
|
+
4. Add the minimum instrumentation or probe that can eliminate one hypothesis at a time.
|
|
58
|
+
5. Identify the failing layer: contract, implementation, fixture, dependency, or environment.
|
|
59
|
+
6. Once the root cause is isolated, define the smallest regression surface that should stay green after the fix.
|
|
60
|
+
7. Hand off into `tdd` or direct implementation only after the diagnosis path is stable.
|
|
61
|
+
|
|
62
|
+
## Diagnostic doctrine
|
|
63
|
+
|
|
64
|
+
- Prefer deterministic repro over intuition.
|
|
65
|
+
- Change one variable at a time while investigating.
|
|
66
|
+
- Remove temporary instrumentation once the root cause is proven unless it provides lasting operational value.
|
|
67
|
+
- Name the failing layer explicitly before proposing a fix.
|
|
68
|
+
- If the evidence points to auth, authorization, or another security-control boundary, escalate to `ciso` instead of normalizing it as an ordinary bug.
|
|
69
|
+
|
|
70
|
+
## Hard rules
|
|
71
|
+
|
|
72
|
+
1. Do not jump to broad rewrites before a repro loop exists.
|
|
73
|
+
2. Do not batch multiple hypotheses into one opaque instrumentation change.
|
|
74
|
+
3. Do not call a problem fixed until the proving regression surface is named.
|
|
75
|
+
4. If the defect becomes clearly behavior-driven, transition into `tdd` instead of keeping diagnosis open-ended.
|
|
76
|
+
|
|
77
|
+
## Review gate
|
|
78
|
+
|
|
79
|
+
This skill is complete only when:
|
|
80
|
+
|
|
81
|
+
1. `fullstack-wunderkind` ownership is explicit.
|
|
82
|
+
2. The workflow is diagnosis-first rather than implementation-first.
|
|
83
|
+
3. The process includes deterministic repro, ranked hypotheses, minimal instrumentation, and a named regression surface.
|
|
84
|
+
4. The boundary with `tdd`, `ciso`, and architecture skills is explicit.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: docs-with-grill
|
|
3
|
+
description: >
|
|
4
|
+
USE FOR: context-aware documentation grilling, Matt-style grill-with-docs adaptation,
|
|
5
|
+
repo-aware questioning, `CONTEXT.md` maintenance, validating domain language against
|
|
6
|
+
code and docs, and preparing Wunderkind-native docs follow-up without copying
|
|
7
|
+
external filesystem layouts verbatim.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Docs With Grill
|
|
12
|
+
|
|
13
|
+
Stress-test a docs topic, feature description, or product plan against the actual repo, then capture the compact shared context in Wunderkind-native artifacts before the final docs writing begins.
|
|
14
|
+
|
|
15
|
+
## Primary owner
|
|
16
|
+
|
|
17
|
+
**Owned by:** wunderkind:product-wunderkind
|
|
18
|
+
|
|
19
|
+
## Filesystem scope
|
|
20
|
+
|
|
21
|
+
Read:
|
|
22
|
+
- `CONTEXT.md`
|
|
23
|
+
- `AGENTS.md`
|
|
24
|
+
- `.wunderkind/wunderkind.config.jsonc`
|
|
25
|
+
- `.sisyphus/`
|
|
26
|
+
- docs-output settings if present
|
|
27
|
+
- relevant source files that answer the question more accurately than the user can
|
|
28
|
+
|
|
29
|
+
Write:
|
|
30
|
+
- `CONTEXT.md`
|
|
31
|
+
- docs-output lanes only when the user explicitly wants docs generated or refreshed
|
|
32
|
+
- `.sisyphus/evidence/*.md` only for hard-to-reverse decisions or reviewable durable proof
|
|
33
|
+
|
|
34
|
+
## When to trigger
|
|
35
|
+
|
|
36
|
+
- A feature, workflow, or docs topic needs Matt-style `grill-with-docs` behavior, but adapted to Wunderkind.
|
|
37
|
+
- The docs are drifting because the compact shared context is stale, missing, or contradictory.
|
|
38
|
+
- A maintainer wants one-question-at-a-time interrogation before drafting guides, PRDs, or docs-output updates.
|
|
39
|
+
- The request needs repo inspection plus documentation framing, not just plain writing.
|
|
40
|
+
|
|
41
|
+
## Anti-triggers
|
|
42
|
+
|
|
43
|
+
- Do not use this for trivial copyedits or small wording cleanups.
|
|
44
|
+
- Do not use this when the final task is already clear and only polished docs drafting remains — route that to `technical-writer`.
|
|
45
|
+
- Do not invent Matt's `CONTEXT.md` + `docs/adr/*` layout beyond the literal `CONTEXT.md` file adopted by this repo.
|
|
46
|
+
- Do not replace `setup-wunderkind-workflow`; setup still owns the wider workflow contract.
|
|
47
|
+
|
|
48
|
+
## Process
|
|
49
|
+
|
|
50
|
+
1. Inspect `CONTEXT.md`, `AGENTS.md`, `.sisyphus/`, and the relevant code before asking the user anything.
|
|
51
|
+
2. Ask one sharp question at a time only when the repo cannot answer it.
|
|
52
|
+
3. Keep a running picture of: product/domain summary, core workflows, shared language, important constraints, and open questions.
|
|
53
|
+
4. Update `CONTEXT.md` only when the clarified context becomes stable enough to help future work.
|
|
54
|
+
5. If the user also wants documentation output, hand off to the appropriate docs-writing lane after the context is no longer ambiguous.
|
|
55
|
+
|
|
56
|
+
## Hard rules
|
|
57
|
+
|
|
58
|
+
1. Repo truth beats user memory when the code clearly answers the question.
|
|
59
|
+
2. `CONTEXT.md` must stay compact — summarize, do not dump transcripts.
|
|
60
|
+
3. Ask one question at a time; do not unload a questionnaire.
|
|
61
|
+
4. Prefer Wunderkind-native outputs (`CONTEXT.md`, docs-output lanes, `.sisyphus/evidence/`) over copied external layouts.
|
|
62
|
+
5. If the task becomes pure docs drafting, switch to `technical-writer` instead of overextending this skill.
|
|
63
|
+
|
|
64
|
+
## Review gate
|
|
65
|
+
|
|
66
|
+
This skill is complete only when the docs/topic ambiguity has been collapsed, `CONTEXT.md` reflects the clarified shared context when needed, and any follow-on docs-writing path is now clear enough to execute without another discovery loop.
|
|
@@ -20,6 +20,7 @@ Establish the repo-local workflow contract that other Wunderkind skills depend o
|
|
|
20
20
|
|
|
21
21
|
Read:
|
|
22
22
|
- `AGENTS.md`
|
|
23
|
+
- `CONTEXT.md`
|
|
23
24
|
- `.wunderkind/wunderkind.config.jsonc`
|
|
24
25
|
- `.sisyphus/`
|
|
25
26
|
- docs-output settings if present
|
|
@@ -27,6 +28,7 @@ Read:
|
|
|
27
28
|
|
|
28
29
|
Write:
|
|
29
30
|
- `AGENTS.md` (update or add a compact workflow-contract section)
|
|
31
|
+
- `CONTEXT.md` (compact current product/domain context for future docs and grilling work)
|
|
30
32
|
- `.sisyphus/glossary.md`
|
|
31
33
|
- `.sisyphus/triage/README.md`
|
|
32
34
|
|
|
@@ -54,7 +56,7 @@ Walk these one at a time, not all at once:
|
|
|
54
56
|
## Process
|
|
55
57
|
|
|
56
58
|
1. Explore the current repo state before proposing anything.
|
|
57
|
-
2. Summarize what already exists in `AGENTS.md`, `.wunderkind/`, `.sisyphus/`, and GitHub readiness.
|
|
59
|
+
2. Summarize what already exists in `AGENTS.md`, `CONTEXT.md`, `.wunderkind/`, `.sisyphus/`, and GitHub readiness.
|
|
58
60
|
3. Present one setup decision at a time, with a short explainer and a recommended default.
|
|
59
61
|
4. Show the user the draft workflow contract before writing.
|
|
60
62
|
5. Write the agreed contract into Wunderkind-native locations.
|
|
@@ -68,6 +70,10 @@ Add or update a compact section summarizing:
|
|
|
68
70
|
- triage vocabulary
|
|
69
71
|
- glossary / architecture-doc locations
|
|
70
72
|
|
|
73
|
+
### `CONTEXT.md`
|
|
74
|
+
|
|
75
|
+
Create or refresh the compact shared context file that future docs-grilling, planning, and handoff workflows should read first. Keep it short, current, and domain-focused.
|
|
76
|
+
|
|
71
77
|
### `.sisyphus/triage/README.md`
|
|
72
78
|
|
|
73
79
|
Record the canonical triage vocabulary and where issue/triage artifacts should live.
|
|
@@ -79,10 +85,10 @@ Create or refresh the shared domain glossary if terminology setup is part of the
|
|
|
79
85
|
## Hard rules
|
|
80
86
|
|
|
81
87
|
1. Preserve existing repo conventions where possible; do not flatten them into generic defaults.
|
|
82
|
-
2. Prefer Wunderkind-native locations (`AGENTS.md`, `.sisyphus/*`) over Matt's `docs/agents/*` layout.
|
|
88
|
+
2. Prefer Wunderkind-native locations (`AGENTS.md`, `CONTEXT.md`, `.sisyphus/*`) over Matt's `docs/agents/*` layout.
|
|
83
89
|
3. Confirm each decision with the user before writing.
|
|
84
90
|
4. Keep the written contract concise enough that other skills can read it quickly.
|
|
85
91
|
|
|
86
92
|
## Review gate
|
|
87
93
|
|
|
88
|
-
This skill is complete only when the repo has an explicit, readable workflow contract in `AGENTS.md`, triage conventions are written under `.sisyphus/triage/`, and glossary ownership/location is no longer ambiguous.
|
|
94
|
+
This skill is complete only when the repo has an explicit, readable workflow contract in `AGENTS.md`, the compact shared context in `CONTEXT.md`, triage conventions are written under `.sisyphus/triage/`, and glossary ownership/location is no longer ambiguous.
|