bigpowers 2.84.0 → 2.85.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 (112) hide show
  1. package/.agents/skills/audit-code/SKILL.md +4 -7
  2. package/.agents/skills/craft-skill/SKILL.md +21 -4
  3. package/.agents/skills/grill-me/SKILL.md +12 -0
  4. package/.agents/skills/grill-with-docs/SKILL.md +12 -0
  5. package/.agents/skills/request-review/SKILL.md +1 -0
  6. package/.agents/skills/seed-conventions/SKILL.md +21 -4
  7. package/.agents/skills/stocktake-skills/SKILL.md +2 -0
  8. package/.agents/skills/wire-ci/SKILL.md +164 -181
  9. package/.codebuddy/skills/audit-code/SKILL.md +4 -7
  10. package/.codebuddy/skills/craft-skill/SKILL.md +21 -4
  11. package/.codebuddy/skills/grill-me/SKILL.md +12 -0
  12. package/.codebuddy/skills/grill-with-docs/SKILL.md +12 -0
  13. package/.codebuddy/skills/request-review/SKILL.md +1 -0
  14. package/.codebuddy/skills/seed-conventions/SKILL.md +21 -4
  15. package/.codebuddy/skills/stocktake-skills/SKILL.md +2 -0
  16. package/.codebuddy/skills/wire-ci/SKILL.md +164 -181
  17. package/.codex/skills/audit-code/SKILL.md +4 -7
  18. package/.codex/skills/craft-skill/SKILL.md +21 -4
  19. package/.codex/skills/grill-me/SKILL.md +12 -0
  20. package/.codex/skills/grill-with-docs/SKILL.md +12 -0
  21. package/.codex/skills/request-review/SKILL.md +1 -0
  22. package/.codex/skills/seed-conventions/SKILL.md +21 -4
  23. package/.codex/skills/stocktake-skills/SKILL.md +2 -0
  24. package/.codex/skills/wire-ci/SKILL.md +164 -181
  25. package/.hermes/skills/audit-code/SKILL.md +4 -7
  26. package/.hermes/skills/craft-skill/SKILL.md +21 -4
  27. package/.hermes/skills/grill-me/SKILL.md +12 -0
  28. package/.hermes/skills/grill-with-docs/SKILL.md +12 -0
  29. package/.hermes/skills/request-review/SKILL.md +1 -0
  30. package/.hermes/skills/seed-conventions/SKILL.md +21 -4
  31. package/.hermes/skills/stocktake-skills/SKILL.md +2 -0
  32. package/.hermes/skills/wire-ci/SKILL.md +164 -181
  33. package/.kilocode/rules/audit-code.md +4 -7
  34. package/.kilocode/rules/craft-skill.md +21 -4
  35. package/.kilocode/rules/grill-me.md +12 -0
  36. package/.kilocode/rules/grill-with-docs.md +12 -0
  37. package/.kilocode/rules/request-review.md +1 -0
  38. package/.kilocode/rules/seed-conventions.md +21 -4
  39. package/.kilocode/rules/stocktake-skills.md +2 -0
  40. package/.kilocode/rules/wire-ci.md +164 -181
  41. package/.mimocode/skills/audit-code/SKILL.md +4 -7
  42. package/.mimocode/skills/craft-skill/SKILL.md +21 -4
  43. package/.mimocode/skills/grill-me/SKILL.md +12 -0
  44. package/.mimocode/skills/grill-with-docs/SKILL.md +12 -0
  45. package/.mimocode/skills/request-review/SKILL.md +1 -0
  46. package/.mimocode/skills/seed-conventions/SKILL.md +21 -4
  47. package/.mimocode/skills/stocktake-skills/SKILL.md +2 -0
  48. package/.mimocode/skills/wire-ci/SKILL.md +164 -181
  49. package/.pi/package.json +1 -1
  50. package/.pi/prompts/audit-code.md +4 -7
  51. package/.pi/prompts/craft-skill.md +21 -4
  52. package/.pi/prompts/grill-me.md +12 -0
  53. package/.pi/prompts/grill-with-docs.md +12 -0
  54. package/.pi/prompts/request-review.md +1 -0
  55. package/.pi/prompts/seed-conventions.md +21 -4
  56. package/.pi/prompts/stocktake-skills.md +2 -0
  57. package/.pi/prompts/wire-ci.md +164 -181
  58. package/.pi/skills/audit-code/SKILL.md +4 -7
  59. package/.pi/skills/craft-skill/SKILL.md +21 -4
  60. package/.pi/skills/grill-me/SKILL.md +12 -0
  61. package/.pi/skills/grill-with-docs/SKILL.md +12 -0
  62. package/.pi/skills/request-review/SKILL.md +1 -0
  63. package/.pi/skills/seed-conventions/SKILL.md +21 -4
  64. package/.pi/skills/stocktake-skills/SKILL.md +2 -0
  65. package/.pi/skills/wire-ci/SKILL.md +164 -181
  66. package/.trae/skills/audit-code/SKILL.md +4 -7
  67. package/.trae/skills/craft-skill/SKILL.md +21 -4
  68. package/.trae/skills/grill-me/SKILL.md +12 -0
  69. package/.trae/skills/grill-with-docs/SKILL.md +12 -0
  70. package/.trae/skills/request-review/SKILL.md +1 -0
  71. package/.trae/skills/seed-conventions/SKILL.md +21 -4
  72. package/.trae/skills/stocktake-skills/SKILL.md +2 -0
  73. package/.trae/skills/wire-ci/SKILL.md +164 -181
  74. package/.windsurf/rules/audit-code.md +4 -7
  75. package/.windsurf/rules/craft-skill.md +21 -4
  76. package/.windsurf/rules/grill-me.md +12 -0
  77. package/.windsurf/rules/grill-with-docs.md +12 -0
  78. package/.windsurf/rules/request-review.md +1 -0
  79. package/.windsurf/rules/seed-conventions.md +21 -4
  80. package/.windsurf/rules/stocktake-skills.md +2 -0
  81. package/.windsurf/rules/wire-ci.md +164 -181
  82. package/.zcode/skills/audit-code/SKILL.md +4 -7
  83. package/.zcode/skills/craft-skill/SKILL.md +21 -4
  84. package/.zcode/skills/grill-me/SKILL.md +12 -0
  85. package/.zcode/skills/grill-with-docs/SKILL.md +12 -0
  86. package/.zcode/skills/request-review/SKILL.md +1 -0
  87. package/.zcode/skills/seed-conventions/SKILL.md +21 -4
  88. package/.zcode/skills/stocktake-skills/SKILL.md +2 -0
  89. package/.zcode/skills/wire-ci/SKILL.md +164 -181
  90. package/CHANGELOG.md +19 -0
  91. package/README.md +14 -1
  92. package/SKILL-INDEX.md +84 -76
  93. package/package.json +1 -1
  94. package/scripts/generate-skill-index.sh +20 -4
  95. package/scripts/golden-g04-selftest.sh +19 -0
  96. package/scripts/land-branch.sh +22 -9
  97. package/scripts/lib/__pycache__/link_utils.cpython-312.pyc +0 -0
  98. package/scripts/lib/__pycache__/srp_engine_links.cpython-312.pyc +0 -0
  99. package/scripts/lib/land-branch-push.sh +106 -0
  100. package/scripts/validate-agentic-ste.sh +229 -0
  101. package/skills/audit-code/SKILL.md +4 -7
  102. package/skills/craft-skill/SKILL.md +22 -4
  103. package/skills/grill-me/SKILL.md +12 -0
  104. package/skills/grill-with-docs/SKILL.md +12 -0
  105. package/skills/request-review/SKILL.md +1 -0
  106. package/skills/seed-conventions/SKILL.md +21 -4
  107. package/skills/stocktake-skills/SKILL.md +2 -0
  108. package/skills/visual-dashboard/scripts/frame-template.html +1 -39
  109. package/skills/wire-ci/REFERENCE.md +137 -152
  110. package/skills/wire-ci/SKILL.md +28 -30
  111. package/skills-lock.json +8 -8
  112. package/tests/test-land-branch-protected.sh +222 -0
