javascript-pragmatic-rules
CommunityProduction JS rules for reliability and performance.
Authormatthewharwood
Version1.0.0
Installs0
System Documentation
What problem does it solve?
30 pragmatic rules for production JavaScript covering async operations, V8 optimization, memory management, testing, error handling, and performance.
Core Features & Use Cases
- Async Patterns: promise handling, timeouts, concurrency, cleanup
- Error Handling: global handlers, error mapping, boundaries
- Performance & Testing: profiling, memory leaks, typed arrays, tests
Quick Start
Ask your AI to apply Rule 1 to handle promise rejections; implement a timeout around a fetch using AbortController; add proper cleanup in components.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: javascript-pragmatic-rules Download link: https://github.com/matthewharwood/fantasy-phonics/archive/main.zip#javascript-pragmatic-rules Please download this .zip file, extract it, and install it in the .claude/skills/ directory.