@patimweb/pi-nodejs-bestpractices0.3.2
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.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
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.