Skip to content

To be used as a GitHub template when creating new Delphi related repositories. Includes CLAUDE.MD support for Delphi Coding Standards (standards found via .delphi submodule)

Notifications You must be signed in to change notification settings

radprogrammer/delphi-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[PROJECT NAME]


New Project Setup

If you just created this repo from the template, complete these steps before writing any code:

  1. Clone the repo with submodules:
    git clone --recurse-submodules https://github.com/your-org/your-repo
  2. If you already cloned without --recurse-submodules, initialize the submodule manually:
    git submodule update --init
  3. Open CLAUDE.md and replace [PROJECT NAME] with your project name
  4. Fill in the TODO sections in CLAUDE.md — project overview, structure, build commands, and constraints
  5. Replace [PROJECT NAME] in this README.md and update the description
  6. Optionally, if using Claude Code, start Claude and it will automatically read CLAUDE.md and apply the Delphi coding standards from .delphi/

Getting Started

Cloning this repo directly: Use --recurse-submodules to populate .delphi/ in one step:

git clone --recurse-submodules https://github.com/your-org/your-repo

Created a new repo from this template? The .delphi/ folder will exist but be empty until you initialize the submodule:

git submodule update --init

Building

Running Tests

Claude Code

This repository includes Claude Code support via CLAUDE.md. The Delphi coding standards and formatting rules are maintained in a versioned submodule at .delphi/:

  • .delphi/style-guide.md — naming conventions, code rules, file layout
  • .delphi/code-formatting-guide.md — indentation, spacing, line breaks

To update to the latest standards, run update-standards.bat, or run the following commands directly from the command line:

git submodule update --remote .delphi
git commit -a -m "Update .delphi submodule to latest standards"
git push

Review the changelogs in .delphi/style-guide.md and .delphi/code-formatting-guide.md before confirming the update — the batch file pauses for this before committing.

Contributing

License

Modern Delphi Logo
Built with Delphi

About

To be used as a GitHub template when creating new Delphi related repositories. Includes CLAUDE.MD support for Delphi Coding Standards (standards found via .delphi submodule)

Topics

Resources

Stars

Watchers

Forks