@jakkrichm/create-nexus-devflow 2.0.25 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -8
- package/dist/bin/create-nexus-devflow.d.ts +22 -1
- package/dist/bin/create-nexus-devflow.js +658 -11
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/branch-context.d.ts +39 -0
- package/dist/lib/branch-context.js +196 -0
- package/dist/lib/branch-context.js.map +1 -0
- package/dist/lib/code-graph.d.ts +30 -0
- package/dist/lib/code-graph.js +209 -0
- package/dist/lib/code-graph.js.map +1 -0
- package/dist/lib/command-catalog.d.ts +11 -0
- package/dist/lib/command-catalog.js +63 -0
- package/dist/lib/command-catalog.js.map +1 -0
- package/dist/lib/context-slicer.d.ts +31 -0
- package/dist/lib/context-slicer.js +234 -0
- package/dist/lib/context-slicer.js.map +1 -0
- package/dist/lib/current-work.js +97 -49
- package/dist/lib/current-work.js.map +1 -1
- package/dist/lib/dashboard-page.d.ts +2 -0
- package/dist/lib/dashboard-page.js +285 -0
- package/dist/lib/dashboard-page.js.map +1 -0
- package/dist/lib/dashboard-snapshot.d.ts +62 -0
- package/dist/lib/dashboard-snapshot.js +114 -0
- package/dist/lib/dashboard-snapshot.js.map +1 -0
- package/dist/lib/dashboard.d.ts +2 -0
- package/dist/lib/dashboard.js +398 -8
- package/dist/lib/dashboard.js.map +1 -1
- package/dist/lib/discoveries.d.ts +19 -0
- package/dist/lib/discoveries.js +81 -0
- package/dist/lib/discoveries.js.map +1 -0
- package/dist/lib/doctor.d.ts +26 -0
- package/dist/lib/doctor.js +474 -0
- package/dist/lib/doctor.js.map +1 -0
- package/dist/lib/drift-reconciler.d.ts +38 -0
- package/dist/lib/drift-reconciler.js +155 -0
- package/dist/lib/drift-reconciler.js.map +1 -0
- package/dist/lib/findings.d.ts +26 -2
- package/dist/lib/findings.js +165 -1
- package/dist/lib/findings.js.map +1 -1
- package/dist/lib/gatekeeper.d.ts +20 -0
- package/dist/lib/gatekeeper.js +106 -0
- package/dist/lib/gatekeeper.js.map +1 -0
- package/dist/lib/git-hooks.d.ts +16 -0
- package/dist/lib/git-hooks.js +103 -0
- package/dist/lib/git-hooks.js.map +1 -0
- package/dist/lib/history.d.ts +6 -1
- package/dist/lib/history.js +98 -11
- package/dist/lib/history.js.map +1 -1
- package/dist/lib/ide-extension.d.ts +38 -0
- package/dist/lib/ide-extension.js +61 -0
- package/dist/lib/ide-extension.js.map +1 -0
- package/dist/lib/ideas.d.ts +26 -0
- package/dist/lib/ideas.js +179 -0
- package/dist/lib/ideas.js.map +1 -0
- package/dist/lib/mcp.d.ts +36 -0
- package/dist/lib/mcp.js +653 -0
- package/dist/lib/mcp.js.map +1 -0
- package/dist/lib/status.d.ts +3 -1
- package/dist/lib/status.js +60 -6
- package/dist/lib/status.js.map +1 -1
- package/dist/lib/swarm-orchestrator.d.ts +31 -0
- package/dist/lib/swarm-orchestrator.js +134 -0
- package/dist/lib/swarm-orchestrator.js.map +1 -0
- package/dist/lib/update.js +2 -2
- package/dist/lib/update.js.map +1 -1
- package/dist/lib/version-check.d.ts +22 -0
- package/dist/lib/version-check.js +59 -0
- package/dist/lib/version-check.js.map +1 -0
- package/dist/lib/webview-studio.d.ts +8 -0
- package/dist/lib/webview-studio.js +463 -0
- package/dist/lib/webview-studio.js.map +1 -0
- package/dist/lib/workflow-state.d.ts +23 -0
- package/dist/lib/workflow-state.js +128 -0
- package/dist/lib/workflow-state.js.map +1 -0
- package/dist/scripts/prepare-template.js +3 -3
- package/package.json +1 -1
- package/template/{.claude/skills/00-discover → .agents/skills/00-explore}/SKILL.md +10 -10
- package/template/.agents/skills/10-define/SKILL.md +4 -4
- package/template/.agents/skills/20-spec/SKILL.md +2 -3
- package/template/.agents/skills/30-plan/SKILL.md +2 -3
- package/template/.agents/skills/40-execute/SKILL.md +2 -2
- package/template/.agents/skills/50-verify/SKILL.md +2 -2
- package/template/.agents/skills/60-report/SKILL.md +3 -3
- package/template/{.claude/skills/70-release → .agents/skills/70-deliver}/SKILL.md +7 -13
- package/template/.agents/skills/adopt/SKILL.md +136 -73
- package/template/.agents/skills/audit/SKILL.md +275 -0
- package/template/.agents/skills/autopilot/SKILL.md +228 -147
- package/template/.agents/skills/brainstorm/SKILL.md +3 -3
- package/template/.agents/skills/brief/SKILL.md +74 -51
- package/template/.agents/skills/check/SKILL.md +96 -76
- package/template/.agents/skills/ci/SKILL.md +140 -61
- package/template/.agents/skills/complete/SKILL.md +156 -101
- package/template/.agents/skills/convert-any-to-md/SKILL.md +2 -2
- package/template/.agents/skills/debug/SKILL.md +124 -49
- package/template/.agents/skills/devflow/SKILL.md +16 -10
- package/template/.agents/skills/discovery/SKILL.md +166 -0
- package/template/.agents/skills/doctor/SKILL.md +188 -72
- package/template/.agents/skills/feature/SKILL.md +195 -102
- package/template/.agents/skills/fix/SKILL.md +41 -90
- package/template/.agents/skills/idea/SKILL.md +3 -3
- package/template/.agents/skills/implement/SKILL.md +189 -46
- package/template/.agents/skills/onboard/SKILL.md +215 -85
- package/template/.agents/skills/overview/SKILL.md +51 -85
- package/template/.agents/skills/prototype/SKILL.md +82 -27
- package/template/.agents/skills/release/SKILL.md +160 -0
- package/template/.agents/skills/report-html/SKILL.md +2 -2
- package/template/.agents/skills/rollback/SKILL.md +123 -77
- package/template/.agents/skills/status/SKILL.md +109 -0
- package/template/.agents/skills/test/SKILL.md +2 -2
- package/template/.agents/skills/tests/SKILL.md +126 -0
- package/template/.agents/skills/try/SKILL.md +77 -65
- package/template/{.agents/skills/00-discover → .claude/skills/00-explore}/SKILL.md +9 -9
- package/template/.claude/skills/10-define/SKILL.md +2 -2
- package/template/.claude/skills/20-spec/SKILL.md +1 -1
- package/template/.claude/skills/30-plan/SKILL.md +1 -1
- package/template/.claude/skills/60-report/SKILL.md +1 -1
- package/template/{.agents/skills/70-release → .claude/skills/70-deliver}/SKILL.md +6 -12
- package/template/.claude/skills/adopt/SKILL.md +2 -2
- package/template/.claude/skills/audit/SKILL.md +141 -0
- package/template/.claude/skills/autopilot/SKILL.md +74 -52
- package/template/.claude/skills/brief/SKILL.md +67 -45
- package/template/.claude/skills/ci/SKILL.md +1 -1
- package/template/.claude/skills/complete/SKILL.md +1 -1
- package/template/.claude/skills/debug/SKILL.md +1 -1
- package/template/.claude/skills/devflow/SKILL.md +7 -7
- package/template/.claude/skills/discovery/SKILL.md +145 -0
- package/template/.claude/skills/doctor/SKILL.md +1 -1
- package/template/.claude/skills/feature/SKILL.md +67 -18
- package/template/.claude/skills/fix/SKILL.md +1 -1
- package/template/.claude/skills/idea/SKILL.md +2 -2
- package/template/.claude/skills/onboard/SKILL.md +3 -3
- package/template/.claude/skills/overview/SKILL.md +39 -88
- package/template/.claude/skills/prototype/SKILL.md +1 -1
- package/template/.claude/skills/release/SKILL.md +171 -0
- package/template/.claude/skills/rollback/SKILL.md +2 -2
- package/template/AGENTS.md +5 -5
- package/template/devflow/build-plan.md +62 -0
- package/template/devflow/context/ai-interaction.md +4 -4
- package/template/devflow/context/coding-standards.md +3 -3
- package/template/devflow/context/current-stage.md +1 -1
- package/template/devflow/context/findings.md +1 -1
- package/template/devflow/history/HISTORY.md +2 -2
- package/template/devflow/project-plan.md +79 -0
- package/template/devflow/reference/mockup.html +476 -0
- package/template/devflow/reference/project-overview-template.md +39 -0
- package/template/devflow/reference/running-id-contract.md +24 -2
- package/template/devflow/reference/studio.html +504 -0
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: discovery
|
|
3
|
+
description: "[devflow][B] Optional deep, multi-turn project discovery that helps the user develop detailed Blueprint project-plan.md and build-plan.md files through an adaptive conversation, then drafts them only after the user says they are ready. Use when the user explicitly runs /discovery or $discovery, asks for a guided planning interview, wants to think through a new product before writing the plans, or wants help deepening existing plans. Do not use merely because planning files are empty, after /onboard, or before /overview; users may always write the plans directly or create them through any conversation they prefer."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# discovery - develop the plans through a deep conversation
|
|
7
|
+
|
|
8
|
+
Where this can sit in the workflow:
|
|
9
|
+
|
|
10
|
+
/onboard -> write the plans directly -> /overview
|
|
11
|
+
\
|
|
12
|
+
-> [discovery] -> review and approve plan drafts -> /overview
|
|
13
|
+
|
|
14
|
+
`/discovery` is an optional planning partner, not a required workflow gate and
|
|
15
|
+
not a quick questionnaire. It can span as many turns as the project needs. Its
|
|
16
|
+
job is to help the user think through the product, preserve the depth and nuance
|
|
17
|
+
of that conversation, and draft the two user-owned planning files only when the
|
|
18
|
+
user asks for drafts.
|
|
19
|
+
|
|
20
|
+
Running `/onboard` never starts this skill. Empty plans never require it. A user
|
|
21
|
+
who writes detailed plans manually, has another AI conversation, or arrives with
|
|
22
|
+
finished plans continues directly to `/overview` exactly as before.
|
|
23
|
+
|
|
24
|
+
## Step 1 - establish the starting point
|
|
25
|
+
|
|
26
|
+
Read only the planning and project facts needed for the conversation:
|
|
27
|
+
|
|
28
|
+
- `devflow/project-plan.md`
|
|
29
|
+
- `devflow/build-plan.md`
|
|
30
|
+
- the root project manifest, README, and framework configuration when they
|
|
31
|
+
already contain relevant facts
|
|
32
|
+
- `devflow/context/project-overview.md` only when the user is revisiting an
|
|
33
|
+
established project's direction
|
|
34
|
+
|
|
35
|
+
Classify each planning file as a template, partial draft, or substantive plan.
|
|
36
|
+
Never treat existing user content as disposable. When either plan has real
|
|
37
|
+
content, summarize what it already establishes and ask whether the user wants to
|
|
38
|
+
deepen it, revise a specific direction, or use it unchanged as conversation
|
|
39
|
+
context. Do not replace it with a fresh generic plan.
|
|
40
|
+
|
|
41
|
+
Start with a short working hypothesis about the project and name the most
|
|
42
|
+
important unknown. Then ask one focused question. Do not draft either plan yet.
|
|
43
|
+
|
|
44
|
+
## Step 2 - run adaptive discovery
|
|
45
|
+
|
|
46
|
+
Ask one meaningful question at a time and let each answer shape the next one.
|
|
47
|
+
Prefer a likely interpretation the user can correct over a vague request for
|
|
48
|
+
more detail. Explain a tradeoff when the answer would materially change scope,
|
|
49
|
+
architecture, cost, or build order.
|
|
50
|
+
|
|
51
|
+
Cover the areas that matter to this project, not a fixed questionnaire:
|
|
52
|
+
|
|
53
|
+
- problem, desired outcome, and why the project should exist
|
|
54
|
+
- target users, their context, and their primary workflows
|
|
55
|
+
- MVP capabilities, explicit non-goals, and later possibilities
|
|
56
|
+
- business rules, data, integrations, permissions, and important edge cases
|
|
57
|
+
- stack choices, constraints, dependencies, and technical unknowns
|
|
58
|
+
- UI/UX direction, accessibility needs, and useful references
|
|
59
|
+
- monetization or business model when relevant
|
|
60
|
+
- deployment shape, environments, background work, storage, and operations
|
|
61
|
+
- risks, assumptions, unresolved decisions, and how success will be judged
|
|
62
|
+
- feature boundaries, dependencies, and a sensible build order
|
|
63
|
+
|
|
64
|
+
Depth is the goal. Follow a consequential answer until its implications are
|
|
65
|
+
clear instead of racing to the next category. Do not ask the user to repeat facts
|
|
66
|
+
already established in the conversation or repository. Do not force irrelevant
|
|
67
|
+
topics merely to complete a checklist.
|
|
68
|
+
|
|
69
|
+
Periodically return a compact discovery snapshot with:
|
|
70
|
+
|
|
71
|
+
- confirmed decisions
|
|
72
|
+
- working assumptions that still need confirmation
|
|
73
|
+
- open questions or conflicts
|
|
74
|
+
- ideas explicitly deferred or excluded
|
|
75
|
+
|
|
76
|
+
The snapshot keeps a long conversation coherent. It is not permission to write
|
|
77
|
+
the plans.
|
|
78
|
+
|
|
79
|
+
## Step 3 - decide whether the plans are ready
|
|
80
|
+
|
|
81
|
+
Do not end discovery because a preset number of questions has been reached. It
|
|
82
|
+
is ready to draft when:
|
|
83
|
+
|
|
84
|
+
- the problem, users, and core workflows are concrete
|
|
85
|
+
- MVP scope and non-goals are distinguishable
|
|
86
|
+
- data and technical choices are detailed enough to expose major dependencies
|
|
87
|
+
- the build order can be expressed as feature-sized outcomes
|
|
88
|
+
- important contradictions are resolved
|
|
89
|
+
- remaining unknowns are either safe to defer or explicitly accepted as TODOs
|
|
90
|
+
- the user says they are ready for the plans to be drafted
|
|
91
|
+
|
|
92
|
+
If the user asks for drafts while a material gap remains, name the gap and ask
|
|
93
|
+
whether to continue discovery or preserve it as an explicit TODO. Respect the
|
|
94
|
+
choice. The user may also stop at any time and write the plans manually.
|
|
95
|
+
|
|
96
|
+
## Step 4 - draft both planning files
|
|
97
|
+
|
|
98
|
+
When the user asks for drafts, produce complete proposed contents for both files
|
|
99
|
+
without writing them yet.
|
|
100
|
+
|
|
101
|
+
For `devflow/project-plan.md`:
|
|
102
|
+
|
|
103
|
+
- keep the template's main subject areas, adding useful sections when the
|
|
104
|
+
conversation requires them
|
|
105
|
+
- preserve rationale, examples, tradeoffs, constraints, edge cases, and
|
|
106
|
+
exclusions that will matter during later feature work
|
|
107
|
+
- be as detailed as the project needs; never compress a rich discovery into a
|
|
108
|
+
line or two per section
|
|
109
|
+
- distinguish confirmed decisions from assumptions and TODOs
|
|
110
|
+
|
|
111
|
+
For `devflow/build-plan.md`:
|
|
112
|
+
|
|
113
|
+
- use numbered checkboxes and optional milestone headings
|
|
114
|
+
- keep each item a high-level, feature-sized outcome with a concise description
|
|
115
|
+
- order items by dependency and the earliest useful vertical slice
|
|
116
|
+
- keep implementation detail in later `/feature` specs rather than turning the
|
|
117
|
+
roadmap into a task dump
|
|
118
|
+
- include only agreed scope; place deferred ideas outside the MVP or omit them as
|
|
119
|
+
the user directed
|
|
120
|
+
|
|
121
|
+
If substantive plans already exist, preserve their information and completed
|
|
122
|
+
build-plan numbering. Clearly identify proposed additions, removals, or changed
|
|
123
|
+
decisions.
|
|
124
|
+
|
|
125
|
+
End by asking the user to review the full drafts. Do not write either file in the
|
|
126
|
+
same response that first presents them.
|
|
127
|
+
|
|
128
|
+
## Step 5 - write only after approval
|
|
129
|
+
|
|
130
|
+
Write the approved drafts only after the user explicitly approves them. If the
|
|
131
|
+
user requests changes, revise the drafts and show the affected sections again
|
|
132
|
+
before writing.
|
|
133
|
+
|
|
134
|
+
After writing:
|
|
135
|
+
|
|
136
|
+
- report which files changed
|
|
137
|
+
- list any retained TODOs or unresolved decisions
|
|
138
|
+
- remind the user that both files remain theirs to edit and deepen directly
|
|
139
|
+
- stop before generating `devflow/context/project-overview.md`
|
|
140
|
+
- point to `/overview` or `$overview` as the next optional command when the user
|
|
141
|
+
is satisfied with the plans
|
|
142
|
+
|
|
143
|
+
## Rules
|
|
144
|
+
|
|
145
|
+
- This skill is always optional. Never make it a prerequisite for `/overview`,
|
|
146
|
+
`/feature`, or any other Blueprint command.
|
|
147
|
+
- Never start it automatically from `/onboard`, because planning files are
|
|
148
|
+
empty, or because a project is new.
|
|
149
|
+
- Never imply that plans created manually or through another conversation are
|
|
150
|
+
inferior or incomplete merely because this skill was not used.
|
|
151
|
+
- Never overwrite substantive planning content without showing the replacement
|
|
152
|
+
and receiving explicit approval.
|
|
153
|
+
- Never write plans during the interview or after a vague signal such as "looks
|
|
154
|
+
good." The user must explicitly approve the proposed file contents.
|
|
155
|
+
- Never scaffold the app, edit product code, generate the overview, create a
|
|
156
|
+
feature spec, commit, merge, push, or deploy.
|
|
157
|
+
- Preserve detailed project reasoning in `project-plan.md`, while keeping
|
|
158
|
+
`build-plan.md` high-level and trackable.
|
|
159
|
+
- Keep the conversation adaptive. Depth comes from relevant follow-up questions,
|
|
160
|
+
not from mechanically asking every possible question.
|
|
161
|
+
|
|
162
|
+
## Formatting
|
|
163
|
+
|
|
164
|
+
Follow `devflow/context/ai-interaction.md`. During discovery, ask one focused
|
|
165
|
+
question per turn. For snapshots and draft reviews, use concise headings and
|
|
166
|
+
lists so confirmed decisions and remaining gaps are easy to inspect.
|
|
@@ -1,84 +1,200 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: doctor
|
|
3
|
-
description: "[
|
|
3
|
+
description: "[devflow][B] Run a read-only Blueprint health check for setup, onboarding, required files, tool adapters, commands, optional verification and CI, Blueprint visibility, ignore rules, planning readiness, overview freshness, and workflow drift. Use when the user runs /doctor, asks whether the Blueprint is installed correctly, wants a health check, setup check, doctor pass, or says something feels off before starting or resuming work."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
# doctor -
|
|
6
|
+
# doctor - Blueprint health check
|
|
7
7
|
|
|
8
8
|
Where this sits in the workflow:
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
(read-only inspection) (diagnostics) (remediation recommendations)
|
|
13
|
-
```
|
|
10
|
+
any time -> [doctor] -> reads setup + plans + workflow state + git
|
|
11
|
+
(read-only) prints health, warnings, and repair order
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
This skill answers one question: *is this Blueprint project ready to use?* It is
|
|
14
|
+
the diagnostic pass for setup drift, incomplete onboarding, missing files,
|
|
15
|
+
placeholder plans, stale generated context, Blueprint visibility, and confusing
|
|
16
|
+
workflow state. It never changes anything: no edits, no commits, no installs, no
|
|
17
|
+
builds, no branch changes.
|
|
16
18
|
|
|
17
|
-
|
|
19
|
+
Use `/status` when the user mainly wants progress and the next build action. Use
|
|
20
|
+
`/doctor` when the user wants to know whether the workflow itself is healthy.
|
|
18
21
|
|
|
19
22
|
## Input
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- Check
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
24
|
+
None. `/doctor` takes no argument.
|
|
25
|
+
|
|
26
|
+
## What it checks
|
|
27
|
+
|
|
28
|
+
Gather these, then summarize. Do not dump file contents.
|
|
29
|
+
|
|
30
|
+
1. **Required Blueprint files**
|
|
31
|
+
- Confirm `AGENTS.md`, `blueprint/`, `devflow/project-plan.md`,
|
|
32
|
+
`devflow/build-plan.md`, and `devflow/context/` exist.
|
|
33
|
+
- Confirm `devflow/context/coding-standards.md`,
|
|
34
|
+
`devflow/context/ai-interaction.md`,
|
|
35
|
+
`devflow/context/current-feature.md`, and
|
|
36
|
+
`devflow/context/project-overview.md` exist.
|
|
37
|
+
- Confirm `devflow/history/features/` and `devflow/history/fixes/` exist.
|
|
38
|
+
When the rollback skill is installed, also check
|
|
39
|
+
`devflow/history/rollbacks/`. A missing rollback folder on a legacy
|
|
40
|
+
installation is a warning, not a blocker; `/complete` creates it on the
|
|
41
|
+
first rollback.
|
|
42
|
+
- Check `devflow/context/findings.md`. Missing on a legacy installation is
|
|
43
|
+
a warning, not a blocker; `/audit` and `/complete` create it on first use.
|
|
44
|
+
When present, confirm its entry headers still match
|
|
45
|
+
`### <id> [<severity>] <status> - <title>` and warn on a malformed ledger.
|
|
46
|
+
Report any P0 or P1 finding still `open` or `fixed` by ID, since it will
|
|
47
|
+
block `/complete`. Never block on the ledger yourself.
|
|
48
|
+
- If `.gitignore` marks Blueprint workflow files as local-only, still require
|
|
49
|
+
the files to exist on disk. Ignored but present is healthy; ignored and
|
|
50
|
+
missing means the local workflow needs to be restored.
|
|
51
|
+
2. **Tool adapters**
|
|
52
|
+
- Confirm at least one adapter exists: `.agents/skills/` for Codex or
|
|
53
|
+
`.claude/skills/` for Claude Code.
|
|
54
|
+
- If both adapters are present, say that is healthy when both tools are used.
|
|
55
|
+
- If both adapters are present, compare their skill folder names. Warn about
|
|
56
|
+
missing skills on either side.
|
|
57
|
+
- If git shows changes under `.agents/skills/` or `.claude/skills/`, check
|
|
58
|
+
the matching adapter file too. Warn when workflow behavior was updated in
|
|
59
|
+
one adapter but not the other.
|
|
60
|
+
- If only one tool is used, mention the unused adapter can be deleted. Do not
|
|
61
|
+
treat extra adapters as an error.
|
|
62
|
+
- If `CLAUDE.md` exists and still starts with `# Project Name`, flag that
|
|
63
|
+
`/onboard` probably has not finished.
|
|
64
|
+
3. **Commands and project setup**
|
|
65
|
+
- Check whether root `README.md` is still the copied Blueprint workflow doc
|
|
66
|
+
by looking for `# AI Coding Blueprint` or opening text that describes the
|
|
67
|
+
Blueprint workflow instead of the app. If so, warn that `/onboard` should
|
|
68
|
+
replace it with a project README before publishing.
|
|
69
|
+
- If `devflow/README.md` clearly contains copied Blueprint workflow docs,
|
|
70
|
+
report it as an obsolete installer artifact. Its absence is healthy. An
|
|
71
|
+
unchanged managed copy can be removed by the updater; a modified copy needs
|
|
72
|
+
user review.
|
|
73
|
+
- Check whether `AGENTS.md` has a `## Commands` section with dev and build
|
|
74
|
+
commands.
|
|
75
|
+
- Report missing lint or test commands as informational unless the project has
|
|
76
|
+
real lint or test scripts elsewhere that are not reflected in `AGENTS.md`.
|
|
77
|
+
- If `package.json` exists, compare its scripts against `AGENTS.md` at a high
|
|
78
|
+
level. Do not require every script to be documented.
|
|
79
|
+
- If `AGENTS.md` declares a `Verify` command, confirm it resolves to real
|
|
80
|
+
project commands in the expected order: typecheck, tests when configured,
|
|
81
|
+
then build. Do not require checks the project does not have.
|
|
82
|
+
- If `.github/workflows/verify.yml` exists, confirm it runs the exact documented
|
|
83
|
+
`Verify` command for pull requests and pushes to the default branch, uses the
|
|
84
|
+
detected runtime and package manager, and starts with read-only contents
|
|
85
|
+
permission. Preserve other workflows and report overlap for review.
|
|
86
|
+
- A missing `Verify` command or GitHub workflow is informational. It means the
|
|
87
|
+
optional automatic-check setup was not selected, not that the Blueprint is
|
|
88
|
+
unhealthy.
|
|
89
|
+
4. **Ignore rules**
|
|
90
|
+
- Check obvious ignore patterns for the detected stack. For Node or Astro,
|
|
91
|
+
look for `node_modules`, `.env`, `dist`, and framework cache folders such as
|
|
92
|
+
`.astro` or `.next` when relevant.
|
|
93
|
+
- Detect local-only Blueprint mode if `.gitignore` ignores `.agents/`,
|
|
94
|
+
`.claude/`, `blueprint/`, or `CLAUDE.md`. Report it as a visibility choice,
|
|
95
|
+
not a failure, when the local files exist.
|
|
96
|
+
- In local-only mode, check whether tracked `AGENTS.md` still describes the
|
|
97
|
+
Blueprint workflow, lists hidden adapter paths, or exposes the core skill
|
|
98
|
+
list. If so, warn that `/onboard` should make `AGENTS.md` public-safe.
|
|
99
|
+
- If local-only mode is active but those paths are already tracked by git,
|
|
100
|
+
warn that `.gitignore` does not hide tracked files and the user must approve
|
|
101
|
+
any `git rm --cached` cleanup separately.
|
|
102
|
+
- Keep this conservative. If uncertain, report "review" instead of failure.
|
|
103
|
+
5. **Planning readiness**
|
|
104
|
+
- Check whether `devflow/project-plan.md` and `devflow/build-plan.md` look
|
|
105
|
+
filled in or still template-like. Treat obvious TODO, TBD, example-only text,
|
|
106
|
+
or empty required sections as not ready.
|
|
107
|
+
- Check whether `devflow/build-plan.md` is a numbered checkbox list. Raw
|
|
108
|
+
bullets are allowed as a first draft, but they should be normalized by
|
|
109
|
+
`/overview` before the build loop starts.
|
|
110
|
+
- Count checked and unchecked leaf items in `devflow/build-plan.md`.
|
|
111
|
+
6. **Overview freshness**
|
|
112
|
+
- Check whether `devflow/context/project-overview.md` exists and looks
|
|
113
|
+
generated from the current plans.
|
|
114
|
+
- If either planning file appears newer than the overview by filesystem time,
|
|
115
|
+
call the overview possibly stale and suggest `/overview` before feature work.
|
|
116
|
+
7. **Current workflow state**
|
|
117
|
+
- Check whether `devflow/context/current-feature.md` is the reset stub or an
|
|
118
|
+
active feature, fix, or rollback spec.
|
|
119
|
+
- If a spec is active, report checked and unchecked implementation steps.
|
|
120
|
+
- If `current-feature.md` is the reset stub but git has source or workflow
|
|
121
|
+
changes, warn that work is happening without an active spec.
|
|
122
|
+
- Flag active spec on `main`, all spec steps checked but no completion, or a
|
|
123
|
+
branch that does not match `feature/`, `fix/`, or `rollback/` for the spec
|
|
124
|
+
type. For a feature, also flag a mismatch with the next unchecked
|
|
125
|
+
build-plan item. For a rollback, confirm its target is a checked item and do
|
|
126
|
+
not compare it to the next unchecked item.
|
|
127
|
+
8. **Git**
|
|
128
|
+
- Report current branch, clean vs dirty working tree, rough changed-file count,
|
|
129
|
+
last commit subject, and whether the branch is ahead of upstream.
|
|
130
|
+
- If the directory is not a git repo, report that as a setup issue and keep
|
|
131
|
+
going.
|
|
132
|
+
|
|
133
|
+
## Output
|
|
134
|
+
|
|
135
|
+
Print a compact health report with these labels:
|
|
136
|
+
|
|
137
|
+
Health: Pass | Needs attention | Blocked
|
|
138
|
+
Setup: ...
|
|
139
|
+
Verification: ...
|
|
140
|
+
Adapters: ...
|
|
141
|
+
Visibility: ...
|
|
142
|
+
Plans: ...
|
|
143
|
+
Workflow: ...
|
|
144
|
+
Git: ...
|
|
145
|
+
Watch: ...
|
|
146
|
+
Repair order: ...
|
|
147
|
+
|
|
148
|
+
Use `Watch:` only when there are warnings. Use `Repair order:` for the exact next
|
|
149
|
+
steps, in order. Keep it short and practical.
|
|
150
|
+
|
|
151
|
+
Choose the repair order in this priority:
|
|
152
|
+
|
|
153
|
+
- Required Blueprint files missing -> overlay the Blueprint again, or use
|
|
154
|
+
`/adopt` for a brownfield app.
|
|
155
|
+
- No git repo -> initialize git before using the build loop.
|
|
156
|
+
- No tool adapter -> restore `.agents/skills/` or `.claude/skills/` for the tool
|
|
157
|
+
being used.
|
|
158
|
+
- Onboarding incomplete -> run `/onboard`.
|
|
159
|
+
- Root README is still the Blueprint workflow doc -> run `/onboard` to replace
|
|
160
|
+
it with a project README before publishing.
|
|
161
|
+
- Local-only visibility selected but ignored Blueprint files are missing ->
|
|
162
|
+
reinstall or restore the Blueprint files locally.
|
|
163
|
+
- Local-only visibility selected but Blueprint paths are tracked -> ask whether
|
|
164
|
+
to untrack them with `git rm --cached` while keeping local files.
|
|
165
|
+
- Local-only visibility selected but `AGENTS.md` still exposes the workflow ->
|
|
166
|
+
run `/onboard` to make `AGENTS.md` a lightweight public project guide.
|
|
167
|
+
- A documented `Verify` command, project script, and GitHub workflow disagree ->
|
|
168
|
+
run `/ci` to review and align them. Missing optional CI alone does not need
|
|
169
|
+
repair.
|
|
170
|
+
- Commands or ignore rules need review -> update the files or run `/onboard` if
|
|
171
|
+
this is an early project.
|
|
172
|
+
- Plans are placeholders -> fill `devflow/project-plan.md` and
|
|
173
|
+
`devflow/build-plan.md`.
|
|
174
|
+
- Overview missing or stale -> run `/overview`.
|
|
175
|
+
- Active spec has unchecked steps -> run `/status` or `/implement`, depending on
|
|
176
|
+
whether the user wants orientation or action.
|
|
177
|
+
- A P0 or P1 finding is `open` -> repair it through `/implement` while a spec
|
|
178
|
+
is active, or `/fix <finding id>` between work items. One that is `fixed` ->
|
|
179
|
+
`/audit` to re-review and close it. Both come before suggesting `/complete`.
|
|
180
|
+
- Active spec is done but not closed -> run `/check`, then `/complete`.
|
|
181
|
+
- Everything is healthy -> say so, then suggest `/status` for progress or
|
|
182
|
+
`/feature` for the next planned feature.
|
|
183
|
+
|
|
184
|
+
## Rules
|
|
185
|
+
|
|
186
|
+
- **Read-only, always.** This skill never writes files, never commits, never runs
|
|
187
|
+
installs, never runs builds or tests, and never switches branches.
|
|
188
|
+
- **Diagnose, then order repairs.** Do not just list problems. End with the
|
|
189
|
+
smallest ordered sequence that gets the project back to a healthy state.
|
|
190
|
+
- **Do not over-police adapters.** Extra adapters are optional clutter, not a
|
|
191
|
+
failure.
|
|
192
|
+
- **Be conservative with stack-specific checks.** If a command or ignore pattern
|
|
193
|
+
is uncertain, mark it for review instead of inventing a hard failure.
|
|
194
|
+
- **Stay concise.** A doctor pass should feel like a checklist, not an audit.
|
|
195
|
+
|
|
196
|
+
## Formatting
|
|
197
|
+
|
|
198
|
+
Format the output to match the project's conventions in
|
|
199
|
+
`devflow/context/ai-interaction.md`: concise, scannable markdown, with lists for
|
|
200
|
+
enumerations and tables for matrices rather than dense paragraphs.
|