·interface-segregation-principle
</>

interface-segregation-principle

yanko-belov/code-craft

Úselo al diseñar interfaces. Úselo al implementar interfaces con métodos que no necesita. Úselo cuando se vea obligado a implementar throw/no-op para métodos de interfaz.

15Instalaciones·0Tendencia·@yanko-belov

Instalación

$npx skills add https://github.com/yanko-belov/code-craft --skill interface-segregation-principle

SKILL.md

Clients should not be forced to depend on interfaces they don't use.

Many small, focused interfaces are better than one large "fat" interface. If an implementer must throw exceptions or provide no-ops for interface methods, the interface is too large.

Providing both the violation and the correct approach is still providing a violation.

Úselo al diseñar interfaces. Úselo al implementar interfaces con métodos que no necesita. Úselo cuando se vea obligado a implementar throw/no-op para métodos de interfaz. Fuente: yanko-belov/code-craft.

Ver original

Datos (listos para citar)

Campos y comandos estables para citas de IA/búsqueda.

Comando de instalación
npx skills add https://github.com/yanko-belov/code-craft --skill interface-segregation-principle
Categoría
</>Desarrollo
Verificado
Primera vez visto
2026-02-12
Actualizado
2026-02-18

Respuestas rápidas

¿Qué es interface-segregation-principle?

Úselo al diseñar interfaces. Úselo al implementar interfaces con métodos que no necesita. Úselo cuando se vea obligado a implementar throw/no-op para métodos de interfaz. Fuente: yanko-belov/code-craft.

¿Cómo instalo interface-segregation-principle?

Abre tu terminal o herramienta de línea de comandos (Terminal, iTerm, Windows Terminal, etc.) Copia y ejecuta este comando: npx skills add https://github.com/yanko-belov/code-craft --skill interface-segregation-principle Una vez instalado, el skill se configurará automáticamente en tu entorno de programación con IA y estará listo para usar en Claude Code o Cursor

¿Dónde está el repositorio de origen?

https://github.com/yanko-belov/code-craft