coding-standards

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

Updated Jan 27, 2026
One-click install
npx skills add https://github.com/LeonMelamud/inspector-agents --skill coding-standards-leonmelamud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/LeonMelamud/inspector-agents/tree/main/.github/skills/coding-standards
Command: npx skills add https://github.com/LeonMelamud/inspector-agents --skill coding-standards-leonmelamud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of universal coding standards, best practices, and patterns 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 (KISS), DRY, and YAGNI.
  • Language-Specific Standards: Detailed guidelines for TypeScript/JavaScript (naming, immutability, error handling, async/await, type safety), React (components, hooks, state, rendering), and API design (REST, response format, validation).
  • File Organization & Documentation: Best practices for project structure, file naming, commenting, and JSDoc.
  • Performance & Testing: Recommendations for memoization, lazy loading, database queries, and testing methodologies.
  • Code Smell Detection: Identifies and advises on avoiding long functions, deep nesting, and magic numbers.
  • Use Case: A development team can use this Skill to establish and enforce a consistent coding style, reducing merge conflicts and improving collaboration.

Quick Start

Apply the coding standards outlined in this skill to the provided codebase.

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 React code quality?

Best practices for TypeScript and React code quality include enforcing naming conventions, immutability, type safety, and proper component hooks usage to improve overall readability and maintainability.

How do I enforce coding standards and reduce code smells in Node.js?

You can enforce coding standards in Node.js by identifying code smells like long functions, deep nesting, and magic numbers, then applying KISS, DRY, and YAGNI principles to refactor and simplify your codebase.

How should I organize files and structure a React and Node.js project?

Organize React and Node.js projects by following best practices for project structure, file naming, and JSDoc documentation to ensure maintainability and reduce merge conflicts during team collaboration.

What is the best way to design REST APIs and handle async operations in JavaScript?

The best way to design REST APIs in JavaScript involves standardizing response formats, implementing input validation, and using async/await for error handling to ensure robust and consistent API interactions.

How do I optimize React rendering performance and database queries?

Optimize React rendering performance and database queries by applying memoization, implementing lazy loading for components, and following database query optimization strategies to reduce unnecessary computational overhead.