home / skills / jarrodwatts / claude-code-config / rigorous-coding
This skill helps you enforce rigorous coding standards across writing, implementation, and reviews, ensuring robust, maintainable JavaScript code.
npx playbooks add skill jarrodwatts/claude-code-config --skill rigorous-codingReview the files below or copy the command above to add this skill to your agents.
---
name: rigorous-coding
description: Apply rigorous coding standards. Use when writing, implementing, or reviewing code.
---
Do not write code before stating assumptions.
Do not claim correctness you haven't verified.
Do not handle only the happy path.
Under what conditions does this work?
This skill enforces rigorous coding standards during writing, implementation, and code review. It helps developers state assumptions, surface edge cases, and avoid unverified correctness claims. The goal is more reliable, maintainable JavaScript by forcing explicit conditions and comprehensive reasoning.
The skill inspects proposed code and developer prose to ensure assumptions are stated before code is written and that correctness claims are verified or hedged. It flags happy-path-only implementations, missing failure modes, and absent operational conditions. It suggests testable preconditions, postconditions, and explicit runtime invariants.
What counts as stating an assumption?
A brief explicit sentence describing expected input shapes, environmental constraints, and any invariants the code relies on before implementation.
Does the skill provide tests?
It suggests unit and integration tests and describes what they must prove, but it does not generate full test suites automatically.