cratis-screenplay-projections SKILL.md skillA
cratis-screenplay-projections from cratis/ai is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cratis/ai/cratis-screenplay-projections@git:20261023.cde6347Pins git:20261023.cde6347 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cratis/ai
- Path
.cratis/ai/skills/cratis-screenplay-projections/SKILL.md- Versions recorded
- 5
- Latest version
- git:20261023.cde6347, committed Oct 23, 2026
- First version recorded
- Oct 16, 2026
- Size
- 18,783 bytes
- Repository stars
- 4
- License
- MIT
Build a Cratis Screenplay read model with the Projection Declaration Language (PDL) — keys, `from`/`every`/`all`, property mapping and AutoMap, joins, children and nested objects, removal, arithmetic counters, and the reducer escape hatch. Use when declaring or changing how events become read-model state in a `.play` model, or when a projection does not populate what was expected. Use `cratis-chronicle-projection` instead for hand-written C# Chronicle projections.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Projections — the Screenplay PDL Read [preferred syntax](../cratis-screenplay-toolchain/references/preferred-syntax.md) when writing or reviewing `.play`. A `projection` folds events into a read model. Its body is the **Projection Declaration Language**, an embedded sub-grammar with its own parser — not free text. This is half of every event model, and the half most easily got wrong. ## Locate the model Look first for the project's existing `.play` files: the folder holding them is the model. A new model goes under the repository's `Source/` or `src/` folder, else in a `Screenplay/` folder at the repository root; never under `.cratis/`, which holds configuration and the shared AI corpus only. This is the conventional home for consumer-owned `.play` source; do not invent another location or search the whole repository before checking it. `cratis ai install` manages `.cratis/ai/`, never model files. Never hand-copy Screenplay source between repositories. Keep Markdown that explains, questions or navigates the model in the repository's documentation; the `.play` source is the single flow model. ## Product sources …
Read the whole file at its exact version.
How to install
mdr add cratis/ai/cratis-screenplay-projections@sha256:916a23cada48e49aThe line at the top of this page pins the label git:20261023.cde6347, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zif6y7okwrof5lzo)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Oct 16, 2026 and Oct 23, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261023.cde6347 latest | 2026-10-23 | cde6347 | 18,783 B | A | view · diff |
| git:20261023.e21fb60 | 2026-10-23 | e21fb60 | 18,348 B | A | view · diff |
| git:20261017.b30e8a6 | 2026-10-17 | b30e8a6 | 16,733 B | A | view · diff |
| git:20261017.eedf915 | 2026-10-17 | eedf915 | 16,560 B | A | view · diff |
| git:20261016.ed3671e | 2026-10-16 | ed3671e | 16,570 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (18783 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
cratis/ai · 4 stars · license MIT · pushed 2026-11-04 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zif6y7okwrof5lzo GET https://markdownregistry.com/api/v1/resolve?ref=cratis/ai/cratis-screenplay-projections GET https://markdownregistry.com/api/v1/blob/916a23cada48e49a9bbb74fe4f5e5060bbe2068be3ec59f56c8e0896906aa2ab
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.