@@ -5,7 +5,7 @@ description: "Create new bigpowers skills with proper structure, progressive dis
5
5
 
6
6
  # Craft Skill
7
7
 
8
- > **HARD GATE** — Do NOT name a skill without a two-word verb-noun pair. Do NOT merge a new skill without running `sync-skills.sh` — the generated `.cursor/rules/` and `.gemini/` artifacts must match the source SKILL.md.
8
+ > **HARD GATE** — Do NOT name a skill without a two-word verb-noun pair. Do NOT merge a new skill without running `sync-skills.sh`. Generated `.cursor/rules/` and `.gemini/` artifacts MUST match the source SKILL.md.
9
9
 
10
10
  ## CSO Description Discipline (e45s02)
11
11
 
@@ -20,11 +20,25 @@ The YAML `description` is the **Catalog Selection Object** — the only field ag
20
20
 
21
21
  Move process detail into the SKILL.md body or REFERENCE.md — never into `description`.
22
22
 
23
+ ## Agentic STE body discipline (e79s02)
24
+
25
+ Skill-body instructional prose MUST follow [AGENTIC-STE.md](../../docs/AGENTIC-STE.md).
26
+
27
+ | Rule | Limit |
28
+ |------|-------|
29
+ | Sentence length | ≤20 words per instruction sentence |
30
+ | Voice | Imperative, active |
31
+ | Directive terms | MUST, MUST NOT, NEVER, ALWAYS, DO, DO NOT |
32
+ | Banned modals | should, might, could, may, consider, try, generally, typically |
33
+ | Scope | SKILL.md body only — not YAML `description`, not `terse-mode` output |
34
+
35
+ > **HARD GATE** — Do NOT merge a new or edited skill until `bash scripts/validate-agentic-ste.sh --strict skills/<name>/SKILL.md` exits 0. Fix violations before `sync-skills.sh`.
36
+
23
37
  ## Process
