@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.
Package details
Install @patimweb/pi-nodejs-bestpractices from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@patimweb/pi-nodejs-bestpractices- Package
@patimweb/pi-nodejs-bestpractices- Version
0.3.1- Published
- Aug 25, 2026
- Downloads
- 434/mo · 7/wk
- Author
- patimwep
- License
- MIT
- Types
- skill
- Size
- 85.4 KB
- Dependencies
- 0 dependencies · 0 peers
Pi manifest JSON
{
"skills": [
"./skills"
],
"image": "https://raw.githubusercontent.com/Smotherer007/pi-nodejs-bestpractices/main/screenshot.png"
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@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.
