Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .agent/SKILL_INVENTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ commands or edit code/config as part of its procedure.
| skill-authoring | Create and improve first-party skills with progressive disclosure and eval guidance | L2 | 2026-11-09 |
| subagent-review | Review-only external CLI orchestration and structured lightweight decisions (`swarm_decide`) via MCP | L1 | 2026-10-25 |
| systematic-debugging | Evidence-first root-cause debugging with reproduce/minimise/hypothesis/regression loop | L2 | 2026-07-14 |
| test-driven-development | Red-green-refactor workflow for behavior changes with practical test seams | L2 | 2026-07-14 |
| test-driven-development | Red-green-refactor workflow for behavior changes with practical test seams | L2 | 2026-11-28 |
| rust-testing | Cargo/nextest unit tests beside modules | L2 | 2026-08-14 |
| threat-modeling-agentic-tools | Threat-model MCP/tool abuse and injection | L1 | 2026-07-01 |
| use-jev | Delegate pending decisions, blocked steps and triage items to Jev in one batched call; act on confident low-risk picks, hand back the rest | L2 | 2026-11-09 |
Expand All @@ -51,7 +51,7 @@ commands or edit code/config as part of its procedure.
| fix-it | Fix the one problem the latest report named: diagnose read-only, back up before overwriting, smallest reversible fix, verify what the user sees, report with an undo path. Triggered by /fix-it or "fix it" after a report | L2 | 2026-11-21 |
| step-back | Recover the ticket's goal, criteria and scope, review the diff against them in both directions, re-plan via next-steps | L2 | 2026-11-19 |
| ship-pr | Take one PR from open to merged: fix CI failures at the root cause, wait for green on the exact head commit, merge, verify. User-typed only; `--no-ci` gates locally when CI exists but can't run; remedies for workflows that never ran and repository-setting failures | L2 | 2026-11-28 |
| merge-pr | Merge one PR without fixing anything: CI already green on the exact head commit; Actions could not start (billing, spending limit, minutes), with the workflow steps replayed locally; a mix of the two; or no CI at all, with the declared checks run locally. Merge pinned to the head commit. User-typed only | L2 | 2026-11-21 |
| merge-pr | Merge one PR without fixing anything: CI already green on the exact head commit; Actions could not start (billing, spending limit, minutes), with the workflow steps replayed locally; a mix of the two; or no CI at all, with the declared checks run locally. Merge pinned to the head commit. User-typed only | L2 | 2026-11-28 |
| validate-implementation | Per-AC Verified/Failed/Unknown verdicts with evidence (**compiled harness**) | L2 | 2026-07-19 |
| verification-before-completion | Evidence-backed completion claims with fresh command proof (**compiled harness**) | L1 | 2026-11-04 |

