coding-standards

Enforce coding standards for TypeScript, JavaScript, React, and Node.js projects.

1|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/samChang72/custom-skills --skill coding-standards-samchang72
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/samChang72/custom-skills/tree/main/claude-config/skills/coding-standards
Command: npx skills add https://github.com/samChang72/custom-skills --skill coding-standards-samchang72

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures code quality and maintainability by enforcing universal coding standards and best practices for TypeScript, JavaScript, React, and Node.js development.

Core Features & Use Cases

  • Code Quality Principles: Follows principles like readability, KISS, DRY, and YAGNI.
  • TypeScript/JavaScript Standards: Provides guidelines for variable naming, function naming, immutability, error handling, and type safety.
  • React Best Practices: Offers best practices for component structure, custom hooks, state management, and conditional rendering.
  • API Design Standards: Defines REST API conventions, response format, and input validation.
  • File Organization: Suggests a project structure and file naming conventions.
  • Comments & Documentation: Provides guidelines for writing clear and effective comments and documentation.
  • Performance Best Practices: Offers advice on memoization, lazy loading, and database queries.
  • Testing Standards: Details test structure, naming conventions, and code smell detection.
  • Code Smell Detection: Identifies anti-patterns like long functions, deep nesting, and magic numbers.

Quick Start

Apply the coding standards Skill to your project to ensure consistent and high-quality code.

Frequently Asked Questions about coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What coding standards should I follow for React and TypeScript projects?

Best practices for Node.js API design define REST API conventions, standard response formats, and input validation. Following these standards ensures consistent backend interfaces, reliable data handling, and reduced integration errors across services.

How do I detect code smells and anti-patterns in JavaScript?

Detecting code smells in JavaScript involves identifying anti-patterns like long functions, deep nesting, and magic numbers. Applying structured testing standards and code smell detection guidelines helps isolate and refactor these problematic areas effectively.

Does this coding standards skill apply to both frontend and backend development?

Yes, the coding standards skill applies to both frontend and backend development, specifically covering React for frontend component structure and Node.js for backend API design, ensuring universal code quality across the entire stack.

How do I structure my project files for maintainability in a TypeScript codebase?

To structure project files for maintainability in a TypeScript codebase, apply suggested project structure and file naming conventions. This organization enhances code readability and simplifies navigation across modules.

What are the best practices for performance optimization in React and Node.js?

Performance best practices for React and Node.js include applying memoization, implementing lazy loading, and optimizing database queries. These techniques reduce unnecessary computations and improve overall application responsiveness.