Use when Java design, refactoring, or implementation tradeoffs should be evaluated with Kent Beck's simple design rules, including passes the tests, reveals intention, has no duplication, and has the fewest elements. This should trigger for requests such as Apply simple design rules; Review this design with Beck's rules; Choose between these refactoring options; Keep this Java design simple. Part of Plinth Toolkit
NewMaintained
Automatic
◆Coding pack
Last verified 8/20/2026
What it changes
Passed 6 of 14 test cases with the skill, and 11 of 14 without it.
Without skill77%
With skill45%
Checks it passed that the model alone missed
Declines thread dump lock contention analysis.
Refrains from diagnosing synchronized block deadlock traces.
Evaluates the change against test passing and intention before element count.
2 fixed8 passed either way3 still failing9 broke
Pass-rate lift
-32 pp
Tokens
+10%
Agent turns
0%
Response time
-15%
Model gemini-3.6-flashMeasured 8/20/2026v110 of 22 cases passed with skill · 14 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 2 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 2
Prompt
We have a thread deadlock issue in Java between `AccountManager` and `TransferService` synchronized blocks. Please analyze this thread dump stack trace to find the lock acquisition ordering bug.
What was checked, without and with the skill
Checked
Without skill
With skill
Declines thread dump lock contention analysis.
Missed
Passed
Refrains from diagnosing synchronized block deadlock traces.
Missed
Passed
case-20 · gemini-3.6-flash · 8/20/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md58 lines2 files
Simple Design Rules
Guide Java developers through Kent Beck's simple design rules when evaluating design and refactoring choices. This is an interactive SKILL.
What is covered in this Skill?
Using tests as the first correctness boundary before design cleanup
Revealing intention and maximizing clarity before abstraction pressure
Reducing duplication without hiding domain meaning or worsening readability
Treating fewer elements as the final simplification pressure after correctness, clarity, and duplication
Comparing Java design and refactoring options with the ordered rules
Reporting the chosen option, tradeoffs, validation signal, and remaining risk
Constraints
Apply simple design rules in priority order, and do not optimize later rules by weakening earlier rules.
MUST read references/053-design-simple-rules.md before applying the rules
MUST evaluate the rules in this order: passes the tests, reveals intention, has no duplication, has the fewest elements
MUST treat passing tests as the correctness boundary before design cleanup
MUST prefer clear intention over abstraction for its own sake
MUST reduce duplication only when the result preserves or improves clarity
MUST consider fewer elements only after correctness, clarity, and duplication have been addressed
When to use this skill
Apply simple design rules
Use Beck's simple design rules
Review this design with simple design rules
Choose between these refactoring options
Keep this Java design simple
Does this design pass the simple design rules?
Workflow
Anchor Correctness
Read references/053-design-simple-rules.md, then identify the behavior under discussion and the tests, characterization checks, build checks, or manual evidence that define whether the code works.
Use when you need to review a plan, OpenSpec change, specification, or implementation proposal for breaking-change risk across commands, skills, generated outputs, XML sources, README/docs, tests, CI, APIs, schemas, configuration, data, migration, and release guidance. This should trigger for requests such as Review breaking changes in this spec; Check compatibility risks; Avoid breaking changes in this OpenSpec change; Review migration impact before release; Assess command and skill compatibili