@codewizard-dt/bootstrap 6.0.1 → 6.2.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 (42) hide show
  1. package/README.md +1 -0
  2. package/lib/scripts/README.md +4 -3
  3. package/lib/scripts/bootstrap-prefs.js +25 -2
  4. package/lib/scripts/git-prefs.js +123 -0
  5. package/lib/scripts/install-global.sh +3 -0
  6. package/lib/scripts/merge-gitignore.sh +11 -5
  7. package/lib/scripts/rename-wiki-ids.js +2 -2
  8. package/lib/scripts/sync-wiki-scaffold.sh +24 -11
  9. package/lib/scripts/templates/CLAUDE-prose-style.md +22 -0
  10. package/lib/scripts/templates/CLAUDE-wiki.md +1 -1
  11. package/lib/scripts/templates/bootstrap-prefs-schema.json +1 -1
  12. package/lib/scripts/templates/guides/stubs/serena.md +4 -1
  13. package/lib/scripts/templates/wiki/conventions.md +1 -1
  14. package/lib/scripts/templates/wiki/work/tasks/lifecycle.md +1 -1
  15. package/lib/skills/README.md +2 -1
  16. package/lib/skills/_shared/ARCHIVE-WORK-ITEM.md +2 -2
  17. package/lib/skills/_shared/ID-RESOLUTION.md +2 -2
  18. package/lib/skills/_shared/LOG-APPEND.md +34 -0
  19. package/lib/skills/_shared/SKILL-BOILERPLATE.md +1 -1
  20. package/lib/skills/adr-create/SKILL.md +2 -2
  21. package/lib/skills/adr-deprecate/SKILL.md +1 -1
  22. package/lib/skills/adr-extract/SKILL.md +1 -1
  23. package/lib/skills/adr-finalize/SKILL.md +2 -1
  24. package/lib/skills/autopilot/SKILL.md +1 -1
  25. package/lib/skills/bug-assess/SKILL.md +1 -1
  26. package/lib/skills/bug-triage/SKILL.md +1 -1
  27. package/lib/skills/git-commit/SKILL.md +18 -27
  28. package/lib/skills/prd-create/SKILL.md +2 -2
  29. package/lib/skills/prd-deprecate/SKILL.md +1 -1
  30. package/lib/skills/prd-finalize/SKILL.md +1 -1
  31. package/lib/skills/socratic-qa/SKILL.md +163 -0
  32. package/lib/skills/task-create/SKILL.md +1 -1
  33. package/lib/skills/uat-create/SKILL.md +1 -1
  34. package/lib/skills/uat-skip/SKILL.md +19 -29
  35. package/lib/skills/uat-walk/UAT-CORE.md +1 -1
  36. package/lib/skills/wiki-archive/SKILL.md +1 -1
  37. package/lib/skills/wiki-ingest/SKILL.md +1 -1
  38. package/lib/skills/wiki-lint/SKILL.md +1 -1
  39. package/lib/skills/wiki-query/SKILL.md +1 -1
  40. package/lib/skills/wiki-rotate-log/SKILL.md +14 -24
  41. package/lib/skills/wiki-tidy/SKILL.md +5 -12
  42. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: wiki-tidy
3
- description: One-shot wiki cleanup — runs lint, archives terminal tasks/UAT/bugs, and rotates the log if overgrown, in sequence with user confirmation at each phase
3
+ description: One-shot wiki cleanup — runs lint and archive sweeps with user confirmation, then force-rotates the log if overgrown (no confirmation on rotation itself)
4
4
  category: wiki
5
5
  model: claude-sonnet-5
6
6
  user-invocable: true
@@ -8,7 +8,7 @@ user-invocable: true
8
8
 
9
9
  # Wiki Tidy
10
10
 
11
- Three-phase cleanup for a neglected wiki. Runs in order: **lint → archive → rotate-log**. Each phase summarises its findings and asks for confirmation before making changes. You can stop after any phase.
11
+ Three-phase cleanup for a neglected wiki. Runs in order: **lint → archive → rotate-log**. Phases 1 and 2 summarise their findings and ask for confirmation before making changes; you can stop after either. **Phase 3 is forced** — log rotation at threshold is never a question, so it always runs to completion once reached (unless the skill was already stopped in an earlier phase).
12
12
 
13
13
  ---
14
14
 
@@ -72,14 +72,7 @@ If the user types `stop`, end the skill here. Otherwise continue to Phase 3.
72
72
 
73
73
  ## Phase 3: Rotate log
74
74
 
75
- Run `/wiki-rotate-log`:
76
-
77
- 1. Read `wiki/log.md` and count the total number of lines.
78
- 2. If under 500: report the count and ask **"Log has N lines (threshold: 500). Rotate anyway? (yes / no / stop)"**. If `no`, skip this phase; if `stop`, end the skill.
79
- 3. If 500 or more: proceed directly.
80
- 4. Determine the archive filename: generate a timestamp with `date +%Y_%m_%d_%H%M%S` and use `log-<timestamp>.md` (unique to the second — no collision handling needed).
81
- 5. Show the rotation plan and ask **"Proceed with rotation? (yes / no)"**.
82
- 6. On confirmation: rename `wiki/log.md` → `wiki/log-<timestamp>.md`, create a fresh `wiki/log.md` with an archive-pointer header and a `rotate` entry as its first log line.
75
+ Run `/wiki-rotate-log` exactly as written — **forced, no confirmation asked**. It checks `wiki/log.md`'s line count itself: at or above 200 lines it rotates unconditionally (no "rotate anyway?" question, this phase is not a nudge); under 200 it reports the count and does nothing. Do not restate its steps here.
83
76
 
84
77
  ---
85
78
 
@@ -100,5 +93,5 @@ Wiki tidy complete.
100
93
 
101
94
  - Follow each sub-skill's CRITICAL rules exactly — they take precedence over brevity.
102
95
  - Never move an active item. Never move a roadmap, decision or requirement (they close in place). Never edit archived file content (tasks/UAT/bugs). Never delete anything.
103
- - Always confirm with the user before applying changes in each phase.
104
- - `stop` at any phase prompt ends the skill immediately without proceeding further.
96
+ - Always confirm with the user before applying changes in Phases 1 and 2. Phase 3 (log rotation) is forced at threshold — no confirmation is asked there, by design.
97
+ - `stop` at a Phase 1 or 2 prompt ends the skill immediately without proceeding further.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codewizard-dt/bootstrap",
3
- "version": "6.0.1",
3
+ "version": "6.2.0",
4
4
  "description": "Bootstrap Claude Code projects with an LLM Wiki, reusable skills, hooks, and MCP setup",
5
5
  "homepage": "https://github.com/codewizard-dt/bootstrap-wiki#readme",
6
6
  "bugs": {