coding-standards

Standardizes JavaScript/TypeScript code quality and architecture across frontend and backend codebases.

Updated Dec 18, 2025
One-click install
npx skills add https://github.com/JahanzaibTayyab/hackathon-2 --skill coding-standards-jahanzaibtayyab
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/JahanzaibTayyab/hackathon-2/tree/main/.claude/skills/coding-standards
Command: npx skills add https://github.com/JahanzaibTayyab/hackathon-2 --skill coding-standards-jahanzaibtayyab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Code quality gaps across JS/TS projects slow delivery, hinder collaboration, and increase maintenance costs. This Skill provides universal standards to improve readability, consistency, and reliability across teams by codifying naming, structure, immutability, error handling, and documentation practices.

Core Features & Use Cases

  • Readable naming, consistent formatting, and self-documenting code to reduce cognitive load and improve maintainability.
  • Immutability & type-safety patterns for safer state changes in TypeScript/JavaScript and React applications.
  • API design, validation, and documentation guidelines including REST conventions, typed responses, and JSDoc to enable reliable integrations.
  • React and frontend best practices covering component typing, hooks, state management, and safe rendering patterns.
  • Testing & code-smell guidance to detect anti-patterns, encourage robust tests, and sustain code health.

Quick Start

Audit your TypeScript/JavaScript project against these coding standards to improve readability, consistency, and reliability.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
How do I enforce universal coding standards for JavaScript and TypeScript projects?

Universal coding standards for JavaScript and TypeScript are enforced by applying consistent naming conventions, immutability patterns, and structured error handling. This standardizes code quality and architecture across teams to improve maintainability and reduce cognitive load.

What are the best practices for immutability and type-safety in React applications?

Best practices for immutability and type-safety in React involve applying specific patterns for safer state changes. Using TypeScript ensures robust component typing and hooks management, sustaining code health and preventing state mutation anti-patterns.

How do I standardize API design and validation conventions in a JS/TS codebase?

Standardize API design and validation in a JS/TS codebase by applying REST conventions, typed responses, and JSDoc. This ensures reliable integrations and consistent documentation across frontend and backend layers.

Does this coding standards guideline cover both frontend and backend codebases?

Yes, the coding standards guideline covers both frontend and backend codebases. It applies to React patterns, API design, and general JavaScript/TypeScript architecture, ensuring consistent code quality and reliability across the entire stack.

How do I detect code smells and anti-patterns in a TypeScript project?

Detect code smells and anti-patterns in a TypeScript project by auditing against established testing and code-smell guidance. This encourages robust tests and identifies structural issues to sustain long-term code health.