@punks/cli 2.3.2 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/BASELINE_CHANGELOG.md +50 -0
  2. package/dist/CHANGELOG.md +50 -0
  3. package/dist/index.js +216 -221
  4. package/dist/skills/agnostic/cli/dp-cli/SKILL.md +1 -12
  5. package/dist/skills/agnostic/cli/dp-cli/references/commands.md +22 -18
  6. package/dist/skills/agnostic/cli/dp-cli/references/post-command-flow.md +15 -19
  7. package/dist/skills/agnostic/planning/wayfinder/SKILL.md +42 -0
  8. package/dist/skills/agnostic/quality/review/SKILL.md +89 -0
  9. package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +22 -0
  10. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +110 -23
  11. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +30 -14
  12. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +74 -7
  13. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +108 -2
  14. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +29 -3
  15. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +43 -7
  16. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +25 -3
  17. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +63 -14
  18. package/dist/skills/agnostic/research/parallel-research/SKILL.md +5 -2
  19. package/dist/skills/frameworks/expo/add-app-clip/SKILL.md +280 -0
  20. package/dist/skills/frameworks/expo/add-app-clip/agents/openai.yaml +4 -0
  21. package/dist/skills/frameworks/expo/add-app-clip/references/native-module.md +96 -0
  22. package/dist/skills/frameworks/expo/building-native-ui/SKILL.md +377 -0
  23. package/dist/skills/frameworks/expo/building-native-ui/agents/openai.yaml +4 -0
  24. package/dist/skills/frameworks/expo/building-native-ui/references/animations.md +220 -0
  25. package/dist/skills/frameworks/expo/building-native-ui/references/controls.md +270 -0
  26. package/dist/skills/frameworks/expo/building-native-ui/references/form-sheet.md +253 -0
  27. package/dist/skills/frameworks/expo/building-native-ui/references/gradients.md +106 -0
  28. package/dist/skills/frameworks/expo/building-native-ui/references/icons.md +213 -0
  29. package/dist/skills/frameworks/expo/building-native-ui/references/media.md +198 -0
  30. package/dist/skills/frameworks/expo/building-native-ui/references/route-structure.md +229 -0
  31. package/dist/skills/frameworks/expo/building-native-ui/references/search.md +248 -0
  32. package/dist/skills/frameworks/expo/building-native-ui/references/storage.md +121 -0
  33. package/dist/skills/frameworks/expo/building-native-ui/references/tabs.md +433 -0
  34. package/dist/skills/frameworks/expo/building-native-ui/references/toolbar-and-headers.md +284 -0
  35. package/dist/skills/frameworks/expo/building-native-ui/references/visual-effects.md +197 -0
  36. package/dist/skills/frameworks/expo/building-native-ui/references/webgpu-three.md +605 -0
  37. package/dist/skills/frameworks/expo/building-native-ui/references/zoom-transitions.md +158 -0
  38. package/dist/skills/frameworks/expo/eas-simulator/SKILL.md +154 -0
  39. package/dist/skills/frameworks/expo/eas-simulator/references/controllers.md +67 -0
  40. package/dist/skills/frameworks/expo/eas-simulator/references/run-your-app.md +185 -0
  41. package/dist/skills/frameworks/expo/eas-simulator/references/troubleshooting.md +38 -0
  42. package/dist/skills/frameworks/expo/eas-update-insights/SKILL.md +228 -0
  43. package/dist/skills/frameworks/expo/eas-update-insights/agents/openai.yaml +4 -0
  44. package/dist/skills/frameworks/expo/eas-update-insights/references/channel-insights-schema.md +47 -0
  45. package/dist/skills/frameworks/expo/eas-update-insights/references/update-insights-schema.md +69 -0
  46. package/dist/skills/frameworks/expo/expo-api-routes/SKILL.md +368 -0
  47. package/dist/skills/frameworks/expo/expo-api-routes/agents/openai.yaml +4 -0
  48. package/dist/skills/frameworks/expo/expo-brownfield/SKILL.md +54 -0
  49. package/dist/skills/frameworks/expo/expo-brownfield/agents/openai.yaml +4 -0
  50. package/dist/skills/frameworks/expo/expo-brownfield/references/brownfield-integrated.md +526 -0
  51. package/dist/skills/frameworks/expo/expo-brownfield/references/brownfield-isolated.md +402 -0
  52. package/dist/skills/frameworks/expo/expo-brownfield/references/comparison.md +63 -0
  53. package/dist/skills/frameworks/expo/expo-brownfield/references/troubleshooting.md +88 -0
  54. package/dist/skills/frameworks/expo/expo-cicd-workflows/SKILL.md +92 -0
  55. package/dist/skills/frameworks/expo/expo-cicd-workflows/agents/openai.yaml +4 -0
  56. package/dist/skills/frameworks/expo/expo-cicd-workflows/scripts/fetch.js +109 -0
  57. package/dist/skills/frameworks/expo/expo-cicd-workflows/scripts/package.json +11 -0
  58. package/dist/skills/frameworks/expo/expo-cicd-workflows/scripts/validate.js +84 -0
  59. package/dist/skills/frameworks/expo/expo-deployment/SKILL.md +167 -0
  60. package/dist/skills/frameworks/expo/expo-deployment/agents/openai.yaml +4 -0
  61. package/dist/skills/frameworks/expo/expo-deployment/references/app-store-metadata.md +497 -0
  62. package/dist/skills/frameworks/expo/expo-deployment/references/ios-app-store.md +371 -0
  63. package/dist/skills/frameworks/expo/expo-deployment/references/play-store.md +246 -0
  64. package/dist/skills/frameworks/expo/expo-deployment/references/testflight.md +58 -0
  65. package/dist/skills/frameworks/expo/expo-deployment/references/workflows.md +160 -0
  66. package/dist/skills/frameworks/expo/expo-dev-client/SKILL.md +172 -0
  67. package/dist/skills/frameworks/expo/expo-dev-client/agents/openai.yaml +4 -0
  68. package/dist/skills/frameworks/expo/expo-examples/SKILL.md +97 -0
  69. package/dist/skills/frameworks/expo/expo-examples/references/catalog.md +105 -0
  70. package/dist/skills/frameworks/expo/expo-module/SKILL.md +141 -0
  71. package/dist/skills/frameworks/expo/expo-module/agents/openai.yaml +4 -0
  72. package/dist/skills/frameworks/expo/expo-module/references/config-plugin.md +90 -0
  73. package/dist/skills/frameworks/expo/expo-module/references/create-expo-module.md +206 -0
  74. package/dist/skills/frameworks/expo/expo-module/references/lifecycle.md +127 -0
  75. package/dist/skills/frameworks/expo/expo-module/references/module-config.md +48 -0
  76. package/dist/skills/frameworks/expo/expo-module/references/native-module.md +286 -0
  77. package/dist/skills/frameworks/expo/expo-module/references/native-view.md +171 -0
  78. package/dist/skills/frameworks/expo/expo-observe/SKILL.md +29 -0
  79. package/dist/skills/frameworks/expo/expo-observe/references/metrics.md +47 -0
  80. package/dist/skills/frameworks/expo/expo-observe/references/queries.md +342 -0
  81. package/dist/skills/frameworks/expo/expo-observe/references/setup.md +255 -0
  82. package/dist/skills/frameworks/expo/expo-skill-eval/SKILL.md +314 -0
  83. package/dist/skills/frameworks/expo/expo-skill-eval/agents/visual-grader.md +52 -0
  84. package/dist/skills/frameworks/expo/expo-skill-eval/references/design-rubric.md +45 -0
  85. package/dist/skills/frameworks/expo/expo-skill-eval/references/runtime-matrix.md +33 -0
  86. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/check-static.sh +64 -0
  87. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/clean-fixture.sh +56 -0
  88. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/generate_viewer.py +450 -0
  89. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/latest-sdk.sh +46 -0
  90. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/make-fixture.sh +95 -0
  91. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/make-workspace.sh +31 -0
  92. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/snapshot-android.sh +284 -0
  93. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/snapshot-ios.sh +132 -0
  94. package/dist/skills/frameworks/expo/expo-skill-eval/scripts/snapshot-web.sh +61 -0
  95. package/dist/skills/frameworks/expo/expo-tailwind-setup/SKILL.md +480 -0
  96. package/dist/skills/frameworks/expo/expo-tailwind-setup/agents/openai.yaml +4 -0
  97. package/dist/skills/frameworks/expo/expo-ui/SKILL.md +47 -0
  98. package/dist/skills/frameworks/expo/expo-ui/agents/openai.yaml +4 -0
  99. package/dist/skills/frameworks/expo/expo-ui/references/drop-in-replacements.md +27 -0
  100. package/dist/skills/frameworks/expo/expo-ui/references/jetpack-compose.md +73 -0
  101. package/dist/skills/frameworks/expo/expo-ui/references/swift-ui.md +73 -0
  102. package/dist/skills/frameworks/expo/expo-ui/references/universal.md +73 -0
  103. package/dist/skills/frameworks/expo/expo-ui/scripts/list-components.js +193 -0
  104. package/dist/skills/frameworks/expo/native-data-fetching/SKILL.md +505 -0
  105. package/dist/skills/frameworks/expo/native-data-fetching/agents/openai.yaml +4 -0
  106. package/dist/skills/frameworks/expo/native-data-fetching/references/expo-router-loaders.md +341 -0
  107. package/dist/skills/frameworks/expo/upgrading-expo/SKILL.md +134 -0
  108. package/dist/skills/frameworks/expo/upgrading-expo/agents/openai.yaml +4 -0
  109. package/dist/skills/frameworks/expo/upgrading-expo/references/expo-av-to-audio.md +132 -0
  110. package/dist/skills/frameworks/expo/upgrading-expo/references/expo-av-to-video.md +160 -0
  111. package/dist/skills/frameworks/expo/upgrading-expo/references/native-tabs.md +124 -0
  112. package/dist/skills/frameworks/expo/upgrading-expo/references/new-architecture.md +79 -0
  113. package/dist/skills/frameworks/expo/upgrading-expo/references/react-19.md +79 -0
  114. package/dist/skills/frameworks/expo/upgrading-expo/references/react-compiler.md +59 -0
  115. package/dist/skills/frameworks/expo/upgrading-expo/references/react-navigation-to-expo-router.md +61 -0
  116. package/dist/skills/frameworks/expo/use-dom/SKILL.md +417 -0
  117. package/dist/skills/frameworks/expo/use-dom/agents/openai.yaml +4 -0
  118. package/dist/skills/frameworks/expo/web-to-native/SKILL.md +83 -0
  119. package/dist/skills/frameworks/expo/web-to-native/references/false-friends.md +119 -0
  120. package/dist/skills/frameworks/expo/web-to-native/references/native-patterns.md +39 -0
  121. package/dist/skills/frameworks/expo/web-to-native/references/run-as-goal.md +48 -0
  122. package/dist/skills/frameworks/expo/web-to-native/references/verify-on-device.md +45 -0
  123. package/dist/skills/phases/finder-phase/SKILL.md +52 -0
  124. package/dist/skills/phases/finder-phase/references/frontier-lifecycle.md +70 -0
  125. package/dist/skills/phases/finder-phase/references/root-routing.md +29 -0
  126. package/dist/skills/phases/goalify/SKILL.md +10 -7
  127. package/dist/skills/phases/review-phase/REFERENCE.md +36 -3
  128. package/dist/skills/phases/review-phase/SKILL.md +18 -11
  129. package/package.json +1 -1
