Skip to content

Intended as submodule for the https://github.com/radprogrammer/delphi-project-template to contain style guide and future artifacts

Notifications You must be signed in to change notification settings

radprogrammer/delphi-project-standards

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RADProgrammer Delphi Project Standards

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.

Delphi Project Standards logo

Contents

  • 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.

Usage as a Submodule

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.md

To 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.


Adding to an Existing Project Manually

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.md

Provenance

These 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.


Contributing

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.


Modern Delphi Logo
Built for Delphi Developers

Contributors