All authors

Claude Skills by Constructive-Programming
github.com/Constructive-Programming6 skills0 installs8 views
- Cardinality ReductionReduce Total Program Cardinality (TPC) in this repository using the sbt-cardinality analyzer. Use when asked to 'reduce cardinality', 'shrink types', 'find cardinality candidates', 'run the cardinality report', or before/after refactors that change data or method signatures. Encodes the stage hierarchy from Rodolfo Hansen's Type System Savings / Hidden Powers of TPC articles, ranked by impact.Votes: 0GitHub stars: 27
- EoUse eo (existential optics for Scala 3) to specify pinpointed read/write operations on nested case classes, JSON byte buffers, Avro records, or circe ASTs. One Optic[S, T, A, B, F] trait, several carriers, uniform .get/.modify/.replace/.foldMap/.andThen surface.Votes: 0GitHub stars: 27
- Improve Test LeverageOrchestrates a coverage + mutation improvement cycle tuned to eo's algebraic structure. Reads scoverage + stryker4s reports, triages surviving mutants, and drives every test artifact UP the promotion ladder (examples → property → law) so the suite kills more mutants with FEWER test lines. Phases live in phases/*.md, each with its own model assignment. Mandatory consolidation and law-scan phases close every run; law promotion is user-gated. Supports a measured eval-optimization loop ("loop" ar...Votes: 0GitHub stars: 27
- Test FixAlias for improve-test-leverage biased to killing currently-surviving mutants and covering uncovered branches — the gap-closing mode. Use when the QA page shows survivors or NoCoverage clusters that should be dead.Votes: 0GitHub stars: 27
- Test PruneAlias for improve-test-leverage running ONLY the consolidation pipeline — shrink test count and LOC while holding every kill. Replaces example clusters with properties, deletes tests that restate laws, merges redundant properties.Votes: 0GitHub stars: 27
- Test UpgradeAlias for improve-test-leverage biased to ADD moves that raise the suite's promotion-ladder stage — ruleset registrations, composed-optic laws, negative fixtures, properties replacing examples. Use to raise mutant-kill capacity per test line.Votes: 0GitHub stars: 27