developer-delphi-language-types

Explain Delphi/Object Pascal type system for data modeling and memory usage.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Delphi/ Object Pascal developers often need a concise, authoritative reference to the language's type system. This skill centralizes primitives, records, enums, sets, pointers, and advanced types into an approachable guide that speeds learning and reduces mistakes.

Core Features & Use Cases

  • Clear reference of numeric types, strings, arrays, and memory concepts.
  • Guidance on selecting appropriate types for data models, serialization, and performance considerations.
  • Practical examples and quick-look tables to accelerate decision-making.

Quick Start

Open this skill and review the type tables and examples to start using Delphi types correctly in your projects.

Frequently Asked Questions about developer-delphi-language-types

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

FAQPage Schema
How do I choose the right Delphi types for my data models?

Choosing the right Delphi types requires evaluating type ranges, memory layouts, and serialization needs. This skill provides reference tables and practical examples to help you select appropriate primitives, records, and enums for your data models.

What is the memory layout of records and sets in Object Pascal?

The memory layout of Object Pascal records and sets depends on field order, alignment, and size. This skill explains these memory concepts alongside type encodings to help you optimize memory usage across Delphi projects.

How do I handle type conversions and pointers in Delphi?

Handling Delphi type conversions and pointers involves applying specific language rules for casting and memory addressing. This skill covers conversion rules and advanced pointer types with practical examples to reduce runtime mistakes.

When should I use enums and sets in Delphi?

You should use Delphi enums and sets when you need to represent a fixed list of named constants or a collection of unique flags. This skill outlines their definitions, encodings, and practical applications in software engineering.

Are there limitations to using primitive numeric types in Delphi?

Limitations of Delphi primitive numeric types include fixed value ranges and specific memory footprints that can cause overflow if exceeded. This skill provides quick-look tables for numeric bounds to prevent conversion errors and optimize performance.