Migrate A Legacy Skill To Prompt Composition
- Move reusable instruction text into prompt objects.
- Create immutable prompt versions and publish the reviewed versions.
- Attach the prompts to a draft skill version with
replacePrompts. - Re-read
GET /api/skills/:idand inspectpromptComposition. - Preview with
POST /api/skills/:id/preview. - Validate behavior with
POST /api/skills/:id/runand, if needed,POST /api/skills/:id/evaluations/run.
Legacy layer-shaped specs are historical only. Current SDK and CLI workflows should use prompt composition.