coding-standards

Enforce consistent coding conventions for TypeScript, JavaScript, React, and Node.js projects.

1|Updated Mar 18, 2026
One-click install
npx skills add https://github.com/xxih/ai-harness-zh --skill coding-standards-xxih
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/xxih/ai-harness-zh/tree/main/references/translations/everything-claude-code/docs/zh-CN/skills/coding-standards
Command: npx skills add https://github.com/xxih/ai-harness-zh --skill coding-standards-xxih

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent naming, formatting, and architectural choices cause bugs, reduce readability, and slow development across TypeScript, JavaScript, React, and Node.js projects.

Core Features & Use Cases

  • Comprehensive guidelines covering naming conventions, immutability, error handling, async patterns, and API design.
  • React and UI best practices for component structure, custom hooks, state management, and conditional rendering.
  • Performance and testing standards including memoization, lazy loading, REST API contracts, and test naming conventions.
    Use case: a development team adopts this skill to audit a legacy codebase, automatically align linting rules, and onboard new contributors with a clear coding handbook.

Quick Start

Ask the coding-standards skill to review my TypeScript project and suggest improvements to adhere to the recommended conventions.

Frequently Asked Questions about coding-standards

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I enforce consistent coding standards across a TypeScript and React codebase?

Enforce coding standards by applying comprehensive guidelines covering naming conventions, immutability, error handling, and React component structure, ensuring code readability and maintainability across the stack.

What are the best practices for structuring React components and custom hooks?

React best practices for component structure and custom hooks involve maintaining consistent patterns for state management, conditional rendering, and architectural choices to reduce bugs and improve overall development speed.

How do I audit a legacy JavaScript project to align with modern linting configurations?

Audit a legacy JavaScript project by reviewing the codebase against standard conventions for async patterns and API design, then generate automated linting configurations to align the code with recommended best practices.

Can I use these coding conventions for Node.js API design and testing?

Yes, these coding conventions cover Node.js API design by defining REST API contracts, async patterns, and error handling, while also establishing performance and testing standards like memoization, lazy loading, and test naming conventions.

What is the best way to onboard new contributors with a clear coding handbook?

The best way to onboard new contributors is to provide a clear coding handbook derived from enforced style guides, ensuring they adhere to uniform, high-quality code standards for TypeScript, JavaScript, React, and Node.js projects.