Cratis
- 274 skills
- 0 followers
- 5 days ago last updated
- ▌ Cratis Lens Browser Extension 2 · cratis bundleUse when setting up Lens for a development Arc application, diagnosing app detection or checking switched identities and tenants. Not for production authentication, authorization design or Chronicle inspection.
- ▌ Cratis Screenplay Projections · cratis bundleUse when declaring Screenplay event-to-state mappings, a graph projection onto nodes and edges, or diagnosing a .play projection's keys, joins, children or lifecycle variants. Not for hand-written C# Chronicle projections or read-model query contracts.
- ▌ Cratis Chronicle Client Dotnet 2 · cratis bundleUse when connecting a standalone .NET console, worker or service directly to Chronicle or diagnosing its client lifecycle. Not for Arc integration, kernel implementation or another language's client.
- ▌ Cratis Chronicle Client Elixir 2 · cratis bundleUse when adding Chronicle to an Elixir OTP application, defining its event structs, declaring a graph with the node and edge DSL, or handling client append outcomes. Not for JVM or Node.js clients; use the corresponding Chronicle client sibling.
- ▌ Cratis Chronicle Client Kotlin 2 · cratis bundleUse when connecting a standalone Kotlin or Java application to Chronicle, including client registration and lifecycle issues. Not for Arc commands, Elixir OTP or Node.js clients.
- ▌ Cratis Screenplay Discovery · cratis bundleUse when discovering a domain's event timeline from interviews, workshops or process documents for a .play model. Not for command and view design, finished-model review or extracting behavior from existing code.
- ▌ Cratis Screenplay Toolchain · cratis bundleUse when selecting a Screenplay compiler, running verdict checks or interpreting PLAY, STAGE and CLI diagnostics. Not for modeling phase decisions, AST editing proposals or the end-to-end rendering workflow.
- ▌ Prioritizing Technical Debt · cratis bundleUse when users with a CodeScene instance ask what to improve first across a project, which hotspots matter most, or how to rank refactoring candidates. Only in repositories that opted into the cratis/codescene profile and have CodeScene MCP tools available; otherwise do not use.
- ▌ Analyzing Dotnet Performance · cratis bundleUse when reviewing .NET hot paths or scanning source for allocation-heavy and inefficient patterns. Not for measuring a running process, benchmark design or SIMD optimization.
- ▌ Cratis Arc Command Execution 2 · cratis bundleUse when a reactor, job or backend service must execute an existing Arc command without an HTTP request. Not for defining a command or appending another stream's events directly.
- ▌ Cratis Arc Command Operation · cratis bundleUse when moving immediate service writes into returned Arc command operations or diagnosing their compensation and recovery. Not for durable after-commit delivery or validation-only changes.
- ▌ Cratis Arc Ef Core Migration 2 · cratis bundleUse when adding or changing an EF Core table, column, relationship or index behind an Arc application. Not for Chronicle read-model projections or query paging.
- ▌ Cratis Arc Validation Kotlin · cratisUse when adding shared fluent rules or server-side rejection checks to Kotlin or Java Arc commands and queries. Not for C# or Node.js validators, new command definitions or append-time uniqueness.
- ▌ Cratis Documentation Writing 2 · cratis bundleUse when planning a Cratis documentation reader journey, choosing a page's purpose or reviewing its structure. Not for example execution, release notes or publication; use the corresponding specialist.
- ▌ Cratis Specifications Csharp 2 · cratis bundleUse when adding or restructuring C# specifications, choosing their fixture surface or extracting reusable contexts in a Cratis repository. Not for TypeScript tests or deciding production behavior.
- ▌ Directory Build Organization · cratis bundleUse when projects repeat MSBuild policy or an existing Directory.Build hierarchy has import, placement or layering defects. Not for isolated property semantics, legacy migration or a lone project without shared build files.
- ▌ Eliminate Redundant Restores · cratis bundleUse when multiple .NET build steps repeat NuGet restore or suppressing restore causes NETSDK1004 or NETSDK1047. Not for a slow first restore, version conflicts, lock-file errors or general build slowness.
- ▌ Cratis Arc Command Typescript · cratis bundleUse when bootstrapping an Arc Node.js server or defining its TypeScript commands. Not for frontend proxy consumption, validation-only changes or server queries; use the corresponding Arc sibling.
- ▌ Cratis Components Toolbar 2 · cratis bundleUse when building a Cratis drawing or diagram tool palette, zoom strip or icon-button group with active modes and fan-out panels. Not for page actions over a data table; use cratis-arc-react-page.
- ▌ Cratis Onboarding Runtime · cratis bundleUse when running or deploying the onboarding of a Screenplay application, meaning configuring the application's Ante from the onboarding contract or declaring a Showrunner Stage Manager `Performance` that runs the application with its AuthProxy and Ante. Not for authoring the model or for Ante used by a host product.
- ▌ Cratis Performance Review 2 · cratis bundleUse when auditing Cratis application changes for runtime scalability, replay cost, query shape, payload size or React render cost. Not for ordinary implementation, CI workflow speed or paging syntax alone.
- ▌ Cratis Technical Examples · cratis bundleUse when adding or reviewing runnable Cratis examples, tutorial projects, multi-client snippets or command/output pairs. Not for page placement, release notes or treating rendering as compilation proof.
- ▌ Including Generated Files · cratis bundleUse when a file generated during MSBuild is missing from compilation or output because of target timing, globs or item registration. Not for general item semantics, duplicate declarations or Roslyn generator internals.
- ▌ Cratis Chronicle Client Go · cratis bundleUse when connecting Go to Chronicle, registering client observers or deciding gRPC ownership and append retries. Not for Arc HTTP commands or Chronicle kernel implementation.
- ▌ Cratis Developer Marketing · cratis bundleUse when planning developer-content distribution, a launch, channel selection, repurposing or adoption measurement. Not for drafting individual posts, voice edits, content length, release notes or code examples.
- ▌ Cratis Event Model Diagram 2 · cratis bundleUse when drawing or updating a Mermaid eventmodeling diagram to match an already-decided Cratis model or code flow. Not for choosing event vocabulary, stream boundaries or behavior.
- ▌ Cratis Orchestration Lanes · cratis bundleUse when coordinating two or more autonomous sessions in one repository, including lane claims, messages, briefs and handoffs. Not for one session with subagents, claiming one issue or scheduling reviews and CI.
- ▌ Cratis Arc Query Typescript · cratis bundleUse when declaring Arc Node.js read-model queries or observable endpoints. Not for React proxy consumption, server commands or Chronicle event materialization.
- ▌ Cratis Chronicle Compliance 2 · cratis bundleUse when Chronicle events or read models contain personal data, an erasure subject must be identified or stored events need redaction. Not for authentication, operational secrets or generic data-protection policy.
- ▌ Cratis Chronicle Projection 2 · cratis bundleUse when populating an existing Chronicle read model through event mappings, structured joins or lifecycle variants, projecting events onto a graph with nodes and edges, or diagnosing projection startup failures. Not for new query surfaces or external side effects.
- ▌ Cratis Chronicle Read Model 2 · cratis bundleUse when creating a Chronicle read model from scratch or choosing its C# Arc query surface. Not for changing only an existing model's event mappings or state transitions; use the projection or reducer sibling.
- ▌ Cratis Engineering CI Gates · cratis bundleUse when choosing CI-matched local gates, waiting for exact workflow runs or considering cancellation of owned superseded checks. Not for delivery grouping, review rounds or optimizing workflow design.
- ▌ Cratis Fundamentals Concept 2 · cratis bundleUse when a C# or TypeScript domain value needs a distinct type, a concept generates a value or an identity addresses a Chronicle stream. Not for enums, DTO-only values, Go concepts or event migration.
- ▌ Cratis Discoverability · cratis bundleUse when checking Cratis search discoverability, metadata, adoption claims, structured data or indexing before publication. Not for page voice, export architecture, distribution strategy or content length.
- ▌ Cratis Security Review 2 · cratis bundleUse when auditing a Cratis application change for security, especially permissions, untrusted input, secrets or permanent event-log exposure. Not for implementing authentication or general style review.
- ▌ Cratis Session Handoff · cratis bundleUse when a long session nears its context limit, a milestone ends, or work must continue in a fresh session; also for keeping a running state note. Not for coordinating parallel lanes (cratis-orchestration-lanes).
- ▌ Cratis Arc Query Kotlin · cratisUse when exposing Kotlin or Java Arc read-model queries, including observable streams. Not for commands, Node.js queries or Chronicle event materialization; use the corresponding sibling.
- ▌ Cratis Arc Query Paging 2 · cratis bundleUse when an existing Arc list query needs server-side paging or sorting, or a paged query fails with `Expression not supported`. Not for general query creation or a broad performance review.
- ▌ Cratis Social Feed Post · cratis bundleUse when drafting, adapting or reviewing a short social-feed post or choosing its media. Not for documentation, release notes, long-form articles or Markdown content; length, voice and distribution have separate skills.
- ▌ Cratis Arc Configuration · cratis bundleUse when choosing, changing or diagnosing C# Arc settings, defaults, ArcOptions, appsettings keys, read protection, MongoDB or EF Core keys, or React provider props. Not for command design, hosting setup or Chronicle kernel settings.
- ▌ Cratis Chronicle Hosting · cratis bundleUse when deploying the Chronicle kernel, preparing production topology or diagnosing kernel startup, certificates and clustering. Not for application client wiring, Orleans grain implementation or live-store mutation.
- ▌ Cratis Chronicle Reactor 2 · cratis bundleUse when Chronicle events must trigger external effects, follow-up commands or translated facts, or a reactor's replay and failure behavior needs diagnosis. Not for populating a queryable read model.
- ▌ Cratis Chronicle Reducer 2 · cratis bundleUse when a Chronicle read-model transition needs branching, calculations or guards over prior state, or a reducer's discovery and delivery need diagnosis. Not for ordinary event-to-property mappings or external side effects.
- ▌ Cratis Showrunner Herald · cratis bundleUse when a Cratis .NET application sends email such as invitations or welcome messages with Herald (`Cratis.Showrunner.Herald`), including `AddHerald`, `IEmails`, email templates and images, SMTP or the development folder transport. Not for a custom SMTP client or for Ante's token issuance.
- ▌ Cratis Arc Command Kotlin · cratis bundleUse when defining a Kotlin or Java Arc command, choosing its handler return shape or returning Chronicle events. Not for validation-only changes or query definitions.
- ▌ Cratis Arc Testing Kotlin · cratisUse when writing or diagnosing Kotlin or Java Arc pipeline specifications without Spring Boot or a kernel. Not for standalone Chronicle client tests, C# scenarios or defining production commands and queries.
- ▌ Cratis Components Styling 2 · cratis bundleUse when setting up Cratis Components styles, fixing unstyled components or changing themes, tokens and component parts. Not for component binding APIs or page composition.
- ▌ Dotnet Aot Compat · cratis bundleUse when resolving .NET trim or AOT analyzer warnings, annotating reflection or enabling IsAotCompatible. Not for native binary publication, size optimization, library replacement or .NET Framework.
- ▌ Microbenchmarking · cratis bundleUse when authoring or reviewing BenchmarkDotNet benchmarks or comparing .NET code paths with controlled microbenchmarks. Not for runtime profiling, production telemetry or load and stress tests.
- ▌ Cratis Arc Command 2 · cratis bundleUse when defining a C# Arc command, choosing its handler return shape or audit exposure (such as API keys or other credentials passed to it), or wiring its generated proxy to a form or button. Not for validation-only changes or executing an existing command.
- ▌ Cratis Arc Hosting · cratis bundleUse when creating an Arc .NET host, diagnosing missing endpoints or preparing a trimmed publish. Not for command design, running a Chronicle server or Kotlin and TypeScript hosting.
- ▌ Cratis Code Review 2 · cratis bundleUse when reviewing changed Cratis application code for architecture, style and specification coverage beyond compiler checks. Not for a focused security or scalability audit, or for scheduling review rounds.
- ▌ Csharp Refactoring · cratis bundleUse when renaming public types or restructuring C# code without changing behavior, or separating a requested refactor from behavioral changes. Not for ordinary features, bug fixes, dependency upgrades, test additions or formatting alone.
- ▌ Platform Detection · cratis bundleUse when identifying a .NET test framework, VSTest versus MTP or conflicting runner configuration. Not for executing or filtering tests, command errors, dumps or migration; use run-tests for execution.
- ▌ Check Bin Obj Clash · cratis bundleUse when multi-project or multi-targeted MSBuild builds collide in bin, obj or project.assets.json, overwrite outputs or fail intermittently with file conflicts. Not for OS-only locks or single-project single-TFM builds.
- ▌ Cratis Orleans Jobs · cratis bundleUse when authoring or recovering Cratis.Orleans jobs, configuring their storage or changing job-step lifecycle transitions. Not for operating live Chronicle jobs or validating application commands.
- ▌ Cratis Release Notes · cratis bundleUse when drafting or reviewing release notes, upgrade guidance or announcements for a specific verified Cratis version. Not for deciding release authority, publishing or selecting a version label.
- ▌ Dotnet Trace Collect · cratis bundleUse when choosing a diagnostic tool or collecting .NET performance data for a particular runtime, OS or container environment. Not for trace analysis, crash dumps or a repository-wide profiling workflow.
- ▌ Cratis Arc React Page 2 · cratis bundleUse when building an Arc React data page, wiring its command dialogs or connecting generated proxies. Not for editing a .play model, theming alone or a standalone wizard dialog.
- ▌ Cratis Content Length · cratis bundleUse when choosing a content piece's length, deciding where to split it or reviewing a batch with uniform lengths. Not for SEO scoring, authorship detection or distribution planning.
- ▌ Orleans · cratis bundleUse when an Orleans task requires choosing state ownership, communication, scheduling or hosting guarantees against failure. Not for other actor stacks, relational-only CRUD or Cratis.Orleans job implementation.
- ▌ Profiling · cratis bundleUse when investigating a .NET application's CPU, GC, allocation, exception or contention behavior through runtime profiling. Not for crash dumps, benchmark design or replacing realistic load tests with ad-hoc traces.
- ▌ Run Tests · cratis bundleUse before running .NET tests or choosing test commands, flags and filters, including command failures and dump collection. Not for platform identification alone, test authoring or interpreting coverage reports.
- ▌ Cratis Rtk · cratis bundleUse before choosing command-output wrappers, or when a wrapped command fails and exact diagnostics or parsed output are needed. Not for execution permission, CI-gate selection or rewriting repository scripts around rtk.
- ▌ Dump Collect · cratis bundleUse when enabling or capturing crash dumps for CoreCLR or NativeAOT, including container deployments. Not for opening or analyzing dumps, performance tracing or .NET Framework processes.
- ▌ Cratis Arc Go · cratis bundleUse when building an Arc.Go HTTP command or read-model query with handwritten typed adapters and the root module. Not for Chronicle-only clients or unpublished Go integrations and generators.
- ▌ Filter Syntax · cratis bundleUse when run-tests needs a filter translated after the .NET test platform and framework are known. Not for direct invocation, unfiltered runs or platform detection.
- ▌ Vectorization · cratis bundleUse when vectorizing a .NET scalar loop or reviewing SIMD behavior, memory safety, tails and fallbacks. Not for performance work unrelated to SIMD.
- ▌ Cratis Arc Neo4j · cratis bundleUse when an Arc C# query or command must read a Neo4j graph, inject the tenant-aware IGraphSession, run Cypher, or choose the graph database per tenant. Not for projecting events onto a graph or for MongoDB documents.
- ▌ Extension Points · cratis bundleUse when MSBuild imports or hooks are missing, ordered incorrectly or overwritten, including NuGet build assets. Not for a single Import guard, target incrementality or props-versus-targets placement.
- ▌ Target Authoring · cratis bundleUse when writing or fixing custom MSBuild target chains, dependency extension, returns or cleanup contracts. Not for general build-performance tuning, import discovery or non-MSBuild systems.
- ▌ Binlog Generation · cratis bundleUse when an MSBuild failure or performance investigation needs a binary log and none exists. Not for analyzing existing logs, timing builds or non-MSBuild systems; use msbuild for analysis.
- ▌ Coverage Analysis · cratis bundleUse when interpreting supplied .NET coverage evidence or an explicit coverage-collection request. Not for hypothetical change-survival questions, CRAP for one target, writing tests or running tests without a coverage request.
- ▌ Cratis Arc Elixir · cratis bundleUse when building an Elixir CQRS application with Arc for Elixir (`cratis_arc`, `cratis_arc_mongodb`) with commands, read-model queries, observable queries over WebSocket or SSE hubs, tenancy, MongoDB, identity, generated TypeScript proxies and vertical slices. Not for the Chronicle client alone, or for .NET, JVM, Go or TypeScript Arc.
- ▌ Msbuild · cratis bundleUse when troubleshooting MSBuild failures, slow builds or build-authoring contracts from project files and binary logs. Not for SDK installation, package upgrades, legacy migration, C# refactoring or runtime profiling.
- ▌ Cratis Components Stepper Command Dialog · cratis bundleBuild a multi-step wizard dialog for a single Cratis Arc command with StepperCommandDialog and StepperPanel from Cratis Components — named steps, per-step validation, linear navigation, vertical or horizontal orientation, and pre-populated edit wizards. Use when one command gathers information across several stages or a form has too many fields to show at once. Do not use for an ordinary single-page command dialog or for a page shell.
- ▌ Cratis Chronicle Read Model Specifications · cratis bundleSpecify projection and reducer behavior with ReadModelScenario from Cratis.Chronicle.Testing — seeding events through Given and asserting on the materialized instance. Use when the behavior under specification is how events become read-model state. Do not use to create a read model and do not use for raw event append behavior.
- ▌ Cratis Engineering Docs Add Page · cratis bundlePlace and wire a new Cratis documentation page after its product, audience, document type, and authoritative source are known. Use when the page does not exist; route existing-page edits, content drafting, and visual QA to their focused companion workflows.
- ▌ Cratis Engineering Docs Authoring · cratis bundleDraft accurate Cratis documentation content after the owning repository, page placement, document type, and authoritative product sources are known. Use for tutorials, how-to guides, explanations, and references; defer placement, existing-page discovery, and visual QA to their companion workflows.
- ▌ Cratis Engineering Docs Edit Page · cratis bundleLocate and change the authoritative source of an existing Cratis documentation page, then sync and verify it. Use for corrections, rewording, broken links, and outdated examples; route new pages, fresh content design, and visual QA to their focused companion workflows.
- ▌ Cratis Engineering Decision Record · cratis bundleConsult, author, accept, and supersede decision records in a Cratis repository's decisions/ folder. Use before an architectural, contract, scope, or cross-cutting change, when a ruling has been made that later work must obey, or when an accepted decision has to be replaced. Defer product documentation, session handovers, and work-item status to their own workflows.
- ▌ Cratis Engineering Effect Boundaries · cratis bundleApply the Cratis effect-boundary contract when writing or reviewing code that publishes, persists, generates, propagates, or releases. On those boundaries partial success is failure - no catch-and-continue, no defaulting to success on an unknown outcome. Use when a degraded run could still report success; defer style questions and specification authoring to their own workflows.
- ▌ Cratis Engineering Csharp Conventions · cratis bundleApply 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 question; defer product API decisions and specification authoring to their focused workflows.
- ▌ Cratis Arc Authentication Authorization And Identity · cratis bundleWire 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 identity hooks. Use for Arc identity providers, endpoint protection, roles, or frontend identity integration. Do not use for isolated command validation, and do not use for Chronicle tenant namespaces alone.
- ▌ Studio Local Release · cratisRun the private Studio repository's local release preparation workflow. Use only inside this repository after reading its project context.
- ▌ Toolbar · cratisUse this skill when asked to add or build a canvas-style icon toolbar using the @cratis/components Toolbar component. Covers Toolbar, ToolbarButton, ToolbarSeparator, ToolbarSection, ToolbarContext, and ToolbarFanOutItem. Use whenever building tool panels, drawing tool selectors, zoom controls, or any icon-button group with active states, context switching, or fan-out sub-panels.
- ▌ Add Traces · cratisUse this skill when asked to add OpenTelemetry tracing to a class in a Cratis Chronicle Kernel project. Produces `*Traces.cs` companion files using the `[Span]` source-generator pattern from `Cratis.Traces`, registers `IActivitySource<T>` as a keyed DI service, and injects it into the target class.
- ▌ Add Concept · cratisUse this legacy local skill name when creating a strongly typed Cratis domain value or Chronicle event-source identity. Apply the same product-authoritative rules as the canonical cratis-fundamentals-concept skill; do not use it for enums, DTO-only values, arbitrary non-stream IDs, or event migration.
- ▌ Add Reactor · cratis bundleUse this skill when asked to add a Chronicle reactor (automation or translation) to a Cratis-based project. Reactors observe events and produce side effects.
- ▌ Add Reducer · cratisUse this skill when a read model genuinely needs an IReducerFor<T> — when model-bound projection attributes and fluent IProjectionFor<T> cannot express the state transition. Reducers are the last-resort escape hatch, not a default. Covers the admission checklist, method signatures, nullable-current handling, passivity, and pitfalls.
- ▌ Review Code · cratis bundleUse this skill when asked to review, check, or validate code in a Cratis-based project. Produces a structured review report with blocking issues and suggestions, checked against all project architecture and style standards.
- ▌ Write Specs · cratis bundleUse this skill to write specs for an event-sourced Cratis APPLICATION slice (command, query, projection, reactor, constraint) using the in-process scenario family (CommandScenario / EventScenario / ReadModelScenario / ReactorScenario); out-of-process Chronicle integration is an advanced fallback. NOT for framework/library code — that uses the plain Specification base (see specs.csharp.md).
- ▌ Query Paging · cratisAdd server-side paging and sorting to a Cratis read-model query — return IQueryable<T> for one-shot paging, ISubject<IEnumerable<T>> for observable + paged results, and consume them from React with useWithPaging. Use when a list query can grow large enough that returning all rows is wasteful, or needs server-side sorting.
- ▌ Ship Changes · cratis bundleUse when asked to commit, push, create a PR, ship, or land changes. Stop at the requested verb; separately authorize merge, publication, issue effects, and label mutations. Deleting the merged PR branch is the standard final step. Preserve history and explicit staging.
- ▌ Multi Tenancy · cratisIsolate tenants in a Cratis application with Chronicle namespaces — Arc maps the current tenant to a namespace (TenantNamespaceResolver), and each namespace has its own events, projections, reducers, and read models. Every Cratis application is assumed multi-tenant, so use this when setting up tenancy, when writing code that touches events or data on behalf of a tenant, and when a single-tenant deployment has to grow a second tenant.
- ▌ Skill Creator · cratis bundleCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, update or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
- ▌ Add Projection · cratis bundleUse this skill when asked to add a Chronicle projection to a Cratis-based project. Favor model-bound projections by default, and only fall back to declarative/fluent `IProjectionFor<T>` projections when model-bound attributes cannot express the behavior cleanly. Enforces the AutoMap-first rule and Chronicle-specific join semantics.
- ▌ Cratis Command · cratis bundleStep-by-step guidance for creating a Cratis Arc command — [Command] record, Handle() method, CommandValidator, proxy generation, and React .use() hook with CommandDialog. Use when adding or creating a command, wiring up a form or button to the backend, working with IEventLog, CommandResult, CommandValidator, CommandDialog, or [Command] attribute.
- ▌ Diagnose Slice · cratisUse this skill to diagnose why a Cratis slice misbehaves — read model not updating, TypeScript proxy missing, command rejected unexpectedly, projection/observer quarantined, AutoMap mismatch, reactor side effects not appended, or specs flaking. Symptom → likely cause → the rule/skill that owns the fix. Use when something "isn't working" and the cause isn't obvious.
- ▌ Event Modeling · cratisDesign a Cratis event model before writing code — decide stream boundaries, commands, events, read models, automations/translations, compliance subjects, and the spec outline. Use this when behavior, event vocabulary, stream boundaries, or a multi-slice flow is not yet settled, before implementing a slice.