Agent skill · software engineering · davila7

coding-standards

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

Why this skill is useful

Codifies best practices and standards for TypeScript, JavaScript, React, and Node.js development, reducing guesswork for the AI.

What it needs

About 6k tokens when loaded. Last updated 2026-08-06. 30,138 stars on the source repository.

What this skill does

Coding Standards & Best Practices Universal coding standards applicable across all projects. Code Quality Principles 1. Readability First Code is read more than written Clear variable and function names Self-documenting code preferred over comments Consistent formatting 2. KISS (Keep It Simple, Stupid) Simplest solution that works Avoid over-engineering No premature optimization Easy to understand > clever code 3. DRY (Don't Repeat Yourself) Extract common logic into functions Create reusable components Share utilities across modules Avoid copy-paste programming 4. YAGNI (You Aren't Gonna Need It) Don't build features before they're needed Avoid speculative generality Add complexity only when required Start simple, refactor when needed TypeScript/JavaScript Standards Variable Naming Function Naming Immutability Pattern (CRITICAL) Error Handling Async/Await Best Practices Type Safety React Best Practices Component Structure Custom Hooks State Management Conditional Rendering API Design Standards REST API Conventions Response Format Input Validation File Organization Project Structure File Naming Comments & Documentation When to Comment JSDoc for Public APIs typescript const results = await searchMarkets('election', 5) console.log(results[0].name) // "Trump vs Biden" Performance Best Practices Memoization Lazy Loading Database Queries Testing Standards Test Structure (AAA Pattern) Test Naming Code Smell Detection Watch for these anti-patterns: 1. Long Functions 2. Deep Nesting 3. Magic Numbers Remember: Code quality is not negotiable. Clear, maintainable code enables rapid development and confident refactoring.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills davila7/cc-skill-coding-standards

View the source on GitHub

Browse the @skills marketplace