Expand All @@ -62,7 +62,7 @@ commands or edit code/config as part of its procedure.
| search-tool-selection | Choose fd vs rg vs ast-grep vs fff MCP vs Graphify vs IDE search (**compiled harness**) | L1 | 2026-07-21 |
| safe-command-patterns | Bounded output, inspect-before-edit, confirmation gates | L1 | 2026-07-03 |
| search-and-navigation | rg, fd, bat, tree, navigation | L1 | 2026-07-03 |
| git-and-diff-workflows | git, gh, bounded diffs | L1 | 2026-11-09 |
| git-and-diff-workflows | git, gh, bounded diffs | L1 | 2026-11-28 |
| cli-tools-overview | Router for CLI skills + shared references (install-tiers, agent-environment) | L1 | 2026-07-04 |
| task-env-package-tools | Task runners, sync/frontmatter/pytest gates (**compiled harness**) | L1 | 2026-07-21 |
| structural-code-search | ast-grep, semgrep, ctags | L1 | 2026-07-03 |
Expand Down Expand Up @@ -118,10 +118,10 @@ specializations remain authoritative. Review notes and trigger cases are in
| external-gemini-review | Gemini-only external review | L1 | 2026-07-01 |
| pr-ready-hygiene | Definition-of-done checks and paste-ready PR text | L2 | 2026-07-01 |
| agent-flow | Core rules for projects tracked by agent-flow (`.agent-flow/`): ready queue, claims, evidence, handoffs | L1 | 2026-11-06 |
| flow-complete | Finish an agent-flow ticket: DoD, push, PR, handoff, submit for review | L2 | 2026-11-06 |
| flow-complete | Finish an agent-flow ticket: DoD, push, PR, handoff, submit for review | L2 | 2026-11-28 |
| flow-land | End-of-session handoff for agent-flow tickets | L1 | 2026-11-06 |
| flow-loop | Capped autonomous agent-flow ticket loop under a run contract; explicit invocation only | L2 | 2026-11-06 |
| flow-next | Claim the next ready agent-flow ticket and set up its branch or worktree | L1 | 2026-11-06 |
| flow-next | Claim the next ready agent-flow ticket and set up its branch or worktree | L1 | 2026-11-28 |
| flow-plan | Turn a request or spec into agent-flow tickets with dependencies | L1 | 2026-11-27 |
| flow-review | Review an agent-flow ticket against its acceptance criteria | L2 | 2026-11-06 |
| flow-status | Read-only agent-flow board summary | L1 | 2026-11-06 |
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/flow-complete/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ risk_class: medium
```
6. **Submit.** Run `agent-flow submit <id>`. It re-runs the DoD and moves the ticket to `review`.
- `GATE_FAILED` tells you exactly what is missing. Fix it and submit again.
- Confirm it printed `Submitted for review` before asking for a review. `INVALID_TRANSITION` (the ticket is still `ready` because a dependency blocks it, or the lease lapsed) means re-claim or clear the blocker, then submit again. A reviewer started earlier can't get a review brief or approve, and a second one duplicates the review.
7. Report the PR URL and the ticket state. Do **not** approve your own ticket. A reviewer does that: `flow-review`, the `flow-reviewer` agent, the swarm, or a human.
1 change: 1 addition & 0 deletions .agents/skills/flow-next/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Arguments: `$ARGUMENTS`, either a ticket id or filters like `--label agent-ok --
4. **Set up the workspace on the returned `branch`.**
- Single agent: `git switch -c <branch>`, or `git switch <branch>` if it already exists.
- Parallel agents: `agent-flow worktree create <id>`, then work inside the printed path. Worktrees are created one at a time.
- Before editing, `git fetch` and `git merge --ff-only origin/<base>` in the worktree, and diff against `origin/<base>`. The worktree starts from the local base branch, which can be many commits behind, and diffs against it look far larger than the change.
5. **Load the context.** Run `agent-flow show <id>` and read:
- the spec,
- the scope paths,
Expand Down
4 changes: 4 additions & 0 deletions .agents/skills/git-and-diff-workflows/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ gitleaks detect --source . --no-git -v 2>/dev/null | head -50
separate temporary worktree. Don't stash: `git stash` + `git stash pop` drops what you staged, including
`git rm` deletions, so the next commit can come out empty. If you must stash, use `git stash pop --index`.
Either way, confirm `git diff --cached --stat` shows your change before you commit.
- **Moving uncommitted changes to another worktree:** `git diff --output=<file>`, then `git apply --3way <file>`.
A shell redirect can re-encode the patch (PowerShell 5.1 writes UTF-16) or mix in `2>&1` warnings.
- **"Untracked working tree files would be overwritten":** back them up outside the repo, `cmp` each copy
(recopy if a live writer changed it), then remove and switch. Never `git clean` or `--force`: it may be the only copy.
- See [bounded-output-patterns.md](../cli-tools-overview/references/bounded-output-patterns.md).

## Commands Requiring Confirmation
Expand Down
3 changes: 3 additions & 0 deletions .agents/skills/merge-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ Immediately before merging, re-read the PR and confirm:
- the runs for `<sha>` still show the case from step 2: all green, only the not-started cause, the same
mix of passed and not-started runs, or, when CI never triggered or there is none, still none.

