Install
Install with PiG
pig install npm:@patimweb/pi-nodejs-bestpracticesInstall with Pi
pi install npm:@patimweb/pi-nodejs-bestpracticesPackages 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
| Resource | Path | Purpose |
|---|---|---|
| Skill | skills/node/SKILL.md | Collina's node skill — Node.js best practices (TypeScript-first) |
| Rules | skills/node/rules/*.md | 14 rules: async patterns, error handling, streams, caching, performance, profiling, logging, modules, testing, TypeScript, graceful shutdown, environment, flaky tests, stuck processes |
| Assets | skills/node/rules/assets/*.ts | Graceful-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.