coding-standards

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

Updated Feb 11, 2026
One-click install
npx skills add https://github.com/shygoly/sapbase --skill coding-standards-shygoly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/shygoly/sapbase/tree/main/docs/zh-CN/skills/coding-standards
Command: npx skills add https://github.com/shygoly/sapbase --skill coding-standards-shygoly

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide defines universal coding standards, patterns, and practices to improve readability, maintainability, and quality across TypeScript, JavaScript, React, and Node.js projects.

Core Features & Use Cases

  • Readability & naming conventions to ensure self-documenting code and consistent style.
  • Immutability, error handling, Async/Await best practices, and type-safety guidelines to reduce bugs.
  • React-specific guidance (component structure, hooks, state management, conditional rendering) and API design norms (REST conventions, response structure, validation) for cohesive teams.
  • Code quality auditing, onboarding support, and CI/code-review checklists to maintain standards across codebases.

Quick Start

Adopt these standards in your project by including the guide in your code review checklist and CI checks.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
What are TypeScript and React coding standards for improving code readability?

TypeScript and React coding standards define naming conventions, immutability, and component structure to ensure self-documenting code. They enforce consistent style across your codebase to improve maintainability and reduce bugs during development.

How do I enforce consistent coding standards in a Node.js project?

You can enforce coding standards in a Node.js project by adopting guidelines for async patterns, error handling, and API design. Include these rules in your code review checklists and CI checks to maintain quality across the team.

Does this coding standards guide work for auditing legacy JavaScript codebases?

Yes, this coding standards guide works for auditing legacy JavaScript codebases. It provides requirements for type-safety, immutability, and code quality auditing to help refactor and align older projects with modern best practices.

What's the best way to structure React components and hooks for team consistency?

The best way to structure React components and hooks is to follow specific best practices for state management and conditional rendering. This guide provides React-specific guidance to ensure cohesive team patterns and maintainable UI code.

What API design norms are recommended for REST conventions and validation?

Recommended API design norms for REST include specific response structures and validation rules. This guide defines API design norms to standardize REST conventions, ensuring cohesive backend development and predictable data handling.

Can I use these standards for onboarding new engineers to an existing codebase?

Yes, you can use these standards for onboarding new engineers. The guide provides consistent patterns and CI/code-review checklists that help new team members quickly understand requirements for testing, documentation, and code quality.