Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Always use 'npx convex dev' for development, never 'npx convex deploy' which is for production only
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-08 | ✗→✓ | ▲ Improved | -9% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -8% | 0% |
| case-21 | ✓→✓ | = Same ✓ | 3% | 0% |
| case-01 | ✓→✓ | = Same ✓ | 11% | 0% |
| case-02 | ✓→✓ | = Same ✓ | 21% | 0% |
Important: When working with Convex, always use npx convex dev during development. Never use npx convex deploy unless you're deploying to production.
Use this for all development work:
bash# Start development (use this!) npx convex dev
Only use this when deploying to production:
bash# Production deployment only! npx convex deploy
Using deploy during development can:
Using dev for development ensures:
Development:
bash# 1. Start dev server npx convex dev # 2. Make changes to code # 3. Test locally # 4. Repeat
Deployment:
bash# Only after thorough testing: npx convex deploy # Or in CI/CD: # - Run tests # - If tests pass, deploy
bashnpm install convex npx convex dev # Creates account & starts dev
bashnpx convex dev # Always use this # Keep it running while you code
bash# Test everything first! npm run test npm run build # Then deploy npx convex deploy
yaml# GitHub Actions example - name: Deploy to Convex run: npx convex deploy --cmd 'npm run build' env: CONVEX_DEPLOY_KEY: ${{ secrets.CONVEX_DEPLOY_KEY }}
If you see someone suggest:
npx convex deploy to test" ❌ Wrong!deploy for development" ❌ Wrong!Always use npx convex dev for development!
When writing docs or instructions:
npx convex dev for developmentnpx convex deploy as "Production only"Other measured skills in the registry, with their headline benchmark lift.