coding-standards

Standardize naming, architecture, and quality gates across TypeScript, JavaScript, React, and Node.js projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Universal coding standards applicable across all projects, enabling teams to write readable, maintainable, and consistent code.

Core Features & Use Cases

  • Readability First: Clear naming, self-documenting code, and consistent formatting.
  • DRY, KISS, YAGNI: Avoid duplication, simplicity, and avoiding unnecessary complexity.
  • Type Safety & TS/JS Best Practices: Strong typing, minimal use of any, and reliable interfaces.
  • React & UI Patterns: Functional components, proper hook usage, and accessible patterns.
  • Documentation & Testing: JSDoc guidelines, testing practices, and code smells awareness.

Quick Start

Integrate these standards into your project by applying the guidelines during code reviews and linting to achieve consistent, high-quality code.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
How do I enforce coding standards for TypeScript and React projects?

To enforce coding standards for TypeScript and React, apply consistent naming, architecture, and quality gates during development and reviews. This ensures readability, functional components, proper hook usage, and strong typing across your projects.

What are the best practices for improving code quality and maintainability?

Best practices for code quality prioritize readability first, applying DRY, KISS, and YAGNI principles. This approach avoids duplication and unnecessary complexity, guiding teams to write self-documenting, maintainable, and scalable code.

Can I use these coding standards during code reviews and onboarding?

Yes, you can use these coding standards during code reviews and onboarding. They provide guidelines for JSDoc documentation and testing patterns, enabling cross-project collaboration and ensuring consistent implementation practices.

Does this approach support type safety and minimal use of any in TypeScript?

Yes, this approach strongly supports type safety in TypeScript. It enforces strong typing, minimal use of any, and reliable interfaces to guide implementation and standardize practices across JavaScript and Node.js environments.

When do I need universal coding standards for my development team?

You need universal coding standards when managing cross-project collaboration or onboarding new team members. They solve the problem of inconsistent code by enforcing architecture, documentation, and testing patterns across all projects.

What is the best way to avoid code smells and duplication in JavaScript?

The best way to avoid code smells and duplication in JavaScript is by applying DRY and KISS principles. Enforcing readability, self-documenting code, and consistent formatting ensures simplicity and avoids unnecessary complexity.