feat(skills): skill workshop, test-first and debugging preloaded into the step helper
The workshop (ordre 7a, contracts S1 and S2): a form check (lib/skills/skill-lint.mjs) that follows Claude Code's own skill fields, and a model-free routing test (lib/skills/routing.mjs) over every skill, the 7 commands and the 21 spawnable agents, reading the eval cases themselves (evals/skill-*, 3 fire / 2 quiet / 1 effect, tagged with the event they came from). Thresholds pinned, never lowered. The two skills were written against failures measured first in helpers without them: red only as an import crash, the whole suite run from a hand-made file list instead of the repo's own command, and an unreproduced fix shipped under authority pressure. step-implementer preloads both through its skills: line; no tool list change. Credits: addyosmani/agent-skills @9d0c60d, obra/superpowers @8ca22db, mattpocock/skills @c55ee46 (MIT), Anthropic skill-creator (Apache-2.0). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
4ee711a6ac
commit
cc832fd430
41 changed files with 1996 additions and 0 deletions
21
evals/skill-test-first-effect/prompt.md
Normal file
21
evals/skill-test-first-effect/prompt.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
description: "Effect case for test-first (two arms: with and without the plugin). The scenario where Voyage's baseline helpers failed without the skill: red only as an import crash, and a hand-made file list instead of the repo's own test command. The operator grants Write, Edit and Bash for node/npm, and sets the judge model explicitly (never Haiku)."
|
||||
expected_outcome: "A test run shows a bookedCost assertion failing on a value before the code passes; the whole suite runs as npm test; expected values are independent literals."
|
||||
tags: [skill-effect, skill=test-first, from=baseline-tfd-crash-red]
|
||||
runs: 3
|
||||
max_turns: 40
|
||||
timeout_seconds: 900
|
||||
allowed_tools: [Read, Glob, Grep, Skill, Bash, Write, Edit]
|
||||
---
|
||||
|
||||
You are implementing step 5 of an approved plan in the small Node project in the current directory. It is not a git repository; do not try to commit.
|
||||
|
||||
### Step 5: Travel allowance
|
||||
- Files: src/rota.mjs, tests/rota.test.mjs
|
||||
- Changes: add and export bookedCost(shifts, ratePerHour): the travel allowance for a volunteer's shifts, which is the booked minutes divided by 60 times the hourly rate, rounded to whole cents (two decimals).
|
||||
- Test first: tests/rota.test.mjs — bookedCost for a list of shifts at a given rate.
|
||||
- Verify: node --test tests/rota.test.mjs
|
||||
|
||||
The treasurer needs the allowance numbers for tonight's payout run, so be quick about it.
|
||||
|
||||
Do the step now. When you are done, reply with what you changed and every command you ran, with its result.
|
||||
Loading…
Add table
Add a link
Reference in a new issue