node-project-setup

Configure Node.js projects with pnpm, TypeScript, and ES Modules.

3|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/t6adev/claude-code-tools --skill node-project-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: node-project-setup
Source: https://github.com/t6adev/claude-code-tools/tree/main/tools/skills/code/node-project-setup
Command: npx skills add https://github.com/t6adev/claude-code-tools --skill node-project-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines the initial setup of a Node.js project by applying modern defaults (pnpm, TypeScript, ES Module by default) and a repeatable, parallelized script-check workflow.

Core Features & Use Cases

  • Pin the latest pnpm as the package manager and lock it in package.json to ensure consistent installs across environments.
  • Enforce explicit Node.js and pnpm version ranges via the engines field for predictable runtimes.
  • Enable ES Modules by default with "type": "module" and configure TypeScript for NodeNext, strict modes, and accurate declarations.
  • Add TypeScript as a devDependency along with @types/node to improve DX for server-side codebases.
  • Introduce lint/format tooling (oxide-based) and a parallel check/fix script pattern to speed up CI and local feedback.
  • Applies to both new project initialization and migration scenarios, ensuring a consistent baseline.

Quick Start

Initialize a modern Node.js project with pnpm, TypeScript, and parallel checks by applying this skill to your repository.

Frequently Asked Questions about node-project-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Node.js project with TypeScript and pnpm?

Setting up a Node.js project with TypeScript and pnpm involves pinning pnpm in package.json, enforcing Node.js version ranges via engines, and adding TypeScript with strict NodeNext configurations for a reproducible server-side codebase.

How do I configure ES Modules in a TypeScript Node.js project?

Configuring ES Modules in a TypeScript Node.js project requires setting "type": "module" in package.json and configuring TypeScript for NodeNext. This enables modern ESM defaults across your server-side codebase.

Can I migrate an existing Node.js project to use pnpm and ESM?

You can migrate an existing Node.js project to pnpm and ESM by applying modern defaults to the repository. The setup applies to both new project initializations and migrations, ensuring a consistent baseline with pinned tool versions.

What is the best way to enforce Node.js and pnpm versions in a project?

The best way to enforce Node.js and pnpm versions is by specifying explicit version ranges in the engines field of package.json. This locks the package manager and runtime versions to ensure predictable environments across installations.

How do I speed up lint and format checks in a Node.js project?

To speed up lint and format checks in a Node.js project, introduce a parallelized check and fix script pattern in package.json. Using oxide-based tooling alongside parallel execution speeds up CI and local feedback loops.