coding-standards

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

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/hubeiqiao/skills --skill coding-standards-hubeiqiao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/hubeiqiao/skills/tree/main/coding-standards
Command: npx skills add https://github.com/hubeiqiao/skills --skill coding-standards-hubeiqiao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive set of universal coding standards and best practices to ensure high-quality, readable, and maintainable code across TypeScript, JavaScript, React, and Node.js projects.

Core Features & Use Cases

  • Code Quality Principles: Enforces readability, simplicity, DRY, and YAGNI.
  • Language-Specific Standards: Detailed guidelines for TypeScript/JavaScript, React, and API design.
  • File Organization & Naming: Promotes a clear and consistent project structure.
  • Testing & Performance: Best practices for writing effective tests and optimizing performance.
  • Use Case: A new developer joins a project and needs to understand the established coding conventions. They consult this Skill to quickly get up to speed on naming conventions, error handling, component structure, and more.

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 component structure emphasize custom hooks, appropriate state management, and clear conditional rendering. Following these coding standards ensures your React components remain readable, maintainable, and free of deeply nested logic.

How do I handle async patterns and error handling in Node.js and TypeScript?

Handle async patterns and error handling in Node.js and TypeScript by enforcing type safety and structured error capturing. Universal coding standards dictate specific patterns for async operations to prevent unhandled rejections and improve code quality.

Does this coding standards guide apply to both JavaScript and TypeScript projects?

Yes, this coding standards guide applies to both JavaScript and TypeScript projects. It provides language-specific guidelines covering type safety, immutability, and naming conventions to elevate code quality across both environments.

How do I organize files and enforce naming conventions in a Node.js API design?

Organize files and enforce naming conventions in Node.js API design by adhering to established coding standards. These standards dictate specific file organization structures and API design principles to ensure project scalability and consistency.

What is the best way to fix code smells like long functions and deep nesting in React?

Fix code smells like long functions and deep nesting in React by applying DRY and YAGNI principles. Universal coding standards recommend breaking down large components and simplifying conditional rendering to improve overall code quality.

When should I write tests for TypeScript and React components according to coding standards?

Write tests for TypeScript and React components as an integral part of the development workflow according to coding standards. Effective testing and performance optimization are required to ensure maintainability and validate type safety.