coding-standards

Standardize TypeScript, JavaScript, React, and Node.js code with naming, immutability, type safety, and error handling conventions.

Updated Mar 28, 2026
One-click install
npx skills add https://github.com/akirschke15-cmd/Cato-Registry --skill coding-standards-akirschke15-cmd
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/akirschke15-cmd/Cato-Registry/tree/main/.claude/skills/coding-standards
Command: npx skills add https://github.com/akirschke15-cmd/Cato-Registry --skill coding-standards-akirschke15-cmd

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents codebase drift by giving a universal, production-focused set of conventions for TypeScript, JavaScript, React, and Node.js so teams write consistent, maintainable code with fewer defects.

Core Features & Use Cases

  • Consistent naming and organization: Enforces clear naming conventions (variables, functions, classes, constants) and predictable file/export structure for easier navigation and reviews.
  • Reliability through safe patterns: Encourages immutability, explicit type safety, and robust error handling (including async/await and React error boundaries).
  • Higher-quality delivery: Defines testing structure expectations (unit naming, arrange-act-assert) and production checklist guardrails to reduce regressions.

Quick Start

Activate coding-standards to align a new or existing TypeScript/React codebase with consistent conventions by asking: "Review this project’s code changes and list specific updates needed to match the coding standards for naming, immutability, type safety, error handling, async patterns, and test structure."

Frequently Asked Questions about coding-standards

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

FAQPage Schema
How do I enforce consistent TypeScript and React code conventions across my team?

To enforce consistent TypeScript and React code conventions, apply standardized rules for naming, file organization, explicit type safety, and immutability. This prevents codebase drift and ensures teams write maintainable code with fewer defects.

What are the best practices for async await error handling in Node.js?

Best practices for async await error handling in Node.js involve using structured error boundaries and explicit try-catch blocks. Standardizing these patterns ensures robust error capture and prevents unhandled promise rejections during production hardening.

How do you structure unit tests for React and TypeScript projects?

Structure unit tests for React and TypeScript projects by following the arrange-act-assert pattern and enforcing clear unit naming conventions. This testing structure reduces regressions and defines clear expectations for higher-quality delivery.

Does this coding standard work for existing codebase refactors or only greenfield projects?

These coding standards work for both greenfield project setup and existing codebase refactors. You can review current code changes and list specific updates needed to match conventions for naming, type safety, error handling, and async patterns.

Why should I use immutability rules and explicit type safety in JavaScript?

You should use immutability rules and explicit type safety in JavaScript to achieve reliability through safe patterns. This prevents accidental state mutations and reduces inconsistencies, resulting in maintainable code with fewer runtime defects.