Delphi Dev for Claude Code
VS Code extension that integrates the delphi-dev Claude Code plugin with Visual Studio Code.
Transform Claude Code into a senior Delphi expert with code review, technical audit, TDD, SPEC generation, and coding standards enforcement — all accessible from the VS Code UI.
Requirements
Features
Access all delphi-dev commands from the activity bar:
| Command |
Description |
| Write Code |
Create new Delphi code with all standards applied |
| Review Code |
Quick code review detecting style violations |
| Audit Project |
Generate a complete technical audit report |
| Generate Spec |
Auto-generate SPEC document from source code |
| Generate Tests (TDD) |
Generate DUnitX test suite |
| New Project |
Scaffold a new Delphi project with standard structure |
Right-click any Delphi file (.pas, .dpr, .dfm, .dpk, .inc, .fmx) in the editor or explorer to access Review, Audit, and TDD commands.
Status Bar
A "Delphi Dev" indicator appears in the status bar when a Delphi project is detected in the workspace.
Auto .claudeignore
When a Delphi project is detected, the extension offers to create a .claudeignore file that excludes binaries, compiled files, and IDE configuration — optimizing Claude Code's token usage.
Delphi Code Snippets
12 code snippets following delphi-dev coding standards:
| Prefix |
Description |
dclass |
Class with strict private, constructor, destructor |
dintf |
Interface with GUID |
dservice |
Service class with constructor injection |
drepo |
Repository class skeleton |
dtry |
Try..finally block for resource management |
dconst |
Constant with C_ prefix |
dprop |
Property with F field and A parameter |
dmethod |
Method with A-prefixed params, L-prefixed locals |
denum |
Enumerated type with mnemonic prefix |
dunit |
Complete unit file skeleton |
dtest |
DUnitX test fixture skeleton |
dform |
Form unit skeleton |
Editor Defaults
Automatically configures Pascal/ObjectPascal files with:
- 2-space indentation (spaces, not tabs)
- 120-character ruler
- Word wrap off
Settings
| Setting |
Default |
Description |
delphiDev.autoCreateClaudeignore |
true |
Offer to create .claudeignore for Delphi projects |
delphiDev.showStatusBar |
true |
Show status bar indicator |
delphiDev.language |
pt-BR |
Language for prompts sent to Claude Code |
How It Works
The extension acts as a graphical front-end for the delphi-dev Claude Code plugin. When you click a command, it opens Claude Code with the appropriate slash command (e.g., /review @file.pas) pre-filled. The delphi-dev plugin handles all the AI-powered analysis.
Author
Adriano Santos — adrianosantospro@gmail.com
License
MIT