Agent skill

agent-coding-standards

Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.

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/agent-coding-standards

SKILL.md

Coding Standards & Best Practices

Universal coding standards applicable across all projects.

Code Quality Principles

🧠 Knowledge Modules (Fractal Skills)

1. 1. Readability First

2. 2. KISS (Keep It Simple, Stupid)

3. 3. DRY (Don't Repeat Yourself)

4. 4. YAGNI (You Aren't Gonna Need It)

5. Variable Naming

6. Function Naming

7. Immutability Pattern (CRITICAL)

8. Error Handling

9. Async/Await Best Practices

10. Type Safety

11. Component Structure

12. Custom Hooks

13. State Management

14. Conditional Rendering

15. REST API Conventions

16. Response Format

17. Input Validation

18. Project Structure

19. File Naming

20. When to Comment

21. JSDoc for Public APIs

22. Memoization

23. Lazy Loading

24. Database Queries

25. Test Structure (AAA Pattern)

26. Test Naming

27. 1. Long Functions

28. 2. Deep Nesting

29. 3. Magic Numbers

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