Skip to content
Agentmart
Submit a tool

solid

SOLID as diagnostic tool per language, not ceremony.

Skill by chnetajibc

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/chnetajibc-solid

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

SOLID as diagnostic tool per language, not ceremony. Ask who owns behavior, what causes change, real boundaries. Never translate Java architecture mechanically into Go/Python/Rust/TS.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/solid

What's inside

Skill name
solid
Description
SOLID as diagnostic tool per language, not ceremony. Ask who owns behavior, what causes change, real boundaries. Never translate Java architecture mechanically into Go/Python/Rust/TS.
License
MIT
Instructions
45 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# solid

SOLID diagnoses pain; it does not prescribe shape. Apply per language, never by rote.

## Activate when

- A class/module keeps changing for different reasons, grows god-like, or resists testing.

## Do NOT activate for

- Greenfield scaffolding (structure there follows frameworks/*); justifying speculative abstractions.

## Inspection

Read the change history of the unit: who changed it, for what reasons, what broke. Count reasons-to-change, dependents, and test seams.

## Decision rules

- SRP: more than one change reason → split along the reasons, not along imagined reuse.
- OCP: extension without modification only where variation is proven (second caller exists). Otherwise a plain conditional is correct.
- LSP: subtypes must honor the contract — check with the supertype's tests, not by reading.
- ISP: fat interfaces force fake implementations → split by consumer (Go: consumer-defined interfaces; Python: Protocols).
- DIP: depend on abstractions at volatile boundaries (I/O, time, randomness) for testability — not everywhere.
- Language fit: Java/Spring favors constructor-injected interfaces; Python prefers Protocols/composition; Go small interfaces; Rust traits; TS structural types. Never transliterate Java hierarchies into Go/Python/Rust.

## Procedure

1. Name the pain (which principle's violation, with file:line evidence).
2. Apply the smallest fix satisfying the rule above; keep the public surface stable.
3. Add the test that would have caught the violation (e.g., a second implementation for DIP, a contract test for LSP).
4. Verify: the original pain scenario now has a seam; no speculative interfaces added.

## Failure modes

- Interface-per-class ritual; speculative OCP layers with one caller; LSP violations hidden by mocks; SOLID cited to force Java shapes into Go/Rust.

## Escalation

If the fix wants a cross-module redesign, stop and route via architecture/modularity + language-modularity.

## References

- Related: `../language-modularity/`, `../cohesion-coupling/`, `../../core/refactoring/`.

From chnetajibc/skill-repo, MIT.

More from chnetajibc/skill-repo

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 22, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from chnetajibc

Cite this page

solid skill. Agent Mart. https://agentmart.dev/skills/chnetajibc-solid (last updated 2026-10-24)