bigpowers 2.23.0 → 2.25.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 +1 -1
- package/.pi/prompts/compose-workflow.md +23 -1
- package/.pi/prompts/verify-work.md +4 -3
- package/.pi/skills/compose-workflow/SKILL.md +23 -1
- package/.pi/skills/verify-work/SKILL.md +4 -3
- package/CHANGELOG.md +14 -0
- package/SKILL-INDEX.md +1 -1
- package/compose-workflow/SKILL.md +23 -1
- package/package.json +1 -1
- package/scripts/bp-read-agents.sh +60 -0
- package/skills-lock.json +2 -2
- package/verify-work/SKILL.md +4 -3
package/.pi/package.json
CHANGED
|
@@ -17,9 +17,31 @@ description: Chain multiple bigpowers skills into a custom workflow recipe saved
|
|
|
17
17
|
3. Register in state.yaml Active Decisions.
|
|
18
18
|
4. Optional: reference from `orchestrate-project` Ad-Hoc mode.
|
|
19
19
|
|
|
20
|
+
## Standard Recipe Library
|
|
21
|
+
|
|
22
|
+
Pre-built recipes in `specs/workflows/` map agentic stack commands to skill chains.
|
|
23
|
+
Reference them in AGENTS.md so `/command` directly invokes the matching recipe.
|
|
24
|
+
|
|
25
|
+
| Command | Workflow | Skill chain |
|
|
26
|
+
|---------|----------|-------------|
|
|
27
|
+
| `/check-stack` | check-stack | survey-context → assess-impact → verify-work |
|
|
28
|
+
| `/ship` | ship | audit-code → commit-message → release-branch |
|
|
29
|
+
| `/tdd` | tdd | develop-tdd → enforce-first |
|
|
30
|
+
| `/code-review` | code-review | audit-code → request-review → respond-review |
|
|
31
|
+
| `/security` | security | audit-code (security focus) → request-review |
|
|
32
|
+
| `/plan` | plan | survey-context → research-first → plan-work |
|
|
33
|
+
| `/build-fix` | build-fix | investigate-bug → diagnose-root → quick-fix → validate-fix |
|
|
34
|
+
| `/e2e` | e2e | smoke-test → verify-work |
|
|
35
|
+
|
|
36
|
+
Add to `AGENTS.md`:
|
|
37
|
+
```
|
|
38
|
+
/check-stack = compose-workflow check-stack
|
|
39
|
+
/ship = compose-workflow ship
|
|
40
|
+
```
|
|
41
|
+
|
|
20
42
|
## Verify
|
|
21
43
|
|
|
22
|
-
→ verify: `
|
|
44
|
+
→ verify: `ls specs/workflows/*.yaml 2>/dev/null | wc -l | awk '{if($1>=8) print "OK: " $1 " recipes"; else print "FAIL"}'`
|
|
23
45
|
|
|
24
46
|
See [REFERENCE.md](REFERENCE.md) for template.
|
|
25
47
|
|
|
@@ -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.
|
|
28
|
-
4.
|
|
29
|
-
5. **
|
|
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
|
|
|
@@ -19,9 +19,31 @@ model: sonnet
|
|
|
19
19
|
3. Register in state.yaml Active Decisions.
|
|
20
20
|
4. Optional: reference from `orchestrate-project` Ad-Hoc mode.
|
|
21
21
|
|
|
22
|
+
## Standard Recipe Library
|
|
23
|
+
|
|
24
|
+
Pre-built recipes in `specs/workflows/` map agentic stack commands to skill chains.
|
|
25
|
+
Reference them in AGENTS.md so `/command` directly invokes the matching recipe.
|
|
26
|
+
|
|
27
|
+
| Command | Workflow | Skill chain |
|
|
28
|
+
|---------|----------|-------------|
|
|
29
|
+
| `/check-stack` | check-stack | survey-context → assess-impact → verify-work |
|
|
30
|
+
| `/ship` | ship | audit-code → commit-message → release-branch |
|
|
31
|
+
| `/tdd` | tdd | develop-tdd → enforce-first |
|
|
32
|
+
| `/code-review` | code-review | audit-code → request-review → respond-review |
|
|
33
|
+
| `/security` | security | audit-code (security focus) → request-review |
|
|
34
|
+
| `/plan` | plan | survey-context → research-first → plan-work |
|
|
35
|
+
| `/build-fix` | build-fix | investigate-bug → diagnose-root → quick-fix → validate-fix |
|
|
36
|
+
| `/e2e` | e2e | smoke-test → verify-work |
|
|
37
|
+
|
|
38
|
+
Add to `AGENTS.md`:
|
|
39
|
+
```
|
|
40
|
+
/check-stack = compose-workflow check-stack
|
|
41
|
+
/ship = compose-workflow ship
|
|
42
|
+
```
|
|
43
|
+
|
|
22
44
|
## Verify
|
|
23
45
|
|
|
24
|
-
→ verify: `
|
|
46
|
+
→ verify: `ls specs/workflows/*.yaml 2>/dev/null | wc -l | awk '{if($1>=8) print "OK: " $1 " recipes"; else print "FAIL"}'`
|
|
25
47
|
|
|
26
48
|
See [REFERENCE.md](REFERENCE.md) for template.
|
|
27
49
|
|
|
@@ -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.
|
|
30
|
-
4.
|
|
31
|
-
5. **
|
|
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,17 @@
|
|
|
1
|
+
# [2.25.0](https://github.com/danielvm-git/bigpowers/compare/v2.24.0...v2.25.0) (2026-06-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **compose-workflow:** add standard recipe library with 8 agentic stack workflows ([2d61aed](https://github.com/danielvm-git/bigpowers/commit/2d61aedb60a5ee881d568b23cb922d49ee896990))
|
|
7
|
+
|
|
8
|
+
# [2.24.0](https://github.com/danielvm-git/bigpowers/compare/v2.23.0...v2.24.0) (2026-06-22)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **verify-work:** read preflight commands from AGENTS.md before running checks ([966963d](https://github.com/danielvm-git/bigpowers/commit/966963d41e5801a904693ce28037b25304333f25))
|
|
14
|
+
|
|
1
15
|
# [2.23.0](https://github.com/danielvm-git/bigpowers/compare/v2.22.0...v2.23.0) (2026-06-22)
|
|
2
16
|
|
|
3
17
|
|
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:
|
|
6
|
+
**Generated:** 2026-06-22T02:29:38Z
|
|
7
7
|
**Skills:** 68
|
|
8
8
|
|
|
9
9
|
---
|
|
@@ -18,8 +18,30 @@ model: sonnet
|
|
|
18
18
|
3. Register in state.yaml Active Decisions.
|
|
19
19
|
4. Optional: reference from `orchestrate-project` Ad-Hoc mode.
|
|
20
20
|
|
|
21
|
+
## Standard Recipe Library
|
|
22
|
+
|
|
23
|
+
Pre-built recipes in `specs/workflows/` map agentic stack commands to skill chains.
|
|
24
|
+
Reference them in AGENTS.md so `/command` directly invokes the matching recipe.
|
|
25
|
+
|
|
26
|
+
| Command | Workflow | Skill chain |
|
|
27
|
+
|---------|----------|-------------|
|
|
28
|
+
| `/check-stack` | check-stack | survey-context → assess-impact → verify-work |
|
|
29
|
+
| `/ship` | ship | audit-code → commit-message → release-branch |
|
|
30
|
+
| `/tdd` | tdd | develop-tdd → enforce-first |
|
|
31
|
+
| `/code-review` | code-review | audit-code → request-review → respond-review |
|
|
32
|
+
| `/security` | security | audit-code (security focus) → request-review |
|
|
33
|
+
| `/plan` | plan | survey-context → research-first → plan-work |
|
|
34
|
+
| `/build-fix` | build-fix | investigate-bug → diagnose-root → quick-fix → validate-fix |
|
|
35
|
+
| `/e2e` | e2e | smoke-test → verify-work |
|
|
36
|
+
|
|
37
|
+
Add to `AGENTS.md`:
|
|
38
|
+
```
|
|
39
|
+
/check-stack = compose-workflow check-stack
|
|
40
|
+
/ship = compose-workflow ship
|
|
41
|
+
```
|
|
42
|
+
|
|
21
43
|
## Verify
|
|
22
44
|
|
|
23
|
-
→ verify: `
|
|
45
|
+
→ verify: `ls specs/workflows/*.yaml 2>/dev/null | wc -l | awk '{if($1>=8) print "OK: " $1 " recipes"; else print "FAIL"}'`
|
|
24
46
|
|
|
25
47
|
See [REFERENCE.md](REFERENCE.md) for template.
|
package/package.json
CHANGED
|
@@ -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
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"compose-workflow": {
|
|
35
35
|
"description": "Chain multiple bigpowers skills into a custom workflow recipe saved in specs/. Use when a project repeats a non-standard skill sequence, or user wants a documented playbook beyond orchestrate-project modes.",
|
|
36
|
-
"sha256": "
|
|
36
|
+
"sha256": "4d498c0c6975cbce",
|
|
37
37
|
"path": "compose-workflow/SKILL.md"
|
|
38
38
|
},
|
|
39
39
|
"craft-skill": {
|
|
@@ -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": "
|
|
321
|
+
"sha256": "d1aeab669a9c5621",
|
|
322
322
|
"path": "verify-work/SKILL.md"
|
|
323
323
|
},
|
|
324
324
|
"visual-dashboard": {
|
package/verify-work/SKILL.md
CHANGED
|
@@ -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.
|
|
29
|
-
4.
|
|
30
|
-
5. **
|
|
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
|
|