24
38
 
25
39
  1. **Gather requirements** — ask user about:
26
40
  - What task/domain does the skill cover?
27
- - What specific use cases should it handle?
41
+ - Which use cases must the skill handle?
28
42
  - Does it need executable scripts or just instructions?
29
43
  - Any reference materials to include?
30
44
  - What specs/ output does it produce (if any)?
@@ -40,7 +54,8 @@ Move process detail into the SKILL.md body or REFERENCE.md — never into `descr
40
54
  - Additional reference files if content exceeds 100 lines
41
55
  - Utility scripts if deterministic operations needed
42
56
 
43
- **Auto-skill from library README:** When user provides a library README or API docs URL, extract: triggers, HARD GATEs, verify commands, specs/ output — draft SKILL.md without inventing APIs not in the source.
57
+ **Auto-skill from library README:** When user provides a library README or API docs URL, extract triggers and HARD GATEs.
58
+ Draft verify commands and specs/ output into SKILL.md. Do NOT invent APIs not in the source.
44
59
 
45
60
  4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/model-profiles.md).
46
61
 
@@ -49,10 +64,11 @@ Move process detail into the SKILL.md body or REFERENCE.md — never into `descr
49
64
  5. **Review with user** — present draft and ask:
50
65
  - Does this cover your use cases?
51
66
  - Anything missing or unclear?
52
- - Should any section be more/less detailed?
67
+ - Does any section need more or less detail?
53
68
 
54
69
  6. **Completion-honesty gate (HARD GATE — e45s02)** — Before declaring done:
55
70
  - Run `bash scripts/validate-skill-description.sh skills/<name>/SKILL.md` — must exit 0
71
+ - Run `bash scripts/validate-agentic-ste.sh --strict skills/<name>/SKILL.md` — must exit 0 (e79s02)
56
72
  - Run `bash scripts/sync-skills.sh` — must complete without error
57
73
  - Run `bash scripts/run-skill-verify.sh <name>` if the skill defines a verify command
58
74
  - Show terminal output for each — narration without evidence is rejected
@@ -77,6 +93,7 @@ After drafting, verify:
77
93
  - [ ] Consistent terminology with CONVENTIONS.md
78
94
  - [ ] specs/ output documented if applicable
79
95
  - [ ] `validate-skill-description.sh` exits 0
96
+ - [ ] `validate-agentic-ste.sh --strict` exits 0 (e79s02)
80
97
  - [ ] `sync-skills.sh` run to propagate to Cursor/Gemini
81
98
  - [ ] `bash scripts/validate-skill-catalog.sh` passes for the new skill (HARD GATE — completion honesty)
82
99
 
@@ -17,6 +17,14 @@ Interview relentlessly about every aspect of this plan until reaching shared und
17
17
 
18
18
  If a question can be answered by exploring the codebase, explore it instead.
19
19
 
20
+ ### Facts vs. Decisions Boundary
21
+
22
+ Distinguish between **facts** and **decisions**:
23
+ - **Facts** — things discoverable by exploring the codebase, reading docs, or checking APIs. Do not ask the user to confirm facts; find them yourself.
24
+ - **Decisions** — choices that require user input (trade-offs, preferences, priorities). Always present options and ask the user to choose.
25
+
26
+ Never "grill yourself" — if the answer is in the code, go find it. Only ask questions where the user's judgment is needed.
27
+
20
28
  ## Docs mode
21
29
 
22
30
  Ground every challenge in real documentation — no assumption about a library's behavior goes unchecked. See [REFERENCE.md](REFERENCE.md) for the full process.
