devexpress-wpf-dependency-injection

devexpress-wpf-dependency-injection is a skill for Claude Code from DevExpress/agent-skills. It costs 151 tokens per session (2,700 once invoked), scanned A, original, MIT.

A guide to adding dependency injection to a DevExpress WPF application. Dependency injection is a way to have the application create and supply services and view models instead of constructing them directly throughout the code.

In plain words
What is it for?
Use it to register services and view models with Microsoft's .NET container or Generic Host, connect the container to DevExpress MVVM, and wire dependencies through XAML or code.
Why use it?
It helps move object creation into one composition root, configure service lifetimes, and migrate an existing application without overlooking where views, view models, or services are created.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code.

Part of the dx-wpf plugin — 18 skills shipped together

Good fit Use it to register services and view models with Microsoft's .NET container or Generic Host, connect the container to DevExpress MVVM, and wire dependencies through XAML or code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/devexpress/agent-skills/devexpress-wpf-dependency-injection
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-wpf-dependency-injection
Clone the repo
git clone --depth 1 https://github.com/DevExpress/agent-skills

Made for: Claude Code.

Or install dx-wpf, the plugin that ships this one along with the rest of its 18 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-wpf-dependency-injection

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/devexpress/agent-skills/devexpress-wpf-dependency-injection"><img src="https://agentmods.dev/badge/skills/devexpress/agent-skills/devexpress-wpf-dependency-injection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,700 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.00151 $0.02700
Opus 5.5 $0.00060 $0.01080
Sonnet 5.5 $0.00030 $0.00540
Haiku 4.5 $0.00015 $0.00270

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

Security

Grade A, and why

devexpress-wpf-dependency-injection 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 3d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check-di.ps1, scripts/smoke-run.ps1), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-wpf/skills/devexpress-wpf-dependency-injection/SKILL.md · 92 lines

How it starts

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

Read this file to the end before acting: the order of the steps is what makes the migration safe, and skipped steps are the ones that break the app at startup.

Step 1 — Inspect

In a git working tree, first record which files already have uncommitted changes: run the check script with -Baseline (see "Running the scripts"). Line endings are later restored only in the files you change.

Count the project's .cs and .xaml files (Glob, excluding bin/obj).

  • Up to 40 files: inspect yourself per references/detection.md — you will read these files to edit them anyway.
  • More, or several projects: spawn inspect (see Subagent protocol) and afterwards open only the files you are going to change. Without a sub-agent dispatch tool, inspect yourself per detection.md whatever the size: search with the patterns it lists first, then read only the files the hits point to.

Either way the result is the same list: DevExpress version and package, target framework, any existing container or host, and every place a view model, view or service is created, classified per detection.md.

Step 2 — Choose the wiring

Apply references/wiring.md to the inspection facts. It decides:

  • built-in IocServiceProvider + {dxmvvm:Ioc} or a custom markup extension (by DevExpress version and package);
  • extend an existing container, or create one — never a second one;
  • Generic Host or plain ServiceCollection.

State the choice and the fact behind each part in one or two lines.

Step 3 — Plan

List every creation site from Step 1 with what it becomes, and every registration with its lifetime from references/lifetimes.md. Show the list and continue with Step 4 in the same turn, unless the user asked to review the plan before any change. The host's own approval of file edits and commands still applies. Stop only for a question the code cannot answer, one at a time, with a structured question tool if available. If nobody can answer (unattended run), take the default from lifetimes.md, say so, and continue.

Read the full file on GitHub · 92 lines

Files

What ships with it

10 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. 3d ago First seen · 92 lines · 151 tokens per session scan A 523d8b44a5c1

Subscribe to this mod's changes

devexpress-wpf-dependency-injection is a skill published in the GitHub repository DevExpress/agent-skills (66 stars, last pushed 4d ago), licensed MIT. It adds 151 tokens to every session and 2,700 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

TEMPLATE

../../../agents/personas/TEMPLATE.md.

alirezarezvani/claude-skills · 0 tokens

amazon-location-service

Integrates Amazon Location Service APIs for AWS applications. Use this skill when users want to add maps (interactive MapLibre or static images); geocode addresses to coordinates or reverse geocode coordinates to addresses; calculate routes, travel times, or service areas; find places and businesses through text…

awslabs/agent-plugins · 107 tokens

amplify-workflow

Build and deploy full-stack web and mobile apps with AWS Amplify Gen2 (TypeScript code-first). Covers auth (Cognito), data (AppSync/DynamoDB including schema modeling, enum types, relationships, authorization rules), storage (S3), functions, APIs, and AI (Amplify AI Kit with Bedrock). Supports React, Next.js, Vue…

awslabs/agent-plugins · 214 tokens

aws-lambda-durable-functions

Build resilient, long-running, multi-step applications with AWS Lambda durable functions with automatic state persistence, retry logic, and orchestration for long-running executions. Covers the critical replay model, step operations, wait/callback patterns, error handling with saga pattern, testing with…

awslabs/agent-plugins · 109 tokens

api-gateway

Build, manage, and operate APIs with Amazon API Gateway (REST, HTTP, and WebSocket). Triggers on phrases like: API Gateway, REST API, HTTP API, WebSocket API, custom domain, Lambda authorizer, usage plan, throttling, CORS, VPC link, private API. Also covers troubleshooting API Gateway errors (4xx, 5xx, timeout, CORS…

awslabs/agent-plugins · 108 tokens

aws-lambda

Design, build, deploy, test, and debug serverless applications with AWS Lambda. Triggers on phrases like: Lambda function, event source, serverless application, API Gateway, EventBridge, Step Functions, serverless API, event-driven architecture, Lambda trigger. For deploying non-serverless apps to AWS, use…

awslabs/agent-plugins · 74 tokens