Agent skill

053 Design Simple Rules

by jabrena in jabrena/plinth

A skill your agent uses 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…

Apache-2.0Auto-check passedDevelopment

Install 053 Design Simple Rules

skills CLI
$ npx skills add jabrena/plinth --skill 053-design-simple-rules -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jabrena/plinth 053-design-simple-rules --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jabrena/plinth.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/053-design-simple-rules .claude/skills/053-design-simple-rules && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
053-design-simple-rules
GitHub stars
447
Token cost
~847 tokens
SKILL.md length
363 words
Files
2 (incl. references)
Skills in repo
124
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses 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…

  • Implementation tradeoffs should be evaluated with Kent Becks simple design rules
  • SKILL.md covers Constraints, When to use this skill, Workflow and Reference
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Including passes the tests

What it does

053 Design Simple Rules is an agent skill from jabrena/plinth. 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

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/053-design-simple-rules.md`).

It sits in Development, covering Refactoring. It works with Java. The repository describes itself as: Plinth is an AI-native engineering toolkit for modern Java enterprise SDLC, built around reusable Commands, Agents, Skills, and MCP Servers. The licence is Apache-2.0.

When your agent uses it

  • Implementation tradeoffs should be evaluated with Kent Becks simple design rules
  • Including passes the tests
  • Reveals intention
  • Has no duplication

Example prompts

  • “/053-design-simple-rules”

What it can do on your machine

Read from SKILL.md and the folder at commit dca88dc. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

053 Design Simple Rules loads about 847 tokens when it runs, and up to ~2.9k if it reads all its reference files. Until then it costs about 110 tokens; SKILL.md has 363 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~110
When it runs · the whole SKILL.md, loaded when a task matches
~847
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jabrena/plinth at commit dca88dc, republished under its Apache-2.0 licence (© jabrena). 363 words, ~847 tokens.

Download SKILL.mdSave it as .claude/skills/053-design-simple-rules/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
053-design-simple-rules
description
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
license
Apache-2.0
metadata.author
Juan Antonio Breña Moral
metadata.version
0.19.0

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?
Show full SKILL.md (146 more words)Show less

Workflow

  1. 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.

  1. Reveal Intention

Evaluate whether names, types, responsibilities, control flow, API shape, and test descriptions make the domain decision clear to a future maintainer.

  1. Reduce Duplication Carefully

Find repeated knowledge, policy, mappings, validation, queries, or workflow decisions. Remove duplication only when the abstraction keeps the intent easier to understand.

  1. Minimize Elements Last

After correctness, clarity, and duplication are handled, remove unnecessary classes, methods, parameters, branches, layers, configuration, or indirection that no longer pay for themselves.

  1. Compare Options and Report

Compare available design or refactoring options against the ordered rules. Recommend the option that satisfies the earlier rules best, describe rejected tradeoffs, and name the verification signal.

Reference

For detailed guidance, examples, and constraints, see references/053-design-simple-rules.md.

© jabrena, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/053-design-simple-rules of jabrena/plinth.

  • SKILL.md
  • references/053-design-simple-rules.md

Open the folder on GitHubat commit dca88dc

Compare with similar skills

053 Design Simple Rules next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

053 Design Simple Rules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
053 Design Simple Rules this skilljabrena/plinth447—~847Automated safety check: PassApache-2.0
Java Design Patterns Referencedecebals/claude-code-java7511 repos~4.4kAutomated safety check: PassMIT
Bootui Java Developmentjdubois/boot-ui314—~1.3kAutomated safety check: PassApache-2.0
Goinference-gateway/inference-gateway214—~2.4kAutomated safety check: PassApache-2.0
Java 21 Developer Guide for Grailsapache/grails-core2.9k—~1.9kAutomated safety check: PassApache-2.0
Spring Data Developmentarangodb/spring-data116—~620Automated safety check: PassApache-2.0

Similar skills

  • Java Design Patterns Reference

    decebals/claude-code-java

    A practical Java reference for Builder, Factory, Singleton, Strategy, Observer and other patterns, with a table matching problems to patterns.

    751 GitHub starsUsed in 1 repo~4.4k tokens
    DevelopmentAuto-check passed
  • A skill your agent uses when implementing, debugging, refactoring, or testing existing BootUI Java code, including framework-neutral engine logic, Spring MVC and WebFlux adapters, Quarkus runtime…

    314 GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Go

    inference-gateway/inference-gateway

    Idiomatic Go - package and interface design, error wrapping, table-driven tests, generics, the modern standard library (slices/maps/cmp/errors.Join), current syntax, and logging discipline.

    214 GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Guide for writing modern Java 21 in a Grails and Groovy codebase: records, sealed classes, pattern matching, text blocks and how Java works alongside Groovy.

    2.9k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Spring Data Development

    arangodb/spring-data

    Maintain and extend the arangodb/spring-data repository. An agent skill from arangodb/spring-data.

    116 GitHub stars~620 tokensUpdated 11 days ago
    DevelopmentAuto-check passed
  • Idea MCP

    dtprj/dongting

    IntelliJ IDEA MCP for Java code analysis, testing, refactoring, and project navigation.

    208 GitHub stars~698 tokensUpdated today
    DevelopmentAuto-check passed

More from jabrena/plinth

All 124 skills in this repo
  • A skill your agent uses when you need to add or review fuzz testing for Java APIs with CATS — including contract-driven negative testing, malformed payload validation, boundary input exploration, CI…

    447 GitHub stars~874 tokensUpdated 2 days ago
    Auto-check passed
  • A skill your agent uses when you need to generate Java project diagrams — including UML sequence diagrams, UML class diagrams, C4 model diagrams, UML state machine diagrams, UML Deployment Diagrams…

    447 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • A skill your agent uses when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning…

    447 GitHub stars~3.2k tokensUpdated 2 days ago
    Auto-check passed
  • A skill your agent uses when you need to set up JMeter performance testing for a Java project — including creating the run-jmeter.sh script from the exact template, configuring load tests with…

    447 GitHub stars~842 tokensUpdated 2 days ago
    Auto-check passed
  • A skill your agent uses when you need to set up Java application profiling to detect and measure performance issues — including trusted preinstalled async-profiler v4.x setup, problem-driven…

    447 GitHub stars~903 tokensUpdated 2 days ago
    Auto-check passed
  • A skill your agent uses when you need to generate a checklist document with embedded commands inventory, following the embedded template exactly and producing INVENTORY-COMMANDS-JAVA.md in the…

    447 GitHub stars~697 tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about 053 Design Simple Rules

What does 053 Design Simple Rules do?

A skill your agent uses 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…. 053 Design Simple Rules is an agent skill from jabrena/plinth. 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.

When should I use 053 Design Simple Rules?

053 Design Simple Rules fits situations like: implementation tradeoffs should be evaluated with Kent Becks simple design rules; including passes the tests; reveals intention; has no duplication.

How do I install 053 Design Simple Rules in Claude Code?

Run `npx skills add jabrena/plinth --skill 053-design-simple-rules -a claude-code`. Or copy the skill folder (skills/053-design-simple-rules in jabrena/plinth) into .claude/skills/053-design-simple-rules in your project. Claude Code loads it when a task matches its description.

How do I install 053 Design Simple Rules in Codex?

Run `npx skills add jabrena/plinth --skill 053-design-simple-rules -a codex`. Or copy the skill folder (skills/053-design-simple-rules in jabrena/plinth) into .agents/skills/053-design-simple-rules in your project. Codex loads it when a task matches its description.

Can I use 053 Design Simple Rules in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jabrena/plinth --skill 053-design-simple-rules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/053-design-simple-rules, .gemini/skills/053-design-simple-rules, .github/skills/053-design-simple-rules and .opencode/skills/053-design-simple-rules in your project.

What does 053 Design Simple Rules need to run?

SKILL.md names no scripts, command-line tools or credentials: 053 Design Simple Rules is instructions for the agent only.

Does 053 Design Simple Rules access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is 053 Design Simple Rules safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does 053 Design Simple Rules use?

053 Design Simple Rules is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does 053 Design Simple Rules use?

About 847 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.1k tokens, read only when the agent opens those files.

What are the alternatives to 053 Design Simple Rules?

Skills that share tags, products or a category with 053 Design Simple Rules: Java Design Patterns Reference (decebals/claude-code-java, 751 stars), Bootui Java Development (jdubois/boot-ui, 314 stars), Go (inference-gateway/inference-gateway, 214 stars) and Java 21 Developer Guide for Grails (apache/grails-core, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains 053 Design Simple Rules?

jabrena (a GitHub user) maintains it in jabrena/plinth, which has 447 GitHub stars. The repository holds 124 skills in this directory. The repository was last updated on October 7, 2026.

Source: jabrena/plinth on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.