本文へ移動
cccskills
無料GitHub で公開

ls-nodejs-nextjs-development

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.

日本語の概要は準備中です。原文の説明を表示しています。

インストール方法を見る

含まれるファイル(14)

  • SKILL.md6.6 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.0 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

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 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

Verifier

Use the verifier when current package or runtime facts matter:

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.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Guide accessibility reviews for UI, documents, and workflows. Use for WCAG-oriented audits, keyboard review, semantics, contrast, and remediation planning.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月21日 更新

Use when choosing a LocalSetup Agent-* lane for exploration, research, bounded implementation, or review. Consult the static capability matrix; do not probe account or network availability.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月21日 更新

Guide agent email inbox workflows with prompt-injection defenses. Use for inbound email processing, webhooks, routing, and safety review.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月21日 更新

Navigate and understand codebases using agentlens hierarchical documentation. Use when exploring new projects, finding modules, locating symbols in large files, finding TODOs/warnings, or understanding code structure.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月21日 更新

Use for Agent Q signed encrypted file-drop or mail ship and ingest, private registry v2 setup, queue status, and transport maintenance.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月21日 更新

Inventory wrapper for the alirezarezvani Claude skills bundle. Use when triaging its broad skill catalog and large script surface before any targeted import.

日本語の概要は準備中です。原文の説明を表示しています。

CruxExperts/LocalSetup62026年10月21日 更新

CruxExperts のスキルをすべて見る

このスキルの問題を報告する