@jakkrichm/create-nexus-devflow 2.0.25 → 2.0.27

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 (122) hide show
  1. package/README.md +1 -1
  2. package/dist/bin/create-nexus-devflow.d.ts +18 -1
  3. package/dist/bin/create-nexus-devflow.js +439 -11
  4. package/dist/bin/create-nexus-devflow.js.map +1 -1
  5. package/dist/lib/command-catalog.d.ts +11 -0
  6. package/dist/lib/command-catalog.js +63 -0
  7. package/dist/lib/command-catalog.js.map +1 -0
  8. package/dist/lib/current-work.js +94 -48
  9. package/dist/lib/current-work.js.map +1 -1
  10. package/dist/lib/dashboard-page.d.ts +2 -0
  11. package/dist/lib/dashboard-page.js +201 -0
  12. package/dist/lib/dashboard-page.js.map +1 -0
  13. package/dist/lib/dashboard-snapshot.d.ts +49 -0
  14. package/dist/lib/dashboard-snapshot.js +96 -0
  15. package/dist/lib/dashboard-snapshot.js.map +1 -0
  16. package/dist/lib/dashboard.d.ts +2 -0
  17. package/dist/lib/dashboard.js +360 -8
  18. package/dist/lib/dashboard.js.map +1 -1
  19. package/dist/lib/discoveries.d.ts +19 -0
  20. package/dist/lib/discoveries.js +81 -0
  21. package/dist/lib/discoveries.js.map +1 -0
  22. package/dist/lib/doctor.d.ts +26 -0
  23. package/dist/lib/doctor.js +474 -0
  24. package/dist/lib/doctor.js.map +1 -0
  25. package/dist/lib/findings.d.ts +26 -2
  26. package/dist/lib/findings.js +165 -1
  27. package/dist/lib/findings.js.map +1 -1
  28. package/dist/lib/gatekeeper.d.ts +19 -0
  29. package/dist/lib/gatekeeper.js +77 -0
  30. package/dist/lib/gatekeeper.js.map +1 -0
  31. package/dist/lib/git-hooks.d.ts +16 -0
  32. package/dist/lib/git-hooks.js +78 -0
  33. package/dist/lib/git-hooks.js.map +1 -0
  34. package/dist/lib/history.d.ts +6 -1
  35. package/dist/lib/history.js +98 -11
  36. package/dist/lib/history.js.map +1 -1
  37. package/dist/lib/ideas.d.ts +26 -0
  38. package/dist/lib/ideas.js +179 -0
  39. package/dist/lib/ideas.js.map +1 -0
  40. package/dist/lib/status.d.ts +2 -0
  41. package/dist/lib/status.js +60 -6
  42. package/dist/lib/status.js.map +1 -1
  43. package/dist/lib/update.js +2 -2
  44. package/dist/lib/update.js.map +1 -1
  45. package/dist/lib/version-check.d.ts +22 -0
  46. package/dist/lib/version-check.js +59 -0
  47. package/dist/lib/version-check.js.map +1 -0
  48. package/dist/lib/workflow-state.d.ts +23 -0
  49. package/dist/lib/workflow-state.js +112 -0
  50. package/dist/lib/workflow-state.js.map +1 -0
  51. package/dist/scripts/prepare-template.js +3 -3
  52. package/package.json +1 -1
  53. package/template/{.claude/skills/00-discover → .agents/skills/00-explore}/SKILL.md +10 -10
  54. package/template/.agents/skills/10-define/SKILL.md +4 -4
  55. package/template/.agents/skills/20-spec/SKILL.md +2 -3
  56. package/template/.agents/skills/30-plan/SKILL.md +2 -3
  57. package/template/.agents/skills/40-execute/SKILL.md +2 -2
  58. package/template/.agents/skills/50-verify/SKILL.md +2 -2
  59. package/template/.agents/skills/60-report/SKILL.md +3 -3
  60. package/template/{.claude/skills/70-release → .agents/skills/70-deliver}/SKILL.md +7 -13
  61. package/template/.agents/skills/adopt/SKILL.md +136 -73
  62. package/template/.agents/skills/audit/SKILL.md +275 -0
  63. package/template/.agents/skills/autopilot/SKILL.md +228 -147
  64. package/template/.agents/skills/brainstorm/SKILL.md +3 -3
  65. package/template/.agents/skills/brief/SKILL.md +74 -51
  66. package/template/.agents/skills/check/SKILL.md +96 -76
  67. package/template/.agents/skills/ci/SKILL.md +140 -61
  68. package/template/.agents/skills/complete/SKILL.md +156 -101
  69. package/template/.agents/skills/convert-any-to-md/SKILL.md +2 -2
  70. package/template/.agents/skills/debug/SKILL.md +124 -49
  71. package/template/.agents/skills/devflow/SKILL.md +16 -10
  72. package/template/.agents/skills/discovery/SKILL.md +166 -0
  73. package/template/.agents/skills/doctor/SKILL.md +188 -72
  74. package/template/.agents/skills/feature/SKILL.md +195 -102
  75. package/template/.agents/skills/fix/SKILL.md +41 -90
  76. package/template/.agents/skills/idea/SKILL.md +3 -3
  77. package/template/.agents/skills/implement/SKILL.md +189 -46
  78. package/template/.agents/skills/onboard/SKILL.md +215 -85
  79. package/template/.agents/skills/overview/SKILL.md +51 -85
  80. package/template/.agents/skills/prototype/SKILL.md +82 -27
  81. package/template/.agents/skills/release/SKILL.md +160 -0
  82. package/template/.agents/skills/report-html/SKILL.md +2 -2
  83. package/template/.agents/skills/rollback/SKILL.md +123 -77
  84. package/template/.agents/skills/status/SKILL.md +109 -0
  85. package/template/.agents/skills/test/SKILL.md +2 -2
  86. package/template/.agents/skills/tests/SKILL.md +126 -0
  87. package/template/.agents/skills/try/SKILL.md +77 -65
  88. package/template/{.agents/skills/00-discover → .claude/skills/00-explore}/SKILL.md +9 -9
  89. package/template/.claude/skills/10-define/SKILL.md +2 -2
  90. package/template/.claude/skills/20-spec/SKILL.md +1 -1
  91. package/template/.claude/skills/30-plan/SKILL.md +1 -1
  92. package/template/.claude/skills/60-report/SKILL.md +1 -1
  93. package/template/{.agents/skills/70-release → .claude/skills/70-deliver}/SKILL.md +6 -12
  94. package/template/.claude/skills/adopt/SKILL.md +2 -2
  95. package/template/.claude/skills/audit/SKILL.md +141 -0
  96. package/template/.claude/skills/autopilot/SKILL.md +74 -52
  97. package/template/.claude/skills/brief/SKILL.md +67 -45
  98. package/template/.claude/skills/ci/SKILL.md +1 -1
  99. package/template/.claude/skills/complete/SKILL.md +1 -1
  100. package/template/.claude/skills/debug/SKILL.md +1 -1
  101. package/template/.claude/skills/devflow/SKILL.md +7 -7
  102. package/template/.claude/skills/discovery/SKILL.md +145 -0
  103. package/template/.claude/skills/doctor/SKILL.md +1 -1
  104. package/template/.claude/skills/feature/SKILL.md +67 -18
  105. package/template/.claude/skills/fix/SKILL.md +1 -1
  106. package/template/.claude/skills/idea/SKILL.md +2 -2
  107. package/template/.claude/skills/onboard/SKILL.md +3 -3
  108. package/template/.claude/skills/overview/SKILL.md +39 -88
  109. package/template/.claude/skills/prototype/SKILL.md +1 -1
  110. package/template/.claude/skills/release/SKILL.md +171 -0
  111. package/template/.claude/skills/rollback/SKILL.md +2 -2
  112. package/template/AGENTS.md +5 -5
  113. package/template/devflow/build-plan.md +40 -0
  114. package/template/devflow/context/ai-interaction.md +4 -4
  115. package/template/devflow/context/coding-standards.md +3 -3
  116. package/template/devflow/context/current-stage.md +1 -1
  117. package/template/devflow/context/findings.md +1 -1
  118. package/template/devflow/history/HISTORY.md +2 -2
  119. package/template/devflow/project-plan.md +27 -0
  120. package/template/devflow/reference/mockup.html +476 -0
  121. package/template/devflow/reference/project-overview-template.md +39 -0
  122. package/template/devflow/reference/running-id-contract.md +24 -2
