skills/galahad/SKILL.md
how to approach tests, types and coverage
npx skillsauth add lambdamechanic/tooltest galahadInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Based on Jonathan Lange’s “The Galahad Principle”: https://jml.io/galahad-principle/
Core idea: getting to 100% yields disproportionate value—especially simplicity and trust. When checks are truly “all green”, any new failure is a strong, unambiguous signal; “absence of evidence becomes evidence of absence”.
Treat type errors, test failures, pre-commit hooks, lint errors, and coverage warnings as helpful feedback. Fix root causes.
any, sketchy unknown laundering, unchecked casts, as any, @ts-ignore, # type: ignore, noqa, disabling strict mode, weakening compiler flags, etc./* istanbul ignore */, # pragma: no cover, “generated” tricks, config exclusions, decorator/macro suppression).Type safety is part of correctness and outranks tests.
When tradeoffs exist, prioritize in this order:
Breaking changes are acceptable when they improve verifiability and simplify the system.
Goal: a repo where “all green” is normal, and any new red is a loud, trustworthy signal.
If something is hard to test or hard to type:
Avoid injecting mocks via monkeypatching or replacing system utilities by default.
Preferred approach:
tools
Use when running tooltest to validate MCP servers, interpret failures, and iterate fixes in this repo.
development
Testing patterns and standards for this codebase, including async effects, fakes vs mocks, and property-based testing.
development
Pragmatic Rust conventions to keep code readable, testable, and performant for this project.
tools
One lifecycle for Lambda repos: choose a br issue, start work, land the PR, and watch GitHub via Dumbwaiter MCP until it merges.