kamae
Installation
SKILL.md
Kamae — Functional Domain Modeling in TypeScript
Six topic files cover the principles. Read only the file(s) relevant to the current task. The library guides under result-libraries/ and validation-libraries/ are read on demand based on the project's package.json.
Step 0: Load applicable rules
Before any other step, glob and Read rules in priority order:
.claude/rules/*.md(project-level overrides at the working-tree root)~/.claude/rules/*.md(user-global preferences)../../rules/defaults/*.mdrelative to thisSKILL.md(plugin defaults)
For each file:
- Read the YAML frontmatter. Skip the rule unless
applies-toiskamaeor*. - Group by
name. For eachname, keep only the highest-tier instance (1 > 2 > 3); within a tier the lexicographically last filename wins. - Apply the body of each surviving rule throughout the remaining steps. A
library-preferencerule overrides Step 1 detection; aconventionrule shapes generated code; anoverriderule replaces guidance from a specific topic file.
If no rules are found, proceed with the plugin defaults already documented in ../../rules/defaults/.