Agent skill
deploy
Enforces local testing before any deployment. MUST be used before running vercel, git push, or any deployment command. Prevents deploying untested code.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/deploy
SKILL.md
Deploy Skill
NEVER deploy without completing ALL steps below.
Required Workflow
Before ANY deployment (vercel, git push to main, etc.):
1. Build Locally
pnpm build
- Must complete with zero errors
- Check output for warnings
2. Start Local Dev Server
pnpm dev
- Server must start successfully
3. Test in Browser
- Open the local URL in Chrome DevTools MCP
- Test ALL changed functionality manually:
- Click buttons, verify they work
- Test keyboard input if applicable
- Submit forms, verify responses
- Check for console errors
4. Verify Tests Pass (if tests exist)
pnpm test
5. Only Then Deploy
After ALL above steps pass:
vercel --prod
Rules
- NO SHORTCUTS - Every step must be completed
- NO ASSUMPTIONS - "It worked before" is not verification
- TEST AFTER CHANGES - Any code change requires re-testing
- LOCAL FIRST - Never deploy to see if something works
Common Mistakes to Avoid
- Deploying immediately after build without browser testing
- Assuming dependency changes don't break anything
- Skipping keyboard/interaction testing
- Deploying to "check if it works on Vercel"
When User Says "Deploy"
- Ask: "Have you verified locally? Let me run through the checklist."
- Run build
- Start dev server
- Test in browser via Chrome DevTools MCP
- Only after confirming everything works, deploy
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?