What is dependency-inversion-principle?
Use when a class creates its own dependencies. Use when instantiating concrete implementations inside a class. Use when told to avoid dependency injection for simplicity. Source: yanko-belov/code-craft.
Use when a class creates its own dependencies. Use when instantiating concrete implementations inside a class. Use when told to avoid dependency injection for simplicity.
Quickly install dependency-inversion-principle AI skill to your development environment via command line
Source: yanko-belov/code-craft.
High-level modules should not depend on low-level modules. Both should depend on abstractions.
Classes should depend on interfaces, not concrete implementations. Dependencies should be injected, not instantiated internally.
"Don't Overcomplicate" Pressure: "Just use SendGrid directly, DI is overkill"
Use when a class creates its own dependencies. Use when instantiating concrete implementations inside a class. Use when told to avoid dependency injection for simplicity. Source: yanko-belov/code-craft.
Stable fields and commands for AI/search citations.
npx skills add https://github.com/yanko-belov/code-craft --skill dependency-inversion-principleUse when a class creates its own dependencies. Use when instantiating concrete implementations inside a class. Use when told to avoid dependency injection for simplicity. Source: yanko-belov/code-craft.
Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/yanko-belov/code-craft --skill dependency-inversion-principle Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw
https://github.com/yanko-belov/code-craft