coding-standards

Reviews code against cross-project conventions for naming, immutability, and readability.

Updated May 7, 2026
One-click install
npx skills add https://github.com/mirzadham/trainingroombookingsystem2 --skill coding-standards-mirzadham
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/mirzadham/trainingroombookingsystem2/tree/main/.agent/.agents/skills/coding-standards
Command: npx skills add https://github.com/mirzadham/trainingroombookingsystem2 --skill coding-standards-mirzadham

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Inconsistent naming, mutation bugs, deep nesting, and missing error handling make codebases hard to maintain and review. This Skill provides a shared baseline of coding conventions so teams can enforce quality standards consistently across projects. ## Core Features & Use Cases - Naming & Readability Rules: Enforces descriptive variable and function names, verb-noun function patterns, and self-documenting code over comments. - Immutability & Type Safety: Mandates spread-operator updates, typed interfaces, and bans direct mutation and any types in TypeScript/JavaScript. - Code Smell Detection: Flags long functions, deep nesting, and magic numbers with concrete before/after refactoring examples. - Use Case: When reviewing a pull request, activate this Skill to check the diff against KISS, DRY, and YAGNI principles, error-handling expectations, and async/await best practices before approving. ## Quick Start Review the code in this pull request against cross-project coding standards and flag any violations of naming, immutability, or error-handling conventions.

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 during code review?▼

Activate this Skill when reviewing a pull request or refactoring a module. It checks naming conventions, immutability patterns, error handling, and code smells like long functions and deep nesting, providing concrete pass/fail examples for each rule.

What coding conventions does this Skill cover for TypeScript?▼

It covers descriptive variable and verb-noun function naming, spread-operator immutability, typed interfaces instead of any, parallel async/await with Promise.all, and comprehensive try/catch error handling with meaningful error messages.

When should I use this Skill instead of framework-specific skills?▼

Use it for cross-project baseline rules like naming, readability, and code-smell review. For React composition, hooks, backend architecture, or API design details, defer to the narrower frontend-patterns, backend-patterns, or api-design skills it references.

Does this Skill include React best practices?▼

Yes, it includes baseline React guidance: typed functional components, custom hooks like useDebounce, functional state updates, clear conditional rendering, memoization with useMemo and useCallback, and lazy loading with Suspense.

What code smells does this Skill detect?▼

It flags three main anti-patterns with fixes: functions longer than 50 lines (split into smaller functions), nesting beyond five levels (use early returns), and magic numbers (replace with named constants like MAX_RETRIES).