Skip to content
Back to skills

Ls Nodejs Nextjs Development

ASecurity

Practical Node.js and Next.js project runbook. Use for Node, Next.js, React, package-manager, build, migration, debugging, testing, security, deployment, and version-verification tasks.

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agentsbashreactnextjsnodenodejsdockertestingdebuggingsecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 14 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add CruxExperts/LocalSetup --skill ls-nodejs-nextjs-development --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ls Nodejs Nextjs Development?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ls Nodejs Nextjs Development
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cruxexperts-ls-nodejs-nextjs-development/badge)](https://www.skillsdirectory.com/skills/cruxexperts-ls-nodejs-nextjs-development)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ls-nodejs-nextjs-development
description: "Practical Node.js and Next.js project runbook. Use for Node, Next.js, React, package-manager, build, migration, debugging, testing, security, deployment, and version-verification tasks."
metadata:
  version: "1.0"
compatibility:
  notes:
    - "Includes a read-only Node.js verifier because npm registry checks are the domain-specific source of truth for package metadata."
---

# Node.js And Next.js

Use this skill for project-wide Node.js, Next.js, React, package-manager, build,
migration, debugging, testing, security, deployment, and version-verification
work.

Use `ls-next-js-app-router` instead for focused App Router semantics: app-directory
routing, layouts, route handlers, server actions, caching, metadata, and migration
from the Pages Router. When both skills apply, this skill owns runtime, dependency,
package-manager, build, and deployment constraints; `ls-next-js-app-router` owns
the App Router behavior.

## Inspect The Project First

Before recommending upgrades or changing code, inspect the project as it is:

- `package.json`: `packageManager`, `engines`, scripts, dependencies,
  devDependencies, `type`, workspaces, lint/test/build commands, and framework
  packages.
- Lockfiles: `package-lock.json`, `npm-shrinkwrap.json`, `pnpm-lock.yaml`,
  `yarn.lock`, `bun.lock`, or `bun.lockb`.
- Runtime pins: `.nvmrc`, `.node-version`, `.tool-versions`, `volta`,
  `.npmrc`, `.yarnrc.yml`, Corepack settings, Dockerfiles, devcontainers, CI,
  and deployment config.
- Next.js config: `next.config.*`, `tsconfig.json`, `jsconfig.json`, `eslint`
  config, `postcss.config.*`, `tailwind.config.*`, middleware/proxy files,
  route handlers, app/pages router usage, and runtime declarations.
- Runtime target: Node server, serverless, Edge Runtime, static export, Docker,
  Vercel, or another host.

Do not apply latest-version guidance blindly to a pinned project. Treat the
lockfile, runtime target, CI, and deploy platform as constraints before changing
Node, Next.js, React, or package-manager versions.

## Decision Tree

- **Setup or install:** identify the package manager from `packageManager` and
  lockfiles; enable Corepack only when the project expects it; run the repo's
  documented install command.
- **Build or runtime failure:** reproduce with the repo script first, identify
  Node/Next/React versions, then isolate whether the failure is dependency,
  config, server/client boundary, environment, or deployment-specific.
- **Migration:** read the project's current major versions and official upgrade
  guides; move one major boundary at a time when risk is high.
- **Dependency change:** confirm peer dependencies and engine ranges; prefer the
  smallest compatible change and record lockfile effects.
- **Tests and quality:** use existing `lint`, `typecheck`, `test`, and `build`
  scripts before adding new tooling.
- **Production deployment:** verify runtime, standalone output, image strategy,
  environment variables, cache behavior, and security headers.
- **Security review:** check user-controlled input, SSR/route handlers, auth,
  secrets, unsafe redirects, middleware, dependency advisories, and deployment
  platform notices.

## Current Stable Snapshot

Volatile facts below were verified at `2026-09-03T06:17:06.012Z` from npm
registry metadata, the Node release schedule, and the Node distribution index.
Re-run [`scripts/verify-current-versions.mjs`](./scripts/verify-current-versions.mjs)
before relying on them for new work.

- `next` latest is `16.3.4`; `canary` is `16.4.0-canary.15`; `beta` is
  `16.0.0-beta.0`; `rc` is `15.0.0-rc.1`.
- `next@16.3.4` declares Node `>=20.9.0` and React peers
  `^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0`.
- `next@16.3.4` was published at `2026-08-31T20:00:51.381Z`; it was
  `209774631` ms old at verification and therefore older than 48 hours.
- `react` and `react-dom` latest are `19.2.8`; `react-dom@19.2.8` peers on
  `react ^19.2.8`.
- The snapshot records registry-reported SRI, SHA-1, signature values and keys,
  tarball, and SLSA provenance metadata. The verifier validates metadata shape
  and drift; it does not download artifacts or cryptographically verify signatures
  or attestations.
- Node `26.x` is Current; latest dist entry checked was `v26.8.1`.
- Node `24.x` Krypton is Active LTS; latest dist entry checked was `v24.20.0`.
- Node `22.x` Jod is Maintenance LTS; latest dist entry checked was `v22.23.2`.
- Node `20.x` Iron reached end of life on 2026-04-30. It may satisfy some
  framework engine ranges, but it should not be selected for new production
  baselines.

Stable guidance must not treat canary, beta, RC, experimental, or Current Node
releases as production defaults. Use them only when the project explicitly opts
in or the task is research, reproduction, or compatibility testing.

## Reference Map

- [Source ledger](./references/source-ledger.md)
- [Version matrix](./references/version-matrix.md)
- [Next.js latest stable](./references/nextjs-latest-stable.md)
- [Node.js runtime and package management](./references/nodejs-runtime-and-package-management.md)
- [Node.js development best practices](./references/nodejs-development-best-practices.md)
- [Next.js development best practices](./references/nextjs-development-best-practices.md)
- [Debugging runbooks](./references/debugging-runbooks.md)
- [Testing and quality](./references/testing-and-quality.md)
- [Security and deployment](./references/security-and-deployment.md)
- [Update procedure](./references/update-procedure.md)
- [Verified version snapshot](./data/verified-versions.json)
- [Current-version verifier](./scripts/verify-current-versions.mjs)

## Verifier

Use the verifier when current package or runtime facts matter:

```bash
node scripts/verify-current-versions.mjs --help
node scripts/verify-current-versions.mjs
node scripts/verify-current-versions.mjs --json
```

The script is read-only. It performs no installs, makes no dependency changes,
and does not rewrite the snapshot. It fetches npm registry metadata, the Node
release schedule, and the Node dist index. Its output includes package publication
times, age at verification, the 48-hour age gate, registry-reported integrity,
signature values and keys, provenance metadata, and drift against
`data/verified-versions.json` when that file is present.

## Boundaries

- Respect project-pinned versions before recommending upgrades.
- Do not infer framework support from blog posts or package popularity.
- Do not present beta, canary, RC, experimental, or unreleased behavior as
  stable.
- Do not change package managers or lockfile formats unless the task is
  explicitly about that migration.
- Do not add dependencies when a built-in Node, npm, or framework feature is
  sufficient.

## Local preview lifecycle

For starting, finding, inspecting, reusing, or stopping a project preview, use
[local website previews](../ls-local-website-preview/SKILL.md). Read the project
command first and verify loopback binding and process ownership before reporting
a usable URL or stopping a process.

Files in this skill

  • SKILL.md6.9 KB
  • data/verified-versions.json7.3 KB
  • references/debugging-runbooks.md1.5 KB
  • references/nextjs-development-best-practices.md1.4 KB
  • references/nextjs-latest-stable.md2 KB
  • references/nodejs-development-best-practices.md1.5 KB
  • references/nodejs-runtime-and-package-management.md1.8 KB
  • references/security-and-deployment.md1.3 KB
  • references/source-ledger.md1.9 KB
  • references/testing-and-quality.md925 B
  • references/update-procedure.md1.5 KB
  • references/version-matrix.md2.1 KB
  • scripts/verify-current-versions.mjs14.1 KB
  • tests/verify-current-versions.test.mjs5.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.