functional-ts-principles
Functional TypeScript domain modeling and adversarial code review
All Skills in This Repository (4)
Pure Emerald Level Indicatorsfunctional-ts-review
Analyze server-side TypeScript code for functional-ts domain modeling conformity.
functional-ts
Model TypeScript domain state with discriminated unions and pure functions.
functional-ts-review-ja
Review server-side TypeScript code against functional domain modeling principles.
functional-ts-ja
Model server-side TypeScript domains with discriminated unions and Result types.
Frequently Asked Questions
FAQPage SchemaHow to install functional-ts-principles?โผ
Run `npx skills add iwasa-kosui/functional-ts-principles --all -g -y` in your terminal to install both the code generation and review skills globally.
How to model domain state in TypeScript without classes?โผ
The kamae skill guides your coding agent to represent states as discriminated unions with pure transition functions, making invalid transitions compile-time errors.
How to review TypeScript code for error handling issues?โผ
The kamae-review skill walks a severity-tagged checklist that flags thrown exceptions, missing Result types, unsafe type assertions, and unvalidated boundaries.
Does it work with Zod, Valibot, and neverthrow?โผ
Yes. The skills auto-detect your project's validation library (Zod, Valibot, ArkType) and Result library (neverthrow, byethrow, fp-ts, option-t) from package.json and load matching guidance.
How to prevent PII leaks in TypeScript logs?โผ
The skills apply a Sensitive type wrapper that automatically masks personal data in JSON.stringify, console.log, and template literals at runtime.
Related Repositories in Software Engineering
View All in Software Engineeringโopenclaw
Run a personal AI assistant across your devices and chat apps
superpowers
Gives coding agents a disciplined workflow from idea to merged code
react
AI agent skills for building, testing, and porting React core