Agent skill
nodejs-best-practices
Node.js development principles and decision-making.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/nodejs-best-practices-spencergeee-spentrade
SKILL.md
Node.js Best Practices
Principles and decision-making for Node.js development in 2025. Learn to THINK, not memorize code patterns.
⚠️ How to Use This Skill
This skill teaches decision-making principles, not fixed code to copy.
- ASK user for preferences when unclear
- Choose framework/pattern based on CONTEXT
- Don't default to same solution every time
1. Framework Selection (2025)
🧠 Knowledge Modules (Fractal Skills)
1. Decision Tree
2. Comparison Principles
3. Selection Questions to Ask:
4. Native TypeScript
5. Module System Decision
6. Runtime Selection
7. Layered Structure Concept
8. Why This Matters:
9. When to Simplify:
10. Centralized Error Handling
11. Error Response Philosophy
12. Status Code Selection
13. When to Use Each
14. Event Loop Awareness
15. Avoiding Event Loop Blocking
16. Validate at Boundaries
17. Validation Library Selection
18. Validation Philosophy
19. Security Checklist (Not Code)
20. Security Mindset
21. Test Strategy Selection
22. What to Test (Priorities)
23. Built-in Test Runner (Node.js 22+)
24. ❌ DON'T:
25. ✅ DO:
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?