- Home
- Skills
- Agents & Orchestration
- Enum Evolution Contract Repair
More screenshots
Works with the AI tools you already use
Enum Evolution Contract Repair
Repair enum and status evolution drift across schemas, generated clients, serializers, UI, analytics, tests, and mixed-version consumers.
$8.99
Enum Evolution Contract Repair
Example session with this skill installed
I have a TypeScript monorepo with a Node API, Prisma/PostgreSQL, generated OpenAPI clients, React, and background jobs. We added PARTIALLY_REFUNDED to the OrderStatus enum. Prisma and the API schema know about it, but one generated client is stale, two frontend switches throw on unknown values, analytics maps unknown statuses to FAILED, an old worker fixture still assumes four values, and the migration note says older app versions may remain during rollout. Repair the enum evolution contract across the repository. Add deterministic local tests for mixed versions and unknown values. Do not query production, change existing order rows, deploy, or decide what PARTIALLY_REFUNDED should mean to the business.
- Read your context and instructions
- Compiled the enum evolution contract
Enum evolution drift found. The repository has a stale generated client, two closed-world UI switches, unsafe analytics coercion, and incomplete mixed-version coverage. The repair regenerates the client, adds explicit unknown-value handling, preserves existing serialized values, updates fixtures, and adds compatibility tests. Business meaning and deployed compatibility remain human-owned and unverified.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
Enum changes are deceptively small: one new status can break generated clients, exhaustive UI switches, protobuf consumers, analytics mappings, fixtures, migrations, and old application versions.
Enum Evolution Contract Repair gives an AI coding agent a disciplined repository workflow for finding every representation of an enum or discriminator, freezing stable wire identifiers, detecting unsafe unknown-value fallbacks, regenerating derived artifacts, and building mixed-version compatibility tests.
It is especially useful for OpenAPI/GraphQL clients, protobuf or event schemas, ORM/database enums, frontend status renderers, mobile clients, analytics mappings, warehouse allowlists, mocks, golden files, and rollout documentation.
The skill does not publish schemas, rewrite production data, deploy, or invent the business meaning of new statuses. It keeps those decisions with authorized owners while making the repository mechanically safer.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 3
Ask your agent to use it
Restart the agent if it was already running. It picks the skill up automatically - no config needed.
Skills folder by agent
Click the path to copy it. Create the folder if it does not exist yet.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
30-day refund
Not a fit? Get your money back
Trust & safety
Security scanned
Verified clean 1 month ago
- Passed all security checks, Safe to install