NE
nexus-deployments
Deployment protocols for Vercel (Next.js Web App), Chrome Web Store packaging (Plasmo Extension), and Supabase production migrations. Use this when setting up CI/CD, preparing a release, or configuring deployment environment variables.
Install
mkdir -p .claude/skills/nexus-deployments && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14180" && unzip -o skill.zip -d .claude/skills/nexus-deployments && rm skill.zipInstalls to .claude/skills/nexus-deployments
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Deployment protocols for Vercel (Next.js Web App), Chrome Web Store packaging (Plasmo Extension), and Supabase production migrations. Use this when setting up CI/CD, preparing a release, or configuring deployment environment variables.235 chars✓ has a “when” trigger
About this skill
Project Nexus: Deployment & DevOps Protocol
1. Vercel Deployment (Next.js Web App)
- Monorepo Handling: If the project is structured as a monorepo (e.g., Turborepo or npm workspaces), ensure the Vercel Root Directory is set to
apps/web(or the folder containing the Next.js app). - Build Command: The build command must strictly be
npm run build(orpnpm build). - Environment Variables: Never commit
.envfiles. When setting up deployments, explicitly list the required Vercel environment variables (e.g.,NEXT_PUBLIC_SUPABASE_URL,NEXT_PUBLIC_SUPABASE_ANON_KEY). - Edge Functions: For long-running AI summarization tasks, ensure the Next.js API routes specify
export const maxDuration = 60;to prevent Vercel's default 10-second timeout on the hobby tier.
2. Plasmo Extension Deployment
- Production Build: To build the extension for production, run
plasmo build --target=chrome-mv3. - Zip Packaging: For Chrome Web Store submission, use
plasmo package. This generates the.zipfile. - Manifest Validation: Before building, ensure the
package.jsoncontains the correct version number, description, and permissions (e.g.,storage,activeTab,scripting) required by the Chrome Web Store.
3. Supabase Production Migrations
- Database Changes: Never make database schema changes directly in the Supabase production dashboard.
- Migration Generation: Always use the Supabase CLI:
supabase db diff -f feature_nameto generate a migration file. - Type Generation: After a database change, run
supabase gen types typescript --local > types/supabase.tsto keep the frontend types perfectly synced with the backend schema.