Agent skill

Delphi Validator

by academiadocodigo in academiadocodigo/SimpleORM

Validates all SimpleORM Delphi source files for Delphi 10.2 Tokyo+ compatibility.

MITAuto-check passedDevelopment

Install Delphi Validator

skills CLI
$ npx skills add academiadocodigo/SimpleORM --skill delphi-validator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install academiadocodigo/SimpleORM delphi-validator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/academiadocodigo/SimpleORM.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/delphi-validator .claude/skills/delphi-validator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
delphi-validator
GitHub stars
157
Token cost
~828 tokens
SKILL.md length
198 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Validates all SimpleORM Delphi source files for Delphi 10.2 Tokyo+ compatibility.

  • Works in 4 steps: Present the report to the user as-is → If errors found: Ask the user if they… → If fixing: Apply fixes following the… → …
  • Tasks that involve Linting and formatting
  • SKILL.md covers What It Checks (7 Categories), How to Run, After Results and Quick Reference: Common Fixes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Delphi Validator is an agent skill from academiadocodigo/SimpleORM. Validates all SimpleORM Delphi source files for Delphi 10.2 Tokyo+ compatibility. Checks inline vars, unit scoping, generics E2506, uses completeness, memory safety, .dpr structure, and conditional compilation. Run anytime to "lint" the project.

Its SKILL.md is about 830 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Linting and formatting. The repository describes itself as: ORM Simples para Aplicações Delphi. The licence is MIT.

When your agent uses it

  • Tasks that involve Linting and formatting

Example prompts

  • “Use the delphi-validator skill to validate all SimpleORM Delphi source files for Delphi 10.2 Tokyo+ compatibility”
  • “/delphi-validator”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Present the report to the user as-is
  2. If errors found: Ask the user if they want you to fix them automatically
  3. If fixing: Apply fixes following the patterns in .claude/rules/ and the fix guidance in each finding
  4. After fixing: Re-run the validator to confirm all issues are resolved

What it can do on your machine

Read from SKILL.md and the folder at commit 6227399. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are pascal).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Delphi Validator loads about 828 tokens when it runs. Until then it costs about 66 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~66
When it runs · the whole SKILL.md, loaded when a task matches
~828

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from academiadocodigo/SimpleORM at commit 6227399, republished under its MIT licence (© academiadocodigo). 198 words, ~828 tokens.