@@ -14,7 +14,6 @@ The `dp` CLI scaffolds Devpunks agent assets and writes follow-up instructions f
14
14
  dp scaffold setup
15
15
  dp scaffold setup --yes
16
16
  dp scaffold init
17
- dp check
18
17
  dp update --check
19
18
  dp update --write
20
19
  dp update --yes
@@ -48,7 +47,7 @@ Do not ask for trivial file reads, validation commands, or direct execution of a
48
47
 
49
48
  See [references/commands.md](references/commands.md) for command intent and when to use each command.
50
49
 
51
- See [references/post-command-flow.md](references/post-command-flow.md) for the required agent flow after `dp scaffold`, `dp check`, or `dp update`.
50
+ See [references/post-command-flow.md](references/post-command-flow.md) for the required agent flow after `dp scaffold` or `dp update`.
52
51
 
53
52
  The former backlog scaffold subcommand is not part of current guidance. `dp scaffold init` provides the requirements/backlog skills and initial wiki structure; `dp scaffold setup` provides repo-aware managed scaffold output.
54
53
 
@@ -86,16 +85,6 @@ Before authoring prompts or plans, identify the detected core libraries whose so
86
85
 
87
86
  When lint specs suggest Oxlint or hooks suggest Oxfmt, treat migration as a repo-policy change. Ask before replacing existing ESLint/Prettier/Biome scripts or CI, then update package scripts, task pipelines, editor/docs references, and hooks together.
