mcpField
N
nextjs-production-platform

nextjs-production-platform

github.com/xirothedevCloud & DevOps253 installsUpdated 23w ago
Repository

About nextjs-production-platform

A skill for teams building and operating Next.js applications, covering deployment, routing, caching, and observability decisions. It organizes detailed guidance into on-demand references and prioritizes verifying host capabilities against official documentation.

Key features

  1. 01Deployment and runtime guidance
  2. 02Multi-instance cache coordination
  3. 03Multi-Zones and tenant routing
  4. 04Instrumentation and observability
  5. 05Platform capability verification

Use cases

  1. 01Reviewing a standalone Docker deployment
  2. 02Configuring shared caches across instances
  3. 03Planning tenant or Multi-Zones routing
  4. 04Checking platform support for streaming or WebSockets

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/xirothedev/skills --skill nextjs-production-platform

After installing, type/nextjs-production-platformin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

AGENTS.md
metadata.json
test-cases.json
dataset/arch/multi-tenant/
correct.ts
incorrect.ts
notes.md
dataset/arch/multi-zones/
correct.ts
incorrect.ts
notes.md
dataset/deploy/cache-coordination/
correct.ts
incorrect.ts
notes.md
dataset/deploy/server-actions-key/
correct.ts
incorrect.ts
notes.md
dataset/deploy/standalone-docker/
correct.ts
incorrect.ts
notes.md
dataset/ops/instrumentation/
correct.ts
incorrect.tsx
notes.md
references/
_sections.md
arch-multi-tenant.md
arch-multi-zones.md
deploy-cache-coordination.md
deploy-server-actions-key.md
deploy-standalone-docker.md
ops-instrumentation.md
sources/
inventory.json

Details

From the project README

Next.js Production Platform

Use this skill when a Next.js task touches runtime packaging, hosting topology, observability, cache coordination, or domain routing. Verify platform capabilities before choosing a rendering, cache, or deployment mode.

When to Apply

Use this skill when:

  • Writing or reviewing Dockerfiles, standalone output, static export, or deployment workflow changes
  • Self-hosting Next.js across multiple instances or regions
  • Configuring shared cache handlers, deployment IDs, or Server Action encryption keys
  • Adding instrumentation.ts, OpenTelemetry, Speed Insights, or production logging
  • Splitting apps with Multi-Zones or designing tenant routing
  • Choosing whether a platform supports streaming, PPR, ISR, route handlers, or WebSockets

Load On Demand

Start with this file. Load detailed files only when the task needs them:

references/_sections.md
references/deploy-standalone-docker.md
references/deploy-server-actions-key.md
references/deploy-cache-coordination.md
references/ops-instrumentation.md
references/arch-multi-zones.md
references/arch-multi-tenant.md
dataset/deploy/standalone-docker/correct.ts
sources/inventory.json

Each rule file includes:

  • Why the pattern matters
  • Incorrect and correct examples
  • Dataset path with larger examples
  • Official source references

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Deployment & RuntimeCRITICALdeploy-
2Architecture & Routing TopologyHIGHarch-
3Operations & ObservabilityHIGHops-

Source Policy

Prefer official Next.js deployment, self-hosting, adapter, and platform docs. Verify host-specific behavior from the host documentation before assuming support for streaming, PPR, shared cache, or long-running connections.

Comments

Markdown supported