Download SKILL.mdSave it as .claude/skills/delphi-validator/SKILL.md (or your agent's skills folder).
name
delphi-validator
description
Validates all SimpleORM Delphi source files for Delphi 10.2 Tokyo+ compatibility. Checks inline vars, unit scoping, generics E2506, uses completeness, memory safety, .dpr structure, and conditional compilation. Run anytime to "lint" the project.
user-invocable
true

Delphi 10.2+ Compatibility Validator

Validates the SimpleORM codebase against Delphi 10.2 Tokyo+ compatibility rules. Acts as a static analyzer / linter since we cannot compile in this environment.

What It Checks (7 Categories)

CodeCategorySeverityDescription
INLINE-VARInline VariablesERROvar/const inside begin/end, for var — require 10.3+
SCOPE-AMBIGUITYUnit ScopingWARNBare Format( with SimpleAttributes in uses, missing unit qualifications
GENERICS-E2506Generics RestrictionsERROImplementation-local symbols used in generic class methods
USES-VISIBILITYUses CompletenessERROTypes used in interface section but unit only in implementation uses
MEMORY-SAFETYMemory ManagementWARNLeaked objects, swallowed exceptions, bare Free in destructors
DPR-STRUCTUREProgram File StructureERROInvalid .dpr structure (unit keyword, interface/implementation sections)
CONDITIONAL-COMPATConditional CompilationERROUnguarded 10.3+/10.4+ features without RTLVERSION check

How to Run

When this skill is invoked, dispatch the delphi-compatibility-checker subagent:

Agent(
  subagent_type = "delphi-compatibility-checker",
  prompt = "Analyze ALL .pas and .dpr files in src/ for Delphi 10.2+ compatibility. Apply all 7 rule categories. Report every finding with file:line, category, and severity. End with a summary.",
  description = "Delphi 10.2+ compatibility check"
)

After Results

  1. Present the report to the user as-is
  2. If errors found: Ask the user if they want you to fix them automatically
  3. If fixing: Apply fixes following the patterns in .claude/rules/ and the fix guidance in each finding
  4. After fixing: Re-run the validator to confirm all issues are resolved

Quick Reference: Common Fixes

INLINE-VAR Fix
pascal
// BEFORE (10.3+ only):
begin
  var LName: String := 'value';
  for var I := 0 to 10 do ...

// AFTER (10.2 compatible):
var
  LName: String;
  I: Integer;
begin
  LName := 'value';
  for I := 0 to 10 do ...
SCOPE-AMBIGUITY Fix
pascal
// BEFORE (ambiguous):
aErrors.Add(Format(sMSG, [aValue]));

// AFTER (explicit):
aErrors.Add(System.SysUtils.Format(sMSG, [aValue]));
GENERICS-E2506 Fix
pascal
// BEFORE (local function — triggers E2506):
implementation
function LocalHelper(...): ...; // only in implementation
// used by TSimpleXxx<T>.SomeMethod

// AFTER (promote to interface):
interface
function LocalHelper(...): ...;
implementation
function LocalHelper(...): ...; // implementation stays
USES-VISIBILITY Fix
pascal
// BEFORE:
interface
uses SimpleInterface; // SimpleTypes NOT here
type
  TMyClass = class
    FCallback: TSimpleErrorCallback; // defined in SimpleTypes!
  end;
implementation
uses SimpleTypes; // too late for interface declarations

// AFTER:
interface
uses SimpleInterface, SimpleTypes; // moved here

© academiadocodigo, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/delphi-validator of academiadocodigo/SimpleORM.

Open the folder on GitHubat commit 6227399

Compare with similar skills

Delphi Validator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Delphi Validator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Delphi Validator this skillacademiadocodigo/SimpleORM157—~828Automated safety check: PassMIT
Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop5.3k1 repos~2.2kAutomated safety check: PassMIT
Summarise Ecosystem Resultsastral-sh/ruff50k1 repos~2.2kAutomated safety check: PassMIT
Minimizing Ty Ecosystem Changesastral-sh/ruff50k—~4.6kAutomated safety check: PassMIT
Babysit PR To Pass CIsgl-project/sglang37k2 repos~3kAutomated safety check: PassApache-2.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.

    5.3k GitHub starsUsed in 1 repo~2.2k tokens
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when a user says "summarise ecosystem results", "summarize this ty ecosystem report", "what changed in this ecosystem run?", or asks to summarise or summarize ty ecosystem…

    50k GitHub starsUsed in 1 repo~2.2k tokens
    DevelopmentAuto-check passed
  • Official

    A skill your agent uses when a user says "minimize this ty ecosystem change", "reproduce this ecosystem result", "investigate a primer difference", "investigate a mypyprimer difference"…

    50k GitHub stars~4.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Babysit PR To Pass CI

    sgl-project/sglang

    Start and persistently pursue a goal to babysit an SGLang pull request until selected GitHub Actions workflows pass on the latest PR head.

    37k GitHub starsUsed in 2 repos~3k tokens
    DevelopmentAuto-check passed
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Go Pedantry

    chromedp/chromedp

    This skill should be used when the user is writing Go code and needs guidance on Go-specific pedantry: error wrapping with fmt.Errorf and %w, interface design (accept interfaces return structs)…

    13k GitHub stars~3.7k tokensUpdated 2 days ago
    DevelopmentAuto-check passed

More from academiadocodigo/SimpleORM

All 9 skills in this repo
  • Delphi Patterns

    academiadocodigo/SimpleORM

    Coding conventions and patterns for the SimpleORM Delphi project.

    157 GitHub stars~560 tokensUpdated 2 mo ago
    Auto-check passed
  • Delphi Project Structure

    academiadocodigo/SimpleORM

    Delphi project file structure reference — .dpr vs .pas, .dproj, .res, .dfm.

    157 GitHub stars~1.2k tokensUpdated 2 mo ago
    Auto-check passed
  • Entity Mapping

    academiadocodigo/SimpleORM

    SimpleORM entity-to-database mapping via RTTI attributes. An agent skill from academiadocodigo/SimpleORM.

    157 GitHub stars~816 tokensUpdated 2 mo ago
    Auto-check passed
  • Horse Integration

    academiadocodigo/SimpleORM

    Horse/ExpxHorse integration patterns for SimpleORM — server auto-routing, client REST driver, serialization examples.

    157 GitHub stars~759 tokensUpdated 2 mo ago
    Auto-check passed
  • Isimplequery Contract

    academiadocodigo/SimpleORM

    The exact iSimpleQuery interface contract that all query drivers must implement.

    157 GitHub stars~670 tokensUpdated 2 mo ago
    Auto-check passed
  • Memory Safety

    academiadocodigo/SimpleORM

    Delphi memory management patterns for SimpleORM - ownership, try/finally, interface refs, and common leak scenarios.

    157 GitHub stars~531 tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Delphi Validator

What does Delphi Validator do?

Validates all SimpleORM Delphi source files for Delphi 10.2 Tokyo+ compatibility. Delphi Validator is an agent skill from academiadocodigo/SimpleORM.2 Tokyo+ compatibility.

When should I use Delphi Validator?

Delphi Validator fits situations like: tasks that involve Linting and formatting.

How do I install Delphi Validator in Claude Code?

Run `npx skills add academiadocodigo/SimpleORM --skill delphi-validator -a claude-code`. Or copy the skill folder (.claude/skills/delphi-validator in academiadocodigo/SimpleORM) into .claude/skills/delphi-validator in your project. Claude Code loads it when a task matches its description.

How do I install Delphi Validator in Codex?

Run `npx skills add academiadocodigo/SimpleORM --skill delphi-validator -a codex`. Or copy the skill folder (.claude/skills/delphi-validator in academiadocodigo/SimpleORM) into .agents/skills/delphi-validator in your project. Codex loads it when a task matches its description.

Can I use Delphi Validator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add academiadocodigo/SimpleORM --skill delphi-validator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/delphi-validator, .gemini/skills/delphi-validator, .github/skills/delphi-validator and .opencode/skills/delphi-validator in your project.

What does Delphi Validator need to run?

SKILL.md names no scripts, command-line tools or credentials: Delphi Validator is instructions for the agent only.

Does Delphi Validator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Delphi Validator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Delphi Validator use?

Delphi Validator is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Delphi Validator use?

About 828 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Delphi Validator?

Skills that share tags, products or a category with Delphi Validator: Install Anti-Slop Oxlint Rules (dmmulroy/anti-slop, 5.3k stars), Summarise Ecosystem Results (astral-sh/ruff, 50k stars), Minimizing Ty Ecosystem Changes (astral-sh/ruff, 50k stars) and Babysit PR To Pass CI (sgl-project/sglang, 37k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Delphi Validator?

academiadocodigo (a GitHub organization) maintains it in academiadocodigo/SimpleORM, which has 157 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 2, 2026.

Source: academiadocodigo/SimpleORM on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.