Skip to content

Add Delphi Expert Agent#1708

Open
sergiodsiqueira wants to merge 1 commit into
github:stagedfrom
sergiodsiqueira:agent-delphi-expert
Open

Add Delphi Expert Agent#1708
sergiodsiqueira wants to merge 1 commit into
github:stagedfrom
sergiodsiqueira:agent-delphi-expert

Conversation

@sergiodsiqueira
Copy link
Copy Markdown

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have read and followed the Guidance for submissions involving paid services.
  • My contribution adds a new instruction, prompt, agent, skill, or workflow file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, agent, skill, or workflow with GitHub Copilot.
  • I have run npm start and verified that README.md is up to date.
  • I am targeting the staged branch for this pull request.

Description

Added a new Delphi Expert agent focused on Delphi/Object Pascal development.

This agent helps with Delphi project tasks such as VCL/FMX development, Object Pascal best practices, database access, FireDAC/Oracle usage, REST integrations, component development, memory/resource management, threading, and automated testing with DUnitX.

The agent includes Delphi-specific guidance for:

Generating production-ready Delphi/Object Pascal code
Respecting Delphi version compatibility, especially Delphi 10.x
Creating DUnitX tests using a known-good runner structure
Supporting TestInsight and CI-friendly test execution
Registering newly created units in .dpr or .dpk files so they appear correctly in the Delphi IDE Project Manager
Avoiding loose .pas files that are not tracked by the project

The purpose is to provide a specialized AI assistant for developers maintaining or modernizing Delphi applications, especially enterprise desktop systems that rely on VCL, databases, and legacy-compatible tooling.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New agent file.
  • New plugin.
  • New skill file.
  • New agentic workflow.
  • Update to existing instruction, prompt, agent, plugin, skill, or workflow.
  • Other (please specify):

Additional Notes

This contribution adds a Delphi/Object Pascal specialist agent based on the existing expert-agent structure used by other language agents.

The agent is intentionally focused on practical Delphi development, including legacy and enterprise scenarios where Delphi is still widely used. It includes guidance for VCL/FMX applications, database-heavy systems, FireDAC/Oracle usage, REST integrations, component development, memory/resource ownership, threading, and automated testing.

A few Delphi-specific points were added because they are important in real Delphi projects:

DUnitX tests should include a functional .dpr runner, not only test fixture units.
The DUnitX runner template includes TestInsight support, console logging, NUnit XML output, RTTI discovery, and CI-safe behavior.
New .pas units created during refactoring should be registered in the .dpr or .dpk so they appear in the Delphi IDE Project Manager.
The agent avoids assuming the latest Delphi version and gives special attention to Delphi 10.x compatibility.

The goal is to help Delphi developers get useful, compilable, maintainable code and avoid common Delphi-specific issues that generic coding agents often miss.


By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

@github-actions github-actions Bot added agent PR touches agents new-submission PR adds at least one new contribution skill-check-error Skill validator reported errors labels May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

🔍 Skill Validator Results

⛔ Findings need attention

Scope Checked
Skills 1
Agents 1
Total 2
Severity Count
--- ---:
❌ Errors 2
⚠️ Warnings 0
ℹ️ Advisories 0

Summary

Level Finding
[agent:Delphi Expert] Agent name 'Delphi Expert' does not match filename 'delphi-expert.agent.md' (expected 'Delphi Expert.agent.md').
[agent:Delphi Expert] Agent name 'Delphi Expert' contains invalid characters — must be lowercase alphanumeric and hyphens only.
Full validator output ```text Found 1 agent(s) ❌ [agent:Delphi Expert] Agent name 'Delphi Expert' does not match filename 'delphi-expert.agent.md' (expected 'Delphi Expert.agent.md'). ❌ [agent:Delphi Expert] Agent name 'Delphi Expert' contains invalid characters — must be lowercase alphanumeric and hyphens only. Validated 1 agent(s)

{Ansi.Red}Agent spec conformance failures — fix the errors above.{Ansi.Reset}

</details>
> **Note:** The validator returned a non-zero exit code. Please review the findings above before merge.

Copy link
Copy Markdown
Contributor

@aaronpowell aaronpowell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There appears to be some inadvertent changes to other parts of the README.agents.md file as part of this PR which is resulting in validation failures - can you rerun the npm run build script to ensure that it's updated correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent PR touches agents new-submission PR adds at least one new contribution skill-check-error Skill validator reported errors

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants