devexpress-xaf-business-model

devexpress-xaf-business-model is a skill for Claude Code from DevExpress/agent-skills. It costs 146 tokens per session (3,981 once invoked), scanned A, original, MIT.

A coding guide for defining the data model in DevExpress XAF applications, including the C# classes that represent stored business data and its relationships.

In plain words
What is it for?
Use it to create entities, define relationships, configure database mappings and migrations, register types, seed initial data, and control generated editors.
Why use it?
It helps connect model classes to database tables and generated screens without having to remember separate setup rules for EF Core and XPO.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: names the AskUserQuestion tool; mentions Claude Code.

Part of the dx-xaf plugin — 13 skills shipped together

Good fit Use it to create entities, define relationships, configure database mappings and migrations, register types, seed initial data, and control generated editors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devexpress/agent-skills/devexpress-xaf-business-model
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DevExpress/agent-skills --skill devexpress-xaf-business-model
Clone the repo
git clone --depth 1 https://github.com/DevExpress/agent-skills

Made for: Claude Code.

Or install dx-xaf, the plugin that ships this one along with the rest of its 13 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for devexpress-xaf-business-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-xaf-business-model/github.svg)](https://agentmods.dev/skills/devexpress/agent-skills/devexpress-xaf-business-model)
Your own site
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-xaf-business-model"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-xaf-business-model/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for devexpress-xaf-business-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-xaf-business-model"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-xaf-business-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,981 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00146 $0.03981
Opus 5.5 $0.00058 $0.01592
Sonnet 5.5 $0.00029 $0.00796
Haiku 4.5 $0.00015 $0.00398

Measured 10d ago against content hash 7d3524d9f70c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devexpress-xaf-business-model scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dx-xaf/skills/devexpress-xaf-business-model/SKILL.md · 272 lines

How it starts

The opening of the file, as written. The whole thing — 272 lines — stays where its author put it; the contents beside it link to each section on GitHub.

DevExpress XAF — Business Model Design

XAF business model classes define your database schema and drive UI generation. You declare C# classes with properties; XAF maps them to database tables, generates List Views and Detail Views, and wires up property editors automatically. Both Entity Framework Core and XPO are supported as the underlying ORM.

When to Use This Skill

Use this skill when you need to:

  • Create a new business class (entity) for an XAF application
  • Choose the right base class (EF Core BaseObject vs XPO BaseObject/XPObject/XPCustomObject)
  • Define one-to-many, many-to-many, one-to-one, or aggregated relationships
  • Apply XAF attributes to control UI and metadata ([DefaultClassOptions], [ModelDefault], [XafDisplayName], etc.)
  • Register entity types in DbContext (EF Core) or ModuleBase.AdditionalExportedTypes (XPO)
  • Supply initial/seed data via the Updater.UpdateDatabaseAfterUpdateSchema() method
  • Configure EF Core migrations or automatic schema updates
  • Initialize default property values via IXafEntityObject.OnCreated() or AfterConstruction()
  • Map property types to built-in property editors
  • Reverse-engineer an existing database into EF Core entities

Prerequisites & Installation

NuGet Packages

Package Purpose
DevExpress.ExpressApp.EFCore EF Core Object Space provider
DevExpress.Persistent.Base XAF attributes and interfaces (DefaultClassOptionsAttribute, IXafEntityObject, etc.)
DevExpress.Persistent.BaseImpl.EF Built-in EF Core base classes (BaseObject, PermissionPolicyUser, etc.)
DevExpress.ExpressApp.Xpo XPO Object Space provider (XPO projects only)
DevExpress.Persistent.BaseImpl.Xpo Built-in XPO base classes (XPO projects only)
dotnet add package DevExpress.ExpressApp.EFCore
dotnet add package DevExpress.Persistent.BaseImpl.EF

Important: All DevExpress packages in a project must share the same version number (e.g., 26.1.x). A valid DevExpress license is required.

Read the full file on GitHub · 272 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 272 lines · 146 tokens per session scan A 7d3524d9f70c

Subscribe to this mod's changes

devexpress-xaf-business-model is a skill published in the GitHub repository DevExpress/agent-skills (66 stars, last pushed 11d ago), licensed MIT. It adds 146 tokens to every session and 3,981 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-20.

Related

Other skills, from other repositories

spring-data-redis

Use when implementing caching, session storage, rate limiting, or any Redis integration. Covers cache-aside pattern, key naming, TTL strategy, and serialization config.

rrezartprebreza/spring-boot-skills · 37 tokens

transactional-patterns

Use when defining or debugging Spring Boot 3 database transaction boundaries, rollback, propagation, optimistic-lock retries, or commit-bound events. For duplicate HTTP commands use idempotency-patterns; for reactive transactions use webflux-reactive-patterns.

rrezartprebreza/spring-boot-skills · 53 tokens

spring-data-jpa

Use when generating JPA entities, repositories, queries, or anything touching the persistence layer. Covers entity conventions, N+1 prevention, projections, and query patterns.

rrezartprebreza/spring-boot-skills · 38 tokens

idempotency-patterns

Use when making retried HTTP commands or message processing safe against duplicate effects, including database-backed request keys, payload conflicts and concurrent retries. Do not apply caching as a substitute for business idempotency.

rrezartprebreza/spring-boot-skills · 46 tokens

multi-tenancy

Use when implementing tenant resolution, database or schema isolation, tenant-aware JPA, reactive tenant context, migrations, caching, jobs, or authorization in Spring Boot 3.

rrezartprebreza/spring-boot-skills · 38 tokens

convex-database

Convex schemas, queries, mutations, actions, auth, migrations and components. Use when designing a Convex schema, writing Convex functions, setting up Convex auth, or migrating Convex data.

monkilabs/opencastle · 46 tokens