coding-standards

Apply universal coding standards to TypeScript, JavaScript, React, and Node.js projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides universal coding standards and best practices to enhance the readability, maintainability, and efficiency of your code.

Core Features & Use Cases

  • Code Quality Principles: Offers guidance on readability, simplicity, DRY principles, and avoiding unnecessary features.
  • TypeScript/JavaScript Standards: Provides rules for variable naming, function naming, immutability, error handling, and async/await.
  • React Best Practices: Includes guidelines on component structure, custom hooks, state management, and conditional rendering.
  • API Design Standards: Outlines REST API conventions, response formats, and input validation.
  • File Organization: Offers suggestions on project structure and file naming conventions.
  • Comments & Documentation: Explains the importance of good commenting and the use of JSDoc.
  • Performance Best Practices: Discusses memoization, lazy loading, and database query optimization.
  • Testing Standards: Suggests a AAA test structure and naming conventions for tests.
  • Code Smell Detection: Identifies anti-patterns like long functions, deep nesting, and magic numbers.

Quick Start

Follow the provided guidelines in the SKILL.md to implement coding standards in your projects.

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 naming conventions and error handling?

TypeScript and JavaScript best practices include using clear variable and function naming, enforcing immutability, proper error handling, and applying async/await patterns to enhance code readability and maintainability.

How do I structure React components and manage state following standard coding guidelines?

Standard React coding guidelines recommend organizing component structure logically, using custom hooks for reusability, managing state efficiently, and applying conditional rendering to maintain code simplicity and readability.

What is the recommended way to design REST APIs and validate inputs in a Node.js backend?

REST API design standards involve following REST conventions, standardizing response formats, and implementing rigorous input validation to ensure maintainable and efficient Node.js backend architectures.

How do I detect code smells like deep nesting and magic numbers in my JavaScript projects?

Detecting code smells involves identifying anti-patterns such as excessively long functions, deep nesting, and magic numbers to refactor them into clear, maintainable, and efficient JavaScript code structures.

What testing standards should I follow for structuring unit tests in TypeScript and React?

Testing standards suggest following the AAA test structure and using clear naming conventions for tests to ensure your TypeScript and React codebase remains maintainable and comprehensible.