coding-standards

Enforce consistent coding standards for TypeScript, JavaScript, React, and REST APIs.

2|Updated May 11, 2026
One-click install
npx skills add https://github.com/himanshu231204/AI_Research_agent --skill coding-standards-himanshu231204
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/himanshu231204/AI_Research_agent/tree/main/.opencode/skills/coding-standards
Command: npx skills add https://github.com/himanshu231204/AI_Research_agent --skill coding-standards-himanshu231204

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates inconsistent code quality, unclear naming conventions, and unmaintainable patterns that slow down development, increase bug risk, and make onboarding new contributors time-consuming.

Core Features & Use Cases

  • Baseline Cross-Project Conventions: Shared, framework-agnostic rules for naming, immutability, readability (KISS, DRY, YAGNI), error handling, and TypeScript/JavaScript, React, and API design standards applicable to all projects.
  • Code Quality Review Guidelines: Clear anti-pattern detection for long functions, deep nesting, magic numbers, and poor state management to catch issues early in code reviews.
  • Use Case: When setting up a new project or onboarding a new team member, use this Skill to establish consistent ground rules for code quality before applying framework-specific best practices from specialized skills.

Quick Start

Use the coding-standards skill to review your recent pull request for adherence to naming conventions, immutability rules, and core code quality principles.

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?

To enforce coding standards across TypeScript and React projects, apply baseline rules for naming conventions, immutability, and error handling. This eliminates inconsistent code quality and unmaintainable patterns during code reviews and new project setup.

What are the best practices for detecting code smells and anti-patterns in JavaScript?

Best practices for detecting code smells in JavaScript involve checking for long functions, deep nesting, magic numbers, and poor state management. Applying KISS, DRY, and YAGNI principles helps catch these anti-patterns early during code reviews.

Can I use these code review guidelines for REST API design and React state management?

Yes, you can use these code review guidelines for REST API design and React state management. The standards provide baseline rules for API design and immutability to ensure maintainable patterns without replacing framework-specific best practices.

How do I establish naming conventions and immutability rules when onboarding new contributors?

To establish naming conventions and immutability rules when onboarding new contributors, apply framework-agnostic coding standards before introducing specialized skills. This sets consistent ground rules for readability and error handling across all projects.

When should I apply general coding standards versus framework-specific best practice guides?

Apply general coding standards for baseline cross-project conventions like DRY and KISS during initial setup or onboarding. Use framework-specific best practice guides afterward for specialized implementation details, ensuring the general standards do not replace framework guidelines.