Cratis/AI

Free, MIT-licensed AI skills, rules, and agent guidance for building event-sourced and CQRS applications with the Cratis ecosystem (preview).

This repository also configures its own agents. See what AI tells them →

2Stars on the repository
120Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

Cratis/AI

Skill Claude CodeCodex

Create strongly typed Cratis domain values with ConceptAs and Chronicle event-source identities with EventSourceId . Use when a C# domain value has meaning beyond its primitive or when an identity is actually used as a Chronicle event-source/stream ID. Do not use for enums, DTO-only transport values, arbitrary…

not rated 2 today A 82 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Classify Studio MCP requests and interpret already-redacted output without discovering or invoking operations. Use whenever a user asks an agent to inspect, query, change, navigate, or automate Studio through MCP, or asks whether a Studio MCP operation is safe. No Studio MCP implementation authority is admitted, so…

not rated 2 today A 76 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Add OpenTelemetry tracing to a class in the Chronicle repository using the Cratis.Traces [Span] source generator, keyed IActivitySource injection, and the Chronicle tag extensions. Use when instrumenting Chronicle kernel or client internals; this is contributor guidance for the Chronicle repository itself, not for an…

not rated 2 today A 78 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Apply the Cratis C# house conventions when writing or reviewing C# in a Cratis repository - formatting, naming, records and primary constructors, nullable handling, XML documentation, custom exceptions, structured logging, dependency injection, and service lifetimes. Use for any "how should this be written" C# style…

not rated 2 today A 86 tokens original MIT

Cratis/AI

Skill Claude CodeCodex needs its repo

Write specifications for the React and TypeScript surface of a Cratis application slice — view models, helpers, command orchestration, and narrow component behavior — using Vitest with Mocha-style describe/it, Sinon, and the Chai should interface. Use when adding or changing frontend behavior in an application that…

not rated 2 today A 89 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Wire authentication, authorization and identity in a Cratis Arc application — IProvideIdentityDetails and the /.cratis/me endpoint, the [Authorize]/[Roles]/[AllowAnonymous] attributes Arc actually evaluates, IAuthenticationHandler, the Microsoft Identity Platform header contract, tenant resolution, and the React…

not rated 2 today A 107 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Execute an existing Cratis Arc command from backend code through ICommandPipeline — the scopeless and scoped overloads, the typed Execute , the pre-flight Validate, validation severity filtering, and how to read CommandResult. Use when a reactor, background job, scheduled task, or backend service must run a command…

not rated 2 today A 82 tokens original MIT

cratis-arc-command

56

Cratis/AI

Skill Claude CodeCodex

Define a Cratis Arc command — the [Command] record, its Handle() method and return shape, the optional Provide() step, and the generated TypeScript proxy. Use when adding a command, choosing what Handle() should return, deciding which values may reach the causation chain, or wiring a form or button to an Arc backend.…

not rated 2 today A 90 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Change an Entity Framework Core schema in a Cratis Arc application — the DbContext base types Arc provides, the cross-database column helpers, JSON columns, how a migration is created and applied, and how an EF Core read model becomes injectable into a command. Use when adding or changing a table, column…

not rated 2 today A 93 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Inspect a Cratis Arc observable query from a terminal with curl or another plain HTTP client — snapshot GET, waiting for the first result, Server-Sent Events streaming, and long polling, plus the exact query-string keys, status codes, and payload shape. Use when debugging or exploring an observable query without…

not rated 2 today A 82 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Add server-side paging and sorting to a Cratis Arc read-model query — which return shapes Arc pages, the exact query-string keys, sorting pitfalls per storage provider, and the paged frontend hooks. Use when a list query can grow large enough that returning every row is wasteful, or needs server-side sorting. Do not…

not rated 2 today A 84 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Build a React page in a Cratis Arc application with Cratis Components — DataPage lists, columns, toolbar menu items, command dialogs, confirmation and busy-indicator dialogs, row selection, details panes, snapshot and observable queries, paging, and MVVM view models. Use when building or changing a page that lists or…

not rated 2 today A 126 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Inspect and operate a running Chronicle server with the cratis CLI - contexts and connection resolution, machine-readable output, failed partitions, observers, event sequences, read models, projections and jobs, and the authorization discipline for replay, retry, quarantine clearing and other mutations. Use when the…

not rated 2 today A 92 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Talk to a Chronicle server from a standalone .NET application with the Cratis.Chronicle client - connection strings, ChronicleClient construction outside any host, AddCratisChronicle for a worker or ASP.NET host, [EventType] records, IEventSequence.Append, reactors and reducers found by assembly scanning, the…

not rated 2 today A 123 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Talk to a Chronicle server from an Elixir application with the cratischronicle Hex package - putting Chronicle.Client in a supervision tree, connection strings, use Chronicle.Events.EventType structs, Chronicle.append returning ok or error tuples, reactors with the @handles attribute and a handle/2 callback…

not rated 2 today A 112 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Talk to a Chronicle server from a Kotlin or Java application with the io.cratis:chronicle client - connection strings, ChronicleClient and the Spring Boot starter, @EventType classes, suspending append, reactors and reducers dispatched by first-parameter type, model-bound read models, classpath artifact discovery, and…

not rated 2 today A 121 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Talk to a Chronicle server from a Node.js or TypeScript application with @cratis/chronicle - reflect-metadata and decorator compiler settings, ChronicleClient and connection strings, @eventType classes, eventLog.append, reactors and reducers dispatched by camelCase method name, model-bound and declarative projections…

not rated 2 today A 128 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Model personal data in Chronicle with [PII] and [Subject], and erase it through crypto-shredding with IPIIManager. Use when an event or read model carries data about a natural person, when a subject must be identified for erasure, when a right-to-erasure request must be executed, or when redacting a stored event. Do…

not rated 2 today A 97 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Design a Chronicle event model before writing code - stream boundaries and event-source identities, commands, past-tense events, read models, automations and translations, compliance subjects, and the specification outline. Use when behavior, event vocabulary, stream boundaries, or a multi-slice flow is not yet…

not rated 2 today A 97 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Evolve a Chronicle event schema without breaking replay - add a generation and an EventTypeMigration so stored events upcast into the new shape. Use when an event needs a new required property, a renamed or split property, a structural change, or a changed enum value after events of the prior shape already exist. Do…

not rated 2 today A 93 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Isolate tenants in Chronicle with namespaces - what a namespace actually isolates, how a namespace is selected and resolved through IEventStoreNamespaceResolver, how namespaces come into existence, and the code rules that let a single-tenant deployment grow a second tenant. Use when setting up tenancy, when writing…

not rated 2 today A 100 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Add Chronicle projection behavior to an existing read model - model-bound attributes first, the fluent IProjectionFor builder when they cannot express the shape. Covers AutoMap, keys, children and nested types, counters, event-sequence selection, and the startup-crash traps. Use when populating a read model from…

not rated 2 today A 98 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Implement a Chronicle IReactor - an automation that causes an external side effect, or a translation that appends follow-up events. Covers handler dispatch and parameter resolution, every supported return type, targeting another event source, replay handling with [OnceOnly] and [Replay], event filtering, failure and…

not rated 2 today A 91 tokens original MIT

Cratis/AI

Skill Claude CodeCodex

Create a Chronicle read model and its query surface - past-tense event types, the read-model record and its key, choosing a projection or a reducer to build it, snapshot versus observable queries, and reading an instance directly through IReadModels. Use when creating a read model from scratch; for changing how an…

not rated 2 today A 81 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: