name: testing description: Run tests, check builds, and validate the application works correctly. Use after making changes. allowed-tools: Bash, Read, Grep user-invocable: true
Testing Skill
Run these checks to validate changes in the Vibe Stack project:
Build Verification
# Type check and build
pnpm build
Convex Validation
# Sync schema and check for errors
npx convex dev --once
Manual Testing Checklist
Authentication Flow
- Sign up with new email
- Log in with existing account
- Log out clears session
- Protected routes redirect to login
- Auth routes redirect authenticated users to dashboard
Data Operations
- CRUD operations work correctly
- Real-time updates reflect immediately
- Error states display user-friendly messages
- Loading states show while data fetches
Stripe Integration
- Checkout redirects to Stripe
- Webhook processes subscription events
- Subscription status updates in database
Common Issues
Build Fails
- Check for TypeScript errors:
pnpm build - Verify Convex schema matches usage
- Check for missing environment variables
Auth Not Working
- Verify
AUTH_SECRETis set - Check Convex dashboard for errors
- Clear browser cookies and retry
Stripe Webhook Issues
- Verify webhook secret matches
- Check Stripe dashboard for failed events
- Review webhook logs in Vercel/server