coding-standards

Apply universal coding standards across TypeScript, JavaScript, React, and Node.js projects.

1|1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/PedroHBO/opencode-config-skills --skill coding-standards-pedrohbo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/PedroHBO/opencode-config-skills/tree/main/skills/coding-standards
Command: npx skills add https://github.com/PedroHBO/opencode-config-skills --skill coding-standards-pedrohbo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires eslint, typescript, npx, grep, awk, sed, and includes scripts (resource) components.

What problem does it solve?

Coding standards and best practices for TypeScript, JavaScript, React, and Node.js to improve code quality, consistency, and maintainability across teams and projects.

Core Features & Use Cases

  • Code Quality Principles: readability, consistency, and maintainability across codebases.
  • TypeScript/JavaScript Standards: naming conventions, typings, and lint integration.
  • React Best Practices: component structure, hooks usage, and performance considerations.
  • API Design Standards: consistent request/response formats, error handling, and documentation guidelines.
  • Review & Onboarding Support: checklists and examples to accelerate code reviews and team onboarding.

Quick Start

Audit your codebase against these standards and begin applying the refactor patterns and reviews.

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 for TypeScript and React during code reviews?

To enforce coding standards for TypeScript and React during code reviews, apply rules for immutability, explicit error handling, and type safety. Use the provided checklists to ensure consistency and safer refactoring across pull requests.

What are the best practices for structuring React components and hooks?

Best practices for structuring React components and hooks involve enforcing specific component architecture, hooks usage, and performance considerations. These standards improve readability and maintainability across your React codebase.

Can I use ESLint to automate TypeScript coding standards and lint-driven quality checks?

Yes, you can use ESLint to automate TypeScript coding standards and lint-driven quality checks. The standards integrate with lint configurations to enforce type safety, naming conventions, and code quality rules automatically.

Does this coding standards skill work with Node.js API design and error handling?

Yes, this coding standards skill works with Node.js API design by enforcing consistent request and response formats, error handling, and documentation guidelines. It ensures maintainable and consistent API structures across Node.js projects.

What are the limitations of applying universal coding standards across existing JavaScript codebases?

A key limitation of applying universal coding standards across existing JavaScript codebases is the refactoring effort required to meet strict immutability and type safety rules. Teams must audit existing code and apply refactor patterns gradually.