@patimweb/pi-nodejs-bestpractices
v0.3.1
Published
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.
Downloads
434
Maintainers
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-bestpracticesFrom a git repo
pi install git:github.com/Smotherer007/[email protected]Try without installing
pi -e ./Usage
The node skill loads automatically for Node.js questions, or force it explicitly:
/skill:nodeDevelopment
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.
