FreePascal/Lazarus SOLID Patterns
CommunitySOLID patterns for FreePascal/Lazarus apps
Software Engineering#architecture#solid#design-patterns#repository-pattern#factory-pattern#strategy-pattern#delphi-lazarus
Authordelphicleancode
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a structured approach to building SOLID-compliant FreePascal/Lazarus applications, reducing coupling and code smells, while promoting testable, maintainable architectures.
Core Features & Use Cases
- Repository pattern interfaces and concrete implementations for data access.
- Service layer with constructor injection to orchestrate business logic.
- Factory pattern for assembling repositories and services.
- Strategy pattern for interchangeable algorithms (e.g., tax calculations).
- Guidance aligned with SOLID, DDD, and clean architecture for scalable Lazarus projects.
Quick Start
Define your domain entity, create repository interfaces, implement the repository and service with constructor injection, and wire them together with the factory.
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: FreePascal/Lazarus SOLID Patterns Download link: https://github.com/delphicleancode/lazarus-spec-kit/archive/main.zip#freepascal-lazarus-solid-patterns 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 471,000+ vetted skills library on demand.