win-aip-contract-sync
Installation
SKILL.md
WIN AIP Contract Sync
Use when
- A WIN backend job endpoint or public DTO must be available in
../aipodcasting. - AIP frontend code needs generated job paths, job types, or DTO types from WIN.
- Contract sync, generated AIP types, or
lib/aip/contracts/**drift is involved.
Operating Rules
winowns contract sources;aipodcasting/lib/aip/contracts/**is generated output.- Run local sync; do not wait for CI or cloud cross-repo sync.
- Do not hand-edit generated files under
aipodcasting/lib/aip/contracts/**. - Generated job endpoint IDs are path slugs: strip slashes and replace
/and-with_. Example:/operations/episodes/retry-ingestbecomesoperations_episodes_retry_ingest. Verify the final key inaipodcasting/lib/aip/contracts/job-endpoints.ts. - Keep database models internal; expose public DTOs only.
- Ask only when frontend fields or UX placement cannot be inferred safely.
- Do not commit or push unless the user explicitly asks or repo-local automation handles it.