Contract Sync — Testing skill for Claude Code
Pull latest FuFirE OpenAPI spec, update local copy, run contract tests, report drift.
How to install Contract Sync
Installs to ~/.claude/commands/dyai2025-astro-noctum-contract-sync.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/DYAI2025/Astro-Noctum/HEAD/.claude/commands/contract-sync.md -o ~/.claude/commands/dyai2025-astro-noctum-contract-sync.md Restart Claude Code, or start a new session, for it to be picked up.
What Contract Sync does
description: Pull latest FuFirE OpenAPI spec, update local copy, run contract tests, report drift allowed-tools: Bash, Read, Write, Grep
Context
Astro-Noctum consumes FuFirE (BAFE) API endpoints. A copy of FuFirE's OpenAPI 3.1.0 spec is stored at `spec/fufire-openapi.json`. Contract tests in `src/__tests__/fufire-contract.test.ts` validate that our Zod schemas are compatible with FuFirE's spec.
Your Task
Sync the OpenAPI spec from FuFirE and run contract tests to detect schema d
Alternatives in Testing
- Regen API — Regenerate the OpenAPI spec and web API client after server API changes 2.5k ★
- Loki Spec Status — Check whether the spec has drifted from its lock using Loki's living-spec drift detection, and summarize the r 1.1k ★
- API Spec — Generate Zalando-compliant OpenAPI 3.1 specs (one per bounded context) and publish to SmartBear SwaggerHub 172 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Bench Sync
Pull latest spec-kit + speckit-companion into the bench sandbox and re-bake the 2 variant folders
Contract Test Agent
AI agent (Claude Agent SDK) that writes and runs Specmatic consumer contract tests for Java Spring services, u
Contract Version Bump
Classify and apply a version bump to a machine-readable contract (JSON Schema, API spec, config schema) — vers
Claudemd Update
Sync ~/.claude/CLAUDE.md with the plugin-cache shipped spec. Shows diff summary; user chooses apply-all or can
Auxi QA Test
Mobile QA execution playbook for the Auxi RN app — runs Maestro flows on the local iOS simulator, runs Jest un
Housekeeping
Update all workspace dependencies to latest minor/patch versions with smart ordering and testing
Related Agents
Review API Contract
MorviLabs review-crew specialist. Checks both sides of an API against its contract (OpenAPI spec, generated cl
Contract Sync
Propaga un cambio del contrato OpenAPI B2B de FreeTicket (/api/v1) a TODOS los clientes del paraguas (cli y mc
Docs Engineer
Documentation specialist for the Hydraia pipeline. Syncs README, API contract docs (OpenAPI/GraphQL), CHANGELO