

Also from Kynth Studios


Also from Kynth Studios


Also from Kynth Studios
1# Delphi AI Spec-Kit23This is the **Delphi AI Spec-Kit**, the master guide for Delphi (Object Pascal) development in this repository.45## Project Stack6- **Language:** Object Pascal (Delphi)7- **Native IDE:** RAD Studio / Delphi8- **Main Frameworks:** VCL, FMX, FireDAC9- **Tests:** DUnitX10- **Build / Tooling:** MSBuild, dcc32/dcc64, Boss (Package Manager)1112## Crucial Directives (Memory Management)13- **Watched Blocks (Required):** EVERYTHING you instantiate with `.Create` (if it is `TObject` and does not have `Owner`) **MUST** have a `try..finally` on the IMMEDIATELY subsequent line.14```pascal15 Obj := TMyClass.Create;16 try17 Obj.DoSomething;18 finally19 Obj.Free; //my FreeAndNil(Obj)20 end;21```22- **DO NOT use** `with`.23- **DO NOT create** God Classes. Use SOLID Principles.24- Isolate visual components (FMX/VCL) from strict business rules. Do not access DBGrid or form edits in pure logical units.25- For dependency injection, pass abstractions in the constructor.2627## File Organization & Naming (PascalCase)28- Classes: Start with `T` (ex: `TCustomer`).29- Interfaces: Start with `I` (ex: `ICustomer`).30- Exceptions: Start with `E` (ex: `EValidationError`).31- Private attributes or fields: Start with `F` (ex: `FName`).32- Local variables: Start with `L` (ex: `LCustomer`).33- Parameters: Start with `A` (ex: `ACustomer`).34- Unit nomenclature: `NomeProjeto.Camada.Dominio.Funcionalidade.pas`3536*(See the `AGENTS.md` global file and `rules/` folder for guidelines specific to frameworks such as FireDAC, Rest, Horse and Database).*37
One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| delphicleancode/delphi-spec-kit.github/copilot-instructions.md · 49 | Copilot instructions | lint-formatstyledatabaseperformance+3 | 61/100 | today | |
| delphicleancode/delphi-spec-kitAGENTS.md · 49 | AGENTS.md | teststylearchtesting-strategy+4 | 61/100 | today |
A badge carrying the measured quality of the strongest agent config file in this repository, out of 100. It reads from this index every time somebody loads your page, so it changes when the measurement changes and there is nothing to keep up to date. Free, no account, and the value is not something you or we can set by hand.
[](https://rulestack.kynth.studio/configs/delphicleancode-delphi-spec-kit-claude-claude)Would rather not hotlink us? Every badge is also served in shields.io’s endpoint schema, so shields renders the image and your readers never talk to our domain:
Published by Toolproof, the masthead over this index and eight others. The method behind the number is at toolproof.kynth.studio/methodology, and the whole thing is readable as JSON with no key at /api.