bigpowers 1.0.0 → 1.1.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/CHANGELOG.md +14 -0
- package/CLAUDE.md +10 -8
- package/CONVENTIONS.md +8 -3
- package/GEMINI.md +9 -8
- package/README.md +57 -21
- package/RELEASE.md +10 -0
- package/SKILL-INDEX.md +98 -88
- package/assess-impact/SKILL.md +1 -0
- package/audit-code/SKILL.md +18 -0
- package/change-request/SKILL.md +1 -0
- package/commit-message/SKILL.md +1 -0
- package/compose-workflow/REFERENCE.md +13 -0
- package/compose-workflow/SKILL.md +23 -0
- package/countable-story-format.md +1 -1
- package/craft-skill/REFERENCE.md +1 -1
- package/craft-skill/SKILL.md +6 -1
- package/deepen-architecture/SKILL.md +15 -2
- package/define-language/SKILL.md +1 -0
- package/define-success/SKILL.md +1 -0
- package/delegate-task/SKILL.md +7 -2
- package/design-interface/SKILL.md +1 -0
- package/develop-tdd/SKILL.md +10 -9
- package/diagnose-root/SKILL.md +22 -0
- package/dispatch-agents/SKILL.md +13 -3
- package/edit-document/SKILL.md +1 -0
- package/elaborate-spec/SKILL.md +1 -0
- package/enforce-first/SKILL.md +1 -0
- package/evolve-skill/REFERENCE.md +12 -0
- package/evolve-skill/SKILL.md +24 -0
- package/execute-plan/SKILL.md +12 -4
- package/grill-me/SKILL.md +1 -0
- package/grill-with-docs/REFERENCE.md +5 -0
- package/grill-with-docs/SKILL.md +28 -0
- package/guard-git/REFERENCE.md +36 -6
- package/guard-git/SKILL.md +5 -2
- package/guard-git/scripts/lib/git-guardrails-core.sh +0 -1
- package/hook-commits/SKILL.md +1 -0
- package/hooks/pre-tool-use.sh +43 -46
- package/inspect-quality/SKILL.md +9 -6
- package/investigate-bug/SKILL.md +18 -5
- package/kickoff-branch/SKILL.md +13 -5
- package/map-codebase/SKILL.md +1 -0
- package/migrate-spec/SKILL.md +1 -0
- package/model-domain/SKILL.md +10 -0
- package/orchestrate-project/REFERENCE.md +13 -7
- package/orchestrate-project/SKILL.md +7 -5
- package/organize-workspace/SKILL.md +1 -0
- package/package.json +3 -2
- package/plan-refactor/SKILL.md +1 -0
- package/plan-release/SKILL.md +1 -0
- package/plan-work/SKILL.md +8 -3
- package/profiles/node-service.md +28 -0
- package/profiles/solo-git.md +39 -0
- package/profiles/swift.md +27 -0
- package/profiles/typescript-vue.md +28 -0
- package/release-branch/SKILL.md +51 -11
- package/request-review/SKILL.md +2 -1
- package/research-first/REFERENCE.md +29 -0
- package/research-first/SKILL.md +31 -0
- package/reset-baseline/SKILL.md +21 -0
- package/respond-review/SKILL.md +1 -0
- package/run-evals/REFERENCE.md +27 -0
- package/run-evals/SKILL.md +27 -0
- package/scope-work/SKILL.md +22 -0
- package/scripts/add-model-frontmatter.sh +82 -0
- package/scripts/build-skill-index.sh +28 -0
- package/scripts/install.sh +5 -1
- package/scripts/land-branch.sh +166 -0
- package/scripts/sync-skills.sh +5 -0
- package/search-skills/SKILL.md +20 -0
- package/seed-conventions/SKILL.md +3 -0
- package/session-state/SKILL.md +25 -3
- package/setup-environment/SKILL.md +22 -0
- package/simulate-agents/SKILL.md +24 -0
- package/slice-tasks/SKILL.md +22 -0
- package/spike-prototype/SKILL.md +1 -0
- package/stocktake-skills/REFERENCE.md +8 -0
- package/stocktake-skills/SKILL.md +28 -0
- package/survey-context/SKILL.md +12 -11
- package/terse-mode/SKILL.md +1 -0
- package/trace-requirement/SKILL.md +1 -0
- package/using-bigpowers/SKILL.md +30 -4
- package/validate-fix/SKILL.md +9 -5
- package/verify-work/REFERENCE.md +23 -0
- package/verify-work/SKILL.md +39 -0
- package/visual-dashboard/SKILL.md +51 -1
- package/wire-observability/SKILL.md +1 -0
- package/write-document/REFERENCE.md +166 -0
- package/write-document/SKILL.md +12 -1
package/session-state/SKILL.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: session-state
|
|
3
|
+
model: haiku
|
|
3
4
|
description: Track implementation decisions and progress in specs/STATE.md to prevent context rot. Use at the start of a session to load context, and whenever a significant decision is made or a milestone is reached.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -9,14 +10,35 @@ Track the current state of implementation, including decisions made, pending tas
|
|
|
9
10
|
|
|
10
11
|
## Goal
|
|
11
12
|
|
|
12
|
-
Maintain a single source of truth for the *current* state of the work in `specs/STATE.md`. This file acts as the project's short-term memory, complementing the long-term memory of `specs/CONTEXT.md` and the task-specific instructions in `specs/PLAN.md`.
|
|
13
|
+
Maintain a single source of truth for the *current* state of the work in `specs/STATE.md`. This file acts as the project's short-term memory, complementing the long-term memory of `specs/CONTEXT.md` and the task-specific instructions in `specs/RELEASE-PLAN.md`.
|
|
14
|
+
|
|
15
|
+
## Handoff block (cold start)
|
|
16
|
+
|
|
17
|
+
When ending a session or before a context-heavy spawn, write a **Handoff** section at the top of STATE.md:
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
## Handoff
|
|
21
|
+
- **Last step completed:** ...
|
|
22
|
+
- **Open decisions:** ...
|
|
23
|
+
- **Required reading:** CONVENTIONS.md, RELEASE-PLAN.md story X.Y, ...
|
|
24
|
+
- **Next skill:** verify-work | develop-tdd | ...
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Strategic compaction
|
|
28
|
+
|
|
29
|
+
| Trigger | Action |
|
|
30
|
+
|---------|--------|
|
|
31
|
+
| Phase transition (Plan → Build → Verify) | Compact Handoff; archive verbose decisions to ADR |
|
|
32
|
+
| Context > 70% estimated | Run terse-mode for status only; move detail to specs/ |
|
|
33
|
+
| Before `dispatch-agents` wave | STATE.md only channel between spawns |
|
|
34
|
+
|
|
13
35
|
## Workflow
|
|
14
36
|
|
|
15
37
|
### 1. Initialize (Session Start)
|
|
16
38
|
|
|
17
39
|
If `specs/STATE.md` does not exist, or if starting a new major phase:
|
|
18
40
|
|
|
19
|
-
- [ ] Read `specs/PLAN.md` and `specs/SCOPE.md`.
|
|
41
|
+
- [ ] Read `specs/RELEASE-PLAN.md` and `specs/SCOPE.md`.
|
|
20
42
|
- [ ] Get git metadata: `git branch --show-current` and `git rev-parse HEAD`.
|
|
21
43
|
- [ ] Create `specs/STATE.md` with the current milestone, git metadata, pending tasks, and any active decisions.
|
|
22
44
|
|
|
@@ -64,6 +86,6 @@ Whenever a significant decision is made or a milestone is reached:
|
|
|
64
86
|
|
|
65
87
|
## Anti-Patterns
|
|
66
88
|
|
|
67
|
-
- **Duplicate Plan**: Don't just copy `specs/PLAN.md`. The plan is the *intended* path; the state is the *actual* progress and the deviations from that path.
|
|
89
|
+
- **Duplicate Plan**: Don't just copy `specs/RELEASE-PLAN.md`. The plan is the *intended* path; the state is the *actual* progress and the deviations from that path.
|
|
68
90
|
- **Stale State**: Forgetting to update `specs/STATE.md` after a major refactor or decision.
|
|
69
91
|
- **Verbose History**: Keep it focused on the *current* state. Use git history for the past.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: setup-environment
|
|
3
|
+
description: Pre-install dependencies and configure tools before development work begins. Use at session start on a fresh clone, before kickoff-branch, or when user says setup environment or install deps.
|
|
4
|
+
model: haiku
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Setup Environment
|
|
8
|
+
|
|
9
|
+
Idempotent prep so BUILD phase commands succeed on first run.
|
|
10
|
+
|
|
11
|
+
## Checklist
|
|
12
|
+
|
|
13
|
+
1. Read `CLAUDE.md` / `CONVENTIONS.md` for required runtimes and commands.
|
|
14
|
+
2. Verify runtime versions (`node -v`, `swift --version`, etc.).
|
|
15
|
+
3. Install dependencies (`npm ci`, `bundle install`, etc.) — prefer lockfile installs.
|
|
16
|
+
4. Copy `.env.example` → `.env` if documented; never commit secrets.
|
|
17
|
+
5. Run smoke: lint + one fast test or `--version` on key tools.
|
|
18
|
+
6. Record versions in `specs/STATE.md` under Environment.
|
|
19
|
+
|
|
20
|
+
## Verify
|
|
21
|
+
|
|
22
|
+
→ verify: commands from CLAUDE.md Test/Lint rows exit 0
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: simulate-agents
|
|
3
|
+
description: Run Mock User and Auditor agents against a feature in fresh contexts before human review. Use after verify-work, before request-review, when user wants pre-review simulation.
|
|
4
|
+
model: sonnet
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Simulate Agents
|
|
8
|
+
|
|
9
|
+
Two roles, **isolated contexts** (no shared state with BUILD agent):
|
|
10
|
+
|
|
11
|
+
1. **Mock User** — follows Verification Script; reports UX gaps in plain language.
|
|
12
|
+
2. **Auditor** — checks CONVENTIONS.md, security checklist, test coverage; structured pass/fail.
|
|
13
|
+
|
|
14
|
+
## Process
|
|
15
|
+
|
|
16
|
+
1. Read story Verification Script + changed files diff.
|
|
17
|
+
2. Spawn Mock User: step through UAT script; log failures.
|
|
18
|
+
3. Spawn Auditor: run `audit-code` checklist cold.
|
|
19
|
+
4. Write `specs/SIMULATION-<feature>.md` with both reports.
|
|
20
|
+
5. Failed items → `respond-review` or `plan-work` gaps — do not skip human review.
|
|
21
|
+
|
|
22
|
+
## Verify
|
|
23
|
+
|
|
24
|
+
→ verify: `test -f specs/SIMULATION-*.md && grep -c "Mock User\|Auditor" specs/SIMULATION-*.md | awk '{if($1>=2) print "OK"}'`
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: slice-tasks
|
|
3
|
+
description: Break a plan or PRD into independently-grabbable vertical-slice tasks in specs/TASKS.md. Use after scope-work or plan-release, before plan-work, when user wants implementation tickets or tracer-bullet slices.
|
|
4
|
+
model: sonnet
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Slice Tasks
|
|
8
|
+
|
|
9
|
+
Produce `specs/TASKS.md` — vertical slices, each independently deliverable and testable.
|
|
10
|
+
|
|
11
|
+
## Process
|
|
12
|
+
|
|
13
|
+
1. Read `specs/SCOPE.md` and/or `specs/RELEASE-PLAN.md`.
|
|
14
|
+
2. Cut **tracer-bullet slices** (thin end-to-end paths first, then depth).
|
|
15
|
+
3. Each task entry: `id`, `title`, `depends-on:` (optional), `verify:` command, `story:` link.
|
|
16
|
+
4. Order by WSJF within the file.
|
|
17
|
+
|
|
18
|
+
> **HARD GATE** — No horizontal-only slices ("add all models") without a vertical path that proves integration.
|
|
19
|
+
|
|
20
|
+
## Verify
|
|
21
|
+
|
|
22
|
+
→ verify: `test -f specs/TASKS.md && grep -c "verify:" specs/TASKS.md | awk '{if($1>0) print "OK"; else print "MISSING"}'`
|
package/spike-prototype/SKILL.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: spike-prototype
|
|
3
|
+
model: sonnet
|
|
3
4
|
description: Throw-away prototype for unknown problem spaces. Output is learning notes in specs/SPIKE-<name>.md, not production code. Use when the domain or technology is unexplored, when estimates are impossible without experimentation, or when user says "spike", "prototype", or "proof of concept".
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Stocktake checklist
|
|
2
|
+
|
|
3
|
+
- [ ] SKILL.md exists at repo root `<name>/SKILL.md`
|
|
4
|
+
- [ ] Listed in SKILL-INDEX.md with correct phase
|
|
5
|
+
- [ ] `description` includes "Use when..."
|
|
6
|
+
- [ ] At least one HARD GATE callout
|
|
7
|
+
- [ ] specs/ output documented if applicable
|
|
8
|
+
- [ ] No edit to `.cursor/rules/` or `.gemini/` (generated only)
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: stocktake-skills
|
|
3
|
+
description: Sequential subagent batch audit of the bigpowers skill catalog — Quick Scan (changed only) or Full (all skills). Use during sustain phase, before a major release, or when catalog drift is suspected.
|
|
4
|
+
model: sonnet
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Stocktake Skills
|
|
8
|
+
|
|
9
|
+
Audit SKILL.md catalog for drift, stale triggers, missing HARD GATEs, and INDEX mismatches.
|
|
10
|
+
|
|
11
|
+
## Modes
|
|
12
|
+
|
|
13
|
+
| Mode | Scope |
|
|
14
|
+
|------|-------|
|
|
15
|
+
| **Quick Scan** | Skills changed since last tag or in current diff |
|
|
16
|
+
| **Full** | All 58 skills per SKILL-INDEX.md |
|
|
17
|
+
|
|
18
|
+
## Process
|
|
19
|
+
|
|
20
|
+
1. Run mode; for each skill check: exists, verb-noun, <300 lines total, HARD GATE present, INDEX row matches.
|
|
21
|
+
2. Write `specs/STOCKTAKE-<date>.md` with findings table (skill, issue, severity).
|
|
22
|
+
3. Critical findings → `plan-work` story; cosmetic → `evolve-skill` candidate.
|
|
23
|
+
|
|
24
|
+
## Verify
|
|
25
|
+
|
|
26
|
+
→ verify: `test -f specs/STOCKTAKE-*.md && echo OK || echo MISSING`
|
|
27
|
+
|
|
28
|
+
See [REFERENCE.md](REFERENCE.md) for checklist.
|
package/survey-context/SKILL.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: survey-context
|
|
3
|
+
model: haiku
|
|
3
4
|
description: Per-task context survey — reads specs/ and CONVENTIONS.md, maps the current lifecycle phase, and suggests the next skill to invoke. Use at the start of any new task, when returning to a project after a break, or when unsure what to do next.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -23,10 +24,9 @@ specs/
|
|
|
23
24
|
├── UBIQUITOUS_LANGUAGE.md → glossary status
|
|
24
25
|
├── SCOPE.md → scope definition status
|
|
25
26
|
├── TASKS.md → task breakdown status
|
|
26
|
-
├── PLAN.md
|
|
27
|
+
├── RELEASE-PLAN.md → implementation plan status
|
|
27
28
|
├── REFACTOR.md → refactor plan status
|
|
28
|
-
├──
|
|
29
|
-
├── BUG-LOG.md → historical bug log
|
|
29
|
+
├── bugs/ → bug investigations (BUG-*.md) + BUG-LOG.md
|
|
30
30
|
└── SPIKE-*.md → spike learning notes
|
|
31
31
|
```
|
|
32
32
|
|
|
@@ -53,12 +53,12 @@ Based on what you've found, identify which PMBOK phase this project is currently
|
|
|
53
53
|
| Phase | Signals |
|
|
54
54
|
|-------|---------|
|
|
55
55
|
| **Discover** | No specs/ yet, or only rough notes |
|
|
56
|
-
| **Design** | specs/SCOPE.md exists but no PLAN.md |
|
|
57
|
-
| **Plan** | specs/TASKS.md or PLAN.md exists; on `main`/`master` branch |
|
|
56
|
+
| **Design** | specs/SCOPE.md exists but no RELEASE-PLAN.md |
|
|
57
|
+
| **Plan** | specs/TASKS.md or RELEASE-PLAN.md exists; on `main`/`master` branch |
|
|
58
58
|
| **Initiate** | On a feature branch; no code changes yet |
|
|
59
|
-
| **Execute** | PLAN.md exists; on feature branch; steps in progress |
|
|
60
|
-
| **Verify** |
|
|
61
|
-
| **Bug** |
|
|
59
|
+
| **Execute** | RELEASE-PLAN.md exists; on feature branch; steps in progress |
|
|
60
|
+
| **Verify** | Implementation done; run `verify-work` or `run-evals`; awaiting UAT |
|
|
61
|
+
| **Bug** | `specs/bugs/BUG-*.md` exists; on `main`/`master` |
|
|
62
62
|
| **Review** | All code written; no PR yet |
|
|
63
63
|
| **Integrate** | PR open; tests passing |
|
|
64
64
|
| **Sustain** | Ongoing; no active task |
|
|
@@ -70,12 +70,13 @@ Based on the phase and state, recommend the most useful next step:
|
|
|
70
70
|
- **If in Plan/Bug phase and on `main`**: Suggest `kickoff-branch` next.
|
|
71
71
|
- **If in Initiate phase**: Suggest `develop-tdd` or `execute-plan`.
|
|
72
72
|
- **If in Execute phase**: Suggest `develop-tdd` (continue step X) or `execute-plan`.
|
|
73
|
+
- **If in Verify phase**: Suggest `verify-work` (UAT) or `run-evals` (capability evals).
|
|
73
74
|
|
|
74
75
|
Example:
|
|
75
76
|
```
|
|
76
77
|
Phase: Plan
|
|
77
78
|
Active branch: main
|
|
78
|
-
PLAN.md: exists
|
|
79
|
+
RELEASE-PLAN.md: exists
|
|
79
80
|
|
|
80
81
|
Suggested next: kickoff-branch (to create feature/auth branch)
|
|
81
82
|
```
|
|
@@ -86,8 +87,8 @@ Be specific — name the exact skill and why. If multiple options exist, list th
|
|
|
86
87
|
|
|
87
88
|
If something looks wrong:
|
|
88
89
|
- Broken tests in the baseline
|
|
89
|
-
-
|
|
90
|
-
- PLAN.md with missing verify commands
|
|
90
|
+
- `specs/bugs/BUG-*.md` open with no active fix branch
|
|
91
|
+
- RELEASE-PLAN.md with missing verify commands or Verification Script sections
|
|
91
92
|
- CONVENTIONS.md violations in recent commits
|
|
92
93
|
|
|
93
94
|
Report blockers first, before recommendations.
|
package/terse-mode/SKILL.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: terse-mode
|
|
3
|
+
model: haiku
|
|
3
4
|
description: Fallback ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use ONLY when context is critically long and compressing output is necessary to continue. Not a strategy — token discipline comes from code shape (small functions, unique names, headless tests), not terser prompts. Use when user says "caveman mode", "terse mode", "less tokens", "be brief", or invokes /terse-mode.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: trace-requirement
|
|
3
|
+
model: haiku
|
|
3
4
|
description: Link story IDs from specs/RELEASE-PLAN.md to the implementing code and tests. Produces specs/TRACEABILITY.md. Use when you want to verify coverage of a release plan, audit which stories are implemented, or find "dark" stories with no code.
|
|
4
5
|
---
|
|
5
6
|
|
package/using-bigpowers/SKILL.md
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: using-bigpowers
|
|
3
|
+
model: sonnet
|
|
3
4
|
description: One-time bootstrap that introduces the bigpowers skills system, the PMBOK lifecycle arc, and tells you which skill to call first for your situation. Use when starting with bigpowers for the first time, when user asks "where do I start?", or when the skills system needs to be explained.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Using bigpowers
|
|
7
8
|
|
|
8
|
-
Welcome to **bigpowers** — a lifecycle of
|
|
9
|
+
Welcome to **bigpowers** — a lifecycle of **58** agent skills for production-ready, TDD-driven software by solo developers.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx bigpowers # one-shot setup
|
|
15
|
+
npm install -g bigpowers # global install, then run: bigpowers
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
From source (contributors): `git clone` → `npm install` or `bash scripts/install.sh`.
|
|
19
|
+
|
|
20
|
+
Package: [bigpowers on npm](https://www.npmjs.com/package/bigpowers)
|
|
9
21
|
|
|
10
22
|
## What bigpowers is
|
|
11
23
|
|
|
@@ -16,7 +28,7 @@ A curated set of skills organized around the PMBOK developer lifecycle. Each ski
|
|
|
16
28
|
```
|
|
17
29
|
BOOTSTRAP using-bigpowers (this skill, first time only)
|
|
18
30
|
↓
|
|
19
|
-
DISCOVER survey-context → elaborate-spec
|
|
31
|
+
DISCOVER survey-context → research-first → elaborate-spec
|
|
20
32
|
↓
|
|
21
33
|
DESIGN model-domain / define-language / grill-me / deepen-architecture / design-interface
|
|
22
34
|
↓
|
|
@@ -28,6 +40,8 @@ SPIKE? spike-prototype → (feeds back to plan-work)
|
|
|
28
40
|
↓
|
|
29
41
|
EXECUTE develop-tdd + enforce-first ←→ delegate-task / dispatch-agents / execute-plan
|
|
30
42
|
↓
|
|
43
|
+
VERIFY run-evals → verify-work
|
|
44
|
+
↓
|
|
31
45
|
HARDEN wire-observability (any phase)
|
|
32
46
|
↓
|
|
33
47
|
BUG? investigate-bug → diagnose-root → validate-fix
|
|
@@ -52,13 +66,25 @@ UTILITY terse-mode / craft-skill / edit-document (any phase)
|
|
|
52
66
|
| Bug to fix | `investigate-bug` |
|
|
53
67
|
| Code ready for review | `audit-code` |
|
|
54
68
|
| Shipping a feature | `commit-message` → `release-branch` |
|
|
69
|
+
| Solo dev, PRs feel heavy | Enable `profiles/solo-git.md` → `specs/WORKFLOW-solo-git.md` → land via `scripts/land-branch.sh` |
|
|
70
|
+
|
|
71
|
+
## Solo Git profile
|
|
72
|
+
|
|
73
|
+
If you work alone and do not want PR ceremony every task:
|
|
74
|
+
|
|
75
|
+
1. Read [profiles/solo-git.md](../profiles/solo-git.md).
|
|
76
|
+
2. Register with `compose-workflow` → `specs/WORKFLOW-solo-git.md`.
|
|
77
|
+
3. Ship with `release-branch` in **solo-local** mode (`land-branch.sh`), not `gh pr create`.
|
|
78
|
+
|
|
79
|
+
You still use worktrees, protected `main`, and verification gates — only the integrate step changes.
|
|
55
80
|
|
|
56
81
|
## Key conventions
|
|
57
82
|
|
|
58
83
|
- **specs/ is your memory.** All domain docs, plans, and investigation outputs go in `specs/` at your project root.
|
|
59
|
-
-
|
|
84
|
+
- **Integrate:** team default is `gh pr` (team-pr); solo profile uses `land-branch.sh`. Never create GitHub issues from skills — use local Markdown files instead.
|
|
60
85
|
- **One skill, one thing.** If you're unsure which skill to call, call `survey-context` — it reads your current state and recommends the next step.
|
|
61
|
-
- **verify: every step.** Every task in `specs/PLAN.md` must have a `verify: <runnable command>`. Evidence over claims.
|
|
86
|
+
- **verify: every step.** Every task in `specs/RELEASE-PLAN.md` must have a `verify: <runnable command>`. Evidence over claims.
|
|
87
|
+
- **58 skills.** See `SKILL-INDEX.md`; find skills with `search-skills`.
|
|
62
88
|
|
|
63
89
|
## After this
|
|
64
90
|
|
package/validate-fix/SKILL.md
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: validate-fix
|
|
3
|
+
model: haiku
|
|
3
4
|
description: Prove a fix works before declaring done — re-run the failing test, run the full suite, typecheck, lint, and harden against recurrence. Use after implementing a bug fix, when user says "is this fixed?", or before closing an investigation.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -58,9 +59,9 @@ For every bug fixed, add at least one prevention layer:
|
|
|
58
59
|
- [ ] At least one hardening mechanism added
|
|
59
60
|
- [ ] Hardening mechanism is tested
|
|
60
61
|
|
|
61
|
-
### 6. Update
|
|
62
|
+
### 6. Update the bug file and BUG-LOG.md
|
|
62
63
|
|
|
63
|
-
|
|
64
|
+
Find the most recent `specs/bugs/BUG-*.md` file and append the resolution:
|
|
64
65
|
|
|
65
66
|
```markdown
|
|
66
67
|
## Resolution
|
|
@@ -73,14 +74,17 @@ If a `specs/DIAGNOSIS.md` exists for this bug, append the resolution:
|
|
|
73
74
|
**Commit:** `fix(<scope>): <description>`
|
|
74
75
|
```
|
|
75
76
|
|
|
76
|
-
|
|
77
|
+
Also update the corresponding row in `specs/bugs/BUG-LOG.md`: set `status` to `fixed`, fill in `files_changed`, `approach`, `risk_level`, `commit_message`, and any other resolution fields.
|
|
78
|
+
|
|
79
|
+
- [ ] specs/bugs/BUG-*.md updated with resolution
|
|
80
|
+
- [ ] specs/bugs/BUG-LOG.md row updated with resolution fields
|
|
77
81
|
|
|
78
82
|
### 7. Behavioral Proof (HARD GATE)
|
|
79
83
|
|
|
80
84
|
Mechanical verification (tests passing) is only half the fix. You must prove **behavioral correctness**.
|
|
81
85
|
|
|
82
86
|
- [ ] Manually demonstrate the fixed behavior (e.g., via `run_shell_command` or `web_fetch`)
|
|
83
|
-
- [ ] Compare the output/state against the "Expected Behavior" in
|
|
87
|
+
- [ ] Compare the output/state against the "Expected Behavior" in the bug file
|
|
84
88
|
- [ ] Show the user evidence of the behavior, not just the test logs
|
|
85
89
|
|
|
86
90
|
## Rules
|
|
@@ -88,6 +92,6 @@ Mechanical verification (tests passing) is only half the fix. You must prove **b
|
|
|
88
92
|
- **Loop until behavioral correctness is verified**: if any checklist item fails, or if the behavior is still incorrect despite passing tests, return to step 1 and run all checks again from the top — do not declare done until every item is green and the behavior is proven correct in a single run.
|
|
89
93
|
- **Never use `@ts-ignore`, `as any`, or `// eslint-disable`** to "fix" a bug — these suppress the symptom without fixing the root cause
|
|
90
94
|
- **Never mark the task done if any test is still failing**
|
|
91
|
-
- **The verify command from specs/
|
|
95
|
+
- **The verify command from specs/bugs/BUG-*.md or specs/PLAN.md must pass**
|
|
92
96
|
|
|
93
97
|
Suggest next skill: `audit-code` → `commit-message`.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Verify Work — Reference
|
|
2
|
+
|
|
3
|
+
## Cold-start smoke
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
# Example — adapt to project CLAUDE.md
|
|
7
|
+
pkill -f "<dev-server>" 2>/dev/null || true
|
|
8
|
+
rm -rf .next/cache node_modules/.cache 2>/dev/null || true
|
|
9
|
+
<run command> &
|
|
10
|
+
sleep 3 && curl -sf http://localhost:<port>/health || echo "BOOT FAIL"
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Gaps template
|
|
14
|
+
|
|
15
|
+
```markdown
|
|
16
|
+
## Gaps (verify-work)
|
|
17
|
+
|
|
18
|
+
| Step | Expected | Actual | Status |
|
|
19
|
+
|------|----------|--------|--------|
|
|
20
|
+
| 1 | ... | ... | FAIL |
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Feed gaps to `plan-work` as new steps with verify commands, then re-run verify-work.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verify-work
|
|
3
|
+
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, when a story needs proof it works.
|
|
4
|
+
model: haiku
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Verify Work
|
|
8
|
+
|
|
9
|
+
> **HARD GATE** — No story is "done" until its `## Verification Script` from RELEASE-PLAN.md is confirmed by the user or agent with evidence.
|
|
10
|
+
|
|
11
|
+
> **HARD GATE** — Do NOT run verify-work on `main` or `master`. Run from the feature branch or worktree created by `kickoff-branch`.
|
|
12
|
+
|
|
13
|
+
Review answers "is the code good?"; Verify answers "does the built thing do what was promised?"
|
|
14
|
+
|
|
15
|
+
## Process
|
|
16
|
+
|
|
17
|
+
0. **Branch check** (before any gates):
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
|
21
|
+
# Must not be main or master — run kickoff-branch first
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
1. Read the story's `## Verification Script` from `specs/RELEASE-PLAN.md`.
|
|
25
|
+
2. **Cold-start smoke** (if app): stop server, clear caches, boot from scratch.
|
|
26
|
+
3. Run mechanical gates: build → typecheck → lint → full test suite (commands from CLAUDE.md).
|
|
27
|
+
4. **Step-by-step UAT**: one user-observable action at a time; record pass/fail.
|
|
28
|
+
5. **Gaps loop**: failed steps → log as Gaps → feed back to `plan-work` → re-verify until pass.
|
|
29
|
+
|
|
30
|
+
## UAT dialogue
|
|
31
|
+
|
|
32
|
+
- Pass: user confirms `yes` / `next` / `ok` per step.
|
|
33
|
+
- Fail: capture expected vs actual; do not mark story done.
|
|
34
|
+
|
|
35
|
+
## Verify
|
|
36
|
+
|
|
37
|
+
→ verify: `grep -c "Verification Script" specs/RELEASE-PLAN.md | awk '{if($1>0) print "OK"; else print "MISSING"}'`
|
|
38
|
+
|
|
39
|
+
See [REFERENCE.md](REFERENCE.md) for cold-start and gaps template.
|
|
@@ -1,12 +1,62 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: visual-dashboard
|
|
3
|
-
|
|
3
|
+
model: sonnet
|
|
4
|
+
description: Start a browser-based dashboard that visualizes architecture, implementation plans, and project status. Use when showing complex diagrams, progress roadmaps, or UI mockups would be clearer than text. Persists artifacts in .bigpowers/dashboard/. Also maintains specs/STATE.md and specs/RELEASE-PLAN.md in the correct format for the opencode progress panel.
|
|
4
5
|
---
|
|
5
6
|
|
|
6
7
|
# Visual Dashboard
|
|
7
8
|
|
|
8
9
|
Browser-based visual companion for bigpowers. Visualizes architecture, plans, and status.
|
|
9
10
|
|
|
11
|
+
## Opencode Progress Panel
|
|
12
|
+
|
|
13
|
+
Projects using bigpowers in opencode get a **live progress panel** (right sidebar) that reads `specs/STATE.md` and `specs/RELEASE-PLAN.md` directly. Toggle it with the document icon (⬚) in the opencode session header.
|
|
14
|
+
|
|
15
|
+
### Spec file format requirements
|
|
16
|
+
|
|
17
|
+
**`specs/STATE.md`** — the parser extracts:
|
|
18
|
+
- Project name from `# Session State: <name>`
|
|
19
|
+
- Milestone from `## Current Milestone` → first `**bold**` = name, `(parens)` = status
|
|
20
|
+
- Pending items from `## Pending` → `- [ ]` / `- [x]` lines
|
|
21
|
+
|
|
22
|
+
```markdown
|
|
23
|
+
# Session State: my-project
|
|
24
|
+
|
|
25
|
+
## Current Milestone
|
|
26
|
+
|
|
27
|
+
**v1.0.0 — Feature Name** (in progress)
|
|
28
|
+
|
|
29
|
+
## Pending
|
|
30
|
+
|
|
31
|
+
- [ ] Remaining task
|
|
32
|
+
- [x] Completed task
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
**`specs/RELEASE-PLAN.md`** — the parser extracts:
|
|
36
|
+
- Workstreams from `### WSN — Title · WSJF N.N` headings
|
|
37
|
+
- Steps from `- [ ]` / `- [x]` lines inside each workstream block
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
## Workstreams (WSJF order)
|
|
41
|
+
|
|
42
|
+
### WS1 — Feature Area · WSJF 4.5
|
|
43
|
+
|
|
44
|
+
- [x] Step already done
|
|
45
|
+
- [ ] Step pending
|
|
46
|
+
|
|
47
|
+
→ verify: `<command>`
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
**Parser rules:**
|
|
51
|
+
- Only `[ ]` and `[x]`/`[X]` are recognised as step markers.
|
|
52
|
+
- `→ verify:` lines are ignored.
|
|
53
|
+
- Steps outside a `### WSN —` block are not picked up.
|
|
54
|
+
- Missing `## Current Milestone` → panel shows "No specs found".
|
|
55
|
+
|
|
56
|
+
After completing a step, update the checkbox in-place; the panel auto-refreshes every 30 s or on manual ↺.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
10
60
|
## When to Use
|
|
11
61
|
|
|
12
62
|
Use when the user would understand the project state better by seeing it than reading it.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: wire-observability
|
|
3
|
+
model: sonnet
|
|
3
4
|
description: Add structured JSON logging, observability commands, and idempotent setup scripts to a project. Use when a project needs production-readiness instrumentation, when user wants structured logging, or as a production-readiness gate at any phase of development.
|
|
4
5
|
---
|
|
5
6
|
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
# Project README Template
|
|
2
|
+
|
|
3
|
+
Combined from dbader/readme-template and jehna/readme-best-practices. No TOC.
|
|
4
|
+
|
|
5
|
+
## Sections
|
|
6
|
+
|
|
7
|
+
### 1. Title + Badges
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
# Project Name
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+