88
87
 
89
- ## Check
90
-
91
- Run `dp check` at session start when `.devpunks/` exists or a scaffold/update warning appears. `dp check` is read-only; it reports CLI, baseline, managed-file, and pack drift without mutating project files.
92
-
93
- Use `.devpunks/settings.json` pins as project authority: `cliVersion` records the CLI version that last wrote accepted project assets; `baselineVersion` records the scaffold baseline version last written.
94
-
95
- If `dp check` warns about CLI or baseline drift before work starts, summarize relevant changelog lines, ask whether to remediate before proceeding, and do not silently continue on stale guidance.
96
-
97
- When user accepts remediation, run it in a subagent: `dp upgrade` for CLI drift, `dp update --write` or `dp update --yes` for scaffold/baseline drift. Parent agent reviews the diff and resumes only after worker result is reconciled.
98
-
99
88
  ## Update
100
89
 
101
90
  After `dp update` or `dp update --check`, inspect `.devpunks/scaffold-manifest.json` and the update summary.
@@ -2,45 +2,49 @@
2
2
 
3
3
  ## `dp scaffold setup`
4
4
 
5
- Use repo-aware full scaffold setup. It detects package manifests, resolves packs, writes `.agents/`, harness files, selected skills, prompt specs, lint specs, subagent specs, required tools metadata, and `.devpunks/scaffold-manifest.json`.
5
+ Use for repo-aware full scaffold setup.
6
6
 
7
- Setup does not finish all repo-specific authoring. The next agent must use `.devpunks/AGENT-SYSTEM-PROMPT.md` and `.devpunks/specs/**` to generate final scoped guidance and reconcile assets.
7
+ It detects package manifests, resolves packs, writes `.agents/`, harness files, selected skills, prompt specs, lint specs, subagent specs, required tools metadata, and `.devpunks/scaffold-manifest.json`.
8
8
 
9
- Use `dp scaffold setup --yes` in non-interactive harnesses. It accepts the resolved default pack selection, skips pack-selection prompts, and does not select optional packs.
9
+ It does not finish all repo-specific authoring. The next agent must use `.devpunks/AGENT-SYSTEM-PROMPT.md` and `.devpunks/specs/**` to generate final scoped guidance and reconcile assets.
10
10
 
11
- ## `dp scaffold init`
12
-
13
- Use before boilerplate exists. It scaffolds `requirements-grill`, `write-backlog`, an initial wiki tree, then prints an operator prompt. Follow that prompt before moving to repo-aware setup. If the generated wiki root does not match the repository layout, move or refactor it before writing specs, plans, or routed docs. Monorepos usually use `apps/wiki`; single-repo layouts usually use `wiki`.
11
+ Use `dp scaffold setup --yes` in non-interactive harnesses. It accepts the resolved default pack selection and skips pack-selection prompts. It does not select optional packs.
14
12
 
15
- After init, the agent must reconcile pre-existing skills. The command does not detect overlap. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, `.opencode/skills`, and `.devpunks/pre-existing-skills` when present. Exact name/id overlap keeps HI baseline active, non-overlaps stay exposed through mirrors or symlinks, and `dp report` carries semantic overlap or baseline integration proposals.
13
+ ## `dp scaffold init`
16
14
 
17
- ## `dp check`
15
+ Use before boilerplate exists.
18
16
 
19
- Use at session start when `.devpunks/` exists. It is a read-only drift gate for CLI version, scaffold baseline, managed files, and pack selection.
17
+ It scaffolds `requirements-grill`, `write-backlog`, and the initial wiki tree, then prints an operator prompt. Follow that prompt before moving to repo-aware setup.
20
18
 
21
- It reads `.devpunks/settings.json` pins: `cliVersion` is the CLI version that last wrote accepted project assets; `baselineVersion` is the scaffold baseline version last written.
19
+ If the generated wiki root does not match the repository layout, move or refactor it before writing specs, plans, or routed docs. Monorepos usually use `apps/wiki`; single-repo layouts usually use `wiki`.
22
20
 
