Agent skill

nodejs-best-practices

Node.js development principles and decision-making.

Stars 163
Forks 31

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:

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results