FreePascal/Lazarus SOLID Patterns

Community

SOLID patterns for FreePascal/Lazarus apps

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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.