agentsclimarketplace

Mern deploy

Skill edfenton/claude-skills/mern/mern-deploy

Deployment checklist and setup for MERN projects targeting Vercel, AWS, or Docker.From its SKILL.md

Install
npx -y skills add edfenton/claude-skills --skill mern-deploy

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
  • runs commandsInstructs the agent to run 1 command, including `pnpm build`.

SKILL.md

2.4 KB, 541 tokens by cl100k_base, as published. Nobody here has run it

Purpose

Prepare a MERN project for production deployment with proper configuration, security hardening, and monitoring setup.

Arguments

  • --target <platform> — Deployment target (default: vercel)
    • vercel — Vercel (recommended for Next.js)
    • aws — AWS (Lambda + API Gateway or ECS)
    • docker — Docker container (self-hosted)
  • --check-only — Run pre-deployment checklist without creating files

Pre-deployment checklist (always runs)

Environment

  • All env vars documented in .env.example
  • Production env vars set in deployment platform
  • NEXTAUTH_SECRET is unique 32+ char string
  • NODE_ENV=production in production
  • No secrets in code or committed files

Database

  • MongoDB Atlas cluster created (or production DB ready)
  • Connection string uses mongodb+srv://
  • IP whitelist configured (or 0.0.0.0/0 for serverless)
  • Database user has minimal required permissions

Security

  • Security headers configured (CSP, HSTS, etc.)
  • Rate limiting enabled
  • CORS configured for production domain
  • Auth secrets rotated from development

Performance

  • Build succeeds: pnpm build
  • No TypeScript errors
  • Bundle size reasonable (check .next/analyze if concerned)
  • Images optimized

Monitoring

  • Error tracking configured (Sentry, etc.)
  • Logging configured for production
  • Health check endpoint working: /api/health

What gets created (per target)

Vercel

vercel.json           # Vercel configuration

AWS

serverless.yml        # Serverless Framework config
  or
Dockerfile           # For ECS deployment
buildspec.yml        # CodeBuild config

Docker

Dockerfile           # Multi-stage build
docker-compose.yml   # Local testing
.dockerignore        # Ignore patterns

Workflow

  1. Run pre-deployment checklist
  2. Fix any blockers found
  3. Create deployment configuration for target
  4. Verify build succeeds
  5. Document deployment steps

Output

  • Checklist results (pass/fail)
  • Files created
  • Next steps for deployment
  • Environment variables needed in production

Reference

For platform-specific configurations, see reference/mern-deploy-reference.md

What ships with it: 1 file

8.1 KB alongside SKILL.md

reference/

Keep looking

Skills are one crate of 623,721. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.