coding-standards

Review TypeScript code for architectural, typing, parsing, async, and testing standard violations.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/Rayzerrek/dotfiles --skill coding-standards-rayzerrek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/Rayzerrek/dotfiles/tree/main/.pi/agent/skills/coding-standards
Command: npx skills add https://github.com/Rayzerrek/dotfiles --skill coding-standards-rayzerrek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you review and shape TypeScript work so code stays correct, explicit, testable, and easy to maintain.

Core Features & Use Cases

  • Domain modeling: represent values, states, and invariants so illegal states are hard to create.
  • Boundary and error discipline: parse untrusted input early, keep expected failures typed, and preserve safe observability.
  • Module and async design: define deep modules, clean seams, and correct promise ownership for Cloudflare and Effect-heavy code.
  • Use case: Apply it when reviewing a Worker, service module, parser, or workflow change and you want concrete guidance on types, boundaries, cancellation, testing, and architecture.

Quick Start

Ask for a TypeScript code review that applies these standards to the file, module, or feature you are changing.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
How do I review TypeScript code for architectural and typing standard violations?

To review TypeScript code, check domain modeling, module boundaries, and async design for standard violations. This enforces strict contracts, typed failures, and safe observability across service modules and workflows.

What is the best way to parse untrusted input and handle errors in TypeScript?

Parse untrusted input early at module boundaries to keep expected failures typed and preserve safe observability. This approach prevents illegal states and maintains explicit error handling throughout the workflow.

Does this coding standard review work with Cloudflare Workers and Effect?

Yes, the review applies directly to Cloudflare Workers, Durable Objects, Agents, and Effect responsibilities. It verifies correct promise ownership, clean seams, and cancellation ownership for these specific platforms.

How do I ensure safe cancellation ownership and async design in TypeScript?

Ensure safe cancellation ownership by defining deep modules, clean seams, and correct promise ownership within async workflows. This keeps your TypeScript code explicit, testable, and easy to maintain.

What are the limitations of automated TypeScript architecture reviews?

Reviews focus on static code standards for architecture, typing, parsing, and testing rather than runtime performance profiling. They provide concrete guidance on contracts and boundaries but do not execute your code.