Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add makifbaysal/tasktrooper --skill java-oop-solid-designgit clone --depth 1 https://github.com/makifbaysal/tasktrooperWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/makifbaysal/tasktrooper/java-oop-solid-design)<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/java-oop-solid-design"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/java-oop-solid-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/java-oop-solid-design"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/java-oop-solid-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00034 | $0.00929 |
| Opus 5.5 | $0.00014 | $0.00372 |
| Sonnet 5.5 | $0.00007 | $0.00186 |
| Haiku 4.5 | $0.00003 | $0.00093 |
Grade A, and why
java-oop-solid-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Java OOP & SOLID Design
Overview
Java is chosen precisely when the domain is rich (see backend-language-decision). That value is only realized if you model it with real objects that protect their invariants — not anemic data bags with a pile of setters and logic scattered in services.
Core principle: Objects own their invariants. If a rule about an entity can be violated from outside the entity, the model is broken.
SOLID, concretely
- S — Single Responsibility: one reason to change per class. A class that parses HTTP, applies business rules, and writes SQL is three classes.
- O — Open/Closed: extend behavior via new types/strategies, not by editing a growing
switch. New payment method → newPaymentMethodimplementation, not anothercase. - L — Liskov: a subtype must honor the supertype's contract. If
Square extends RectanglebreakssetWidth, the hierarchy is wrong — prefer composition. - I — Interface Segregation: many small role interfaces over one fat one. A caller that needs
readshouldn't depend onwrite. - D — Dependency Inversion: services depend on interfaces (ports), not concrete adapters. Inject the interface via the constructor.
Encapsulation over anemic models
// ❌ anemic: invariant lives nowhere, anyone can break it
class Task {
public String title; // no bound enforced
public Status status;
}
task.title = "x".repeat(500); // invalid state, no guard
// ✅ rich: the entity enforces its own rules
public final class Task {
private final TaskId id;
private String title;
private Status status;
private Task(TaskId id, String title) { this.id = id; this.title = title; }
public static Task create(String title) {
if (title == null || title.isBlank() || title.length() > 200)
throw new InvalidTaskTitle(title);
return new Task(TaskId.newId(), title);
}
public void rename(String title) { /* same guard, reused */ }
public void complete() {
if (status == Status.DONE) throw new IllegalTransition("already done");
this.status = Status.DONE;
}
// getters, no public setters
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed c5231c9ac4f2
- 1mo ago First seen · 82 lines · 34 tokens per session scan A cbd42cf8b160
java-oop-solid-design is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 34 tokens to every session and 929 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-05.
java-oop-solid-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| java-oop-solid-designmakifbaysal/tasktrooper | Skill | 123 | today | Apache-2.0 | A | 34 | Claude Code, Codex |
| cudf-query-engine-builderNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 99 | Claude Code, Codex |
| cuequivariance-jaxNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 38 | Claude Code, Codex |
| cuequivariance-torchNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 37 | Claude Code, Codex |
| cudnn-compile-and-serializeNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 59 | Claude Code, Codex |
| cudnn-installNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 49 | Claude Code, Codex |
| ccclNVIDIA/skills | Skill | 4.2k | 2d ago | Apache-2.0 | A | 206 | Claude Code, Codex |