coding-standards

Align TypeScript code with explicit standards for parsing, modeling, errors, async behavior, modules, testing, and platform boundaries.

345|9|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/dmmulroy/skills --skill coding-standards-dmmulroy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-standards
Source: https://github.com/dmmulroy/skills/tree/main/coding-standards
Command: npx skills add https://github.com/dmmulroy/skills --skill coding-standards-dmmulroy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill gives TypeScript teams a single source of truth for design taste, so changes stay correct, safe, and consistent instead of drifting into ad hoc patterns.

Core Features & Use Cases

  • Domain modeling guidance: Model invariants with branded types, value classes, state machines, and precise operation inputs.
  • Boundary and error handling: Parse unknown input at the seam, keep expected failures typed, and preserve safe observability.
  • Architecture and workflow standards: Design deep modules, owned async behavior, Cloudflare placement, and Effect-specific responsibilities with local conventions.
  • Use Case: Ask it to review a service, refactor a module, or shape a new adapter so the resulting code matches the repository's standards.

Quick Start

Ask the assistant to review your TypeScript change with the coding-standards skill and apply the relevant standards to the touched files.

Frequently Asked Questions about coding-standards

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

FAQPage Schema
Does this coding standard work with Effect code and real-seam testing workflows?

Effect code and real-seam testing workflows are fully supported by requiring strict boundary parsing, typed failures, and Effect-specific responsibilities. It ensures tests validate actual module seams rather than mocking internal implementation details.

How do I enforce consistent TypeScript architecture and domain modeling standards across my team?

TypeScript architecture standards are enforced by aligning code with explicit rules for domain modeling, boundary parsing, and module design. You can apply these standards during code reviews or refactoring to ensure changes remain correct and consistent.

What is the best way to handle unknown input parsing and typed errors in TypeScript service modules?

Handling unknown input and typed errors requires parsing at the boundary seam and keeping expected failures explicitly typed. This approach preserves safe observability and prevents untyped exceptions from propagating through service modules.

How do I structure Cloudflare Workers and Durable Objects with deep module seams and owned async behavior?

Structuring Cloudflare Workers and Durable Objects involves designing deep module seams, owning async behavior explicitly, and defining precise platform boundaries. This ensures local conventions stay compatible with repository rules and runtime constraints.

Can I use this approach to refactor existing TypeScript code to use branded types and state machines?

Refactoring TypeScript code to use branded types, value classes, and state machines is supported by domain modeling guidance. It helps model invariants and precise operation inputs while maintaining safe observability and strict boundary parsing.

Does this coding standard work with Effect code and real-seam testing workflows?

Effect code and real-seam testing workflows are fully supported by requiring strict boundary parsing, typed failures, and Effect-specific responsibilities. It ensures tests validate actual module seams rather than mocking internal implementation details.