coding-standards

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

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

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 for TypeScript, JavaScript, React, and Node.js development, ensuring code readability, maintainability, and robustness.

Core Features & Use Cases

  • Code Quality Principles: Enforces readability, simplicity (KISS), DRY, and YAGNI.
  • Language-Specific Standards: Detailed guidelines for variable/function naming, immutability, error handling, async/await, and type safety in TypeScript/JavaScript.
  • React Best Practices: Covers component structure, custom hooks, state management, and conditional rendering.
  • API Design: Outlines conventions for REST APIs, response formats, and input validation using Zod.
  • File Organization & Naming: Provides a clear project structure and file naming conventions.
  • Documentation & Comments: Guides on when to comment and how to use JSDoc.
  • Performance: Recommends memoization, lazy loading, and optimized database queries.
  • Testing: Emphasizes AAA pattern and descriptive test naming.
  • Code Smell Detection: Identifies and advises against long functions, deep nesting, and magic numbers.
  • Use Case: A development team can use this Skill to establish and enforce a consistent coding style across all their projects, leading to fewer bugs and faster onboarding of new developers.

Quick Start

Apply the coding-standards skill to review the provided TypeScript code for adherence to best practices.

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 and best practices for TypeScript and React?

You can enforce universal coding standards by applying principles like KISS, DRY, and YAGNI alongside React and TypeScript best practices. This enforces consistent naming conventions, component structure, and type safety across your codebase.

What are the best practices for API design and input validation in Node.js?

Best practices for API design in Node.js include following REST API conventions, standardizing response formats, and validating inputs using Zod. This guarantees robust API endpoints and prevents invalid data processing.

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

Detecting code smells in JavaScript involves identifying long functions, deep nesting, and magic numbers during code review. Applying these standards advises against such patterns to improve readability and maintainability.

Does this coding standards skill cover testing patterns and file organization?

Yes, the coding standards skill covers testing by emphasizing the AAA pattern and descriptive test naming. It also provides clear file organization, project structure, and naming conventions for comprehensive project consistency.

Can I use these standards to review async/await and error handling in my code?

Yes, you can use these standards to review async/await and error handling in your code. The guidelines detail specific patterns for immutability, error handling, and async operations to ensure robust TypeScript and JavaScript execution.