coding-standards

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

Updated Jul 10, 2025
One-click install
npx skills add https://github.com/nubiv/my-nome --skill coding-standards-nubiv
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/nubiv/my-nome/tree/main/nix-darwin/config/claude/skills/coding-standards
Command: npx skills add https://github.com/nubiv/my-nome --skill coding-standards-nubiv

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide to universal coding standards, best practices, and patterns for TypeScript, JavaScript, React, and Node.js development, ensuring code quality, readability, and maintainability.

Core Features & Use Cases

  • Coding Standards: Defines principles for readability, KISS, DRY, and YAGNI.
  • Language-Specific Guidelines: Offers best practices for TypeScript/JavaScript (naming, immutability, error handling, async/await, type safety), React (component structure, custom hooks, state management, conditional rendering), and API design (REST conventions, response format, input validation).
  • File Organization & Documentation: Guides on project structure, file naming, commenting, and JSDoc.
  • Performance & Testing: Covers memoization, lazy loading, database query optimization, and testing standards.
  • Code Smell Detection: Identifies and provides solutions for common anti-patterns like long functions, deep nesting, and magic numbers.
  • Use Case: When starting a new project or onboarding new developers, use this Skill to establish and enforce consistent coding conventions across the team.

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 enforcing TypeScript and React coding standards?

TypeScript and React coding standards enforce readability, KISS, DRY, and YAGNI principles. Guidelines cover type safety, custom hooks, component structure, state management, and conditional rendering to ensure maintainable code.

How do I structure a Node.js project for better code quality and maintainability?

Improve Node.js code quality by following universal standards for file organization, API design, REST conventions, and input validation. Proper project structure and JSDoc documentation ensure long-term maintainability.

What are common code smells in JavaScript and how can I fix them?

Common JavaScript code smells include long functions, deep nesting, and magic numbers. Fix them by applying DRY principles, ensuring proper naming conventions, and refactoring for readability.

How do I implement performance optimization and testing standards in a React application?

React performance optimization and testing standards involve applying memoization, lazy loading, and database query optimization. Establishing testing standards ensures reliable component behavior and type safety.

Does this coding standards guide cover error handling and async/await best practices?

Yes, this coding standards guide covers error handling and async/await best practices. It provides universal rules for JavaScript and TypeScript to ensure robust asynchronous operations and type safety.