← Catalog

@patimweb/pi-nodejs-bestpractices

Node.js best practices for the Pi coding agent — Matteo Collina's `node` skill, vendored 1:1 from mcollina/skills (MIT). TypeScript type-stripping, async patterns, error handling, streams, performance, profiling, testing, and more.

Skill

Install

Install with PiG

pig install npm:@patimweb/pi-nodejs-bestpractices

Install with Pi

pi install npm:@patimweb/pi-nodejs-bestpractices
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "image": "https://raw.githubusercontent.com/Smotherer007/pi-nodejs-bestpractices/main/screenshot.png",
  "skills": [
    "./skills"
  ]
}

README

Written by the package's publisher, shown as published in version 0.3.3 (README.md). PiG does not review it.

@patimweb/pi-nodejs-bestpractices

Node.js best practices for the Pi coding agent, shipping Matteo Collina's node skill — vendored 1:1 from mcollina/skills.

Attribution: skill content is © 2026 Matteo Collina, MIT License (see skills/node/LICENSE). Packaging by Patrick Weppelmann.

What's Included

ResourcePathPurpose
Skillskills/node/SKILL.mdCollina's node skill — Node.js best practices (TypeScript-first)
Rulesskills/node/rules/*.md14 rules: async patterns, error handling, streams, caching, performance, profiling, logging, modules, testing, TypeScript, graceful shutdown, environment, flaky tests, stuck processes
Assetsskills/node/rules/assets/*.tsGraceful-server reference implementation + test

Install

From npm

pi install npm:@patimweb/pi-nodejs-bestpractices

From a git repo

pi install git:github.com/Smotherer007/pi-nodejs-bestpractices@v0.3.0

Try without installing

pi -e ./

Usage

The node skill loads automatically for Node.js questions, or force it explicitly:

/skill:node

Development

npm install
npm test        # validates skill frontmatter (node:test)

Release

Releases are automated via semantic-release (.github/workflows/release.yml). Pushing a conventional commit (feat:/fix:) to main triggers: version bump → npm publish → GitHub release + tag.

License

MIT. Skill content © Matteo Collina (MIT) — see skills/node/LICENSE.