coding-standards

Installation
Summary

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

  • Covers core principles (readability, KISS, DRY, YAGNI) with practical code examples for variable naming, function design, immutability, error handling, and type safety
  • Includes React-specific guidance on component structure, custom hooks, state management, and conditional rendering patterns
  • Provides API design standards with REST conventions, response formats, and input validation using Zod schemas
  • Details file organization, project structure, commenting practices, performance optimization (memoization, lazy loading), and testing patterns with the AAA approach
  • Identifies common code smells like long functions, deep nesting, and magic numbers with refactoring examples
SKILL.md

Coding Standards & Best Practices

Baseline coding conventions applicable across projects.

This skill is the shared floor, not the detailed framework playbook.

  • Use frontend-patterns for React, state, forms, rendering, and UI architecture.
  • Use backend-patterns or api-design for repository/service layers, endpoint design, validation, and server-specific concerns.
  • Use rules/common/coding-style.md when you need the shortest reusable rule layer instead of a full skill walkthrough.

When to Activate

  • Starting a new project or module
  • Reviewing code for quality and maintainability
  • Refactoring existing code to follow conventions
  • Enforcing naming, formatting, or structural consistency
  • Setting up linting, formatting, or type-checking rules
  • Onboarding new contributors to coding conventions
Related skills
Installs
6.6K
GitHub Stars
179.7K
First Seen
Jan 22, 2026