23
- It reports drift warnings and relevant changelog summaries before work starts. If remediation is accepted, use a subagent: `dp upgrade` for CLI drift, `dp update --write` or `dp update --yes` for scaffold/baseline drift.
21
+ After init, the agent must reconcile pre-existing skills. The command does not detect overlap. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, `.opencode/skills`, and `.devpunks/pre-existing-skills` when present; exact name/id overlap keeps HI baseline active, non-overlaps stay exposed through mirrors or symlinks, and `dp report` carries semantic overlap or baseline integration proposals.
24
22
 
25
23
  ## `dp update --check`
26
24
 
27
- Use to preview managed scaffold drift from `.devpunks/scaffold-manifest.json`. Report CLI, baseline, missing, changed, and pack-drift findings. Do not write files.
25
+ Use at session start when `.devpunks/` exists or to preview managed scaffold drift from `.devpunks/scaffold-manifest.json`.
26
+
27
+ Report CLI, baseline, missing, changed, or pack-drift findings. Do not write files. If remediation is accepted, use a subagent for `dp upgrade`, `dp update --write`, or `dp update --yes`.
28
28
 
29
29
  ## `dp update --write`
30
30
 
31
- Use to refresh scaffold-managed files recorded in `.devpunks/scaffold-manifest.json`. After writing, verify refreshed files still fit repo shape and any baseline pack drift was handled intentionally.
31
+ Use to refresh scaffold-managed files recorded in `.devpunks/scaffold-manifest.json`.
32
+
33
+ After writing, verify the refreshed files still fit the repo shape and any baseline or pack drift is handled intentionally.
32
34
 
33
35
  Also run the agent-owned pre-existing skill reconciliation check. `dp update` does not detect overlaps.
34
36
 
35
37
  ## `dp update --yes`
36
38
 
37
- Use in non-interactive harnesses to apply managed scaffold updates without answering a terminal confirmation prompt. It has the same managed-file apply behavior as `--write`.
39
+ Use in non-interactive harnesses to apply managed scaffold updates without answering the terminal confirmation prompt.
40
+
41
+ It has the same managed-file apply behavior as `--write`.
38
42
 
39
43
  ## `dp report`
40
44
 
41
45
  Use to open reusable Harness friction in the Harness Intelligence GitHub repository. Include `--area`, `--skill-pack`, `--command`, `--expected`, `--actual`, and `--steps` whenever they apply so labels and issue body are useful for backoffice triage.
42
46
 
43
- Reports are shared Harness/docs/tooling/workflow issues, not the default path for project product backlog.
47
+ Reports are for shared Harness/docs/tooling/workflow issues, not the default path for project product backlog.
44
48
 
45
49
  Useful classification flags:
46
50
 
@@ -54,13 +58,13 @@ Useful classification flags:
54
58
  - `--steps <text>`
55
59
  - `--labels <comma-separated-labels>`
56
60
 
57
- The report path is GitHub-backed. CLI submits typed context to the Harness API; the API creates or dedupes an issue with `harness-report` metadata labels; then CLI emits report-submitted telemetry only after the API returns a GitHub issue URL. Backoffice reads GitHub issues for report triage.
61
+ The report path is GitHub-backed. The CLI submits typed context to the Harness API; the API creates or dedupes an issue with `harness-report` metadata and labels, then the CLI emits report-submitted telemetry only after the API returns a GitHub issue URL. Backoffice reads GitHub issues for report triage.
58
62
 
59
63
  ## `dp upgrade`
60
64
 
61
- Use to update the installed CLI executable through the original global package-manager path. The command checks the selected npm dist-tag, detects the Bun, pnpm, npm, or Yarn current install path, then runs the corresponding global reinstall command.
65
+ Use to update the installed CLI executable through its original global package-manager path.
62
66
 
63
- Use `--tag next` for prerelease channels, `--force` to reinstall the selected tag, and `--json` when automation needs structured output.
67
+ The command checks the selected npm dist-tag, detects Bun, pnpm, npm, or Yarn from the current install path, and runs the corresponding global reinstall command. Use `--tag next` for prerelease channels, `--force` to reinstall the selected tag, and `--json` when automation needs structured output.
64
68
 
65
69
  `dp upgrade` bypasses minimum-release-age gates for the CLI package:
66
70
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## Read Order
4
4
 
5
- When `.devpunks/` exists, read in order:
5
+ When `.devpunks/` exists, read in this order:
6
6
 
7
7
  1. `.devpunks/AGENT-SYSTEM-PROMPT.md`
8
8
  2. `.devpunks/AGENT-HANDOFF.md`
@@ -17,12 +17,13 @@ If a file is missing, continue with the next available artifact and say what was
17
17
 
18
18
  - `.devpunks/AGENT-SYSTEM-PROMPT.md`: paste-ready instructions for the next agent.
19
19
  - `.devpunks/AGENT-HANDOFF.md`: human-readable scaffold summary and required follow-up.
20
- - `.devpunks/scaffold-manifest.json`: source of truth for managed file update behavior.
20
+ - `.devpunks/scaffold-manifest.json`: source of truth for managed files and update behavior.
21
21
  - `.devpunks/required-tools.json`: tools implied by selected skills.
22
22
  - `.devpunks/specs/prompts/**`: instructions for final prompt files, not final prompt bodies.
23
23
  - `.devpunks/specs/lint/**`: lint asset selection and starter config guidance.
24
24
  - `.devpunks/specs/subagents/**`: desired subagent manifest shape.
25
- - `.devpunks/settings.json`: project-local `cliVersion` and `baselineVersion` pins from the last accepted scaffold-writing command.
25
+
26
+ - `.devpunks/settings.json`: project-local `cliVersion` and `baselineVersion` pins from last accepted scaffold-writing command.
26
27
 
27
28
  ## Required Follow-Through
28
29
 
@@ -33,20 +34,15 @@ After `dp scaffold setup`:
33
34
  - Reconcile pre-existing skills yourself; commands do not detect overlap. Inspect `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`. If `.devpunks/pre-existing-skills` exists, inspect it as blind pre-command evidence.
