{"product_id":"ai-agent-skills-cratis-application-slice-backend-guide","title":"AI Agent Skills: Cratis Application Slice Backend Guide","description":"\u003ch3\u003eAI Agent Skills: Cratis Application Slice Backend Guide\u003c\/h3\u003e\n\n\u003cp\u003eThe AI Agent Skills: Cratis Application Slice Backend Guide specifies the backend behavior of an event-sourced Cratis application slice using the in-process scenario family. It is designed for situations where you are adding or changing backend behavior within applications built on Cratis, excluding framework library specifications or frontend behavior.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this skill does\u003c\/h3\u003e\n\u003cul\u003e\n    \u003cli\u003eUtilizes the Cratis scenario family, including CommandScenario, EventScenario, ReadModelScenario, and ReactorScenario, to specify what a Cratis application slice does in the pipeline it actually runs on.\u003c\/li\u003e\n    \u003cli\u003eDetails the necessary aspects to cover for each slice type and indicates where the specification files are located.\u003c\/li\u003e\n    \u003cli\u003eExecutes real Arc and Chronicle code paths in-process, avoiding the use of HTTP, fixtures, or servers, to provide a specification that reflects the slice's behavior rather than its class structure.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eWho it is for\u003c\/h3\u003e\n\u003cp\u003eThis skill is intended for developers and development teams utilizing AI coding agents like Claude Code, Cursor, and Codex. It benefits those who need to define or alter backend behaviors of Cratis application slices in a precise and structured manner.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n    \u003cli\u003eDevelopers defining new backend behaviors for a Cratis application slice without affecting frontend interactions.\u003c\/li\u003e\n    \u003cli\u003eTeams needing to adjust existing backend specifications to accommodate changes in application logic or requirements.\u003c\/li\u003e\n    \u003cli\u003eEngineering teams conducting in-process testing of backend specifications to ensure correct application slice behavior.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n    \u003cli\u003eUtilizes the Cratis.Arc.Testing package (v22.16.0) for CommandScenario and CommandResult assertions.\u003c\/li\u003e\n    \u003cli\u003eEmploys the Cratis.Arc.Chronicle.Testing package (v22.16.0) with features like Given, EventLog, and AppendedEvents for test scenarios.\u003c\/li\u003e\n    \u003cli\u003eLeverages the Cratis.Chronicle.Testing package (v18.3.0) for EventScenario, ReadModelScenario, and ReactorScenario tests.\u003c\/li\u003e\n    \u003cli\u003eIncorporates Cratis.Specifications.XUnit (v4.x) for Specification base and ShouldXxx assertions, facilitating structured backend specifications.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c!-- mcpcart:static-blocks:start --\u003e\n\u003chr\u003e\n\u003ch3\u003eSource \u0026amp; Licence\u003c\/h3\u003e\n\u003cp\u003eThis package is built on open-source work published by \u003cstrong\u003eCratis\u003c\/strong\u003e (\u003ca href=\"https:\/\/github.com\/Cratis\/AI\" rel=\"nofollow noopener\" target=\"_blank\"\u003eCratis\/AI\u003c\/a\u003e) and distributed under \u003cstrong\u003eMIT\u003c\/strong\u003e. The original licence text and copyright notice are included in your download.\u003c\/p\u003e\n\u003cp\u003ePersonal and commercial use, modification and redistribution are permitted, provided the original copyright and licence notice are retained.\u003c\/p\u003e\n\u003cp\u003eYour purchase covers curation, licence verification, packaging, documentation and instant delivery. It does not grant exclusive rights to the underlying open-source code, which remains available under its original licence.\u003c\/p\u003e\n\u003ch3\u003eDelivery \u0026amp; Support\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eDelivery:\u003c\/strong\u003e instant — a secure download link is emailed to you as soon as payment is confirmed.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eFormat:\u003c\/strong\u003e ZIP archive containing the skill files, documentation and the original licence.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupport:\u003c\/strong\u003e \u003ca href=\"mailto:support@mcpcart.com\"\u003esupport@mcpcart.com\u003c\/a\u003e — we aim to reply within 2 business days.\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eUpdates:\u003c\/strong\u003e updates are included only where stated on this page.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eRefunds\u003c\/h3\u003e\n\u003cp\u003eThis is a digital product delivered immediately after purchase. By completing your order you request immediate delivery and acknowledge that, once the download has been accessed, the statutory right to cancel no longer applies to the extent permitted by law. Refund requests are handled in accordance with our published Refund Policy.\u003c\/p\u003e\n\u003cp style=\"font-size:0.85em;color:#666;\"\u003eClaude, Codex, Gemini and Cursor are trademarks of their respective owners. MCP Cart is an independent marketplace and is not affiliated with, endorsed by, or sponsored by any of them. Compatibility references describe interoperability only.\u003c\/p\u003e\n\u003c!-- mcpcart:static-blocks:end --\u003e","brand":"MCP Cart","offers":[{"title":"Default Title","offer_id":53076559069495,"sku":"MCP-CRATIS-AI-CRATIS-APPLICATION-SLICE-SPECIFICATIONS","price":42.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0981\/3950\/4951\/files\/ykqAJi19UNwURnAgKkXot_013ceff9e7864bfcba46f095f0fd8e0a.jpg?v=1790852693","url":"https:\/\/mcpcart.com\/products\/ai-agent-skills-cratis-application-slice-backend-guide","provider":"SPF PRO","version":"1.0","type":"link"}