coding-standards

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill establishes and enforces consistent coding standards, best practices, and patterns across TypeScript, JavaScript, React, and Node.js projects, leading to more readable, maintainable, and robust codebases.

Core Features & Use Cases

  • Universal Standards: Provides guidelines for naming conventions, immutability, error handling, and async operations.
  • Language-Specific Best Practices: Offers detailed recommendations for TypeScript/JavaScript, React, and API design.
  • Code Quality Principles: Emphasizes readability, simplicity, DRY, and YAGNI.
  • Use Case: When starting a new feature, use this Skill to ensure your code adheres to established quality benchmarks, preventing technical debt and improving team collaboration.

Quick Start

Review the provided coding standards to ensure adherence to best practices.

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 and state management involve using custom hooks, organizing files by feature, enforcing immutability, and applying conditional rendering. These coding standards ensure your React components remain readable, maintainable, and robust.

How do I enforce code quality principles like DRY and KISS in TypeScript and JavaScript?

To enforce code quality principles like DRY and KISS in TypeScript and JavaScript, follow guidelines on variable and function naming, error handling, and async/await. These standards prevent technical debt and improve team collaboration across your codebase.

How should I handle errors and async operations in Node.js and JavaScript?

Handle errors and async operations in Node.js and JavaScript by using async/await for asynchronous flow and implementing consistent error handling patterns. Following these coding standards prevents unhandled rejections and improves API reliability.

Does this Skill provide universal coding standards for both React and Node.js API design?

Yes, this Skill provides universal coding standards for both React and Node.js API design. It offers detailed recommendations for API design, React component structure, and Node.js development, ensuring consistent code quality across your entire stack.

When do I need coding standards for a new TypeScript or React feature?

You need coding standards for a new TypeScript or React feature when you want to ensure your code adheres to established quality benchmarks. Applying standards for naming, performance optimization, and testing prevents technical debt before it accumulates.