34
35
  - Exact canonical directory id/name overlap keeps the HI baseline skill active. Archive local evidence under `.devpunks/replaced-skills/<skill-id>/...`, then remove active local copies or mirrors.
35
36
  - Preserve non-overlapping local skills and expose them through harness mirrors or symlinks. Use `dp report` when archived local knowledge should be proposed for HI baseline integration; semantic overlap belongs there.
36
- - Create sibling `CLAUDE.md` symlink mirrors for neutral prompt files.
37
+ - Create sibling `CLAUDE.md` symlink mirrors for those neutral prompt files.
37
38
  - Keep `.agents/AGENTS.md` as the shared global prompt source.
38
39
  - Keep `.agents/skills/` as the main skill directory; only `.claude/skills` mirrors it.
39
- - Reconcile `.agents/subagents/manifest.mjs` with `.agents/subagents/manifest.prompt.md` and `.devpunks/specs/subagents/manifest-spec.json`.
40
- - Do not stop after saying the files exist.
41
-
42
- After `dp check`:
40
+ - Reconcile `.agents/subagents/manifest.mjs` with both `.agents/subagents/manifest.prompt.md` and `.devpunks/specs/subagents/manifest-spec.json`.
41
+ - Use lint specs to produce or update the repo's real lint config when requested.
42
+ - Ask before replacing existing lint/format tooling with Oxlint/Oxfmt. If approved, update scripts, CI/task pipelines, hooks, and docs together.
43
+ - Ask which detected core libraries to inspect when source context is broad; then use `opensrc path <package>` or `opensrc path owner/repo` for only the chosen set.
43
44
 
44
- - Treat output as a read-only session-start gate.
45
- - If CLI or baseline drift is found, summarize relevant changelog lines before doing project work.
46
- - Ask whether to remediate now. If accepted, mandatory remediation runs in a subagent.
47
- - Use `dp upgrade` for CLI drift.
48
- - Use `dp update --write` or `dp update --yes` for scaffold/baseline drift.
49
- - Parent reviews refreshed files, settings pins, and changelog summary before continuing.
45
+ Do not stop after saying the files exist.
50
46
 
51
47
  After `dp update --check` or `dp update`:
52
48
 
@@ -62,19 +58,19 @@ After `dp scaffold init`:
62
58
  - Reconcile pre-existing skills yourself using `.agents/skills`, `.claude/skills`, `.codex/skills`, `.cursor/skills`, and `.opencode/skills`; inspect `.devpunks/pre-existing-skills` when present; the command did not detect overlap.
63
59
  - Treat the seeded wiki root as provisional until it matches the repo layout.
64
60
  - Move, rename, or refactor generated init output when needed so it matches the actual repository.
65
- - Run `requirements-grill` before `write-backlog` only when the user actually asks for requirements/backlog generation.
61
+ - Run `requirements-grill` before `write-backlog` only when the user actually asks for requirements or backlog generation.
66
62
  - Use `dp scaffold setup` only after the repo is ready for repo-aware setup.
67
63
 
68
64
  After `dp report`:
69
65
 
70
66
  - Confirm the command created a GitHub issue URL before saying the report was submitted.
71
- - Include issue URL, labels, affected command, affected skill pack, and any remaining blocker if creation failed.
67
+ - Include the issue URL, labels, affected command, affected skill pack, and remaining blocker if creation failed.
72
68
  - Do not duplicate project product backlog into Harness reports unless maintainers explicitly promote it.
73
69
 
74
70
  After `dp upgrade`:
75
71
 
76
- - Report whether CLI upgraded, was already current, could not detect install manager, or failed while running the package-manager command.
77
- - Include the package manager command used when available.
72
+ - Report whether the CLI upgraded, was already current, could not detect the install manager, or failed while running the package-manager command.
73
+ - Include the package manager and command used when available.
78
74
  - If upgrade failed because registry lookup or install-manager detection failed, give the manual reinstall command for Bun, pnpm, npm, or Yarn rather than treating the repo as broken.
79
75
 
80
76
  ## Reporting
@@ -82,7 +78,7 @@ After `dp upgrade`:
82
78
  Final reports should say:
83
79
 
84
80
  - what artifacts were consumed
85
- - final files authored or reconciled
81
+ - what final files were authored or reconciled
86
82
  - report issue URL or upgrade command/result, when relevant
87
83
  - what validation ran
88
84
  - what remains unresolved, if anything
