coding-standards

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

3|Updated Jul 28, 2025
One-click install
npx skills add https://github.com/dileep-kishore/zendots --skill coding-standards-dileep-kishore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/dileep-kishore/zendots/tree/main/private_dot_claude/skills/coding-standards
Command: npx skills add https://github.com/dileep-kishore/zendots --skill coding-standards-dileep-kishore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • Code Quality Principles: Enforces readability, simplicity (KISS), DRY, and YAGNI.
  • Language-Specific Standards: Offers detailed guidelines for variable/function naming, immutability, error handling, async operations, and type safety in TS/JS.
  • 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 using Zod.
  • File Organization & Documentation: Provides guidance on project structure, file naming, commenting, and JSDoc.
  • Performance & Testing: Includes best practices for memoization, lazy loading, database queries, and test structure/naming.
  • Code Smell Detection: Helps identify and refactor common anti-patterns like long functions, deep nesting, and magic numbers.

Quick Start

Review the coding standards for TypeScript and React development.

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 involve organizing components logically, utilizing custom hooks for reusable logic, and applying 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 principles like KISS, DRY, and YAGNI, alongside strict naming conventions, immutability rules, type safety, and consistent error handling for async operations.

How do I detect and refactor code smells like deep nesting and magic numbers?

Detect and refactor code smells like deep nesting and magic numbers by identifying long functions and replacing obscure literal values with named constants, simplifying conditional logic to improve overall code readability.

What is the best way to design REST APIs and validate inputs in Node.js?

The best way to design REST APIs in Node.js involves following standard response format conventions and utilizing Zod for rigorous input validation to ensure robust API design and predictable data structures.

Does this coding standards guide cover performance optimization and testing strategies?

This coding standards guide covers performance optimization and testing strategies by providing best practices for memoization, lazy loading, efficient database queries, and establishing proper test structure and naming conventions.