Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cursor/rules/audit-code.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Apply the full checklist to churn-ranked files in descending order. Files with z
- Default: full checklist
- --quick: Run only Supply Chain and Test Coverage. Use for changes under 50 LOC.
- --gate: Non-interactive mode for automated CI gating (used by build-epic step 6). Exit with non-zero status code (`exit 1`) on ANY checklist failure; `exit 0` only if ALL items pass. Produces a compact pass/fail summary to stderr. On failure, list every ✗ item with reason.
- --parallel: Run checklist sections in **isolated git worktrees** (e45s18) so concurrent checks cannot corrupt each other's working tree. See [REFERENCE.md](REFERENCE.md) or:
- --parallel: Run checklist sections in **isolated git worktrees** (e45s18) so concurrent checks cannot corrupt each other's working tree:

```bash
bash scripts/lib/parallel-review-worktrees.sh audit-code
Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/craft-skill.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Move process detail into the SKILL.md body or REFERENCE.md — never into `descr
- Any reference materials to include?
- What specs/ output does it produce (if any)?

2. **Verify Principles** — Ensure the skill aligns with [PRINCIPLES.md](../docs/PRINCIPLES.md):
2. **Verify Principles** — Ensure the skill aligns with [PRINCIPLES.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/PRINCIPLES.md):
- Is it atomic (verb-noun)?
- Is it "deep" (simple interface, complex internal logic)?
- Does it include Hard Gates?
Expand All @@ -42,7 +42,7 @@ Move process detail into the SKILL.md body or REFERENCE.md — never into `descr

**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.

4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](../docs/references/model-profiles.md).
4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/model-profiles.md).

> **STREAM CONTINUITY** — When writing file content, output in continuous chunks of ~200 lines. Do not pause. Continue immediately until complete. If you need time, emit a placeholder comment rather than going silent.

Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/elaborate-spec.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Once the user has answered the main questions, probe for assumptions:

### 4. Synthesize and confirm

Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](file:///Users/danielvm/Developer/bigpowers/countable-story-format.md):
Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md):
- The problem (feeds into §1 Business narrative)
- The solution and main flow (feeds into §5)
- The key constraints and alternative flows (feeds into §6)
Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/evolve-skill.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ See [REFERENCE.md](REFERENCE.md) for ADR template.
**Evidence:** path/to/benchmark-report.md
```

Benchmark repo: `/Users/danielvm/Developer/bigpowers-benchmark/`
Benchmark repo: `bigpowers-benchmark` — resolve the local clone on this machine (e.g. `gh repo clone danielvm-git/bigpowers-benchmark` if absent); never assume a hard-coded absolute path.
2 changes: 1 addition & 1 deletion .cursor/rules/grill-me.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Ask one question at a time. For each challenge, cite the specific URL and sectio

When an assumption doesn't match the docs:

> "Your plan uses `library.doThing(a, b)` but the [docs](URL) show the signature is `doThing(config: {a, b})` with a config object. This will fail at runtime."
> "Your plan uses `library.doThing(a, b)` but the [docs](https://example.com/api-reference) show the signature is `doThing(config: {a, b})` with a config object. This will fail at runtime."

Document each discrepancy clearly.

Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/guard-git.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Installs a shared hook that blocks destructive git operations and enforces workf
## Quick start

1. **Scope**: ask project-only vs global (paths differ per product).
2. **Copy the hook bundle** from the root [hooks/](hooks/) directory to the client's hooks directory.
2. **Write the hook bundle** from [REFERENCE.md](REFERENCE.md) into the client's hooks directory.
3. **Run `chmod +x`** on `pre-tool-use.sh`.
4. **Merge** the hook snippet from [REFERENCE.md](REFERENCE.md) into the right settings file — do not wipe unrelated keys.
5. **Verify** with the tests in [REFERENCE.md](REFERENCE.md).
Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/investigate-bug.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ After writing the bug file, print a one-line summary of the root cause and sugge

<!-- story: e35s10 -->