**Stacked PRs:** after the base PR merges, run `gh pr edit <n> --base main`; unless the parent branch was
deleted, the child would merge into the merged branch and never reach `main`.

Use the merge method the repository's recent PRs used, pinned to the checked commit:

```bash
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/test-driven-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Avoid tests that:
- Keep each red/green step small enough to explain in the final response.
- If a failing test exposes an unrelated pre-existing issue, narrow the command or document the
blocker before changing scope.
- **Proving a test catches a regression:** the mutated code must compile and fail on that test's assertion
(a compile error proves nothing); restore it and confirm `git status` is clean before claiming the result.

## Red flags

Expand Down
1 change: 1 addition & 0 deletions .claude/skills/flow-complete/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ risk_class: medium
```
6. **Submit.** Run `agent-flow submit <id>`. It re-runs the DoD and moves the ticket to `review`.
- `GATE_FAILED` tells you exactly what is missing. Fix it and submit again.
- Confirm it printed `Submitted for review` before asking for a review. `INVALID_TRANSITION` (the ticket is still `ready` because a dependency blocks it, or the lease lapsed) means re-claim or clear the blocker, then submit again. A reviewer started earlier can't get a review brief or approve, and a second one duplicates the review.
7. Report the PR URL and the ticket state. Do **not** approve your own ticket. A reviewer does that: `flow-review`, the `flow-reviewer` agent, the swarm, or a human.
1 change: 1 addition & 0 deletions .claude/skills/flow-next/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Arguments: `$ARGUMENTS`, either a ticket id or filters like `--label agent-ok --
4. **Set up the workspace on the returned `branch`.**
- Single agent: `git switch -c <branch>`, or `git switch <branch>` if it already exists.
- Parallel agents: `agent-flow worktree create <id>`, then work inside the printed path. Worktrees are created one at a time.
- Before editing, `git fetch` and `git merge --ff-only origin/<base>` in the worktree, and diff against `origin/<base>`. The worktree starts from the local base branch, which can be many commits behind, and diffs against it look far larger than the change.
5. **Load the context.** Run `agent-flow show <id>` and read:
- the spec,
- the scope paths,
Expand Down
4 changes: 4 additions & 0 deletions .claude/skills/git-and-diff-workflows/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ gitleaks detect --source . --no-git -v 2>/dev/null | head -50
separate temporary worktree. Don't stash: `git stash` + `git stash pop` drops what you staged, including
`git rm` deletions, so the next commit can come out empty. If you must stash, use `git stash pop --index`.
Either way, confirm `git diff --cached --stat` shows your change before you commit.
- **Moving uncommitted changes to another worktree:** `git diff --output=<file>`, then `git apply --3way <file>`.
A shell redirect can re-encode the patch (PowerShell 5.1 writes UTF-16) or mix in `2>&1` warnings.
- **"Untracked working tree files would be overwritten":** back them up outside the repo, `cmp` each copy
(recopy if a live writer changed it), then remove and switch. Never `git clean` or `--force`: it may be the only copy.
- See [bounded-output-patterns.md](../cli-tools-overview/references/bounded-output-patterns.md).

## Commands Requiring Confirmation
Expand Down
3 changes: 3 additions & 0 deletions .claude/skills/merge-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ Immediately before merging, re-read the PR and confirm:
- the runs for `<sha>` still show the case from step 2: all green, only the not-started cause, the same
mix of passed and not-started runs, or, when CI never triggered or there is none, still none.

**Stacked PRs:** after the base PR merges, run `gh pr edit <n> --base main`; unless the parent branch was
deleted, the child would merge into the merged branch and never reach `main`.

Use the merge method the repository's recent PRs used, pinned to the checked commit:

```bash
Expand Down
2 changes: 2 additions & 0 deletions .claude/skills/test-driven-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Avoid tests that:
- Keep each red/green step small enough to explain in the final response.
- If a failing test exposes an unrelated pre-existing issue, narrow the command or document the
blocker before changing scope.
- **Proving a test catches a regression:** the mutated code must compile and fail on that test's assertion
(a compile error proves nothing); restore it and confirm `git status` is clean before claiming the result.