|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Fill badges from CLAUDE.md stack info if available. Default to license + version badges.
|
|
18
|
+
|
|
19
|
+
### 2. Tagline
|
|
20
|
+
|
|
21
|
+
```markdown
|
|
22
|
+
> One-line description of what this project does and why it matters.
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### 3. Description
|
|
26
|
+
|
|
27
|
+
2-3 paragraphs: what problem it solves, who it's for, and what makes it different.
|
|
28
|
+
|
|
29
|
+
### 4. Prerequisites
|
|
30
|
+
|
|
31
|
+
```markdown
|
|
32
|
+
## Prerequisites
|
|
33
|
+
|
|
34
|
+
- **Runtime**: Node.js v18+ (from CLAUDE.md)
|
|
35
|
+
- **Package manager**: npm (or pnpm/yarn)
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
Auto-fill from CLAUDE.md commands section when possible.
|
|
39
|
+
|
|
40
|
+
### 5. Installation
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
## Installation
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
npm install -g your-package
|
|
47
|
+
# or
|
|
48
|
+
npx your-package
|
|
49
|
+
```
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Prefer npx one-shot if applicable; list global install as alternative.
|
|
53
|
+
|
|
54
|
+
### 6. Usage
|
|
55
|
+
|
|
56
|
+
```markdown
|
|
57
|
+
## Usage
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
your-command --help
|
|
61
|
+
your-command do-something
|
|
62
|
+
```
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Include the most common 1-2 commands. Link to full docs if they exist.
|
|
66
|
+
|
|
67
|
+
### 7. Features
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
## Features
|
|
71
|
+
|
|
72
|
+
- Feature 1: short description
|
|
73
|
+
- Feature 2: short description
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
3-6 bullet points of what the project does. Derived from the project's purpose.
|
|
77
|
+
|
|
78
|
+
### 8. Configuration
|
|
79
|
+
|
|
80
|
+
```markdown
|
|
81
|
+
## Configuration
|
|
82
|
+
|
|
83
|
+
| Variable | Default | Description |
|
|
84
|
+
|----------|---------|-------------|
|
|
85
|
+
| `VAR_NAME` | `value` | What it controls |
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Use `TODO` markers if unknown.
|
|
89
|
+
|
|
90
|
+
### 9. Development Setup
|
|
91
|
+
|
|
92
|
+
```markdown
|
|
93
|
+
## Development
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
git clone <repo-url>
|
|
97
|
+
cd project
|
|
98
|
+
npm install
|
|
99
|
+
```
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
Auto-fill from CLAUDE.md `Run` and `Build` commands.
|
|
103
|
+
|
|
104
|
+
### 10. Running Tests
|
|
105
|
+
|
|
106
|
+
```markdown
|
|
107
|
+
## Tests
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
npm test
|
|
111
|
+
npm run lint
|
|
112
|
+
```
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Auto-fill from CLAUDE.md `Test` and `Lint` commands.
|
|
116
|
+
|
|
117
|
+
### 11. Contributing
|
|
118
|
+
|
|
119
|
+
```markdown
|
|
120
|
+
## Contributing
|
|
121
|
+
|
|
122
|
+
1. Fork the repo.
|
|
123
|
+
2. Create a feature branch (`git checkout -b feature/my-thing`).
|
|
124
|
+
3. Commit changes (`git commit -am 'Add my thing'`).
|
|
125
|
+
4. Push (`git push origin feature/my-thing`).
|
|
126
|
+
5. Open a Pull Request.
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### 12. Changelog
|
|
130
|
+
|
|
131
|
+
```markdown
|
|
132
|
+
## Changelog
|
|
133
|
+
|
|
134
|
+
See [CHANGELOG.md](CHANGELOG.md) or [Releases](https://github.com/user/repo/releases).
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
### 13. Links
|
|
138
|
+
|
|
139
|
+
```markdown
|
|
140
|
+
## Links
|
|
141
|
+
|
|
142
|
+
- Repository: https://github.com/user/repo
|
|
143
|
+
- Issue tracker: https://github.com/user/repo/issues
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
### 14. License
|
|
147
|
+
|
|
148
|
+
```markdown
|
|
149
|
+
## License
|
|
150
|
+
|
|
151
|
+
MIT — see [LICENSE](LICENSE) for details.
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
Detect from CLAUDE.md or project LICENSE file.
|
|
155
|
+
|
|
156
|
+
### 15. Credits (optional)
|
|
157
|
+
|
|
158
|
+
```markdown
|
|
159
|
+
## Credits
|
|
160
|
+
|
|
161
|
+
Built with [bigpowers](https://github.com/danielvm-git/bigpowers).
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
## Verify
|
|
165
|
+
|
|
166
|
+
After generation, run: `grep -c "^## " README.md` — expect ≥ 7 section headings.
|