Deploy to Netlify
Builds the site, validates output, and pushes to Netlify — with rollback if the build fails post-deploy.
Entry verified April 20, 2026
The short answer
The 'I just shipped' skill. Runs your build, checks the output dir exists, deploys, and waits for Netlify to confirm green. Rolls back on failure.
When to use it
Every production deploy. Replace manual netlify deploy commands.
Setup
- 1
Save as ~/.claude/commands/deploy.md.
- 2
Requires Netlify CLI installed and authenticated.
- 3
Configure the site ID + build command in the skill or .claude/settings.json.
Example
You: /deploy Claude: [runs npm run build → deploys to Netlify → polls for 'ready' status → reports URL]
Source & attribution
- Author
- Bryan Collins
- Licence
- MIT
- Type
- Original
Original pattern published under MIT — attribution preserved by convention, not licence requirement.
Caveats
Don't auto-deploy on every push — use Netlify's GitHub integration for that. Use this skill for on-demand deploys.
Browse more skills
47 skills across 10 categories, all licence-verified.