agentsclimarketplace

Mern stack

Skill edfenton/claude-skills/mern/mern-stack

Stack decisions for MERN apps (Next.js, pnpm monorepo). Reference before scaffolding or architecture work.From its SKILL.md

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

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

One thing to look at

  • 2 stars2 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.

SKILL.md

1.5 KB, 280 tokens by cl100k_base, as published. Nobody here has run it

Locked decisions

LayerDecision
Monorepopnpm workspaces
FrontendNext.js (app router), TypeScript required
APINext.js route handlers (app/api/) by default
DatabaseMongoDB + Mongoose
ValidationZod (shared schemas in packages/shared)
Environmentslocal → non-prod → prod
Secrets.env.local for dev; AWS for production
ContainersNot required unless deployment target forces it

Project layout

apps/web/                 # Next.js app
  app/api/                # API route handlers
  src/server/             # Server-only code
packages/shared/          # Zod schemas, types, utilities
.github/workflows/        # CI/CD
(root configs)            # eslint, prettier, tsconfig

When to add a separate API service

Only justified if:

  • Long-running jobs exceed serverless timeouts
  • WebSocket/persistent connections required
  • Shared API serves multiple non-Next.js clients
  • Compliance requires API isolation

Default: keep API in Next.js route handlers.

Reference

For versions, env setup, and deployment patterns, see reference/mern-stack-reference.md

What ships with it: 1 file

8.2 KB alongside SKILL.md

reference/

Keep looking

Skills are one crate of 326,782. 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.