Agent skill
agent-coding-standards
Universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development.
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
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?