بنقرة واحدة
axon-ivy-data
Rules and patterns for Axon Ivy data classes (.d.json files).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Rules and patterns for Axon Ivy data classes (.d.json files).
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Rules and best practices for Axon Ivy HTML Dialog implementations including PrimeFaces, PrimeFlex, CSS, JS, and Ivy components.
Rules and patterns for the `com.axonivy.utils.persistence` library — the Axon Ivy community helper around JPA. Covers `AuditableIdEntity`, `AuditableIdDAO`, `CriteriaQueryContext`, and `UpdateQueryContext`. Use whenever Java code in `src/` reads or writes data through a DAO that extends `AuditableIdDAO` or an entity that extends `AuditableIdEntity`.
Rules and patterns for creating, editing, reviewing, and fixing Axon Ivy workflow processes (.p.json files). Use this when working with any .p.json file — including checking existing processes for errors, reviewing script code, or fixing IvyScript issues.
Verification checklist for Axon Ivy process files (.p.json). Use this whenever a .p.json file is created, modified, or reviewed — either after axon-ivy-process skill, or when a user asks to check, verify, or fix a process file for errors.
Master router skill for all requirement clarification, create story, development, review, and testing tasks. Detects user intent and orchestrates the correct path using specialized skills and parallel subagents.
Rules and patterns for sending email from an Axon Ivy project. Covers sender / recipient resolution, subject and body templating, attachments, and the recommended builder pattern for one mail type per class. Use whenever Java code or a process step composes or sends an email.
| name | axon-ivy-data |
| description | Rules and patterns for Axon Ivy data classes (.d.json files). |
.d.json data class files (master data for processes or dialogs)axon-ivy-workflow-guide - Step-by-step workflow creationaxon-ivy-process - For process that uses these data classesMANDATORY: After creating or modifying any .d.json file, run Maven build to regenerate the Java source classes:
mvn clean install -f <project-directory>/pom.xml
This generates the corresponding Java classes in src_dataClasses/ (for dialog data) or compiles the data class definitions so they are available at runtime. Without this step, the process engine will not see the updated fields.
| Type | Location | Purpose |
|---|---|---|
| Master Data | dataclasses/ | Workflow state container |
| Dialog Data | src_dataClasses/ | Auto-generated UI bindings |
See schema.json in this skill folder for full JSON schema reference.
Required fields: simpleName, namespace
Field properties: name (required), type, modifiers, comment, annotations
Modifiers: PERSISTENT, ID, GENERATED, NOT_NULLABLE, UNIQUE, NOT_UPDATEABLE, NOT_INSERTABLE, VERSION
| Type | JSON value | Notes |
|---|---|---|
| String | omit "type" (default) | Text, IDs, dates returned by AI |
| Boolean | "Boolean" | true/false flags |
| Integer | "java.lang.Integer" | Whole numbers, quantities |
| Double | "java.lang.Double" | Prices, amounts, rates |
| BigDecimal | "java.math.BigDecimal" | High-precision financial calculations |
| LocalDate | "java.time.LocalDate" | Date only (yyyy-MM-dd) |
| LocalDateTime | "java.time.LocalDateTime" | Full timestamp |
| File | "java.io.File" | Uploaded file handle |
| InputStream | "java.io.InputStream" | File content stream (for AI extraction) |
| List of objects | "List<com.example.Item>" | Use fully-qualified type name |
| List of strings | "List<String>" | Simple string lists |
| Nested object | "com.example.Address" | Use fully-qualified class name |
| Enum | "com.example.Status" | Use fully-qualified enum name |
Double vs BigDecimal: Use Double for display and simple calculations. Use BigDecimal only for strict financial rounding requirements.
Dates from AI extraction: Prefer String (AI returns ISO format strings). Parse to LocalDate in a Script element only when needed for business logic comparisons.
{
"$schema" : "https://json-schema.axonivy.com/14.0-dev/project/data-class.json",
"simpleName" : "OnboardingData",
"namespace" : "hr.onboarding",
"fields" : [ {
"name" : "onboarding",
"type" : "hr.onboarding.model.Onboarding",
"modifiers" : [ ]
}, {
"name" : "status",
"modifiers" : [ ]
} ]
}
{
"$schema" : "https://json-schema.axonivy.com/14.0-dev/project/data-class.json",
"simpleName" : "HiringData",
"namespace" : "hr.hiring",
"fields" : [ {
"name" : "candidate",
"type" : "hr.hiring.model.Candidate",
"modifiers" : [ ],
"comment" : "The candidate being processed"
}, {
"name" : "approved",
"type" : "Boolean",
"modifiers" : [ ]
} ]
}
{
"$schema" : "https://json-schema.axonivy.com/14.0-dev/project/data-class.json",
"simpleName" : "ProjectData",
"namespace" : "project.management",
"fields" : [ {
"name" : "tasks",
"type" : "List<project.model.Task>",
"modifiers" : [ ]
}, {
"name" : "notes",
"type" : "List<String>",
"modifiers" : [ ]
} ]
}