coding-standards

Standardize coding practices across TypeScript, JavaScript, React, and Node.js projects.

Updated Apr 15, 2025
One-click install
npx skills add https://github.com/khrore/nix-config --skill coding-standards-khrore
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/khrore/nix-config/tree/main/dotfiles/common/.config/opencode/skills/coding-standards
Command: npx skills add https://github.com/khrore/nix-config --skill coding-standards-khrore

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Universal coding standards improve readability, maintainability, and consistency across TypeScript, JavaScript, React, and Node.js projects.

Core Features & Use Cases

  • Universal coding standards applicable across all projects.
  • Principles: Readability First, KISS (Keep It Simple), DRY (Don't Repeat Yourself), YAGNI (You Aren't Gonna Need It), immutability, and typing discipline.
  • React and API design guidelines, consistent naming, comments, and testing best practices.
  • Use Case: Onboard new contributors quickly and sustain long-lived codebases with uniform patterns and tooling.

Quick Start

Apply these standards to initialize and enforce a consistent codebase across new and existing projects.

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 coding standards across TypeScript and React projects?

Enforce coding standards across TypeScript and React projects by applying universal guidelines for readability, immutability, typing discipline, and consistent naming to ensure maintainable and uniform codebases.

What coding principles should I follow to improve code quality in JavaScript and Node.js?

To improve code quality in JavaScript and Node.js, follow core coding principles like Readability First, KISS, DRY, and YAGNI to reduce repetition, simplify patterns, and prevent over-engineering.

Can I use these coding standards to onboard new contributors to an existing codebase?

Yes, you can use these coding standards to onboard new contributors to an existing codebase by providing explicit guidelines and examples for error handling, typing, and API design to establish uniform development patterns.

What's the best way to standardize React and API design guidelines for long-lived projects?

Standardize React and API design guidelines for long-lived projects by enforcing consistent styling, structured typing discipline, and testing best practices to sustain codebase health and maintainability over time.

Do I need specific tools to apply these code quality standards during project setup?

You do not need specific external tools to apply these code quality standards during project setup; you can implement the explicit guidelines for error handling and immutability directly into code reviews and onboarding processes.