agentskills.codes
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.zip

Installs 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 (or pnpm build).
  • Environment Variables: Never commit .env files. 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 .zip file.
  • Manifest Validation: Before building, ensure the package.json contains 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_name to generate a migration file.
  • Type Generation: After a database change, run supabase gen types typescript --local > types/supabase.ts to keep the frontend types perfectly synced with the backend schema.

Search skills

Search the agent skills registry