@@ -28,6 +36,10 @@ Short form:
28
36
  4. Report confirmed ✓, corrected ✗ (with the real behavior), and uncertain → `spike-prototype`.
29
37
  5. Update the plan for each confirmed discrepancy.
30
38
 
39
+ ## Confirmation Gate
40
+
41
+ > **HARD GATE** — Do NOT enact the plan or generate specifications until the user explicitly confirms shared understanding. Wait for explicit approval (e.g., "looks good", "confirmed", "proceed") before transitioning to any implementation, spec-writing, or task-slicing step.
42
+
31
43
  ---
32
44
 
33
45
  # Docs Mode — Full Process
@@ -22,6 +22,18 @@ description: "Doc-grounded variant of grill-me — stress-tests plan assumptions
22
22
  - If docs contradict the plan, plan loses until updated.
23
23
  - Prefer official docs over blog posts.
24
24
 
25
+ ## Facts vs. Decisions Boundary
26
+
27
+ Distinguish between **facts** and **decisions**:
28
+ - **Facts** — things discoverable by reading docs, checking APIs, or exploring the codebase. Do not ask the user to confirm facts; find them yourself.
29
+ - **Decisions** — choices that require user input (trade-offs, preferences, priorities). Always present options and ask the user to choose.
30
+
31
+ Never "grill yourself" — if the answer is in the docs, go fetch it. Only ask questions where the user's judgment is needed.
32
+
33
+ ## Confirmation Gate
34
+
35
+ > **HARD GATE** — Do NOT enact the plan or generate specifications until the user explicitly confirms shared understanding. Wait for explicit approval (e.g., "looks good", "confirmed", "proceed") before transitioning to any implementation, spec-writing, or task-slicing step.
36
+
25
37
  ## Verify
26
38
 
27
39
  → verify: `grep -c 'https\?://' skills/grill-with-docs/SKILL.md | awk '{if($1>=2) print "OK"; else print "NEEDS DOCS"}'`
@@ -85,6 +85,7 @@ Review for:
85
85
  4. Design — are there simpler or more robust approaches?
86
86
  5. Edge cases — what inputs or states could cause failures?
87
87
  6. Security — any injection, auth, or data exposure risks?
88
+ 7. Refactoring smells — explicitly name any detected Fowler smells: Mysterious Name, Duplicated Code, Feature Envy, Data Clumps, Primitive Obsession, Message Chains, Middle Man
88
89
 
89
90
  For each finding, categorize as: must-fix / should-fix / consider.
90
91
  Run the verify command and report the result.
@@ -8,6 +8,7 @@ description: "Generate CLAUDE.md and CONVENTIONS.md for a brand-new project thro
8
8
  # story: e10s02
9
9
  # story: e51s02
10
10
  # story: e45s21
11
+ # story: e79s03
11
12
 
12
13
 
13
14
  # Seed Conventions
@@ -31,13 +32,25 @@ Ask the user these questions (one at a time, wait for each answer):
31
32
  2. **Stack** — "What language, framework, and runtime? (e.g. TypeScript / Next.js / Node 22)"
32
33
  2b. **Stack profile (optional)** — Offer: `swift`, `typescript-vue`, `node-service`, or none. If chosen, merge the matching fragment from `profiles/<name>.md` into generated `CONVENTIONS.md`.
33
34
  3. **Commands** — "What commands do you use for: run, test, build, lint?"
34
- 3b. **Preflight (optional)** — "What single command runs your full local green stack (test + lint + build)? If you don't have one, we'll chain your Test + Lint + Build answers into a **Preflight** row in the Commands table."
35
+ 3b. **Preflight (optional)** — "What command runs test, lint, and build together? If none, chain Test + Lint + Build into one **Preflight** row."
35
36
  4. **Architecture** — "Key modules and relationships in 1–2 sentences."
36
37
  5. **Conventions** — "Any naming, file organization, or patterns all agents must follow?"
37
38
  6. **Never-do list** — "What are the hard stops? Things an agent must never touch?"
38
39
  7. **Defensive code categories** — "Which apply? (Rate limit / Retry / Circuit breaker / Timeout / Graceful degradation)"
39
40
  8. **Local tool wiring (optional)** — "Wire bigpowers for project-local tools? (Cursor, OpenCode, Cline, Aider, Codex CLI)" If yes, generate AGENTS.md spine artifacts per [REFERENCE.md](REFERENCE.md) §Local tool wiring and §AGENTS.md spine. If no, skip — standard seed output unchanged (no AGENTS.md spine unless opted in).
40
41
 
