/axx:axx-test-datafrom axx
Manages test data for acceptance tests using fixture factories. Generates SQL/MongoDB seeds, Kafka events, and request payloads from prototypes with schema validation and unique ID enforcement.
Ships in axx. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Scenarios read their data from files (Given a seeds/portal-find.yaml db seed). Write one-off files by hand. Fixture factories are optional: use them where files of one shape repeat. A factory keeps the shared shape once and each fixture as only its differences; axx fixtures generate writes ordinary files, checked against their schema, with ids no other fixture has. Features cannot tell them from hand-written files, and nothing is generated during axx run.
Use a factory for three or more files of one shape (seeds of one table, events of one Avro record, bodies of one API response), or when a new scenario needs data like an existing file's. axx lint hints when hand-written files of one shape repeat; axx fixtures adopt turns them into a factory without changing a value (--dry-run first).
*.factory.yaml, next to the files it generates; axx-fixtures.manifest.yaml lists every generated file.<name>.fixture.yaml next to the factory, with only what differs from the prototype. Its name is the generated file's.axx fixtures generate. A value that breaks the schema, or an id another fixture has, fails it, naming the fixture and the field.axx fixtures check (nothing drifted), then axx lint (no id is in two files).Never edit a generated file (generate refuses, AXX-E0903): change the fixture, prototype or factory and generate again. axx fixtures explain <generated file> <path> names what sets a value.
features/portal-parcels/seeds/portal/
portal-parcels.factory.yaml # family, schema, identities
portal-parcels.prototype.yaml # the shape every fixture starts from
portal-open.fixture.yaml # a fixture: its differences
portal-open.yaml # generated
# portal-parcels.factory.yaml
factory:
family: dataset # avro, json, yaml, xml, protobuf, dataset
schema: ../../../../../infra/postgres/init/01-schema.sql # relative to this file
identity:
- path: parcels.parcels.reference # no two fixtures share a value
prefix: PX-WEB- # a fixture without one gets prefix + its name
# portal-parcels.prototype.yaml
data:
parcels.parcels:
sender: lark-and-loom
status: REGISTERED
# portal-open.fixture.yaml
data:
parcels.parcels:
- reference: PX-WEB-5141
status: IN_TRANSIT
Maps merge; lists and scalars replace. undefined (no quotes) leaves out a field the prototype sets; null is the value null. A value can be $ref to another fixture or to its own ("#/table/0/column"), or computed: ${ sha256(api_key) } (never write a hash or an encoding out by hand). references/factories.md has each. Each identity also becomes a rule in axx-lint.generated.yaml: include it with lint: {include: [axx-lint.generated.yaml]} once it exists.
references/factories.md has the rest: every factory key, the families and their schemas, $ref to another fixture, identities, adopting, ignored outputs, settings, CI and the error codes. references/spec-files.md has the files' JSON Schemas (axx schema --kind factory|fixture|prototype prints them).
axx lint reports it.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nimbusxr/axx --plugin axx5 skills in this plugin
/axx-acceptance-testsWrite and run acceptance tests with axx, black-box against services (REST and OpenAPI, WireMock, SQL, MongoDB, Kafka, logs, files, web apps in real browsers, cloud services). Use when turning acceptance criteria into .feature files, adding scenarios, or editing axx.yaml./axx-custom-stepsAdd custom steps to axx as Go packs that share the context of axx's packs. Use when no step of axx's packs covers what a scenario needs (check `axx steps` and `axx pack list` first)./axx-debuggingDiagnose failing axx acceptance-test runs - failed assertions, undefined or ambiguous steps, OpenAPI validation errors, services that do not start, failed web steps, timeouts and flaky parallel scenarios. Use when `axx run` exits non-zero./axx-setupAdopt axx in a repository - axx init, axx.yaml services and readiness checks, docker compose infrastructure, running in CI (GitHub Actions, GitLab CI), and agent integration (skills, MCP). Use when setting up acceptance testing for a service.Other plugins' skills for the same job