@@ -23,17 +23,39 @@ devflow/
23
23
  │ ├── rollbacks/ # Completed feature reversals (YYYY-MM-DD-xxx-slug.md)
24
24
  │ └── HISTORY.md # Master release ledger summary table
25
25
 
26
- └── 🔍 discoveries/ # Pre-delivery discovery records (DISC-YYYYMMDD-NNN-slug/00-discover.md)
26
+ └── 🔍 discoveries/ # Pre-delivery discovery records (DISC-YYYYMMDD-NNN-slug/00-explore.md)
27
27
  ```
28
28
 
29
+ ---
30
+
29
31
  ## Running ID Naming Convention
30
32
 
33
+ ### 1. Standard Running IDs
31
34
  - **Format**: `xxx-slug` (e.g. `001-setup-auth`, `021-categorized-history-and-clean-living-spec-architecture`)
32
35
  - **Prefix Removal**: The legacy `RUN-` prefix is discontinued in favor of clean 3-digit sequential numbering.
33
36
  - **Git Branch Standard**: `feature/{xxx-slug}` or `fix/{xxx-slug}`.
34
37
 
38
+ ### 2. Sub-Feature Running IDs (`xxx[a-z]-slug`)
39
+ - **Format**: `xxx[a-z]-slug` (e.g. `038a-backend-schema-and-api`, `038b-frontend-ui-and-state`)
40
+ - **Git Branch Standard**: `feature/{xxx[a-z]-slug}`
41
+ - **Build Plan Notation**: `- [ ] 4a. Backend Schema...`, `- [ ] 4b. Frontend UI...`
42
+ - **When to Use**: Used when a feature is decomposed via the **Sub-Feature Automatic Splitting Engine** to prevent context overflow on `L`/`XL` tasks.
43
+
44
+ ---
45
+
46
+ ## Multi-Factor Sizing Heuristic & Splitting Engine
47
+
48
+ A feature is considered **Oversized (`L` or `XL`)** and recommended for sub-feature splitting when any of the following conditions are met:
49
+ 1. **Files Touched**: Predicted to modify or create $\ge 6$ files.
50
+ 2. **Architectural Layers**: Crosses $\ge 3$ distinct layers (e.g. Database Migrations + Backend APIs + Frontend UI + State Store).
51
+ 3. **Task Complexity**: Contains $\ge 6$ checklist tasks or involves heavy multi-service integrations.
52
+
53
+ When detected during `/feature` or `/brief`, the AI triggers the **Interactive Split Gate**, proposing a clean `4a`, `4b` sub-feature breakdown before opening the first spec.
54
+
55
+ ---
56
+
35
57
  ## Single Active Run Rule (One Thing at a Time)
36
58
 
37
59
  1. Only **one active run** is permitted at any given time across both Fast-Track and Deep-Track.
38
60
  2. Before opening a new run (`/feature`, `/fix`, or `10-define`), the AI checks `current-stage.md` and `current-feature.md`.
39
- 3. If an active run is in progress, the AI **blocks** starting a new task and requires closing the active run via `/complete` or `70-release` (or explicitly cancelling/rolling back).
61
+ 3. If an active run is in progress, the AI **blocks** starting a new task and requires closing the active run via `/complete` or `70-deliver` (or explicitly cancelling/rolling back).