solid

solid is a skill for Claude Code from JordanCoin/codingskills. It costs 65 tokens per session (1,426 once invoked), scanned A, original, MIT.

A set of five software-design principles known as SOLID, used to organize modules, interfaces, and classes. The principles aim to keep responsibilities clear and make systems easier to change and test.

In plain words
What is it for?
Use it when structuring modules or class hierarchies, designing interfaces, reducing coupling, or making code easier to test and maintain.
Why use it?
It helps prevent changes in one part of a codebase from causing unrelated parts to break. It also guides decisions about dependency injection, interfaces, and module boundaries.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the coding-skills plugin — 9 skills shipped together

Good fit Use it when structuring modules or class hierarchies, designing interfaces, reducing coupling, or making code easier to test and maintain.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jordancoin/codingskills/solid
Install

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.

Any agent
npx skills add JordanCoin/codingskills --skill solid
Clone the repo
git clone --depth 1 https://github.com/JordanCoin/codingskills

Made for: Claude Code.

Or install coding-skills, the plugin that ships this one along with the rest of its 9 skills.

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

agentmods badge for solid

README.md
[![agentmods](https://agentmods.dev/badge/skills/jordancoin/codingskills/solid/github.svg)](https://agentmods.dev/skills/jordancoin/codingskills/solid)
Your own site
<a href="https://agentmods.dev/skills/jordancoin/codingskills/solid"><img src="https://agentmods.dev/badge/skills/jordancoin/codingskills/solid/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.

agentmods 80×15 button for solid

Your own site · 80×15
<a href="https://agentmods.dev/skills/jordancoin/codingskills/solid"><img src="https://agentmods.dev/badge/skills/jordancoin/codingskills/solid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,426 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01426
Opus 5.5 $0.00026 $0.00570
Sonnet 5.5 $0.00013 $0.00285
Haiku 4.5 $0.00006 $0.00143

Measured 1mo ago against content hash 75d5bce7809a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

skills/solid/SKILL.md · 134 lines

How it starts

The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SOLID Principles

Before Applying

If .agents/stack-context.md exists, read it first. Apply this principle using idiomatic patterns for the detected stack. For framework-specific details, use context7 MCP or web search — don't guess.

Principle

Five design principles that produce modular, testable, and resilient systems. While originally framed for object-oriented design, the underlying ideas apply to any paradigm — functions, modules, services, or components.

Why This Matters in Production

SOLID code is change-friendly code. Production systems change constantly — new features, bug fixes, integrations, scaling. Systems designed with SOLID principles absorb change locally rather than requiring cascading modifications. This means fewer regressions, faster feature delivery, and smaller blast radius when things go wrong.


S — Single Responsibility Principle

A module should have one, and only one, reason to change.

Every module, function, or component should own exactly one piece of functionality. When a change request comes in, you should be able to predict which file needs editing without searching.

Violations look like:

  • A function that validates input, queries the database, applies business logic, and formats the response
  • A "utils" file that grows indefinitely because nothing else has a clear home
  • A class that changes every time any feature in the system changes

Apply it:

  • If a function does two things, split it into two functions
  • If a module handles both "what to do" and "how to do it," separate policy from mechanism
  • Name modules after their responsibility — if the name is vague ("Manager", "Helper", "Utils"), the responsibility is unclear

O — Open/Closed Principle

Software should be open for extension but closed for modification.

You should be able to add new behavior without modifying existing, working code. This doesn't mean you never touch existing code — it means you design so that the common extension points don't require it.

Read the full file on GitHub · 134 lines

Changes

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.

  1. 1mo ago First seen · 134 lines · 65 tokens per session scan A 75d5bce7809a

Subscribe to this mod's changes

solid is a skill published in the GitHub repository JordanCoin/codingskills (11 stars, last pushed 7mo ago), licensed MIT. It adds 65 tokens to every session and 1,426 once invoked, about $0.0003 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-08-31.

Related

Other skills, from other repositories

chrome-cdp

Drive a headless Chrome over the Chrome DevTools Protocol (CDP) for browser QA — navigate, click, fill forms, read the DOM/accessibility tree, screenshot, and assert. Use whenever a task requires loading a web page and interacting with it like a user. Chrome is launched by a bash step (recipe below); this skill…

mattzcarey/shippie · 91 tokens

brooks-sweep

Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic engineering books. Triggers when: user…

hyhmrright/brooks-lint · 178 tokens

brooks-health

Combined codebase health dashboard that scores a project across all four quality dimensions — PR quality, architecture, tech debt, and test quality — in a single pass, drawing on twelve classic engineering books. Triggers when: user wants an overall quality assessment, asks "how healthy is this codebase?", "run all…

hyhmrright/brooks-lint · 156 tokens

brooks-test

Test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock abuse, coverage illusions, slow…

hyhmrright/brooks-lint · 161 tokens

software-code-refactoring

Improve production code quality while preserving all existing test behavior. Commonly used for the Refactor phase of TDD red-green-refactor, but applicable to any codebase with tests. Use when production code works but needs cleanup — reducing duplication, improving naming, simplifying complexity, aligning with…

stencila/stencila · 102 tokens

ring:running-dev-cycle

Running the backend dev cycle: implements every task in a rolling-wave plan.md (ring:writing-plans format) for a Go/TS service, driving specialist agents through Gate 0 implementation/TDD, Gate 8 parallel review, and Gate 9 validation per epic, elaborating later phases at each phase boundary. Use when starting or…

LerianStudio/ring · 122 tokens