bigpowers 2.23.0 → 2.24.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/.pi/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigpowers",
3
- "version": "2.23.0",
3
+ "version": "2.24.0",
4
4
  "description": "68 skills — 61 agent skills for spec-driven, test-first software development by solo developers",
5
5
  "keywords": [
6
6
  "pi-package"
@@ -24,9 +24,10 @@ Review answers "is the code good?"; Verify answers "does the built thing do what
24
24
 
25
25
  1. Read active story tasks from `specs/epics/<capsule>/eNNsYY-tasks.yaml` and story spec from `specs/epics/<capsule>/eNNsYY-<slug>.md` (countable-story-format, Gherkin in §17).
26
26
  2. **Cold-start smoke** (if app): stop server, clear caches, boot from scratch.
27
- 3. Mechanical gates: build typecheck lint tests (from `CLAUDE.md`).
28
- 4. **Step-by-step UAT** one user-observable action at a time.
29
- 5. **Gaps loop** — failures log `plan-work` → re-verify.
27
+ 3. **AGENTS.md preflight** — before running default checks, call `bash scripts/bp-read-agents.sh` to detect project-specific commands. If `BP_PREFLIGHT` is set, run it instead of the default mechanical gates (or in addition to them if the project requires both). Output: `"Using preflight from AGENTS.md: <cmd>"`. Fall back to `CLAUDE.md` commands if AGENTS.md is absent.
28
+ 4. Mechanical gates: build typecheck lint tests (from `CLAUDE.md` or AGENTS.md).
29
+ 5. **Step-by-step UAT** — one user-observable action at a time.
30
+ 6. **Gaps loop** — failures → log → `plan-work` → re-verify.
30
31
 
31
32
  ## Verify sub-operations
32
33
 
@@ -26,9 +26,10 @@ Review answers "is the code good?"; Verify answers "does the built thing do what
26
26
 
27
27
  1. Read active story tasks from `specs/epics/<capsule>/eNNsYY-tasks.yaml` and story spec from `specs/epics/<capsule>/eNNsYY-<slug>.md` (countable-story-format, Gherkin in §17).
28
28
  2. **Cold-start smoke** (if app): stop server, clear caches, boot from scratch.
29
- 3. Mechanical gates: build typecheck lint tests (from `CLAUDE.md`).
30
- 4. **Step-by-step UAT** one user-observable action at a time.
31
- 5. **Gaps loop** — failures log `plan-work` → re-verify.
29
+ 3. **AGENTS.md preflight** — before running default checks, call `bash scripts/bp-read-agents.sh` to detect project-specific commands. If `BP_PREFLIGHT` is set, run it instead of the default mechanical gates (or in addition to them if the project requires both). Output: `"Using preflight from AGENTS.md: <cmd>"`. Fall back to `CLAUDE.md` commands if AGENTS.md is absent.
30
+ 4. Mechanical gates: build typecheck lint tests (from `CLAUDE.md` or AGENTS.md).
31
+ 5. **Step-by-step UAT** — one user-observable action at a time.
32
+ 6. **Gaps loop** — failures → log → `plan-work` → re-verify.
32
33
 
33
34
  ## Verify sub-operations
34
35
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [2.24.0](https://github.com/danielvm-git/bigpowers/compare/v2.23.0...v2.24.0) (2026-06-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * **verify-work:** read preflight commands from AGENTS.md before running checks ([966963d](https://github.com/danielvm-git/bigpowers/commit/966963d41e5801a904693ce28037b25304333f25))
7
+
1
8
  # [2.23.0](https://github.com/danielvm-git/bigpowers/compare/v2.22.0...v2.23.0) (2026-06-22)
2
9
 
3
10
 
package/SKILL-INDEX.md CHANGED
@@ -3,7 +3,7 @@
3
3
  > **DO NOT EDIT** — This file is auto-generated by `scripts/generate-skill-index.sh`.
4
4
  > Edit `SKILL.md` source files or `skills-lock.json` instead. Run `bash scripts/sync-skills.sh` to regenerate.
5
5
 
6
- **Generated:** 2026-06-22T02:23:04Z
6
+ **Generated:** 2026-06-22T02:28:01Z
7
7
  **Skills:** 68
8
8
 
9
9
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bigpowers",
3
- "version": "2.23.0",
3
+ "version": "2.24.0",
4
4
  "description": "61 agent skills for spec-driven, test-first software development by solo developers",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,60 @@
1
+ #!/usr/bin/env bash
2
+ # bp-read-agents.sh — Extract preflight/test/build/lint/deploy commands from AGENTS.md.
3
+ # Outputs env-var exports: BP_PREFLIGHT, BP_TEST, BP_BUILD, BP_LINT, BP_DEPLOY
4
+ # Usage: eval "$(bash scripts/bp-read-agents.sh)" # imports env vars
5
+ # bash scripts/bp-read-agents.sh --print # prints discovered commands
6
+ set -euo pipefail
7
+
8
+ PRINT_MODE=false
9
+ if [ "${1:-}" = "--print" ]; then
10
+ PRINT_MODE=true
11
+ fi
12
+
13
+ AGENTS_FILES=("AGENTS.md" "CLAUDE.md" "CURSOR.md")
14
+ FOUND_FILE=""
15
+
16
+ for f in "${AGENTS_FILES[@]}"; do
17
+ if [ -f "$f" ]; then
18
+ FOUND_FILE="$f"
19
+ break
20
+ fi
21
+ done
22
+
23
+ if [ -z "$FOUND_FILE" ]; then
24
+ if $PRINT_MODE; then echo "No AGENTS.md found — using defaults" >&2; fi
25
+ exit 0
26
+ fi
27
+
28
+ extract_command() {
29
+ local section="$1"
30
+ local file="$2"
31
+ # Extract the first non-empty, non-comment line after a ## <section> heading
32
+ awk "
33
+ /^## $section/ { found=1; next }
34
+ found && /^## / { found=0 }
35
+ found && /^\`\`\`/ { in_block=!in_block; next }
36
+ found && in_block && /^[a-zA-Z]/ { print; exit }
37
+ found && !/^\`\`\`/ && /^[a-zA-Z]/ && !in_block { print; exit }
38
+ " "$file" 2>/dev/null | head -1 | tr -d '\r' || true
39
+ }
40
+
41
+ BP_PREFLIGHT=$(extract_command "Preflight" "$FOUND_FILE")
42
+ BP_TEST=$(extract_command "Test" "$FOUND_FILE")
43
+ BP_BUILD=$(extract_command "Build" "$FOUND_FILE")
44
+ BP_LINT=$(extract_command "Lint" "$FOUND_FILE")
45
+ BP_DEPLOY=$(extract_command "Deploy" "$FOUND_FILE")
46
+
47
+ if $PRINT_MODE; then
48
+ echo "Source: $FOUND_FILE"
49
+ if [ -n "$BP_PREFLIGHT" ]; then echo "Preflight: $BP_PREFLIGHT"; fi
50
+ if [ -n "$BP_TEST" ]; then echo "Test: $BP_TEST"; fi
51
+ if [ -n "$BP_BUILD" ]; then echo "Build: $BP_BUILD"; fi
52
+ if [ -n "$BP_LINT" ]; then echo "Lint: $BP_LINT"; fi
53
+ if [ -n "$BP_DEPLOY" ]; then echo "Deploy: $BP_DEPLOY"; fi
54
+ else
55
+ if [ -n "$BP_PREFLIGHT" ]; then echo "export BP_PREFLIGHT='$BP_PREFLIGHT'"; fi
56
+ if [ -n "$BP_TEST" ]; then echo "export BP_TEST='$BP_TEST'"; fi
57
+ if [ -n "$BP_BUILD" ]; then echo "export BP_BUILD='$BP_BUILD'"; fi
58
+ if [ -n "$BP_LINT" ]; then echo "export BP_LINT='$BP_LINT'"; fi
59
+ if [ -n "$BP_DEPLOY" ]; then echo "export BP_DEPLOY='$BP_DEPLOY'"; fi
60
+ fi
package/skills-lock.json CHANGED
@@ -318,7 +318,7 @@
318
318
  },
319
319
  "verify-work": {
320
320
  "description": "Multi-phase UAT gate — cold-start smoke, build, typecheck, lint, tests, step-by-step manual verification, gaps-closure loop. Use after execute-plan or develop-tdd, before audit-code.",
321
- "sha256": "a05a1d7ab2a959aa",
321
+ "sha256": "d1aeab669a9c5621",
322
322
  "path": "verify-work/SKILL.md"
323
323
  },
324
324
  "visual-dashboard": {
@@ -25,9 +25,10 @@ Review answers "is the code good?"; Verify answers "does the built thing do what
25
25
 
26
26
  1. Read active story tasks from `specs/epics/<capsule>/eNNsYY-tasks.yaml` and story spec from `specs/epics/<capsule>/eNNsYY-<slug>.md` (countable-story-format, Gherkin in §17).
27
27
  2. **Cold-start smoke** (if app): stop server, clear caches, boot from scratch.
28
- 3. Mechanical gates: build typecheck lint tests (from `CLAUDE.md`).
29
- 4. **Step-by-step UAT** one user-observable action at a time.
30
- 5. **Gaps loop** — failures log `plan-work` → re-verify.
28
+ 3. **AGENTS.md preflight** — before running default checks, call `bash scripts/bp-read-agents.sh` to detect project-specific commands. If `BP_PREFLIGHT` is set, run it instead of the default mechanical gates (or in addition to them if the project requires both). Output: `"Using preflight from AGENTS.md: <cmd>"`. Fall back to `CLAUDE.md` commands if AGENTS.md is absent.
29
+ 4. Mechanical gates: build typecheck lint tests (from `CLAUDE.md` or AGENTS.md).
30
+ 5. **Step-by-step UAT** — one user-observable action at a time.
31
+ 6. **Gaps loop** — failures → log → `plan-work` → re-verify.
31
32
 
32
33
  ## Verify sub-operations
33
34