developer-delphi-patterns-structural

Implement Delphi structural design patterns using interface-based compositions.

Updated Jan 6, 2026
One-click install
npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-patterns-structural
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: developer-delphi-patterns-structural
Source: https://github.com/cslsoftwares/ParamentersORM/tree/main/.cursor/skills/developer-delphi-patterns-structural_V1.1.0
Command: npx skills add https://github.com/cslsoftwares/ParamentersORM --skill developer-delphi-patterns-structural

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Domina padrões estruturais em Delphi: Composite, Decorator, Adapter, Proxy, Facade e Bridge. Foco em composição via interface — nunca herança profunda.

Core Features & Use Cases

  • Fornece implementações baseadas em interfaces para cada padrão.
  • Ilustra cenários de uso como hierarquias de UI, integração de código legado e simplificação de subsistemas.
  • Fornece guias de aplicação e referências rápidas para tomada de decisão de pattern.

Quick Start

Implemente um pequeno projeto Delphi que demonstre Composite e Decorator com interfaces, começando criando IUIComponent, TLeaf e TComposite.

Frequently Asked Questions about developer-delphi-patterns-structural

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement structural design patterns in Delphi without relying on deep inheritance hierarchies?

Delphi structural design patterns can be implemented using interface-based composition, utilizing patterns like Composite and Decorator to build flexible hierarchies and behaviors without deep inheritance.

What is the best way to integrate legacy Delphi code with a new interface-based architecture?

The Adapter pattern provides an interface-based implementation for integrating legacy Delphi code, wrapping old subsystems to expose modern interfaces while avoiding deep inheritance and simplifying subsystem interactions.

How do I build UI component hierarchies in Delphi using structural patterns?

You can build UI component hierarchies in Delphi using the Composite pattern, defining interfaces like IUIComponent to uniformly manage TLeaf and TComposite objects for flexible interface-based UI structures.

Can I simplify complex Delphi subsystems using structural patterns?

Yes, you can simplify complex Delphi subsystems using the Facade pattern, which provides a unified interface-based entry point to reduce dependencies and simplify subsystem access without deep inheritance.

When should I use the Decorator pattern over the Proxy pattern in Delphi?

Use the Decorator pattern to dynamically add responsibilities to Delphi objects via interface composition, while the Proxy pattern controls access to an object, such as for lazy loading or security checks.

Does this Delphi structural patterns approach require any external dependencies or components?

No, this approach to Delphi structural patterns requires no external dependencies or components, relying entirely on native interface-based design principles and clear reusable implementations documented in SKILL.md.