devexpress-xaf-business-logic

devexpress-xaf-business-logic is a skill for Claude Code from DevExpress/agent-skills. It costs 186 tokens per session (2,765 once invoked), scanned A, original, MIT.

A coding guide for creating and changing data in DevExpress XAF through Object Space, the framework's common layer for database operations.

In plain words
What is it for?
Use it to create, read, update, and delete objects; query by keys or conditions; commit changes; and react when objects are saved or changed.
Why use it?
It lets business logic work with either EF Core or XPO without tying every operation to one database library, while covering save and change events.

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, read, update, and delete objects; query by keys or conditions; commit changes; and react when objects are saved or changed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devexpress/agent-skills/devexpress-xaf-business-logic
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-logic
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-logic

README.md
[![agentmods](https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-xaf-business-logic/github.svg)](https://agentmods.dev/skills/devexpress/agent-skills/devexpress-xaf-business-logic)
Your own site
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-xaf-business-logic"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-xaf-business-logic/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-logic

Your own site · 80×15
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-xaf-business-logic"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-xaf-business-logic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,765 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.00186 $0.02765
Opus 5.5 $0.00074 $0.01106
Sonnet 5.5 $0.00037 $0.00553
Haiku 4.5 $0.00019 $0.00277

Measured 10d ago against content hash 9550ba210415, 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-logic 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-logic/SKILL.md · 220 lines

How it starts

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

DevExpress XAF — Business Logic & CRUD Operations

All data manipulation in XAF applications flows through the Object Space — an ORM-independent abstraction implementing the Repository and Unit of Work patterns. This skill covers creating, reading, updating, and deleting objects, handling Object Space events, and implementing business logic in controllers and business classes.

ORM Detection — Composite Skill Pattern

Before generating code, inspect the project:

  1. Check using directives for DevExpress.Xpo, DevExpress.Persistent.BaseImpl (XPO indicators)
  2. Check .csproj for DevExpress.ExpressApp.Xpo package references
  3. If XPO is detected, also load devexpress-xaf-business-logic-xpo for XPO-specific patterns (Session, UnitOfWork, XPCollection, NestedUnitOfWork, AfterConstruction/OnSaving overrides)

This base skill covers the ORM-independent IObjectSpace API used by both EF Core and XPO applications.

When to Use This Skill

  • Create new persistent objects and save them to the database
  • Load objects by key, criteria, or LINQ query
  • Delete objects programmatically
  • Handle save/commit lifecycle events (Committing, Committed, ObjectSaving)
  • React to property changes (ObjectChanged, ModifiedChanged)
  • Refresh or rollback unsaved changes
  • Access Object Space in controllers, business classes, Updater, or ASP.NET Core services
  • Create additional Object Spaces for bulk operations or popup views
  • Implement business logic in IXafEntityObject lifecycle hooks

Prerequisites & Installation

Package Purpose
DevExpress.ExpressApp Core XAF framework, IObjectSpace, IXafEntityObject, IObjectSpaceLink
DevExpress.ExpressApp.EFCore EFCoreObjectSpace implementation
DevExpress.Persistent.Base Attributes (DefaultClassOptionsAttribute, ActionAttribute, etc.)
DevExpress.Persistent.BaseImpl.EF BaseObject for EF Core (implements IXafEntityObject + IObjectSpaceLink)

Before You Start — Ask the Developer

Read the full file on GitHub · 220 lines

Files

What ships with it

6 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 · 220 lines · 186 tokens per session scan A 9550ba210415

Subscribe to this mod's changes

devexpress-xaf-business-logic is a skill published in the GitHub repository DevExpress/agent-skills (66 stars, last pushed 11d ago), licensed MIT. It adds 186 tokens to every session and 2,765 once invoked, about $0.0007 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