@@ -0,0 +1,42 @@
1
+ ---
2
+ name: wayfinder
3
+ description: Route a foggy frontier into the next planning kind. Use when work is too unclear for requirements, too broad for one delivery session, or needs classification as fog, grilling, research, prototype, epic, or story before backlog writing.
4
+ ---
5
+
6
+ # Wayfinder
7
+
8
+ Lean route-selection primitive for unclear work.
9
+
10
+ `wayfinder` decides the next work kind. It does not write provider payloads, create specs, plan implementation, or own backlog schema. Use `write-backlog` when the route must become provider items.
11
+
12
+ ## Route Selection
13
+
14
+ 1. Name the frontier.
15
+ - Capture the loose idea, current evidence, and why it is too foggy or broad for immediate delivery.
16
+
17
+ 2. Inspect the current operating surface.
18
+ - Prefer provider backlog state when available.
19
+ - Treat docs, specs, grill logs, and notes as evidence, not the living map.
20
+
21
+ 3. Classify the next item kind.
22
+ - `fog`: root-level uncertainty; no module or execution shape is clear yet.
23
+ - `grilling`: a human decision must close ambiguity.
24
+ - `research`: readonly investigation can answer the unknown.
25
+ - `prototype`: learning requires an artifact or experiment.
26
+ - `epic`: accepted implementation capability can anchor one future `SPEC.md`.
27
+ - `story`: accepted product-facing slice belongs under an epic.
28
+
29
+ 4. Choose placement.
30
+ - Keep `fog` at the backlog root.
31
+ - For every non-fog kind, choose or propose a module/milestone first.
32
+ - Keep stories under epics.
33
+
34
+ 5. Return a route.
35
+ - State the selected kind, placement, evidence, unresolved questions, and recommended next skill.
36
+
37
+ ## Completion Criteria
38
+
39
+ - One route is selected.
40
+ - The selected kind is one of `fog`, `grilling`, `research`, `prototype`, `epic`, or `story`.
41
+ - Provider materialization is explicitly delegated to `write-backlog` when backlog writes are needed.
42
+ - The handoff says whether the next move is requirements, research, prototype, backlog writing, spec creation, or delivery.
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: review
3
+ description: Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — Standards (does the code follow this repo's documented coding standards?) and Spec (does the code match what the originating issue/PRD asked for?). Runs both reviews in parallel sub-agents and reports them side by side. Use when the user wants to review a branch, a PR, work-in-progress changes, or asks to "review since X".
4
+ ---
5
+
6
+ Two-axis review of the diff between `HEAD` and a fixed point the user supplies:
7
+
8
+ - **Standards** — does the code conform to this repo's documented coding standards?
9
+ - **Spec** — does the code faithfully implement the originating issue / PRD / spec?
10
+
11
+ Both axes run as **parallel sub-agents** so they don't pollute each other's context, then this skill aggregates their findings.
12
+
13
+ The issue tracker should have been provided to you — run `/setup-matt-pocock-skills` if `docs/agents/issue-tracker.md` is missing.
14
+
15
+ ## Process
16
+
17
+ ### 1. Pin the fixed point
18
+
19
+ Whatever the user said is the fixed point — a commit SHA, branch name, tag, `main`, `HEAD~5`, etc. If they didn't specify one, ask for it.
20
+
21
+ Capture the diff command once: `git diff <fixed-point>...HEAD` (three-dot, so the comparison is against the merge-base). Also note the list of commits via `git log <fixed-point>..HEAD --oneline`.
22
+
23
+ Before going further, confirm the fixed point resolves (`git rev-parse <fixed-point>`) and the diff is non-empty. A bad ref or empty diff should fail here — not inside two parallel sub-agents.
24
+
25
+ ### 2. Identify the spec source
26
+
27
+ Look for the originating spec, in this order:
28
+
29
+ 1. Issue references in the commit messages (`#123`, `Closes #45`, GitLab `!67`, etc.) — fetch via the workflow in `docs/agents/issue-tracker.md`.
30
+ 2. A path the user passed as an argument.
31
+ 3. A PRD/spec file under `docs/`, `specs/`, or `.scratch/` matching the branch name or feature.
32
+ 4. If nothing is found, ask the user where the spec is. If they say there isn't one, the **Spec** sub-agent will skip and report "no spec available".
33
+
34
+ ### 3. Identify the standards sources
35
+
36
+ Anything in the repo that documents how code should be written, such as `CODING_STANDARDS.md` or `CONTRIBUTING.md`.
37
+
38
+ On top of whatever the repo documents, the Standards axis always carries the **smell baseline** below — a fixed set of Fowler code smells (_Refactoring_, ch.3) that applies even when a repo documents nothing. Two rules bind it:
39
+
40
+ - **The repo overrides.** A documented repo standard always wins; where it endorses something the baseline would flag, suppress the smell.
41
+ - **Always a judgement call.** Each smell is a labelled heuristic ("possible Feature Envy"), never a hard violation — and, like any standard here, skip anything tooling already enforces.
42
+
43
+ Each smell reads *what it is* → *how to fix*; match it against the diff:
44
+
45
+ - **Mysterious Name** — a function, variable, or type whose name doesn't reveal what it does or holds. → rename it; if no honest name comes, the design's murky.
46
+ - **Duplicated Code** — the same logic shape appears in more than one hunk or file in the change. → extract the shared shape, call it from both.
47
+ - **Feature Envy** — a method that reaches into another object's data more than its own. → move the method onto the data it envies.
48
+ - **Data Clumps** — the same few fields or params keep travelling together (a type wanting to be born). → bundle them into one type, pass that.
49
+ - **Primitive Obsession** — a primitive or string standing in for a domain concept that deserves its own type. → give the concept its own small type.
50
+ - **Repeated Switches** — the same `switch`/`if`-cascade on the same type recurs across the change. → replace with polymorphism, or one map both sites share.
51
+ - **Shotgun Surgery** — one logical change forces scattered edits across many files in the diff. → gather what changes together into one module.
52
+ - **Divergent Change** — one file or module is edited for several unrelated reasons. → split so each module changes for one reason.
53
+ - **Speculative Generality** — abstraction, parameters, or hooks added for needs the spec doesn't have. → delete it; inline back until a real need shows.
54
+ - **Message Chains** — long `a.b().c().d()` navigation the caller shouldn't depend on. → hide the walk behind one method on the first object.
55
+ - **Middle Man** — a class or function that mostly just delegates onward. → cut it, call the real target direct.
56
+ - **Refused Bequest** — a subclass or implementer that ignores or overrides most of what it inherits. → drop the inheritance, use composition.
57
+
58
+ ### 4. Spawn both sub-agents in parallel
59
+
60
+ Send a single message with two `Agent` tool calls. Use the `general-purpose` subagent for both.
61
+
62
+ **Standards sub-agent prompt** — include:
63
+
64
+ - The full diff command and commit list.
65
+ - The list of standards-source files you found in step 3, **plus the smell baseline from step 3** pasted in full — the sub-agent has no other access to it.
66
+ - The brief: "Report — per file/hunk where relevant — (a) every place the diff violates a documented standard: cite the standard (file + the rule); and (b) any baseline smell you spot: name it and quote the hunk. Distinguish hard violations from judgement calls — documented-standard breaches can be hard, but baseline smells are always judgement calls, and a documented repo standard overrides the baseline. Skip anything tooling enforces. Under 400 words."
67
+
68
+ **Spec sub-agent prompt** — include:
69
+
70
+ - The diff command and commit list.
71
+ - The path or fetched contents of the spec.
72
+ - The brief: "Report: (a) requirements the spec asked for that are missing or partial; (b) behaviour in the diff that wasn't asked for (scope creep); (c) requirements that look implemented but where the implementation looks wrong. Quote the spec line for each finding. Under 400 words."
73
+
74
+ If the spec is missing, skip the Spec sub-agent and note this in the final report.
75
+
76
+ ### 5. Aggregate
77
+
78
+ Present the two reports under `## Standards` and `## Spec` headings, verbatim or lightly cleaned. Do **not** merge or rerank findings — the two axes are deliberately separate (see _Why two axes_).
79
+
80
+ End with a one-line summary: total findings per axis, and the worst issue _within each axis_ (if any). Don't pick a single winner across axes — that's the reranking the separation exists to prevent.
81
+
82
+ ## Why two axes
83
+
84
+ A change can pass one axis and fail the other:
85
+
86
+ - Code that follows every standard but implements the wrong thing → **Standards pass, Spec fail.**
87
+ - Code that does exactly what the issue asked but breaks the project's conventions → **Spec pass, Standards fail.**
88
+
89
+ Reporting them separately stops one axis from masking the other.
@@ -1,5 +1,27 @@
1
1
  # Write Backlog Examples
2
2
 
3
+ ## From wayfinder route to backlog
4
+
5
+ Input route:
6
+
7
+ > Loose idea: partner onboarding is important, but the module boundary and first implementation capability are still foggy.
8
+
9
+ Output shape:
10
+
11
+ - Root item: `fog` — `Clarify partner onboarding frontier`
12
+ - Later module / milestone: `Partner onboarding`
13
+ - Learning items:
14
+ - `grilling` — `Choose partner invitation authority model`
15
+ - `research` — `Inspect existing auth and access control seams`
16
+ - `prototype` — `Validate invitation review screen shape`
17
+ - Accepted implementation item:
18
+ - `epic` — `Partner invitation lifecycle`
19
+ - `story` — `Operator invites a partner contact`
20
+
21
+ Closure rule:
22
+
23
+ - Close `grilling`, `research`, and `prototype` with answer, accepted direction, artifacts or evidence, and created or updated epics/stories before delivery starts.
24
+
3
25
  ## From discussion to backlog
4
26
 
5
27
  Input:
@@ -4,17 +4,24 @@
4
4
 
5
5
  `write-backlog` is the canonical backlog-authoring skill for this repo.
6
6
 
7
- It turns a large requirements discussion into:
7
+ It turns wayfinder routes, requirements discussions, grill artifacts, and accepted decisions into first-class backlog items.
8
8
 
9
- - modules
10
- - epics
11
- - stories
12
- - native ordering relations
9
+ Supported `kind` values:
10
+
11
+ - `fog`
12
+ - `grilling`
13
+ - `research`
14
+ - `prototype`
15
+ - `epic`
16
+ - `story`
13
17
 
14
18
  It does not write specs, plans, or execution handoffs.
15
19
 
16
20
  Downstream contract:
17
21
 
22
+ - every supported `kind` is visible, assignable, searchable, linkable, and closeable in the target provider
23
+ - `fog` is root-level only
24
+ - concrete `grilling`, `research`, `prototype`, `epic`, and `story` items live under a module/milestone
18
25
  - one epic maps to one future `SPEC.md`
19
26
  - child stories remain the product-facing slices beneath that epic
20
27
  - `PLAN.md` later decomposes execution without replacing the backlog model
@@ -26,6 +33,8 @@ Downstream contract:
26
33
  - a raw requirements discussion
27
34
  - an existing messy backlog
28
35
  - `requirements-grill` artifacts from `/Users/stefan/Desktop/repos/weareDevpunks-multiplai/.agents/skills/requirements-grill`
36
+ - `wayfinder` or `finder-phase` route decisions
37
+ - accepted research, prototype, or grilling closure notes
29
38
 
30
39
  When grill artifacts exist, treat them as the highest-signal structured source for backlog derivation.
31
40
 
@@ -76,36 +85,81 @@ If the grill is still materially open:
76
85
 
77
86
  ## Canonical model
78
87
 
79
- Use this hierarchy:
88
+ Use this model:
80
89
 
81
- - module
82
- - epic
83
- - story
90
+ ```text
91
+ Backlog root
92
+ fog
93
+ module/milestone
94
+ grilling
95
+ research
96
+ prototype
97
+ epic
98
+ story
99
+ ```
84
100
 
85
101
  Provider mapping:
86
102
 
103
+ - kind -> provider-native single-value kind storage where available
104
+ - fog -> root-level issue/work item/item
87
105
  - module -> milestone or provider-equivalent grouping
88
- - epic -> parent issue/work item/capability record
89
- - story -> child issue/sub-issue/work item
106
+ - grilling/research/prototype -> module/milestone-scoped issue/work item/item
107
+ - epic -> module/milestone-scoped parent issue/work item/capability record
108
+ - story -> child issue/sub-issue/work item under an epic
90
109
 
91
110
  monday.com mapping:
92
111
 
112
+ - fog -> root/backlog group item or root planning group item
93
113
  - module/milestone -> board group
114
+ - grilling/research/prototype -> parent item in a module group
94
115
  - epic/capability -> parent item
95
116
  - story -> subitem
96
117
  - story ordering -> dependency column when present
97
118
 
98
119
  Rules:
99
120
 
100
- - every story must be independently understandable
101
- - every story must describe product behavior, not implementation chores
121
+ - every supported kind must be a first-class backlog item
122
+ - `kind` is separate from workflow state, module grouping, and parent/child hierarchy
123
+ - `fog` must not have child tickets by default
124
+ - concrete non-fog items must first choose or create a module/milestone
125
+ - `grilling`, `research`, and `prototype` must close into accepted decisions before they create or update implementation epics/stories
126
+ - every story must be independently understandable and product-facing
102
127
  - one epic may contain multiple stories
103
128
  - one epic maps to one future `SPEC.md`
104
129
  - one story does not imply one future `SPEC.md`
105
130
 
106
131
  ## Body ownership
107
132
 
108
- Backlog bodies stay product-facing.
133
+ Backlog bodies stay product-facing and kind-appropriate.
134
+
135
+ Fog bodies may include:
136
+
137
+ - unclear frontier
138
+ - why it is not yet module-scoped
139
+ - suspected modules or outcomes
140
+ - next route candidates
141
+
142
+ Grilling bodies may include:
143
+
144
+ - decision question
145
+ - context
146
+ - options
147
+ - branch/artifact links
148
+ - closure note with accepted answer and downstream items
149
+
150
+ Research bodies may include:
151
+
152
+ - research question
153
+ - evidence sources
154
+ - answer criteria
155
+ - closure note with evidence and downstream items
156
+
157
+ Prototype bodies may include:
158
+
159
+ - learning goal
160
+ - artifact expectations
161
+ - acceptance signal for the prototype result
162
+ - closure note with artifact links and downstream items
109
163
 
110
164
  Epic bodies may include:
111
165
 
@@ -122,7 +176,7 @@ Story bodies may include:
122
176
  - links
123
177
  - approved artifact links or durable visual asset links when they are acceptance context
124
178
 
125
- Do not put these in epic or story bodies:
179
+ Do not put these in backlog bodies:
126
180
 
127
181
  - plan task ids
128
182
  - TDD targets
@@ -145,13 +199,24 @@ Avoid:
145
199
  - fake ordering labels when native blockers exist
146
200
  - using plan tasks as backlog children
147
201
 
148
- ## Derivation workflow
202
+ ## Kind selection workflow
203
+
204
+ ### 1. Decide whether the frontier is still fog
205
+
206
+ Use `fog` when the work is real but not yet sharp enough to choose a module/milestone or concrete learning/implementation ticket.
149
207
 
150
- ### 1. Derive modules
208
+ Do not use `fog` as:
151
209
 
152
- Split the requirements discussion into durable capability groups that would still make sense if implementation order changed.
210
+ - a parent for research or grilling tickets
211
+ - delivery scope
212
+ - a `SPEC.md` anchor
213
+ - an execution container
153
214
 
154
- Good module:
215
+ ### 2. Derive modules
216
+
217
+ For concrete non-fog work, split the discussion into durable capability groups that would still make sense if implementation order changed.
218
+
219
+ Good module/milestone:
155
220
 
156
221
  - intake and review
157
222
  - account lifecycle
@@ -162,7 +227,17 @@ Bad module:
162
227
  - backend foundation
163
228
  - frontend polish
164
229
 
165
- ### 2. Derive epics
230
+ ### 3. Derive learning items
231
+
232
+ Use these before implementation scope is accepted:
233
+
234
+ - `grilling`: the blocker is a human decision.
235
+ - `research`: readonly investigation can answer it.
236
+ - `prototype`: artifact-driven learning is needed.
237
+
238
+ Each item must live under a module/milestone and close with an accepted decision note before changing epics/stories.
239
+
240
+ ### 4. Derive epics
166
241
 
167
242
  Within each module, create epics/capabilities that will later justify one coherent spec.
168
243
 
@@ -176,7 +251,7 @@ Bad epic:
176
251
  - database schema
177
252
  - API routes
178
253
 
179
- ### 3. Derive stories
254
+ ### 5. Derive stories
180
255
 
181
256
  Break each epic into stories only when the slice is product-facing and independently observable.
182
257
 
@@ -190,7 +265,7 @@ Bad story:
190
265
  - add column and router
191
266
  - create mutation and form hook
192
267
 
193
- ### 4. Add native order
268
+ ### 6. Add native order
194
269
 
195
270
  Only add blockers when one story truly depends on another story outcome.
196
271
 
@@ -223,6 +298,17 @@ Do not:
223
298
  - treat partially closed branches as committed epic scope by default
224
299
  - ignore canonical terminology captured in the grill log
225
300
 
301
+ ## Closure and handoff
302
+
303
+ For `grilling`, `research`, and `prototype`, closure notes must include:
304
+
305
+ - answer
306
+ - accepted direction
307
+ - artifacts or evidence
308
+ - created or updated epics/stories
309
+
310
+ Do not create or update implementation `epic` or `story` items from unresolved learning work.
311
+
226
312
  ## Handoff to `create-spec`
227
313
 
228
314
  When `create-spec` is given a backlog-backed epic:
@@ -234,13 +320,14 @@ When `create-spec` is given a backlog-backed epic:
234
320
 
235
321
  ## Provider policy
236
322
 
237
- This skill documents raw provider create/setup payloads only.
323
+ This skill documents raw provider create/setup payloads and provider-native kind storage.
238
324
 
239
325
  In scope:
240
326
 
241
327
  - create issue/work item payload shapes
242
328
  - create provider containers needed for the canonical hierarchy
243
329
  - required vs optional fields
330
+ - how `kind` appears at creation time
244
331
  - how module/epic/story intent appears at creation time
245
332
 
246
333
  Out of scope: