Claude
Cursor
Skill
fixture-refresh
Refreshes test fixtures from recorded API responses. Use when an upstream response format changed.
Download
goldziher-ai-rulez-bench_judge_corpus_units_qben-q05_.claude_skills_fixture-refresh-ca967ad.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/Goldziher/ai-rulez/tree/main/bench/judge/corpus/units/qben-q05/.claude/skills/fixture-refresh
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install goldziher-ai-rulez@llmmart
Git
git clone https://github.com/Goldziher/ai-rulez.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole goldziher/ai-rulez collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Fixture refresh
A fixture pack is a directory under testdata/ that holds input.json and expected.json.
- Pick the fixture pack the user names.
- Replace
input.jsonwith the recorded response. - Run
make testand rewriteexpected.jsononly for failures that come from the format change. - Report each changed pack.
Files (ai-rulez)
-
SKILL.md 479 B
--- name: fixture-refresh description: "Refreshes test fixtures from recorded API responses. Use when an upstream response format changed." --- # Fixture refresh A fixture pack is a directory under `testdata/` that holds `input.json` and `expected.json`. 1. Pick the fixture pack the user names. 2. Replace `input.json` with the recorded response. 3. Run `make test` and rewrite `expected.json` only for failures that come from the format change. 4. Report each changed pack.
Reviews (0)
No reviews yet.
Comments
Sign in to join the conversation.
No comments yet. Start the conversation.