Add the bisect repair patch agent skill - #171
Conversation
ReviewThis PR is documentation-only (
No inaccuracies, internal contradictions, or unsafe guidance found. One very minor nit: the frontmatter adds a Nice, thorough doc — the eval prompts in |
753be4e to
ab22b41
Compare
ab22b41 to
0d83d41
Compare
|
Reviewed this PR (docs-only: adds the I cross-checked every documented CLI command, flag, and behavioral claim in
No bugs, security issues, or inaccuracies found — the skill faithfully documents the shipped CLI surface. LGTM. |
| --- | ||
| name: create-bisect-repair-patch | ||
| description: Create, inspect, edit, verify, apply, or remove managed compatibility patches for `shaka-perf bisect`. Use whenever historical candidates need frozen AB tests, build shims, seed-data setup, or other repairs, or whenever a user asks how to manage `bisect-repairs/manifest.json`. Always use the packaged `shaka-perf bisect patch` CLI; `bisect.repairs` and repository-local patch helpers are not supported. | ||
| compatibility: Requires Git, Node.js, and a shaka-perf project with twinServers configured. |
There was a problem hiding this comment.
This skill (and evals/evals.json) is placed under .agents/skills/, but that directory doesn't exist anywhere else in the repo and isn't a recognized skill location. Every other skill lives under .claude/skills/ — that's where Claude Code actually discovers skills, and it's the source-of-truth directory that packages/shaka-perf/scripts/copy-assets.mjs copies into the npm package (see its assets array, which explicitly lists each .claude/skills/<name> → dist/skills/<name> pair). docs/for-ai-agents.md also documents skills as living at .claude/skills/ ("Four Claude Code skills under .claude/skills/ (they ship inside the npm package)"). .agents/ in this repo is reserved for CI/agent-workflow tooling (.agents/bin/*, .agents/agent-workflow.yml), unrelated to Claude Code skills.
As written, this skill won't be auto-triggered in this repo (Claude Code won't scan .agents/skills/) and won't ship to consumer projects via shaka-perf init, since it's missing from copy-assets.mjs's assets list and docs/for-ai-agents.md's skill table.
Suggest moving both files to .claude/skills/create-bisect-repair-patch/ and adding the corresponding entry to copy-assets.mjs (and ideally the skills table in docs/for-ai-agents.md).
Review summaryThis PR adds a new agent skill ( One significant issue (left as an inline comment): the skill files are placed under No security or performance concerns — this PR only adds documentation/markdown and a JSON eval fixture, no executable code. |
| --- | ||
| name: create-bisect-repair-patch | ||
| description: Create, inspect, edit, verify, apply, or remove managed compatibility patches for `shaka-perf bisect`. Use whenever historical candidates need frozen AB tests, build shims, seed-data setup, or other repairs, or whenever a user asks how to manage `bisect-repairs/manifest.json`. Always use the packaged `shaka-perf bisect patch` CLI; `bisect.repairs` and repository-local patch helpers are not supported. | ||
| compatibility: Requires Git, Node.js, and a shaka-perf project with twinServers configured. |
There was a problem hiding this comment.
This skill is placed under .agents/skills/create-bisect-repair-patch/, but every other skill in this repo — and Claude Code's skill loader itself — lives under .claude/skills/ (see ab-servers, assess-abtest-quality, review-architecture, skill-creator, etc., all at .claude/skills/<name>/SKILL.md). .agents/ here is the machine-generated shakacode/agent-workflows seam directory (.agents/bin/*, agent-workflow.yml) — it has no concept of "skills" and isn't scanned for them.
Concretely, this means the skill as shipped won't be discovered/loaded by Claude Code at all: it's absent from the live skill listing in this very review session (only the 9 .claude/skills/* skills show up). Repo docs reinforce the expected location too — SETUP-twin-servers.md says shaka-perf init "drop[s]... two Claude Code skills under .claude/skills/", and skill-creator's own schema doc (.claude/skills/skill-creator/references/schemas.md) says evals/evals.json is "Located at evals/evals.json within the skill directory" — i.e. under .claude/skills/<name>/, exactly where this content should live.
The SKILL.md/evals.json content itself checks out well against the implemented bisect patch CLI (patch-cli.ts, patch-registry.ts, patch-capture.ts, repair-artifacts.ts) — flags, selectors, verify/apply semantics, manifest snapshot-on-resume behavior, and the bisect.repairs deprecation message all match. This looks like the whole tree should move to .claude/skills/create-bisect-repair-patch/ before merge.
Review summaryThis PR adds a Claude Code skill ( One blocking issue (left as an inline comment): the skill is added at No security concerns (docs-only change, no code/CLI behavior modified) and no performance implications. |
0d83d41 to
090a3e7
Compare
|
Reviewed. This PR only adds a new agent skill ( I cross-checked every command, flag, and behavioral claim in the SKILL.md against the already-implemented
No bugs, inconsistencies, or security concerns found. Nothing to flag inline. |
090a3e7 to
211e189
Compare
| @@ -0,0 +1,163 @@ | |||
| --- | |||
There was a problem hiding this comment.
This skill is placed under .agents/skills/, but every other skill in this repo (ab-servers, discover-abtests, setup-docker-servers-for-ab-tests, assess-abtest-quality, troubleshoot-abtest, review-architecture, frontend-design, react-patterns, skill-creator) lives under .claude/skills/. This is the first skill ever added under .agents/skills/ — that directory (from agent-workflow-seam-doctor --init) holds cross-tool CI/workflow config (agent-workflow.yml, bin/setup|build|test|validate), not Claude Code skills.
Confirmed effect: this session's available-skills list (populated from the repo's actual skill directories) does not include create-bisect-repair-patch, so Claude Code cannot discover/invoke it via the Skill tool as written. If the intent is for this to be a normal Claude Code skill (its content — frontmatter shape, references to shaka-perf bisect patch ..., eval format matching skill-creator's evals/evals.json schema — strongly suggests that), it should move to .claude/skills/create-bisect-repair-patch/.
Review summaryThis PR adds a documentation-only skill ( One real issue (posted inline): the skill is added under No security or performance concerns — this PR ships no executable code. |
Summary
Stack
Depends on the repair-patch management PR. This is the final PR in the bisect repair stack.
Validation