coding-standards

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

3|Updated Jan 28, 2026
One-click install
npx skills add https://github.com/JohnMarkCapones/Aralify --skill coding-standards-johnmarkcapones
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/JohnMarkCapones/Aralify/tree/main/.cursor/skills/coding-standards
Command: npx skills add https://github.com/JohnMarkCapones/Aralify --skill coding-standards-johnmarkcapones

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 to ensure high-quality, readable, and maintainable code across TypeScript, JavaScript, React, and Node.js projects.

Core Features & Use Cases

  • Code Quality Principles: Enforces readability, simplicity (KISS), reusability (DRY), and avoiding premature implementation (YAGNI).
  • Language-Specific Standards: Detailed guidelines for naming conventions, immutability, error handling, and async operations in TypeScript/JavaScript.
  • Framework Best Practices: Recommendations for React component structure, custom hooks, state management, and conditional rendering.
  • API Design: Standards for RESTful API conventions, consistent response formats, and input validation using Zod.
  • File Organization & Documentation: Guidelines for project structure, file naming, and effective commenting (JSDoc).
  • Performance & Testing: Best practices for memoization, lazy loading, efficient database queries, and structured testing (AAA pattern).
  • Code Smell Detection: Identifies and advises against common anti-patterns like long functions, deep nesting, and magic numbers.
  • Use Case: A new developer joins a project and needs to understand the established coding conventions. This Skill serves as a definitive guide, ensuring consistency and reducing onboarding time.

Quick Start

Review the coding standards for TypeScript and React development.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
How do I enforce TypeScript coding standards for naming conventions and type safety?

TypeScript coding standards are enforced by following strict naming conventions, ensuring type safety, maintaining immutability, and using async/await for error handling to produce readable and maintainable project code.

How do I design a RESTful API with consistent response formats and input validation?

RESTful API design involves following REST conventions, maintaining a consistent response format, and applying input validation using Zod to ensure reliable data integrity across Node.js backend services.

What is the AAA pattern for testing and how does it improve code quality?

The AAA testing pattern structures tests into Arrange, Act, and Assert phases, ensuring clear test methodologies that improve code quality, verify logic correctness, and prevent regressions in JavaScript applications.

How do I identify and refactor code smells like long functions and deep nesting?

Common code smells such as long functions, deep nesting, and magic numbers are identified by checking against readability principles like KISS and DRY, then refactoring to simplify logic and improve maintainability.

What are the best ways to optimize Node.js and React performance through memoization and lazy loading?

Performance optimization is achieved by applying memoization to prevent unnecessary recalculations, implementing lazy loading for components, and ensuring efficient database queries to reduce application latency.