interfaces
OfficialDefine clean contracts to decouple code.
Authorcodebar-ag
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Contracts define the shape a class must conform to, enabling decoupling of concrete implementations from their usage and supporting multiple implementations and easier testing.
Core Features & Use Cases
- Defines a contract that enables interchangeable implementations.
- Encourages dependency inversion and testability across modules.
- Use cases include swapping data sources, mocking during tests, and enforcing consistent APIs.
Quick Start
Create an interface under App\Contracts representing the capability, then type-hint it in consumers and bind it to a concrete class in the service container.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: interfaces Download link: https://github.com/codebar-ag/coding-guidelines/archive/main.zip#interfaces Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.