single-responsibility

Installation
SKILL.md

Single Responsibility — Simplify Components & Methods

Apply these strategies to keep components and methods focused, testable, and readable. Rules are split into component vs method simplification.


Principles

Principle Rule
KISS Simplest solution that works. Avoid over-engineering.
Single responsibility One clear responsibility per component or function; extract utilities, hooks, sub-components.
DRY Extract common logic; create reusable functions or components.
YAGNI Don't build features before they're needed.
Composition Prefer composing small components and utilities over large, multi-purpose blocks.

Simplifying a component

Related skills

More from lichens-innovation/skills

Installs
6
First Seen
Feb 25, 2026