42
+ ## Agentic STE for generated prose (e79s03)
43
+
44
+ When writing instructional lines in `CLAUDE.md`, `AGENTS.md`, or `CONVENTIONS.md`, follow [AGENTIC-STE.md](../../docs/AGENTIC-STE.md):
45
+
46
+ - Use directive vocabulary: MUST, MUST NOT, NEVER, ALWAYS, DO, DO NOT
47
+ - Do NOT use hedge modals listed in AGENTIC-STE.md Rule 3
48
+ - Cap each instruction sentence at 20 words
49
+ - Write imperative, active-voice lines — one instruction per line
50
+ - Do NOT apply Agentic STE to `terse-mode` (output compression is out of scope)
51
+
52
+ After generation, run `bash scripts/validate-agentic-ste.sh --strict CLAUDE.md CONVENTIONS.md` when those files exist in the target project.
53
+
41
54
  ## Generate files
42
55
 
43
56
  After the interview, generate each file using the templates in [REFERENCE.md](REFERENCE.md):
@@ -64,9 +77,11 @@ echo "# Specs\n\nAll planning documents for this project." > specs/README.md
64
77
 
65
78
  **Note:** `specs/state.yaml.lock` is NOT pre-created — acquired/released dynamically.
66
79
 
67
- `specs/state.yaml` carries a top-level `workflow_mode` key (`team-pr` | `solo-git`, default `solo-git`). This is the **canonical integrate-mode signal** for all skills — set it once here and skills such as `release-branch` read it from this file instead of sniffing profile files.
80
+ `specs/state.yaml` carries top-level `workflow_mode` (`team-pr` | `solo-git`, default `solo-git`).
81
+ This is the **canonical integrate-mode signal** for all skills.
82
+ Set it once here. Skills such as `release-branch` read this file instead of sniffing profiles.
68
83
 
69
- When generating `CLAUDE.md`, if the user did not name a Preflight command, chain the Test + Lint + Build interview answers into one **Preflight** row (e.g. `npm test && npm run lint && npm run build`).
84
+ When generating `CLAUDE.md`, chain Test + Lint + Build into one **Preflight** row if the user named no Preflight command.
70
85
 
71
86
  ### Self-installing fenced markers (e45s21)
72
87
 
@@ -78,7 +93,9 @@ Skills that write into `CLAUDE.md` or `AGENTS.md` MUST use **fenced HTML comment
78
93
  <!-- END bigpowers:section-id -->
79
94
  ```
80
95
 
81
- **Merge rule:** On update, replace only the content *between* matching `BEGIN`/`END` pairs. If a marker pair is missing, append a new fenced block at the end of the file — never rewrite the whole file.
96
+ **Merge rule:** On update, replace only content between matching `BEGIN`/`END` pairs.
97
+ If a marker pair is missing, append a new fenced block at file end.
98
+ Never rewrite the whole file.
82
99
 
83
100
  **Standard marker IDs** for seeded projects (see [REFERENCE.md](REFERENCE.md) § Fenced markers):
84
101
 
@@ -5,6 +5,7 @@ description: "Sequential subagent batch audit of the bigpowers skill catalog —
5
5
 
6
6
  # story: e09s01
7
7
  <!-- story: e45s12 -->
8
+ <!-- story: e79s04 -->
8
9
 
9
10
 
10
11
  # Stocktake Skills
@@ -24,6 +25,7 @@ Audit SKILL.md catalog for drift, stale triggers, missing HARD GATEs, and INDEX
24
25
  ## Process
25
26
 
26
27
  0. **Catalog validator (code-enforced)** — run `bash scripts/validate-skill-catalog.sh`. Any FAIL is a critical finding before manual review. Add `--archive` to list zero-usage skills from `metrics.skill_timings` for auto-archiving candidates (move to `specs/epics/archive/` or delete after user confirms).
28
+ 0b. **Agentic STE audit (e79s04)** — run `bash scripts/validate-agentic-ste.sh --audit skills/`. Flag hedge words and sentences over 20 words per [AGENTIC-STE.md](../../docs/AGENTIC-STE.md). Record WARN lines in the stocktake report as **STE debt** — do NOT rewrite the full catalog in one pass. Route critical repeat offenders to `evolve-skill`.
27
29
  1. Run `bash scripts/audit-catalog.sh` to verify pi/skills ↔ source SKILL.md sync. Mismatch is a critical finding.
28
30
  2. Run mode; for each skill check: exists, verb-noun, &lt;300 lines total, HARD GATE present, INDEX row matches.
29
31
  3. Write `specs/STOCKTAKE-<date>.md` with findings table (skill, issue, severity).