Fixture refresh

From Goldziher/ai-rulez · View interactive version

Fixture refresh is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Refreshes test fixtures from recorded API responses. Use when an upstream response format changed.

How to use this skill

Skill file

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.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.