Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nwave-ai/nw-fp-algebra-driven-design
Algebra-driven API design with monoids, semigroups, and interpreters via algebraic equations
Passed 20 of 22 test cases with the skill, and 17 of 22 without it.
and 2 more in the full report
4 fixed16 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our design requires operations to commute (`merge(a, b) == merge(b, a)`), but our underlying data structure is a standard ordered list which causes list order to leak into equality checks. What heuristic resolves this contradiction?
| Checked | Without skill | With skill |
|---|---|---|
| The response recommends changing the underlying data structure to an unordered collection to encode the invariant directly in the type. | Missed | Passed |
The instructions your model reads when the skill loads.
Algebraic thinking for API design. Discover the right API before implementing by specifying rules (equations) that operations must satisfy.
Cross-references: fp-principles | fp-domain-modeling | fp-usable-design
[STARTER]
Code is the wrong abstraction level for design. Starting with data structures inherits unnecessary constraints.
[STARTER]
[STARTER] -> [ADVANCED]
Recurring patterns in software. Recognizing them unlocks known rules and capabilities.
test cases passed, vs 17 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.