From routines
Deploys a Claude Code routine from a local .md file. Routes to create or update based on trigger_id presence. Useful for 'deploy'/'push'/'ship' commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/routines:deployThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Smart router. Reads the file, decides if it needs `create` or `update`, then delegates.
Smart router. Reads the file, decides if it needs create or update, then delegates.
<file>.trigger_id is present in frontmatter -> use the update skill with <file>.trigger_id is absent -> use the create skill with <file>.That's it. Both create and update handle their own snippet expansion, validation, API calls, and result reporting.
If the user hasn't validated the file recently, suggest:
validate <file> to lint frontmatter and cron rulesdry-run deploy <file> to see the exact API bodydiff <file> to preview field-by-field changes (UPDATE path only)Don't block on these. The user can skip them if they're confident.
Both downstream skills handle {{include <path>}} expansion. You don't need to expand here; just route.
create for the create-side mechanicsupdate for the update-side mechanics (especially read-modify-write)bulk for "deploy all" or "deploy everything in "Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub hamzafer/claude-routines --plugin routines