Skip to content

Commit da74649

Browse files
principle-type-system-discipline: surface Go's literal nouns in description
Rewrite names the struct/enum/type combination the prompt's own words describe (dispatch measured 9/10 at n=10, MAX_TURNS=10, vs pre-registered 1/10 baseline). principle-build-the-lever's parallel rewrite was tested and reverted: 2/10, at the pre-registered falsification threshold.
1 parent bd5de44 commit da74649

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • claude/skills/principle-type-system-discipline

claude/skills/principle-type-system-discipline/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: principle-type-system-discipline
3-
description: "Apply when designing types or a function signature in TypeScript, Rust, Go, or other statically-typed code. Make illegal states unrepresentable; never lie to the compiler."
3+
description: "Apply when a struct, enum, or type can hold an invalid combination of fields that shouldn't compile. Redesign it so illegal states can't be represented — model the cases as separate variants."
44
---
55

66
# Type System Discipline

0 commit comments

Comments
 (0)