/arbiter-skills:arbiter-mvcfrom arbiter-skills
Provides ASP.NET Core MVC controller base classes for exposing Arbiter CQRS commands and queries via controllers instead of minimal API endpoints.
Ships in arbiter-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
ASP.NET Core MVC controller base classes that wrap the generic Arbiter.CommandQuery operations. Pick this over arbiter-endpoints if your app uses controllers, filters, model binding, or content negotiation features specific to MVC.
dotnet add package Arbiter.CommandQuery.Mvc
using Arbiter.CommandQuery;
builder.Services.AddCommandQuery();
builder.Services.AddControllers(); // standard MVC
var app = builder.Build();
app.MapControllers();
There's no special AddXxx for the MVC package — controllers register through AddControllers() like any other.
[Route("api/[controller]")]
public class ProductController
: EntityCommandControllerBase<int, ProductReadModel, ProductReadModel, ProductCreateModel, ProductUpdateModel>
{
public ProductController(IMediator mediator) : base(mediator) { }
}
That single class exposes:
GET /api/Product/{id}
GET /api/Product (paged, with query string filter/sort)
POST /api/Product
PUT /api/Product/{id}
PATCH /api/Product/{id}
DELETE /api/Product/{id}
// Read-only
[Route("api/[controller]")]
public class CategoryController : EntityQueryControllerBase<int, CategoryReadModel, CategoryReadModel>
{
public CategoryController(IMediator mediator) : base(mediator) { }
}
// Add custom action alongside the inherited CRUD
[HttpPost("import")]
public async Task<IActionResult> Import([FromBody] ImportRequest request, CancellationToken ct)
{
var result = await Mediator.Send(new ImportProducts(User, request), ct);
return Ok(result);
}
Standard MVC features ([Authorize], action filters, model binders) compose normally because each method on the base is a regular controller action.
arbiter-endpoints for lower overhead and minimal-API ergonomics.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub loresoft/arbiter --plugin arbiter-skills14 skills in this plugin
/arbiter-commandqueryUse when working with Arbiter's CQRS base layer — EntityQuery, EntityFilter, FilterOperators, SortDirections, EntityPagedQuery, EntityIdentifierQuery, EntityCreateCommand / EntityUpdateCommand / EntityPatchCommand / EntityDeleteCommand, or pipeline behaviors like validation, hybrid cache, audit, tenant, soft-delete. Trigger on AddCommandQuery, AddCommandValidation, AddEntityHybridCache./arbiter-commandquery-efUse when wiring Arbiter.CommandQuery with Entity Framework Core — registering AddEntityQueries / AddEntityCommands / AddQueryPipeline for an entity, defining DbContext-backed handlers, or implementing audited / soft-delete / tenant entities for EF Core./arbiter-commandquery-mongoUse when wiring Arbiter.CommandQuery with MongoDB — AddMongoRepository plus AddEntityQueries / AddEntityCommands for an IMongoEntityRepository<TEntity>. Trigger on IMongoRepository, IMongoEntityRepository, MongoDB document handlers./arbiter-communicationUse when sending templated email or SMS via Arbiter.Communication — AddEmailServices / AddSmsServices, IEmailDeliveryService / ISmsDeliveryService, template resolvers, or wiring a delivery provider like Azure Communication Services, Microsoft Graph, SendGrid, Twilio, or SMTP./arbiter-dispatcherUse when wiring the Blazor IDispatcher abstraction from Arbiter.Dispatcher — MessagePackDispatcher / JsonDispatcher for WebAssembly, ServerDispatcher for Server Interactive, AddDispatcherService + MapDispatcherService on the host, or component state helpers ModelStateManager / ModelStateLoader / ModelStateEditor. Trigger on Blazor Auto render mode setup./arbiter-endpointsUse when exposing Arbiter commands and queries as REST via Minimal APIs — AddEndpointRoutes, MapEndpointRoutes, EntityCommandEndpointBase, EntityQueryEndpointBase, IEndpointRoute. Trigger on Minimal API endpoint registration for CRUD entities.Other plugins' skills for the same job