Agent skill

single-responsibility

Each function should do exactly one thing and do it well Use when enforcing code quality standards. Quality category skill.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/single-responsibility

Metadata

Additional technical details for this skill

category
Quality
priority
high
is built in
YES
session guardian id
builtin_single_responsibility

SKILL.md

Single Responsibility

Each function should do exactly one thing and do it well. Classes should have a single, focused purpose. If a function name requires "and" or "or" to describe what it does, split it. When a class handles multiple concerns (e.g., data access AND business logic AND formatting), separate these into distinct classes.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results