functional-ts-review-ja

Review server-side TypeScript code against functional domain modeling principles.

51|2|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/iwasa-kosui/functional-ts-principles --skill functional-ts-review-ja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: functional-ts-review-ja
Source: https://github.com/iwasa-kosui/functional-ts-principles/tree/main/skills/functional-ts-review-ja
Command: npx skills add https://github.com/iwasa-kosui/functional-ts-principles --skill functional-ts-review-ja

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps maintainers and developers ensure server-side TypeScript code adheres to functional-domain modeling principles by reviewing code against a canonical knowledge base including discriminated unions, companion object patterns, branded types, immutability, file structure, pure state transitions, exhaustiveness checks, Result-based error handling, boundary defenses, declarative style, and type-safe test data.

Core Features & Use Cases

  • Enforces a consistent application of functional TypeScript domain modeling principles during code reviews.
  • Checks for correct use of discriminated unions, companion object patterns, and branded types, ensuring immutability and safe boundaries.
  • Supports audits of code bases to verify declarative style, exhaustive state handling, and robust test data.

Quick Start

Review a server-side TypeScript project using the functional-ts-ja review rules to identify deviations from the canonical principles.

Frequently Asked Questions about functional-ts-review-ja

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

FAQPage Schema
How do I enforce functional TypeScript principles during code reviews?

Functional TypeScript code reviews enforce canonical domain modeling by checking server-side code for pure functions, discriminated unions, immutability, and safe error handling. This identifies deviations from established functional practices in your project.

What is functional domain modeling in TypeScript?

Functional domain modeling in TypeScript structures code around pure functions, immutable data, and discriminated unions. It uses companion object patterns and branded types to ensure safe boundaries and pure state transitions within server-side applications.

How do I check if my TypeScript code uses safe error handling and boundary defense?

Safe error handling and boundary defense are checked by reviewing TypeScript code for Result-based error handling patterns and exhaustive state checks. This verifies that boundaries are defended and errors are managed without runtime exceptions.

Can I audit an existing TypeScript project for functional programming compliance?

Yes, you can audit existing server-side TypeScript codebases against a functional knowledge base. The review evaluates declarative style, exhaustive state handling, immutable structures, and type-safe test data to verify compliance with canonical principles.

Does this functional TypeScript review work for frontend code?

This functional TypeScript review is designed for server-side TypeScript code. It evaluates domain modeling principles, boundary defense, and state transitions specifically within server-side project architectures.

What are the limitations of enforcing functional TypeScript in code reviews?

Limitations include the requirement for the codebase to already aim for functional practices like pure functions and Result-based error handling. Projects heavily relying on OOP or mutable state may require significant refactoring before review compliance.