judge-minimum-diff
SolidReduction-ladder and minimum-diff checks the Pythinker judge subagent applies to every non-trivial diff.
Code & Development 27 stars
8 forks Updated today MIT
Install
Quality Score: 83/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Judge Minimum-Diff Lens
Use when judging a code change, diff, or implementation report. This is the
rubric dimension the Pythinker judge subagent applies to every non-trivial
diff — the same ladder that lives in the base system prompt's §6 (Code
Standards), surfaced here as an explicit rubric so the judge, an
implementer doing pre-flight, or a reviewer running the over-engineering
skill apply it uniformly.
The judge applies the full ladder. There is no mode switch on the judge
(`lite` / `full` / `ultra`); the implementer is the role that would carry a
mode toggle if one is ever introduced.
## The ladder — walk it before writing code; stop at the first rung that holds
1. **Does this need to exist at all?** A speculative need is skipped, said so
in one line. YAGNI is the highest rung.
2. **Does the standard library do it?** Use it.
3. **Does a native platform or framework feature cover it?** A database
constraint over an app-level check, a built-in form control over a picker
library, the language's own construct over a hand-rolled one — use it.
4. **Does a dependency already in the manifest solve it?** Use it; never add
a new dependency for what a few lines cover.
5. **Can it be one line?** Make it one line.
6. **Only then** write the minimum code that works.
When two rungs both hold, take the higher one and move on. The ladder is a
reflex, not a research project. None of this overrides the guards below:
trust-boundary validation, error handling that prevents...
Details
- Author
- Pythoughts-labs
- Repository
- Pythoughts-labs/pythinker-code
- Created
- 4 months ago
- Last Updated
- today
- Language
- TypeScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Solid
judge-overengineering-review
Over-engineering review checklist the parent runs before declaring non-trivial code changes done.
27 Updated today
Pythoughts-labs AI & Automation Solid
architecture-review-lens
Use when a diff may break system boundaries, dependency direction, or cross-service contracts — fifth judge dispatched by /review-changes alongside the four standard judges.
10 Updated 2 days ago
event4u-app AI & Automation Featured
minimal-code-discipline
YAGNI-ladder coding discipline for writing changes — existence-first, reuse before writing, dependency ladder, shortest correct diff, with non-negotiables that must never be minimized away
39,362 Updated today
Yeachan-Heo