coding-standards

Guide TypeScript, JavaScript, React, and Node.js development with universal coding standards.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/Ced3-han/Harness-Settings --skill coding-standards-ced3-han
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/Ced3-han/Harness-Settings/tree/main/skills/coding-standards
Command: npx skills add https://github.com/Ced3-han/Harness-Settings --skill coding-standards-ced3-han

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 readability, maintainability, and performance.

Core Features & Use Cases

  • Code Quality Principles: Outlines key principles like readability, simplicity, DRY, and YAGNI.
  • TypeScript/JavaScript Standards: Covers variable naming, function naming, immutability, error handling, async/await best practices, and type safety.
  • React Best Practices: Focuses on component structure, custom hooks, state management, and conditional rendering.
  • API Design Standards: Defines REST API conventions, response format, and input validation.
  • File Organization: Provides a clear project structure and file naming conventions.
  • Comments & Documentation: Offers guidelines for effective code comments and JSDoc.
  • Performance Best Practices: Covers memoization, lazy loading, and efficient database queries.
  • Testing Standards: Emphasizes AAA test structure and clear test naming.
  • Code Smell Detection: Identifies common anti-patterns like long functions, deep nesting, and magic numbers.

Quick Start

Use the coding-standards skill to check the quality of your codebase and follow best practices for TypeScript and JavaScript 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 TypeScript and JavaScript code quality?

Best practices for TypeScript and JavaScript code quality include applying readability, simplicity, DRY, and YAGNI principles alongside standards for naming, immutability, type safety, and async/await error handling.

How do I structure React components and custom hooks?

Structure React components and custom hooks by following established best practices for component organization, state management, conditional rendering, and leveraging custom hooks to maintain a clean and maintainable architecture.

What are the REST API design standards for Node.js development?

REST API design standards for Node.js define conventions for response formats, input validation, and endpoint structure to ensure consistent backend development and reliable communication between services.

How do I detect code smells and anti-patterns in JavaScript?

Detect code smells and anti-patterns in JavaScript by identifying common issues like long functions, deep nesting, and magic numbers, which reduce readability and maintainability across the codebase.

Can I use these coding standards for both front-end and back-end workflows?

Yes, you can apply these coding standards to both front-end and back-end workflows, as the guide covers React best practices and Node.js API design alongside universal TypeScript and JavaScript file organization.

What is the AAA test structure for JavaScript and TypeScript?

The AAA test structure for JavaScript and TypeScript organizes tests into Arrange, Act, and Assert phases, ensuring clear test naming and consistent validation of code quality and performance standards.