@jakkrichm/create-nexus-devflow 2.1.0 → 2.2.1
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 +1 -1
- package/dist/bin/create-nexus-devflow.js +29 -5
- package/dist/bin/create-nexus-devflow.js.map +1 -1
- package/dist/lib/command-catalog.js +5 -2
- package/dist/lib/command-catalog.js.map +1 -1
- package/dist/lib/dashboard.js +1 -1
- package/dist/lib/discoveries.js +18 -6
- package/dist/lib/discoveries.js.map +1 -1
- package/dist/lib/ideas.js +2 -2
- package/dist/lib/ideas.js.map +1 -1
- package/dist/lib/project-metadata.d.ts +1 -1
- package/dist/lib/project-metadata.js +3 -2
- package/dist/lib/project-metadata.js.map +1 -1
- package/dist/lib/update.js +13 -5
- package/dist/lib/update.js.map +1 -1
- package/dist/lib/workflow-state.js +9 -6
- package/dist/lib/workflow-state.js.map +1 -1
- package/dist/scripts/prepare-template.js +10 -2
- package/dist/scripts/prepare-template.js.map +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/10-define/SKILL.md +1 -1
- package/template/.agents/skills/adopt/SKILL.md +58 -5
- package/template/.agents/skills/brainstorm/SKILL.md +1 -1
- package/template/.agents/skills/devflow/SKILL.md +9 -7
- package/template/.agents/skills/discovery/SKILL.md +75 -150
- package/template/.agents/skills/doctor/SKILL.md +23 -16
- package/template/.agents/skills/feature/SKILL.md +1 -0
- package/template/.agents/skills/grill/SKILL.md +93 -0
- package/template/.agents/skills/implement/SKILL.md +2 -2
- package/template/.agents/skills/onboard/SKILL.md +18 -17
- package/template/.agents/skills/rollback/SKILL.md +1 -1
- package/template/.claude/skills/10-define/SKILL.md +3 -3
- package/template/.claude/skills/20-spec/SKILL.md +1 -2
- package/template/.claude/skills/30-plan/SKILL.md +1 -2
- package/template/.claude/skills/40-execute/SKILL.md +2 -2
- package/template/.claude/skills/50-verify/SKILL.md +2 -2
- package/template/.claude/skills/60-report/SKILL.md +2 -2
- package/template/.claude/skills/70-deliver/SKILL.md +2 -2
- package/template/.claude/skills/adopt/SKILL.md +191 -75
- package/template/.claude/skills/audit/SKILL.md +267 -133
- package/template/.claude/skills/autopilot/SKILL.md +226 -167
- package/template/.claude/skills/brainstorm/SKILL.md +62 -0
- package/template/.claude/skills/brief/SKILL.md +93 -92
- package/template/.claude/skills/check/SKILL.md +96 -76
- package/template/.claude/skills/ci/SKILL.md +140 -61
- package/template/.claude/skills/complete/SKILL.md +156 -101
- package/template/.claude/skills/convert-any-to-md/SKILL.md +2 -2
- package/template/.claude/skills/convert-any-to-md/references/setup.md +29 -0
- package/template/.claude/skills/convert-any-to-md/scripts/convert_any_to_md.py +487 -0
- package/template/.claude/skills/convert-any-to-md/scripts/requirements.txt +3 -0
- package/template/.claude/skills/debug/SKILL.md +124 -49
- package/template/.claude/skills/devflow/SKILL.md +18 -10
- package/template/.claude/skills/discovery/SKILL.md +65 -119
- package/template/.claude/skills/doctor/SKILL.md +195 -72
- package/template/.claude/skills/feature/SKILL.md +197 -152
- package/template/.claude/skills/fix/SKILL.md +41 -90
- package/template/.claude/skills/grill/SKILL.md +93 -0
- package/template/.claude/skills/idea/SKILL.md +2 -2
- package/template/.claude/skills/implement/SKILL.md +189 -46
- package/template/.claude/skills/onboard/SKILL.md +216 -85
- package/template/.claude/skills/overview/SKILL.md +44 -29
- package/template/.claude/skills/prototype/SKILL.md +82 -27
- package/template/.claude/skills/release/SKILL.md +119 -130
- package/template/.claude/skills/report-html/SKILL.md +2 -2
- package/template/.claude/skills/rollback/SKILL.md +123 -77
- package/template/.claude/skills/status/SKILL.md +109 -0
- package/template/.claude/skills/test/SKILL.md +2 -2
- package/template/.claude/skills/tests/SKILL.md +126 -0
- package/template/.claude/skills/try/SKILL.md +77 -65
- package/template/AGENTS.md +8 -7
- package/template/devflow/build-plan.md +8 -0
- package/template/devflow/context/ai-interaction.md +11 -0
- package/template/devflow/context/coding-standards.md +15 -1
- package/template/devflow/context/current-stage.md +1 -1
- package/template/devflow/decisions/.gitkeep +0 -0
- package/template/devflow/decisions/README.md +24 -0
- package/template/devflow/history/HISTORY.md +1 -1
- package/template/devflow/history/features/README.md +5 -0
- package/template/devflow/history/fixes/README.md +5 -0
- package/template/devflow/history/rollbacks/README.md +5 -0
- package/template/.agents/skills/00-explore/SKILL.md +0 -84
- package/template/.claude/skills/00-explore/SKILL.md +0 -84
|
@@ -1,105 +1,160 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: complete
|
|
3
|
-
description: "[
|
|
4
|
-
argument-hint: "{running-id or workspace path}"
|
|
3
|
+
description: "[devflow][F] Wrap up a finished feature, fix, or rollback. Runs a final safety pass, archives its spec to devflow/history/features/, devflow/history/fixes/, or devflow/history/rollbacks/, updates the build plan for features and rollbacks, resets devflow/context/current-feature.md to its stub, makes one work-level commit, then squash-merges the branch to main and deletes it. Merges only with explicit approval, then asks separately before pushing main. Use when the user runs /complete, or asks to finish, wrap up, merge, or close out the current feature, fix, or rollback after it is built and reviewed."
|
|
5
4
|
---
|
|
6
5
|
|
|
7
|
-
#
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
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
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
6
|
+
# complete - log the finished work, make the work commit, and merge
|
|
7
|
+
|
|
8
|
+
Where this sits in the workflow:
|
|
9
|
+
|
|
10
|
+
/feature, /fix, or /rollback -> /implement -> [complete] -> next
|
|
11
|
+
(the spec) (build it) (commit + merge + log)
|
|
12
|
+
|
|
13
|
+
`/implement` built the feature, fix, or rollback on its branch, with optional per-step commit
|
|
14
|
+
checkpoints. This skill closes it out: it logs the work, makes the single
|
|
15
|
+
work-level commit, and squash-merges. Run it only when the work is done,
|
|
16
|
+
reviewed, and the documented `Verify` command, or the fallback build and tests,
|
|
17
|
+
passes.
|
|
18
|
+
|
|
19
|
+
## Before you start
|
|
20
|
+
|
|
21
|
+
Confirm the work is actually finished: `devflow/context/current-feature.md`
|
|
22
|
+
holds a real spec, its steps are built on a branch, and `Verify`, or the fallback
|
|
23
|
+
build and tests, passes. If any of the
|
|
24
|
+
spec's done-whens are behavioral, `/check` should have proven them against the
|
|
25
|
+
running app first - don't merge on an unverified claim. Uncommitted step work is
|
|
26
|
+
expected (per-step checkpoints are optional); this skill commits it. Don't require
|
|
27
|
+
the steps to be pre-committed.
|
|
28
|
+
|
|
29
|
+
## Step 0 - final safety pass
|
|
30
|
+
|
|
31
|
+
Before logging or committing, run a short safety pass and report blockers only:
|
|
32
|
+
|
|
33
|
+
- active spec exists and the work is not being completed from `main` or `master`
|
|
34
|
+
- changed files are tied to the active spec, with no unrelated dirty work mixed
|
|
35
|
+
in (a dirty `devflow/context/findings.md` is expected, since `/audit` writes it)
|
|
36
|
+
- the exact `Verify` command from `AGENTS.md` passed in this session, when one is
|
|
37
|
+
declared; otherwise the build passed, and tests passed when the project has a
|
|
38
|
+
declared test command and the change touched logic
|
|
39
|
+
- behavioral done-whens have `/check` evidence or equivalent proof, and there is
|
|
40
|
+
a clear manual try path
|
|
41
|
+
- if workflow files changed, `.agents` and `.claude` stayed in sync where both
|
|
42
|
+
adapters exist
|
|
43
|
+
- no P0 or P1 finding in `devflow/context/findings.md` is `open` or `fixed`.
|
|
44
|
+
`fixed` still blocks on purpose: the repair exists but no review has looked at
|
|
45
|
+
it - run `/audit` to close it. The only waivers are `accepted` (the user's
|
|
46
|
+
explicit decision in the current chat, reason recorded; never set it for
|
|
47
|
+
them) or `invalid` (an `/audit` re-examination verdict with recorded
|
|
48
|
+
evidence, or the user's explicit call). A missing ledger file means no
|
|
49
|
+
findings.
|
|
50
|
+
|
|
51
|
+
Do not claim "passed", "verified", or "working" without naming the command,
|
|
52
|
+
route, screenshot, or output that proves it. Stop before Step 1 if required
|
|
53
|
+
evidence is missing.
|
|
54
|
+
|
|
55
|
+
## Step 1 - log the work
|
|
56
|
+
|
|
57
|
+
Check whether the spec is a feature, fix, or rollback. A fix is marked
|
|
58
|
+
`Type: Fix` and has no build-plan number. A rollback is marked `Type: Rollback`
|
|
59
|
+
and records the exact target feature, archive, commit, and parent.
|
|
60
|
+
|
|
61
|
+
- **Feature** - archive `devflow/context/current-feature.md` to `devflow/history/features/NN-name.md`
|
|
62
|
+
(NN is the build-plan number), and check it off in `devflow/build-plan.md`
|
|
63
|
+
(and its parent item once all sub-items are checked).
|
|
64
|
+
- **Fix** - archive it to `devflow/history/fixes/name.md`. A fix isn't a build-plan item, so
|
|
65
|
+
there's nothing to check off.
|
|
66
|
+
- **Rollback** - archive it to
|
|
67
|
+
`devflow/history/rollbacks/YYYY-MM-DD-NN-name.md`, preserving the original
|
|
68
|
+
completed feature archive. Create `devflow/history/rollbacks/` first if an
|
|
69
|
+
older Blueprint installation does not have it yet. Uncheck the exact target item in
|
|
70
|
+
`devflow/build-plan.md` and its parent when applicable, then append a concise
|
|
71
|
+
note to the target line with the rollback date and archive path. Keep the
|
|
72
|
+
feature number stable. If the user later decides the feature is permanently
|
|
73
|
+
abandoned rather than pending rebuild, that roadmap decision is a separate
|
|
74
|
+
plan edit.
|
|
75
|
+
|
|
76
|
+
**Archive resolved findings.** If `devflow/context/findings.md` holds any
|
|
77
|
+
findings, append a `## Findings` section to the archive file just written with
|
|
78
|
+
every `closed`, `accepted`, or `invalid` entry at its final status (`accepted`
|
|
79
|
+
entries keep their recorded reason). Prefix each ID with the archive name for
|
|
80
|
+
global uniqueness: feature 12's `F-03` becomes `12/F-03`; fixes and rollbacks
|
|
81
|
+
use their archive filename as the prefix. An entry carried forward from earlier
|
|
82
|
+
work archives with the item that resolved it; its **Found** line preserves
|
|
83
|
+
where it came from. Then remove the archived entries from the ledger. Unresolved entries (`open` or `fixed` P2/P3, and `unverified`
|
|
84
|
+
leads) stay in the ledger with their IDs so they are never silently dropped.
|
|
85
|
+
When nothing remains, reset the ledger to exactly this stub, and create it the
|
|
86
|
+
same way if the file is missing (an older install):
|
|
87
|
+
|
|
88
|
+
# Findings
|
|
89
|
+
|
|
90
|
+
> **Generated file.** The findings ledger: review findings raised by `/audit`
|
|
91
|
+
> against the work in progress, each with a durable ID, severity (P0-P3), and
|
|
92
|
+
> status. `/implement` marks repaired findings `fixed`, a later `/audit` pass
|
|
93
|
+
> moves them to `closed`, and `/complete` refuses to merge while any P0 or P1
|
|
94
|
+
> finding is `open` or `fixed`, then archives resolved findings with the work
|
|
95
|
+
> and resets this file.
|
|
96
|
+
|
|
97
|
+
_No findings recorded. `/audit` appends findings here when it finds them._
|
|
98
|
+
|
|
99
|
+
Then reset `devflow/context/current-feature.md` to its current stub ("nothing
|
|
100
|
+
in progress"), including `/rollback` alongside `/feature` and `/fix`. Don't
|
|
101
|
+
commit yet; the next step makes one work commit covering the code and these doc
|
|
102
|
+
changes. The archive is the build history.
|
|
103
|
+
|
|
104
|
+
**Discard consumed prototypes.** If this feature built the look from `prototypes/`
|
|
105
|
+
- its Design reference pointed there and an early step ported `prototypes/theme.css`
|
|
106
|
+
into the app - delete the `prototypes/` folder now. The tokens live in the real
|
|
107
|
+
stylesheet and the HTML mockups were always throwaway; fold the deletion into this
|
|
108
|
+
feature's commit. Skip this if the feature didn't consume prototypes.
|
|
109
|
+
|
|
110
|
+
## Step 2 - make the work commit
|
|
111
|
+
|
|
112
|
+
Stage everything on the branch (any uncommitted step work plus the Step 1 logging
|
|
113
|
+
changes) and make one conventional work commit (for example `feat: <feature>`,
|
|
114
|
+
`fix: <name>`, or `revert: roll back <feature>`). `Verify`, or the fallback build
|
|
115
|
+
and tests, must pass first.
|
|
116
|
+
|
|
117
|
+
## Step 3 - merge
|
|
118
|
+
|
|
119
|
+
1. Squash-merge the branch into main, only with the user's explicit go-ahead, so
|
|
120
|
+
the feature lands as one clean commit regardless of how many checkpoints the
|
|
121
|
+
branch carried.
|
|
122
|
+
2. Delete the branch after a clean merge.
|
|
123
|
+
3. Stop and ask whether to push local `main` to its upstream. The merge approval
|
|
124
|
+
does not count as push approval.
|
|
125
|
+
4. Push main only after a separate explicit yes to push main in the current chat.
|
|
126
|
+
If the repo has no remote or upstream, say so instead of guessing.
|
|
127
|
+
|
|
128
|
+
Then point the user at `/feature`, `/fix`, or `/rollback` for the next thing.
|
|
129
|
+
|
|
130
|
+
Finish with a concise **How to try it** note for the completed work. For a
|
|
131
|
+
rollback, explain how to confirm the removed behavior is gone and name one
|
|
132
|
+
unaffected regression path. If the
|
|
133
|
+
manual path is more than a couple of steps, tell the user to run `/try latest`;
|
|
134
|
+
that command can read the archived feature after `current-feature.md` is reset.
|
|
135
|
+
|
|
136
|
+
## Rules
|
|
137
|
+
|
|
138
|
+
- The work item is the unit of history: one squashed feature, fix, or rollback
|
|
139
|
+
commit on main, even if the branch carried several checkpoint commits.
|
|
140
|
+
- A rollback preserves the original feature archive and adds a separate rollback
|
|
141
|
+
archive. Never rewrite history to make the feature look as if it never existed.
|
|
142
|
+
- Don't merge unfinished or failing work. The documented `Verify` command, or
|
|
143
|
+
the fallback build and tests, must pass first.
|
|
144
|
+
- Never merge while a P0 or P1 finding is `open` or `fixed` in the ledger. The
|
|
145
|
+
recorded ways past the gate without code are `accepted` (only by the user's
|
|
146
|
+
explicit decision, with their reason) or `invalid` (only from re-examination
|
|
147
|
+
evidence or the user's explicit call); both travel into the archive, never a
|
|
148
|
+
silent drop.
|
|
149
|
+
- Merging and pushing are the user's calls: get an explicit yes for the merge,
|
|
150
|
+
then ask whether to push main. Do not treat merge approval, `/complete`, or
|
|
151
|
+
"looks good" as permission to push.
|
|
152
|
+
- Push main only after a separate explicit yes to push main in the current chat.
|
|
153
|
+
- One item per completion. If a parent feature still has unchecked sub-features,
|
|
154
|
+
leave the parent unchecked.
|
|
155
|
+
|
|
156
|
+
## Formatting
|
|
157
|
+
|
|
158
|
+
Format the output to match the project's conventions in
|
|
159
|
+
`devflow/context/ai-interaction.md`: concise, scannable markdown, with lists for
|
|
160
|
+
enumerations and tables for matrices rather than dense paragraphs.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: convert-any-to-md
|
|
3
|
-
description:
|
|
3
|
+
description: "[devflow][B] Converts any document (.xlsx, .pdf, .docx, .txt, .csv, .log, .json, .yaml, etc.) or mixed folders into clean Markdown in devflow/reference. Use whenever documents need to be analyzed, summarized, searched, or extracted from."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Convert Any Document to Markdown
|
|
@@ -77,4 +77,4 @@ python .agents/skills/convert-any-to-md/scripts/convert_any_to_md.py "C:\path\to
|
|
|
77
77
|
| `.txt`, `.csv`, `.json`, `.yaml`, `.log` | Plaintext Formatter | N/A | `<name>/<name>.md` |
|
|
78
78
|
|
|
79
79
|
> [!NOTE]
|
|
80
|
-
> Legacy binary formats (`.xls`, `.doc`) are not supported directly. Ask the user to re-save them as `.xlsx` / `.docx` first.
|
|
80
|
+
> Legacy binary formats (`.xls`, `.doc`) are not supported directly. Ask the user to re-save them as `.xlsx` / `.docx` first.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Environment Setup for convert-any-to-md
|
|
2
|
+
|
|
3
|
+
Follow these steps to set up the Python dependencies for document conversion.
|
|
4
|
+
|
|
5
|
+
## 1. Prerequisites
|
|
6
|
+
|
|
7
|
+
- Python 3.10+
|
|
8
|
+
- pip
|
|
9
|
+
|
|
10
|
+
## 2. Installation
|
|
11
|
+
|
|
12
|
+
Run:
|
|
13
|
+
|
|
14
|
+
```powershell
|
|
15
|
+
python -m pip install -r .agents/skills/convert-any-to-md/scripts/requirements.txt
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
This installs:
|
|
19
|
+
- `markitdown[xlsx]`
|
|
20
|
+
- `pymupdf` (for PDF image extraction)
|
|
21
|
+
- `openpyxl` (for Excel parsing)
|
|
22
|
+
|
|
23
|
+
## 3. Verification
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
python -c "from markitdown import MarkItDown; import fitz; import openpyxl; print('Dependencies OK')"
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Expect `Dependencies OK` to print cleanly.
|