agentsclimarketplace

Nextjs nestjs integration

Skill xirothedev/skills/skills/nextjs-nestjs-integration

NestJS API best-practice skill and adapter pack for coding agents.

Install
npx -y skills add xirothedev/skills --skill nextjs-nestjs-integration

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

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 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.

What its author says it does

Copied from the file, not written here

Use for real projects that combine a Next.js frontend/BFF with a NestJS API. Covers ownership boundaries, OpenAPI client generation, session and auth propagation, CORS/proxy contracts, Server Component data fetching, shared environment contracts, and split deployment/runtime alignment.

SKILL.md

2.7 KB, as published. Nobody here has run it

Next.js NestJS Integration

Use this skill when a project has both a Next.js app and a NestJS API. The main job is to keep ownership boundaries clear so the web app does not accidentally duplicate backend policy, bypass API contracts, or self-fetch at build time.

When to Apply

Use this skill when:

  • Generating or consuming typed clients from a NestJS OpenAPI document
  • Deciding whether logic belongs in Next.js Route Handlers/Server Actions or NestJS controllers/services
  • Propagating auth/session context from Next.js to NestJS
  • Configuring CORS, cookies, Proxy, rewrites, or internal API origins
  • Fetching NestJS data from Server Components without calling the Next.js app's own Route Handlers
  • Aligning Docker, environment variables, health checks, and deployment topology across apps

Load On Demand

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

references/_sections.md
references/integration-openapi-client-boundary.md
references/integration-session-propagation.md
references/integration-cors-proxy-contract.md
references/integration-server-component-fetching.md
references/integration-shared-env-contract.md
references/integration-deployment-split.md
dataset/integration/openapi-client-boundary/correct.ts
sources/inventory.json

Each rule file includes:

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

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Integration BoundariesCRITICALintegration-
2API ContractsCRITICALapi-
3Deployment & OperationsHIGHdeploy-

Source Policy

Use this skill together with nextjs-secure-bff, nextjs-production-platform, and nestjs-production-api-contracts when the work spans both apps. Official Next.js and NestJS docs outrank framework-agnostic monorepo examples.

Keep looking

Skills are one crate of 328,083. 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.