# Solid Principles (agent skill)

> Solid Principles is an agent skill (a SKILL.md file) from decebals/claude-code-java. SOLID principles checklist with Java examples. It works with Claude Code and has 750 GitHub stars. Install it by copying the skill folder into your agent's skills directory. The repository is released under the MIT license.

SOLID principles checklist with Java examples. Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion. For naming, duplication and method length, use clean-code instead. Problems: - Validation changes? Modify UserService - Email template changes? Modify UserService - Audit format changes?

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/decebals/claude-code-java |
| Skill path | skills/solid-principles/SKILL.md |
| Skill name | solid-principles |
| GitHub stars | 750 |
| Installs on skills.sh | not listed |
| License | MIT |
| Skills in repo | 1 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code |
| Category | Coding |
| Last commit | Sep 6, 2026 |

## When it triggers

- Use when a class has too many responsibilities, an abstraction leaks, or a dependency points the wrong way, and when the user asks about Single Responsibility, Open/Closed, Liskov, Interface Segregation or Dependency Inversion.

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/decebals/claude-code-java.git
cp -r claude-code-java/skills/solid-principles ~/.claude/skills/solid-principles   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/decebals/claude-code-java.git
cp -r claude-code-java/skills/solid-principles .agents/skills/solid-principles   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/decebals/claude-code-java.git
cp -r claude-code-java/skills/solid-principles .cursor/skills/solid-principles   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/decebals-solid-principles
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
