All skills
Hardening
Turn existing example tests into fast-check property tests and shrink failures to minimal counterexamples.
- Part of danielmiessler/LifeOS
- 29 installs
- Developer Tools · Testing and debugging
When to use it
You already have example tests for a pure function like a parser or serializer and want to know what inputs they miss.
For example
You say
Use the Hardening skill to property-test my slug parser in src/slug.ts, which only has example tests right now.
You get
- slug.property.test.ts file
- bun-property ISA row
- shrunk counterexample with seed
How it works
- Only pure functions with a universal claim are hardened; impure ones stay on example tests.
- Each failure ends as either a fixed bug or a corrected property.
Before installing
The Bunker CLI is maintainer-private and not in the public release; run code rows with bun test and suite rows with the Assay EvalRunner.
More Testing and debugging skills
See all- diagnosing-bugs985kRuns a structured diagnosis loop for hard bugs and performance regressions until the cause is found.
- migrate-to-shoehorn567kRewrites test files to replace `as` type assertions with @total-typescript/shoehorn helpers.
- systematic-debugging352kInvestigates bugs, test failures and unexpected behavior methodically before proposing any fix.
- test-driven-development296kWrites tests before implementation code when building any feature or bugfix.
Also in this pack
- FirstPrinciples260Breaks a problem down to fundamental truths, labels each constraint or assumption, then rebuilds the best solution.
- Council201Runs a multi-agent debate with visible rounds to weigh options and surface different expert perspectives.
- RedTeam199Attacks your ideas and plans with parallel expert agents, then ranks weaknesses and suggests fixes.
- Prompting165Generates, optimizes and composes reusable prompts and templates for use in other tools.