coding-standards

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

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/unju-ai/ecc --skill coding-standards-unju-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/unju-ai/ecc/tree/main/.agents/skills/coding-standards
Command: npx skills add https://github.com/unju-ai/ecc --skill coding-standards-unju-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive set of universal coding standards and best practices to ensure code quality, maintainability, and consistency across TypeScript, JavaScript, React, and Node.js projects.

Core Features & Use Cases

  • Code Quality Enforcement: Establishes guidelines for readability, simplicity, DRY, and YAGNI principles.
  • Language-Specific Standards: Details best practices for naming conventions, immutability, error handling, and async operations in TypeScript/JavaScript.
  • React Best Practices: Covers component structure, custom hooks, state management, and conditional rendering.
  • API Design: Outlines conventions for REST APIs, response formats, and input validation.
  • File Organization & Documentation: Recommends project structure, file naming, and commenting strategies.
  • Performance & Testing: Includes guidance on memoization, lazy loading, database queries, and testing methodologies.
  • Use Case: When starting a new feature, use this Skill to review and apply the recommended standards to ensure the code is clean, efficient, and easy for other developers to understand.

Quick Start

Apply the coding standards to the provided TypeScript code snippet.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
What are the best practices for React component structure and state management?

React best practices for component structure and state management emphasize modular custom hooks, clear file organization, and efficient conditional rendering to ensure maintainability and readability across your project.

How do I enforce coding standards for TypeScript and JavaScript projects?

Enforce coding standards for TypeScript and JavaScript by applying guidelines on naming conventions, immutability, error handling, and async patterns to ensure consistent, high-quality code across your development team.

How should I handle error handling and async patterns in Node.js?

Handle error handling and async patterns in Node.js by following established coding standards that outline robust error capture and asynchronous operation management to prevent runtime crashes and improve API reliability.

Does this coding standards guide cover REST API design and input validation?

Yes, this coding standards guide covers REST API design by outlining conventions for API response formats and input validation to ensure robust and consistent backend interfaces.

What coding principles should I follow to improve code quality and readability?

To improve code quality and readability, follow foundational coding principles like KISS, DRY, and YAGNI, which help eliminate unnecessary complexity and reduce code duplication across your software architecture.