Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A comprehensive Claude Agent Skill for 4D development - ORDA, queries, forms, and version compatibility guidance

License

Notifications You must be signed in to change notification settings

Ganbin/4d-development-skill

Repository files navigation

4D Development Expert Skill

Work in Progress: This skill is being refined based on real-world usage. Feedback and contributions welcome!

A Claude Agent Skill for 4D development, providing expert guidance on ORDA patterns, queries, forms, and version compatibility.

What It Does

Transforms Claude into a 4D development expert:

  • Modern ORDA patterns (Entity classes, DataClass methods)
  • Classic 4D methods (Arrays, process variables)
  • Query syntax (basic to advanced with formulas)
  • Data types and conversions
  • Error handling (Try/Catch and ON ERR CALL)
  • Form development (JSON forms, events)
  • Version compatibility (focus on 4D v19.2 LTS)

Installation

Using npx skills (Recommended):

npx skills add Ganbin/4d-development-skill

Manual install:

git clone https://github.com/Ganbin/4d-development-skill.git
cp -r 4d-development-skill ~/.claude/skills/4d-development

Then restart Claude Code. The skill activates automatically when working with 4D files.

Learn more: Agent Skills Documentation

Customization

Add project-specific conventions to .claude/CLAUDE.md in your project:

## 4D Project Conventions

### Documentation
- All comments in French
- Use XML documentation tags

### Naming
- Methods: `Category_Action`
- Classes: `PascalCase`

For advanced customization, see local/README.md.

Usage Examples

"Query all active patients in ORDA"
"Create an entity class for Patient with validation"
"Is Try/Catch available in 4D 19.2?"
"Build a patient list form with search"
"Convert this array code to collections"

Structure

  • SKILL.md - Main entry point
  • references/ - Documentation (loaded progressively)
  • local/ - Your private customizations (gitignored)

Contributing

Work in progress - contributions welcome!

  • Bug fixes and improvements
  • Support for newer 4D versions
  • Additional patterns and examples

Keep contributions generic - avoid company-specific code.

License

MIT License - See LICENSE

Resources

About

A comprehensive Claude Agent Skill for 4D development - ORDA, queries, forms, and version compatibility guidance

Topics

Resources

Readme

License

MIT license

Stars

Watchers

Forks

Contributors

Languages