https://github.com/radprogrammer/delphi-project-standards
Coding standards and formatting guidelines for Delphi projects, maintained as AI agent instruction files for use with Claude Code and similar tools.
style-guide.md-- Naming conventions, code rules, project structure conventions, and language usage guidance. Closely matches Embarcadero's published style guidelines with deliberate enhancements for consistency and maintainability.code-formatting-guide.md-- Indentation, spacing, line break, and capitalization rules for generated and modified code.CHANGELOG.md-- Version history for both files.
This repo is intended to be consumed as a .delphi submodule, as configured in
delphi-project-template.
Projects created from that template include this repo at .delphi/ and import the
standards into Claude Code via CLAUDE.md:
@.delphi/style-guide.md
@.delphi/code-formatting-guide.mdTo update a project to the latest standards, run update-standards.bat from the
project root. This pulls the latest commit from this repo, stages the submodule
update, and commits it. Review CHANGELOG.md before committing to understand
what has changed.
git submodule add https://github.com/radprogrammer/delphi-project-standards .delphi
git commit -m "Add .delphi standards submodule"Then add the following to your project's CLAUDE.md:
@.delphi/style-guide.md
@.delphi/code-formatting-guide.mdThese standards originated in the radteam internal wiki (2021) and were migrated and reformatted for AI agent use in 2026. See CHANGELOG.md for full version history.
Suggestions and feedback are welcome via GitHub Issues. These standards are curated by Delphi MVPs with input from the broader community. Significant changes are discussed openly before adoption.