## Red flags

Expand Down
1 change: 1 addition & 0 deletions .cursor/skills/flow-complete/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ risk_class: medium
```
6. **Submit.** Run `agent-flow submit <id>`. It re-runs the DoD and moves the ticket to `review`.
- `GATE_FAILED` tells you exactly what is missing. Fix it and submit again.
- Confirm it printed `Submitted for review` before asking for a review. `INVALID_TRANSITION` (the ticket is still `ready` because a dependency blocks it, or the lease lapsed) means re-claim or clear the blocker, then submit again. A reviewer started earlier can't get a review brief or approve, and a second one duplicates the review.
7. Report the PR URL and the ticket state. Do **not** approve your own ticket. A reviewer does that: `flow-review`, the `flow-reviewer` agent, the swarm, or a human.
1 change: 1 addition & 0 deletions .cursor/skills/flow-next/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Arguments: `$ARGUMENTS`, either a ticket id or filters like `--label agent-ok --
4. **Set up the workspace on the returned `branch`.**
- Single agent: `git switch -c <branch>`, or `git switch <branch>` if it already exists.
- Parallel agents: `agent-flow worktree create <id>`, then work inside the printed path. Worktrees are created one at a time.
- Before editing, `git fetch` and `git merge --ff-only origin/<base>` in the worktree, and diff against `origin/<base>`. The worktree starts from the local base branch, which can be many commits behind, and diffs against it look far larger than the change.
5. **Load the context.** Run `agent-flow show <id>` and read:
- the spec,
- the scope paths,
Expand Down
4 changes: 4 additions & 0 deletions .cursor/skills/git-and-diff-workflows/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ gitleaks detect --source . --no-git -v 2>/dev/null | head -50
separate temporary worktree. Don't stash: `git stash` + `git stash pop` drops what you staged, including
`git rm` deletions, so the next commit can come out empty. If you must stash, use `git stash pop --index`.
Either way, confirm `git diff --cached --stat` shows your change before you commit.
- **Moving uncommitted changes to another worktree:** `git diff --output=<file>`, then `git apply --3way <file>`.
A shell redirect can re-encode the patch (PowerShell 5.1 writes UTF-16) or mix in `2>&1` warnings.
- **"Untracked working tree files would be overwritten":** back them up outside the repo, `cmp` each copy
(recopy if a live writer changed it), then remove and switch. Never `git clean` or `--force`: it may be the only copy.
- See [bounded-output-patterns.md](../cli-tools-overview/references/bounded-output-patterns.md).

## Commands Requiring Confirmation
Expand Down
3 changes: 3 additions & 0 deletions .cursor/skills/merge-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ Immediately before merging, re-read the PR and confirm:
- the runs for `<sha>` still show the case from step 2: all green, only the not-started cause, the same
mix of passed and not-started runs, or, when CI never triggered or there is none, still none.

**Stacked PRs:** after the base PR merges, run `gh pr edit <n> --base main`; unless the parent branch was
deleted, the child would merge into the merged branch and never reach `main`.

Use the merge method the repository's recent PRs used, pinned to the checked commit:

```bash
Expand Down
2 changes: 2 additions & 0 deletions .cursor/skills/test-driven-development/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ Avoid tests that:
- Keep each red/green step small enough to explain in the final response.
- If a failing test exposes an unrelated pre-existing issue, narrow the command or document the
blocker before changing scope.
- **Proving a test catches a regression:** the mutated code must compile and fail on that test's assertion
(a compile error proves nothing); restore it and confirm `git status` is clean before claiming the result.

## Red flags

Expand Down