coding-standards

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

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/LiamVDB1/opencode-config --skill coding-standards-liamvdb1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/LiamVDB1/opencode-config/tree/main/skills/coding-standards
Command: npx skills add https://github.com/LiamVDB1/opencode-config --skill coding-standards-liamvdb1

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

  • Code Quality Principles: Adheres to KISS, DRY, and YAGNI principles.
  • Language-Specific Standards: Covers naming conventions, immutability, error handling, async/await, and type safety for JS/TS.
  • Framework Best Practices: Includes guidelines for React components, custom hooks, state management, and conditional rendering.
  • API Design: Defines standards for REST APIs, response formats, and input validation.
  • File Organization & Documentation: Promotes clear project structure, file naming, and effective commenting.
  • Performance & Testing: Offers advice on memoization, lazy loading, database queries, and testing strategies.
  • Code Smell Detection: Identifies and provides solutions for common anti-patterns like long functions and deep nesting.

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?

Best practices for React components include organizing clear component structure, utilizing custom hooks, implementing conditional rendering, and applying effective state management patterns to ensure maintainability and readability.

How do I enforce type safety and error handling in TypeScript and Node.js?

Enforce type safety and error handling in TypeScript and Node.js by applying strict naming conventions, ensuring immutability, leveraging async/await patterns, and following established coding standards for robust API design.

How do I refactor long functions and deep nesting to improve code quality?

Refactor long functions and deep nesting by detecting these code smells early and applying KISS, DRY, and YAGNI principles to eliminate magic numbers and improve overall code readability.

Does this coding standards guide cover API design and input validation for Node.js?

Yes, the coding standards guide covers Node.js API design by defining standards for REST APIs, response formats, and input validation to ensure consistent and secure backend development.

What is the best way to organize files and optimize performance in a TypeScript project?

Organize files and optimize performance in TypeScript projects by following clear project structure guidelines, applying effective file naming conventions, and utilizing memoization and lazy loading techniques.