- [Feathers' Seams & Characterization Tests](../../docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
- [Fowler's Code Smells](../../docs/references/fowler.md) — identifying structural problems by smell before investigating
- [Feathers' Seams & Characterization Tests](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
- [Fowler's Code Smells](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — identifying structural problems by smell before investigating
6 changes: 3 additions & 3 deletions .cursor/rules/model-domain.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ _Avoid_: Client, buyer, account

## Contexts

- [Ordering](./src/ordering/CONTEXT.md) — receives and tracks customer orders
- [Billing](./src/billing/CONTEXT.md) — generates invoices and processes payments
- [Fulfillment](./src/fulfillment/CONTEXT.md) — manages warehouse picking and shipping
- Ordering — `src/ordering/CONTEXT.md` — receives and tracks customer orders
- Billing — `src/billing/CONTEXT.md` — generates invoices and processes payments
- Fulfillment — `src/fulfillment/CONTEXT.md` — manages warehouse picking and shipping

## Relationships

Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/plan-refactor.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ After writing `specs/REFACTOR_LATEST.md`, suggest running `kickoff-branch` next

<!-- story: e35s10 -->

- [Fowler's Refactoring Catalog](../../docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
- [Beck's Tidy First?](../../docs/references/kent-beck.md) — structural change before behavioral change
- [Fowler's Refactoring Catalog](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
- [Beck's Tidy First?](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/kent-beck.md) — structural change before behavioral change

## Verify
4 changes: 2 additions & 2 deletions .cursor/rules/plan-release.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Synthesize the conversation context into `specs/release-plan.yaml` (index) and s
|------|---------|
| `specs/release-plan.yaml` | `release.version`, semver bump hint, WSJF-ordered epic list with `id`, `capsule_dir`, `wsjf`, `bcps` — **no story status** |
| `specs/epics/eNN-<slug>/epic.yaml` | Epic manifest: `id`, `title`, `wsjf`, `total_bcps`, `status`, `stories[]` list |
| `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](file:///Users/danielvm/Developer/bigpowers/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
| `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
| `specs/epics/eNN-<slug>/eNNsYY-tasks.yaml` | Decoupled task checklist with `verify:` commands per task |
| `specs/execution-status.yaml` | Flat key-value store for story status (`eNNsYY: todo`) |

Expand Down Expand Up @@ -101,7 +101,7 @@ stories:
```
### 6. Save story specs (countable-story-format .md)

Each story becomes a standalone `.md` file following [countable-story-format.md](file:///Users/danielvm/Developer/bigpowers/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
Each story becomes a standalone `.md` file following [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
### 7. Save decoupled task files (`-tasks.yaml`)

Each story has a decoupled `-tasks.yaml` with implementation steps:
Expand Down
2 changes: 1 addition & 1 deletion .cursor/rules/using-bigpowers.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ UTILITY terse-mode / craft-skill / edit-document (any phase)

If you work alone and do not want PR ceremony every task:

1. Read [profiles/solo-git.md](../profiles/solo-git.md).
1. Read [profiles/solo-git.md](../../profiles/solo-git.md).
2. Register with `compose-workflow` → `specs/WORKFLOW-solo-git.md`.
3. Ship with `release-branch` in **solo-local** mode (`land-branch.sh`), not `gh pr create`.

Expand Down
4 changes: 2 additions & 2 deletions .cursor/rules/write-document.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Auto-fill from CLAUDE.md `Test` and `Lint` commands.
```markdown
## Changelog

See [CHANGELOG.md](CHANGELOG.md) or [Releases](https://github.com/user/repo/releases).
See [CHANGELOG.md](../../CHANGELOG.md) or [Releases](https://github.com/user/repo/releases).
```

### 13. Links
Expand All @@ -236,7 +236,7 @@ See [CHANGELOG.md](CHANGELOG.md) or [Releases](https://github.com/user/repo/rele
```markdown
## License

MIT — see [LICENSE](LICENSE) for details.
MIT — see [LICENSE](../../LICENSE) for details.
```

Detect from CLAUDE.md or project LICENSE file.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Apply the full checklist to churn-ranked files in descending order. Files with z
- Default: full checklist
- --quick: Run only Supply Chain and Test Coverage. Use for changes under 50 LOC.
- --gate: Non-interactive mode for automated CI gating (used by build-epic step 6). Exit with non-zero status code (`exit 1`) on ANY checklist failure; `exit 0` only if ALL items pass. Produces a compact pass/fail summary to stderr. On failure, list every ✗ item with reason.
- --parallel: Run checklist sections in **isolated git worktrees** (e45s18) so concurrent checks cannot corrupt each other's working tree. See [REFERENCE.md](REFERENCE.md) or:
- --parallel: Run checklist sections in **isolated git worktrees** (e45s18) so concurrent checks cannot corrupt each other's working tree:

```bash
bash scripts/lib/parallel-review-worktrees.sh audit-code
Expand Down
4 changes: 2 additions & 2 deletions .gemini/extensions/bigpowers/commands/prompts/craft-skill.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Move process detail into the SKILL.md body or REFERENCE.md — never into `descr
- Any reference materials to include?
- What specs/ output does it produce (if any)?

2. **Verify Principles** — Ensure the skill aligns with [PRINCIPLES.md](../docs/PRINCIPLES.md):
2. **Verify Principles** — Ensure the skill aligns with [PRINCIPLES.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/PRINCIPLES.md):
- Is it atomic (verb-noun)?
- Is it "deep" (simple interface, complex internal logic)?
- Does it include Hard Gates?
Expand All @@ -42,7 +42,7 @@ Move process detail into the SKILL.md body or REFERENCE.md — never into `descr

**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.

4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](../docs/references/model-profiles.md).
4. Add `model:` frontmatter (`haiku` | `sonnet` | `opus`) per [model-profiles.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/model-profiles.md).

> **STREAM CONTINUITY** — When writing file content, output in continuous chunks of ~200 lines. Do not pause. Continue immediately until complete. If you need time, emit a placeholder comment rather than going silent.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Once the user has answered the main questions, probe for assumptions:

### 4. Synthesize and confirm

Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](file:///Users/danielvm/Developer/bigpowers/countable-story-format.md):
Summarize your understanding in 3–5 bullet points aligned with [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md):
- The problem (feeds into §1 Business narrative)
- The solution and main flow (feeds into §5)
- The key constraints and alternative flows (feeds into §6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ See [REFERENCE.md](REFERENCE.md) for ADR template.
**Evidence:** path/to/benchmark-report.md
```

Benchmark repo: `/Users/danielvm/Developer/bigpowers-benchmark/`
Benchmark repo: `bigpowers-benchmark` — resolve the local clone on this machine (e.g. `gh repo clone danielvm-git/bigpowers-benchmark` if absent); never assume a hard-coded absolute path.
2 changes: 1 addition & 1 deletion .gemini/extensions/bigpowers/commands/prompts/grill-me.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Ask one question at a time. For each challenge, cite the specific URL and sectio

When an assumption doesn't match the docs:

> "Your plan uses `library.doThing(a, b)` but the [docs](URL) show the signature is `doThing(config: {a, b})` with a config object. This will fail at runtime."
> "Your plan uses `library.doThing(a, b)` but the [docs](https://example.com/api-reference) show the signature is `doThing(config: {a, b})` with a config object. This will fail at runtime."

Document each discrepancy clearly.

Expand Down
2 changes: 1 addition & 1 deletion .gemini/extensions/bigpowers/commands/prompts/guard-git.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Installs a shared hook that blocks destructive git operations and enforces workf
## Quick start

1. **Scope**: ask project-only vs global (paths differ per product).
2. **Copy the hook bundle** from the root [hooks/](hooks/) directory to the client's hooks directory.
2. **Write the hook bundle** from [REFERENCE.md](REFERENCE.md) into the client's hooks directory.
3. **Run `chmod +x`** on `pre-tool-use.sh`.
4. **Merge** the hook snippet from [REFERENCE.md](REFERENCE.md) into the right settings file — do not wipe unrelated keys.
5. **Verify** with the tests in [REFERENCE.md](REFERENCE.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ After writing the bug file, print a one-line summary of the root cause and sugge

<!-- story: e35s10 -->

- [Feathers' Seams & Characterization Tests](../../docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
- [Fowler's Code Smells](../../docs/references/fowler.md) — identifying structural problems by smell before investigating
- [Feathers' Seams & Characterization Tests](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/feathers.md) — seam types, characterization tests, and the legacy code change algorithm
- [Fowler's Code Smells](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — identifying structural problems by smell before investigating
6 changes: 3 additions & 3 deletions .gemini/extensions/bigpowers/commands/prompts/model-domain.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,9 @@ _Avoid_: Client, buyer, account

## Contexts

- [Ordering](./src/ordering/CONTEXT.md) — receives and tracks customer orders
- [Billing](./src/billing/CONTEXT.md) — generates invoices and processes payments
- [Fulfillment](./src/fulfillment/CONTEXT.md) — manages warehouse picking and shipping
- Ordering — `src/ordering/CONTEXT.md` — receives and tracks customer orders
- Billing — `src/billing/CONTEXT.md` — generates invoices and processes payments
- Fulfillment — `src/fulfillment/CONTEXT.md` — manages warehouse picking and shipping

## Relationships

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ After writing `specs/REFACTOR_LATEST.md`, suggest running `kickoff-branch` next

<!-- story: e35s10 -->

- [Fowler's Refactoring Catalog](../../docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
- [Beck's Tidy First?](../../docs/references/kent-beck.md) — structural change before behavioral change
- [Fowler's Refactoring Catalog](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/fowler.md) — canonical refactoring vocabulary and code-smell taxonomy
- [Beck's Tidy First?](https://github.com/danielvm-git/bigpowers/blob/main/docs/references/kent-beck.md) — structural change before behavioral change

## Verify
4 changes: 2 additions & 2 deletions .gemini/extensions/bigpowers/commands/prompts/plan-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Synthesize the conversation context into `specs/release-plan.yaml` (index) and s
|------|---------|
| `specs/release-plan.yaml` | `release.version`, semver bump hint, WSJF-ordered epic list with `id`, `capsule_dir`, `wsjf`, `bcps` — **no story status** |
| `specs/epics/eNN-<slug>/epic.yaml` | Epic manifest: `id`, `title`, `wsjf`, `total_bcps`, `status`, `stories[]` list |
| `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](file:///Users/danielvm/Developer/bigpowers/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
| `specs/epics/eNN-<slug>/eNNsYY-<slug>.md` | Story spec in [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md) with 20 sections and Gherkin acceptance criteria |
| `specs/epics/eNN-<slug>/eNNsYY-tasks.yaml` | Decoupled task checklist with `verify:` commands per task |
| `specs/execution-status.yaml` | Flat key-value store for story status (`eNNsYY: todo`) |

Expand Down Expand Up @@ -101,7 +101,7 @@ stories:
```
### 6. Save story specs (countable-story-format .md)

Each story becomes a standalone `.md` file following [countable-story-format.md](file:///Users/danielvm/Developer/bigpowers/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
Each story becomes a standalone `.md` file following [countable-story-format.md](https://github.com/danielvm-git/bigpowers/blob/main/docs/countable-story-format.md). Minimum: maturity 3 (Countable) with all 20 sections present. Acceptance criteria in §17 use Gherkin scenarios.
### 7. Save decoupled task files (`-tasks.yaml`)

Each story has a decoupled `-tasks.yaml` with implementation steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ UTILITY terse-mode / craft-skill / edit-document (any phase)

If you work alone and do not want PR ceremony every task:

1. Read [profiles/solo-git.md](../profiles/solo-git.md).
1. Read [profiles/solo-git.md](../../profiles/solo-git.md).
2. Register with `compose-workflow` → `specs/WORKFLOW-solo-git.md`.
3. Ship with `release-branch` in **solo-local** mode (`land-branch.sh`), not `gh pr create`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ Auto-fill from CLAUDE.md `Test` and `Lint` commands.
```markdown
## Changelog

See [CHANGELOG.md](CHANGELOG.md) or [Releases](https://github.com/user/repo/releases).
See [CHANGELOG.md](../../CHANGELOG.md) or [Releases](https://github.com/user/repo/releases).
```

### 13. Links
Expand All @@ -236,7 +236,7 @@ See [CHANGELOG.md](CHANGELOG.md) or [Releases](https://github.com/user/repo/rele
```markdown
## License

MIT — see [LICENSE](LICENSE) for details.
MIT — see [LICENSE](../../LICENSE) for details.
```

Detect from CLAUDE.md or project LICENSE file.
Expand Down
2 changes: 1 addition & 1 deletion .gemini/extensions/bigpowers/skills/audit-code/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Apply the full checklist to churn-ranked files in descending order. Files with z
- Default: full checklist
- --quick: Run only Supply Chain and Test Coverage. Use for changes under 50 LOC.
- --gate: Non-interactive mode for automated CI gating (used by build-epic step 6). Exit with non-zero status code (`exit 1`) on ANY checklist failure; `exit 0` only if ALL items pass. Produces a compact pass/fail summary to stderr. On failure, list every ✗ item with reason.
- --parallel: Run checklist sections in **isolated git worktrees** (e45s18) so concurrent checks cannot corrupt each other's working tree. See [REFERENCE.md](REFERENCE.md) or:
- --parallel: Run checklist sections in **isolated git worktrees** (e45s18) so concurrent checks cannot corrupt each other's working tree:

```bash
bash scripts/lib/parallel-review-worktrees.sh audit-code
Expand Down
Loading