coding-standards

Review TypeScript, React, and Node.js code against naming, immutability, and error-handling standards.

Updated May 4, 2026
One-click install
npx skills add https://github.com/panamini/pi-tooling --skill coding-standards-panamini
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/panamini/pi-tooling/tree/main/skills/coding-standards
Command: npx skills add https://github.com/panamini/pi-tooling --skill coding-standards-panamini

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent patterns, unclear naming, and fragile practices make code harder to maintain, review, and scale—especially across teams and projects.

Core Features & Use Cases

  • Universal code quality principles: Readability, KISS, DRY, and YAGNI as guiding heuristics for everyday development decisions.
  • TypeScript/JavaScript best practices: Clear naming, immutability patterns, robust error handling, safe async/await usage, and avoidance of weak typing like any.
  • React and API standards: Typed component patterns, custom hooks, predictable conditional rendering, plus consistent REST conventions and response/error shapes.

Quick Start

Use the coding-standards skill to review a proposed change in a TypeScript/React/Node.js code snippet and identify violations of naming, immutability, error handling, and testing conventions.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
What are TypeScript coding standards for naming, immutability, and error handling?

TypeScript coding standards enforce clear naming, immutability patterns, robust error handling, and safe async/await usage to prevent weak typing and maintain codebase consistency. They guide everyday development decisions using readability, KISS, DRY, and YAGNI heuristics.

How do I review a React code snippet for best practices and component standards?

Review React code snippets against standards for typed component patterns, custom hooks, and predictable conditional rendering. This identifies violations of naming, immutability, error handling, and testing conventions to ensure consistent, maintainable React code.

How do I structure REST API conventions and response shapes in a Node.js codebase?

Structure REST API conventions in Node.js by applying consistent REST conventions and predictable response/error shapes. This standardizes API design across the codebase, ensuring readability and maintainability for team collaboration and scaling.

What is the best way to establish test naming structure and conventions for TypeScript projects?

The best way to establish test naming conventions is to apply structured testing standards that enforce readability and consistent test structure. This satisfies requirements for test-naming structure and prepares code for CI-oriented conventions.

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

Yes, you can use coding standards guidance to onboard contributors to JavaScript projects. It applies to starting new modules and refactoring existing code by enforcing linting, type-safety expectations, and universal code quality principles.

Why does my TypeScript code review keep failing on weak typing and async patterns?

Code reviews fail on weak typing when standards for avoiding any types and safe async/await usage are not applied. Enforcing type safety, immutability patterns, and robust error handling resolves these fragile practices and inconsistencies.