@cratis/pi 8.2.2 → 8.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +7 -9
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +25 -55
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +10 -7
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +8 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -2
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -3
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -4
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +6 -8
- package/package/corpus/harnesses/copilot/instructions/concepts.instructions.md +15 -2
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/criticality-tiers.instructions.md +7 -35
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +13 -6
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +8 -3
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +8 -2
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +13 -9
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +9 -5
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +12 -8
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +12 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +11 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +8 -7
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +5 -3
- package/package/corpus/harnesses/copilot/instructions/general.instructions.md +2 -2
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +11 -6
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +13 -13
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +13 -39
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +18 -139
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +14 -60
- package/package/corpus/harnesses/copilot/instructions/issue-assignment.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +8 -6
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +12 -7
- package/package/corpus/harnesses/copilot/instructions/local-verification-and-delivery.instructions.md +8 -5
- package/package/corpus/harnesses/copilot/instructions/local-work-artifacts.instructions.md +11 -64
- package/package/corpus/harnesses/copilot/instructions/new-repository-intake.instructions.md +7 -28
- package/package/corpus/harnesses/copilot/instructions/operational-safety.instructions.md +26 -41
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +27 -5
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/published-contracts.instructions.md +6 -25
- package/package/corpus/harnesses/copilot/instructions/react.instructions.md +9 -2
- package/package/corpus/harnesses/copilot/instructions/reactors.instructions.md +17 -5
- package/package/corpus/harnesses/copilot/instructions/review-reports.instructions.md +12 -94
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +5 -5
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +11 -8
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +9 -4
- package/package/corpus/harnesses/copilot/instructions/specs.instructions.md +7 -4
- package/package/corpus/harnesses/copilot/instructions/specs.scenarios.csharp.instructions.md +11 -2
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +8 -11
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +4 -7
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -8
- package/package/corpus/harnesses/copilot/instructions/verification-discipline.instructions.md +6 -9
- package/package/corpus/harnesses/copilot/instructions/vertical-slices.instructions.md +29 -5
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +12 -3
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +11 -3
- package/package/corpus/hooks/scripts/cratis-cleanup-worktrees.sh +36 -24
- package/package/corpus/hooks/scripts/cratis-guard-secrets.sh +66 -22
- package/package/corpus/hooks/scripts/cratis-store-mutations.json +1 -1
- package/package/corpus/rules/ai-distribution.md +7 -9
- package/package/corpus/rules/authoring-skills.md +25 -55
- package/package/corpus/rules/browser.md +10 -7
- package/package/corpus/rules/code-health-policy.txt +3 -3
- package/package/corpus/rules/code-health.md +8 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -2
- package/package/corpus/rules/code-quality.md +5 -5
- package/package/corpus/rules/code-quality.typescript.md +4 -3
- package/package/corpus/rules/codescene-reference.txt +34 -0
- package/package/corpus/rules/codescene.md +5 -4
- package/package/corpus/rules/components.md +6 -8
- package/package/corpus/rules/concepts.md +15 -2
- package/package/corpus/rules/cratis-folder-is-configuration.md +3 -5
- package/package/corpus/rules/criticality-tiers.md +7 -35
- package/package/corpus/rules/csharp.md +13 -6
- package/package/corpus/rules/dialogs.md +8 -3
- package/package/corpus/rules/discoverability.md +8 -2
- package/package/corpus/rules/documentation-structure-and-formatting.md +12 -6
- package/package/corpus/rules/documentation.md +12 -7
- package/package/corpus/rules/editing-cratis-docs.md +8 -6
- package/package/corpus/rules/efcore.md +13 -9
- package/package/corpus/rules/efcore.specs.md +9 -5
- package/package/corpus/rules/elixir.md +12 -8
- package/package/corpus/rules/exit-codes-and-wrappers.md +7 -4
- package/package/corpus/rules/framework-dotnet.md +12 -6
- package/package/corpus/rules/framework.md +11 -7
- package/package/corpus/rules/frontend-quality.md +8 -7
- package/package/corpus/rules/frontend-testing.md +5 -3
- package/package/corpus/rules/general.md +8 -10
- package/package/corpus/rules/github-actions.md +11 -6
- package/package/corpus/rules/glossary.md +13 -13
- package/package/corpus/rules/go-engineering.md +13 -39
- package/package/corpus/rules/go.md +18 -139
- package/package/corpus/rules/guards-and-fuses.md +14 -60
- package/package/corpus/rules/issue-assignment.md +6 -9
- package/package/corpus/rules/java.md +8 -6
- package/package/corpus/rules/kotlin.md +12 -7
- package/package/corpus/rules/local-verification-and-delivery.md +8 -5
- package/package/corpus/rules/local-work-artifacts.md +11 -64
- package/package/corpus/rules/new-repository-intake.md +7 -28
- package/package/corpus/rules/operational-safety.md +26 -41
- package/package/corpus/rules/orleans.md +27 -5
- package/package/corpus/rules/profiles.md +8 -11
- package/package/corpus/rules/published-contracts.md +6 -25
- package/package/corpus/rules/react.md +9 -2
- package/package/corpus/rules/reactors.md +17 -5
- package/package/corpus/rules/review-reports.md +12 -94
- package/package/corpus/rules/scripting.md +5 -5
- package/package/corpus/rules/specs.csharp.md +11 -8
- package/package/corpus/rules/specs.elixir.md +9 -4
- package/package/corpus/rules/specs.md +7 -4
- package/package/corpus/rules/specs.scenarios.csharp.md +11 -2
- package/package/corpus/rules/specs.typescript.md +8 -11
- package/package/corpus/rules/storybook.md +4 -7
- package/package/corpus/rules/typescript.md +8 -8
- package/package/corpus/rules/verification-discipline.md +6 -9
- package/package/corpus/rules/vertical-slices.md +29 -5
- package/package/corpus/rules/writing-correct-examples.md +12 -3
- package/package/corpus/rules/writing-cratis-docs.md +11 -3
- package/package/corpus/skills/cratis-ai-corpus-authoring/LICENSE +21 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/SKILL.md +140 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/checklist.md +46 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/evaluation.md +19 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/large-rewrites.md +25 -0
- package/package/corpus/skills/cratis-ai-corpus-authoring/references/skill-anatomy.md +75 -0
- package/package/corpus/skills/cratis-application-growth/SKILL.md +148 -63
- package/package/corpus/skills/cratis-application-growth/references/csharp.md +170 -0
- package/package/corpus/skills/cratis-application-growth/references/elixir.md +26 -0
- package/package/corpus/skills/cratis-application-growth/references/go.md +27 -0
- package/package/corpus/skills/cratis-application-growth/references/java.md +23 -0
- package/package/corpus/skills/cratis-application-growth/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +7 -6
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +14 -14
- package/package/corpus/skills/cratis-application-growth/references/service-and-delivery.md +21 -0
- package/package/corpus/skills/cratis-application-growth/references/stages.md +1 -9
- package/package/corpus/skills/cratis-application-growth/references/typescript.md +38 -0
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +31 -23
- package/package/corpus/skills/cratis-arc-authorize-request/references/authproxy.md +96 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp-query-security.md +61 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +92 -38
- package/package/corpus/skills/cratis-arc-authorize-request/references/elixir.md +74 -4
- package/package/corpus/skills/cratis-arc-authorize-request/references/go-authentication.md +93 -0
- package/package/corpus/skills/cratis-arc-authorize-request/references/go.md +80 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/java.md +79 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +80 -17
- package/package/corpus/skills/cratis-arc-authorize-request/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-authorize-request/references/typescript.md +106 -6
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +85 -42
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript-rule-fixes.md +89 -0
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/typescript.md +99 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +54 -14
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-connection-resolution.md +66 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-ef.md +78 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp-neo4j.md +30 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +59 -66
- package/package/corpus/skills/cratis-arc-connect-storage/references/elixir.md +121 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/go.md +73 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/java.md +68 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/kotlin.md +74 -3
- package/package/corpus/skills/cratis-arc-connect-storage/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript-drizzle.md +31 -0
- package/package/corpus/skills/cratis-arc-connect-storage/references/typescript.md +62 -4
- package/package/corpus/skills/cratis-arc-declare-command/SKILL.md +52 -28
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-chronicle.md +190 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-controller.md +44 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp-history.md +125 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +282 -55
- package/package/corpus/skills/cratis-arc-declare-command/references/elixir.md +121 -8
- package/package/corpus/skills/cratis-arc-declare-command/references/go-aggregate.md +59 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-chronicle.md +51 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go-wire.md +94 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +160 -25
- package/package/corpus/skills/cratis-arc-declare-command/references/java.md +140 -13
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +189 -23
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript-aggregates.md +73 -0
- package/package/corpus/skills/cratis-arc-declare-command/references/typescript.md +209 -24
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +28 -25
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-abilities.md +30 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp-recovery.md +50 -0
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +27 -55
- package/package/corpus/skills/cratis-arc-declare-operation/references/elixir.md +17 -1
- package/package/corpus/skills/cratis-arc-declare-operation/references/go.md +75 -5
- package/package/corpus/skills/cratis-arc-declare-operation/references/java.md +13 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/kotlin.md +11 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-declare-operation/references/typescript.md +84 -8
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +42 -36
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +44 -51
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/elixir.md +50 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/go.md +85 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/java.md +70 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/kotlin.md +60 -2
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/typescript.md +94 -5
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +59 -81
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp-diagnose-tool-call.md +44 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/csharp.md +309 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/go.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/java.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +65 -15
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +381 -31
- package/package/corpus/skills/cratis-arc-expose-query/references/elixir.md +84 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/go-live.md +55 -0
- package/package/corpus/skills/cratis-arc-expose-query/references/go.md +204 -18
- package/package/corpus/skills/cratis-arc-expose-query/references/java.md +236 -7
- package/package/corpus/skills/cratis-arc-expose-query/references/kotlin.md +242 -3
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +360 -19
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +84 -10
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +70 -29
- package/package/corpus/skills/cratis-arc-generate-proxies/references/elixir.md +54 -5
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go-directives.md +74 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +50 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java-wire-types.md +115 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/java.md +86 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-diagnostics.md +67 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin-wire-types.md +108 -0
- package/package/corpus/skills/cratis-arc-generate-proxies/references/kotlin.md +77 -4
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +64 -16
- package/package/corpus/skills/cratis-arc-generate-proxies/scripts/check-proxy.mjs +3 -3
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +67 -12
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-availability.md +130 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-callers.md +89 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-configuration.md +116 -27
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-http.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp-identity.md +208 -0
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +154 -35
- package/package/corpus/skills/cratis-arc-host-application/references/elixir-access.md +64 -0
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +53 -23
- package/package/corpus/skills/cratis-arc-host-application/references/go-embed.md +121 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-execution.md +86 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go-options.md +41 -0
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +43 -5
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +203 -4
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +234 -4
- package/package/corpus/skills/cratis-arc-host-application/references/typescript-services.md +85 -0
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +194 -13
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +79 -119
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/java.md +285 -0
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/references/kotlin.md +265 -0
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +52 -24
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp-extensions.md +26 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +55 -25
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir-liveview.md +112 -0
- package/package/corpus/skills/cratis-arc-invoke-command/references/elixir.md +72 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/go.md +51 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/java.md +74 -3
- package/package/corpus/skills/cratis-arc-invoke-command/references/kotlin.md +58 -18
- package/package/corpus/skills/cratis-arc-invoke-command/references/python.md +2 -2
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +49 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +31 -13
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +68 -29
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +84 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/go.md +73 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +70 -3
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/python.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +56 -3
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +125 -27
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/csharp.md +217 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/elixir.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/go.md +3 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/java.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/kotlin.md +29 -0
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/references/typescript.md +132 -0
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +33 -13
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +63 -33
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +55 -4
- package/package/corpus/skills/cratis-arc-page-query/references/go.md +77 -4
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +66 -4
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +65 -5
- package/package/corpus/skills/cratis-arc-page-query/references/typescript.md +81 -6
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +148 -48
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/react-screen-from-model.md +10 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-commands.md +190 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-host.md +160 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-identity.md +131 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript-queries.md +157 -0
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/typescript.md +88 -0
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +155 -66
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/typescript.md +628 -0
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +18 -5
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/csharp.md +64 -3
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +77 -11
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +61 -19
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +119 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +117 -7
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +124 -10
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +129 -107
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/java.md +436 -0
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/kotlin.md +440 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +58 -90
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript-drizzle.md +165 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/references/typescript.md +226 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +86 -89
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/typescript.md +228 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +179 -90
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/java.md +95 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/kotlin.md +107 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +80 -107
- package/package/corpus/skills/cratis-arc-testing-typescript/references/typescript.md +272 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +56 -17
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp-rules.md +38 -0
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +84 -13
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +50 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +119 -15
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +125 -93
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/java.md +272 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/kotlin.md +238 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +133 -58
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{models-and-queries.md → typescript-models-and-queries.md} +17 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript-rules-and-checks.md +101 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/{server-decisions.md → typescript-server-decisions.md} +49 -13
- package/package/corpus/skills/cratis-arc-validation-typescript/references/typescript.md +196 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +107 -7
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +21 -11
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +70 -10
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +4 -65
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +138 -16
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/setup-and-target.md +85 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +54 -12
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-patterns.md +45 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-services.md +94 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-transport.md +26 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp-workload.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +57 -39
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir-policies.md +47 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +38 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go-patterns.md +30 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/go.md +95 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/java.md +89 -2
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin-patterns.md +35 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/kotlin.md +108 -3
- package/package/corpus/skills/cratis-chronicle-connect-application/references/python.md +61 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript-patterns.md +32 -0
- package/package/corpus/skills/cratis-chronicle-connect-application/references/typescript.md +75 -6
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +42 -11
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +67 -25
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/elixir.md +90 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/go.md +83 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/kotlin.md +76 -3
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/typescript.md +84 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +167 -31
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/authentication.md +150 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/configuration.md +418 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/csharp.md +48 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/development-and-production.md +57 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/kernel-options.md +694 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/network-and-tls.md +188 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/production-checklist.md +66 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +154 -2
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/troubleshooting.md +60 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/upgrade-and-recovery.md +124 -0
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/webhooks.md +101 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +59 -15
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +59 -41
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +69 -3
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/go.md +71 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/java.md +50 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/kotlin.md +58 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/schema-annotation-cleanup.md +58 -0
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/typescript.md +87 -2
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +47 -13
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +107 -37
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +56 -5
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go-jobs-and-alerts.md +77 -0
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/go.md +106 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/java.md +55 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/kotlin.md +95 -3
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/typescript.md +89 -7
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +156 -12
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +12 -20
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +114 -33
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +100 -47
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +182 -11
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-fluent.md +228 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-graphs.md +102 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-model-bound.md +232 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp-reading.md +120 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +112 -43
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-graphs.md +49 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-mappings.md +45 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir-reading.md +17 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +23 -27
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-graphs.md +22 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-mappings.md +50 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go-reads.md +25 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +45 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-graphs.md +46 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java-mappings.md +53 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +69 -5
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin-graphs.md +44 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +71 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/python.md +1 -1
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +279 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +69 -10
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-scopes.md +35 -0
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp-standalone.md +93 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +79 -34
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +56 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +61 -11
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/java.md +76 -3
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/kotlin.md +65 -17
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/typescript.md +77 -5
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +27 -12
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +65 -47
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/elixir.md +68 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/go.md +91 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/java.md +75 -2
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/kotlin.md +64 -3
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/typescript.md +65 -3
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +69 -11
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp-integrations.md +89 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +66 -52
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir-integrations.md +132 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +86 -14
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go-integrations.md +91 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/go.md +80 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java-integrations.md +121 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/java.md +64 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin-integrations.md +112 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/kotlin.md +71 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript-integrations.md +69 -0
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/typescript.md +69 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +65 -12
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-occurrences.md +3 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-outputs.md +39 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp-pages.md +43 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +43 -43
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir-recovery.md +23 -0
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/elixir.md +79 -8
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +97 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +123 -3
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +113 -4
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/typescript.md +122 -8
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +83 -13
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-coordination.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp-history.md +86 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +53 -92
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-context.md +74 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir-history.md +51 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +48 -20
- package/package/corpus/skills/cratis-chronicle-record-event/references/go-payloads.md +80 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +78 -2
- package/package/corpus/skills/cratis-chronicle-record-event/references/java-history.md +63 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +107 -11
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin-history.md +88 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +103 -21
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-import.md +30 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript-provenance.md +40 -0
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +187 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +55 -13
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +235 -24
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/elixir.md +82 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/go.md +94 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/java.md +99 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/kotlin.md +89 -3
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/python.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +91 -2
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +17 -12
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +63 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +52 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +64 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +54 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +56 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +35 -18
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +46 -4
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +60 -12
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/csharp.md +57 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +80 -53
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +44 -59
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +241 -203
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/affected-tests.md +134 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +25 -10
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +14 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/publish-pipelines.md +83 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +68 -1
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/runner-sizing-and-images.md +33 -6
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +11 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/shared-workflows.md +65 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/test-setup-cost.md +12 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/trim-and-aot-ratchets.md +32 -0
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +285 -139
- package/package/corpus/skills/cratis-cli-terminal-workbench/references/views-and-refresh.md +66 -0
- package/package/corpus/skills/cratis-code-review/SKILL.md +286 -165
- package/package/corpus/skills/cratis-code-review/references/csharp-diagnostics.md +76 -0
- package/package/corpus/skills/cratis-code-review/references/csharp.md +130 -0
- package/package/corpus/skills/cratis-code-review/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-code-review/references/go.md +25 -0
- package/package/corpus/skills/cratis-code-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-code-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-code-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-code-review/references/typescript.md +189 -0
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +213 -13
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/commits.md +37 -11
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +98 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-labels-and-release.md +77 -2
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +123 -16
- package/package/corpus/skills/cratis-components-accessibility/references/typescript.md +182 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +167 -31
- package/package/corpus/skills/cratis-components-build-canvas/references/conversation-kit.md +89 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-chat.md +73 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-pixi-items.md +46 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-props.md +44 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript-shapes.md +159 -0
- package/package/corpus/skills/cratis-components-build-canvas/references/typescript.md +140 -0
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +113 -28
- package/package/corpus/skills/cratis-components-choose-control/references/breadcrumbs-and-labels.md +21 -0
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +27 -3
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-common.md +50 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-composition.md +174 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-display.md +12 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-dropdown.md +27 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-iconpicker.md +19 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript-markdowneditor.md +16 -0
- package/package/corpus/skills/cratis-components-choose-control/references/typescript.md +69 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +210 -23
- package/package/corpus/skills/cratis-components-compose-toolbar/references/behavior.md +87 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-composition.md +202 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript-toolbar.md +125 -0
- package/package/corpus/skills/cratis-components-compose-toolbar/references/typescript.md +128 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +138 -65
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/dialog-props.md +30 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-dialogs.md +139 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript-notifications.md +66 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/references/typescript.md +170 -0
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +204 -38
- package/package/corpus/skills/cratis-components-display-list/references/parts-and-messages.md +22 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript-datatables.md +179 -0
- package/package/corpus/skills/cratis-components-display-list/references/typescript.md +204 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +188 -75
- package/package/corpus/skills/cratis-components-edit-schema-data/references/editing-rules.md +27 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/schema-mapping.md +57 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-componentpicker.md +22 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-composition.md +246 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-configurationeditor.md +23 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectcontenteditor.md +12 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-objectnavigationalbar.md +7 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript-schemaeditor.md +89 -0
- package/package/corpus/skills/cratis-components-edit-schema-data/references/typescript.md +141 -0
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +192 -48
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-composition.md +87 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-filter.md +47 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-pivotviewer.md +27 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript-timemachine.md +44 -0
- package/package/corpus/skills/cratis-components-explore-data/references/typescript.md +133 -0
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +189 -34
- package/package/corpus/skills/cratis-components-host-chat/references/presentation.md +60 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-composition.md +108 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript-layouts.md +59 -0
- package/package/corpus/skills/cratis-components-host-chat/references/typescript.md +158 -0
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +127 -45
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commanddialog.md +138 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-commandform.md +96 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript-fields.md +157 -0
- package/package/corpus/skills/cratis-components-submit-form/references/typescript.md +113 -0
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +137 -47
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +4 -5
- package/package/corpus/skills/cratis-components-theme-application/references/parts.md +73 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +34 -3
- package/package/corpus/skills/cratis-components-theme-application/references/tokens.md +17 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript-adapter-authoring.md +198 -0
- package/package/corpus/skills/cratis-components-theme-application/references/typescript.md +243 -0
- package/package/corpus/skills/cratis-content-length/SKILL.md +221 -162
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +173 -6
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +259 -184
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +32 -16
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +115 -0
- package/package/corpus/skills/cratis-discoverability/SKILL.md +196 -85
- package/package/corpus/skills/cratis-discoverability/references/csharp.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/elixir.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/entities.md +41 -25
- package/package/corpus/skills/cratis-discoverability/references/go.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/java.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +10 -5
- package/package/corpus/skills/cratis-discoverability/references/page-checklist.md +90 -49
- package/package/corpus/skills/cratis-discoverability/references/structured-data.md +35 -28
- package/package/corpus/skills/cratis-discoverability/references/typescript.md +6 -0
- package/package/corpus/skills/cratis-discoverability/scripts/verify-discoverability.mjs +24 -9
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +266 -172
- package/package/corpus/skills/cratis-documentation-writing/references/cratis-site.md +113 -100
- package/package/corpus/skills/cratis-documentation-writing/references/writing-guidance.md +4 -2
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +220 -87
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +145 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +259 -54
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +88 -38
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +102 -24
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +118 -87
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-alternate-implementations.md +60 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-code-style.md +294 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/{domain-philosophy.md → csharp-domain-philosophy.md} +11 -10
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-exceptions-logging-and-di.md +328 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp-monads.md +124 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/csharp.md +54 -0
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +266 -97
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +21 -8
- package/package/corpus/skills/cratis-engineering-decision-record/references/direct.md +118 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +114 -102
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +301 -71
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +294 -56
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +161 -86
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/csharp.md +52 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +35 -6
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/go.md +17 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/java.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/kotlin.md +14 -0
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +127 -27
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +40 -13
- package/package/corpus/skills/cratis-engineering-inherited-work/references/pull-request-evidence.md +66 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +254 -79
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +97 -52
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +159 -64
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +119 -67
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +249 -57
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{dotnet-nuget.md → csharp.md} +11 -16
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +40 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +5 -8
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/elixir.md +108 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go.md +276 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +28 -18
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/java.md +105 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/kotlin.md +179 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/train-mode.md +1 -1
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/{npm-yarn.md → typescript.md} +5 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +116 -48
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/scripts/dependency-map.tsv +1 -1
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +283 -81
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +5 -20
- package/package/corpus/skills/cratis-engineering-post-mortem/references/public-safe-wording.md +18 -23
- package/package/corpus/skills/cratis-engineering-post-mortem/references/review-template.md +86 -37
- package/package/corpus/skills/cratis-engineering-post-mortem/references/silent-backup-failure.md +92 -98
- package/package/corpus/skills/cratis-engineering-post-mortem/references/unintended-release-regression.md +79 -73
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +98 -56
- package/package/corpus/skills/cratis-engineering-regression-cluster/references/history-and-proof.md +30 -0
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +290 -62
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +138 -107
- package/package/corpus/skills/cratis-engineering-release-trains/references/final-merge-gate.md +118 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +311 -68
- package/package/corpus/skills/cratis-engineering-review-rounds/references/review-ranges.md +99 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +235 -95
- package/package/corpus/skills/cratis-environments-and-secrets/references/csharp.md +112 -0
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +28 -23
- package/package/corpus/skills/cratis-environments-and-secrets/references/transcript-safety.md +31 -0
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +174 -65
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +73 -69
- package/package/corpus/skills/cratis-fundamentals-concept/SKILL.md +143 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp-serialization.md +183 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/csharp.md +113 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/elixir.md +76 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go-naming.md +36 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/go.md +276 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-json.md +121 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java-primitives.md +156 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/java.md +155 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-json.md +123 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin-primitives.md +161 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/kotlin.md +140 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript-serialization.md +203 -0
- package/package/corpus/skills/cratis-fundamentals-concept/references/typescript.md +100 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +113 -11
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp-specs.md +165 -0
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +223 -29
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +162 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +227 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +203 -6
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +251 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +160 -9
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +120 -62
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp-otlp-export.md +56 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/csharp.md +224 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/go.md +33 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/java.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +104 -26
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp-diagnostics.md +75 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/csharp.md +182 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/elixir.md +30 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go-dependency-injection.md +168 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/go.md +29 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/java.md +39 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/kotlin.md +31 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/typescript.md +32 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +346 -273
- package/package/corpus/skills/cratis-governed-release-methodology/references/artifact-verification.md +58 -0
- package/package/corpus/skills/cratis-governed-release-methodology/references/lifecycle-phases.md +32 -25
- package/package/corpus/skills/cratis-governed-release-methodology/references/release-decisions.md +78 -0
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +331 -98
- package/package/corpus/skills/cratis-lens-browser-extension/references/csharp.md +13 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/go.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/java.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/kotlin.md +8 -0
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +111 -102
- package/package/corpus/skills/cratis-lens-browser-extension/references/typescript.md +10 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +333 -102
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +144 -15
- package/package/corpus/skills/cratis-modeling-design-event-model/references/command-inventory.md +43 -0
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +71 -3
- package/package/corpus/skills/cratis-modeling-design-event-model/references/review-one-slice.md +14 -13
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +265 -14
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/discovery-questions.md +10 -8
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +5 -1
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/studio.md +136 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +172 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/csharp.md +40 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/elixir.md +32 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/event-log-hygiene.md +44 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/go.md +27 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +20 -9
- package/package/corpus/skills/cratis-modeling-review-event-model/references/java.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/kotlin.md +28 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/model-findings.md +30 -10
- package/package/corpus/skills/cratis-modeling-review-event-model/references/resilience-review.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/references/screenplay-evidence.md +159 -0
- package/package/corpus/skills/cratis-modeling-review-event-model/references/typescript.md +27 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +128 -16
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +5 -5
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp-source-adapter.md +221 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/csharp.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/draft-checks.md +23 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/elixir.md +13 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/go.md +10 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/java.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +67 -4
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/side-car-migration.md +11 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +229 -90
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp-aspire.md +204 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/csharp.md +31 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/docker-compose.md +82 -36
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/elixir.md +10 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/go.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/java.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/kotlin.md +11 -0
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/typescript.md +15 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +178 -10
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +153 -13
- package/package/corpus/skills/cratis-observability/references/csharp-arc-and-chronicle-signals.md +79 -0
- package/package/corpus/skills/cratis-observability/references/csharp-setup-options.md +104 -0
- package/package/corpus/skills/cratis-observability/references/csharp.md +172 -56
- package/package/corpus/skills/cratis-observability/references/elixir.md +243 -5
- package/package/corpus/skills/cratis-observability/references/go-arc-diagnostics.md +134 -0
- package/package/corpus/skills/cratis-observability/references/go.md +292 -0
- package/package/corpus/skills/cratis-observability/references/java.md +236 -0
- package/package/corpus/skills/cratis-observability/references/kotlin.md +251 -0
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +13 -17
- package/package/corpus/skills/cratis-observability/references/typescript-chronicle-client.md +116 -0
- package/package/corpus/skills/cratis-observability/references/typescript.md +159 -0
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +222 -85
- package/package/corpus/skills/cratis-onboarding-runtime/references/ante-onboarding-keys.md +153 -10
- package/package/corpus/skills/cratis-onboarding-runtime/references/csharp.md +61 -0
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +29 -33
- package/package/corpus/skills/cratis-onboarding-runtime/references/performance.md +75 -19
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +10 -6
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +174 -80
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +78 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/lane-brief.md +48 -16
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +11 -8
- package/package/corpus/skills/cratis-orchestration-lanes/references/work-records.md +16 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +80 -90
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +153 -59
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +10 -6
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +216 -32
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-lifecycle-and-placement.md +89 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp-state-machines.md +96 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/csharp.md +301 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +265 -45
- package/package/corpus/skills/cratis-performance-review/references/csharp.md +67 -0
- package/package/corpus/skills/cratis-performance-review/references/elixir.md +34 -0
- package/package/corpus/skills/cratis-performance-review/references/go.md +43 -0
- package/package/corpus/skills/cratis-performance-review/references/java.md +38 -0
- package/package/corpus/skills/cratis-performance-review/references/kotlin.md +37 -0
- package/package/corpus/skills/cratis-performance-review/references/observer-tuning.md +117 -0
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +173 -77
- package/package/corpus/skills/cratis-performance-review/references/typescript.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/SKILL.md +243 -0
- package/package/corpus/skills/cratis-platform-build-application/references/cli-map.md +256 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp-guided-tours.md +41 -0
- package/package/corpus/skills/cratis-platform-build-application/references/csharp.md +17 -0
- package/package/corpus/skills/cratis-platform-build-application/references/direct.md +258 -0
- package/package/corpus/skills/cratis-platform-build-application/references/elixir.md +27 -0
- package/package/corpus/skills/cratis-platform-build-application/references/go.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/java.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/kotlin.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript-guided-tours.md +132 -0
- package/package/corpus/skills/cratis-platform-build-application/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-build-application/scripts/model-first-status.sh +100 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +130 -31
- package/package/corpus/skills/cratis-platform-configure-environment/references/csharp.md +336 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/elixir.md +224 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/go.md +257 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/java.md +209 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/kotlin.md +240 -0
- package/package/corpus/skills/cratis-platform-configure-environment/references/typescript.md +280 -0
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +120 -8
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-arc-mcp.md +65 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp-cli-registration.md +86 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/csharp.md +21 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/elixir.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/go.md +14 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/java.md +9 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/kotlin.md +12 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/repositories.md +93 -0
- package/package/corpus/skills/cratis-platform-contribute-change/references/typescript.md +13 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +235 -13
- package/package/corpus/skills/cratis-platform-deliver-slice/references/contract-reconciliation.md +73 -6
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +7 -4
- package/package/corpus/skills/cratis-platform-deliver-slice/references/csharp.md +251 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/elixir.md +266 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/go.md +242 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/java.md +310 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/kotlin.md +297 -0
- package/package/corpus/skills/cratis-platform-deliver-slice/references/typescript.md +248 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +173 -25
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/csharp.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/elixir.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/evidence.md +100 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/go.md +7 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-diagnose-slice/references/typescript.md +7 -0
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +178 -13
- package/package/corpus/skills/cratis-platform-prepare-release-pr/references/product-release-checks.md +23 -0
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +239 -21
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +223 -18
- package/package/corpus/skills/cratis-platform-start-application/references/elixir.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/go.md +11 -0
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +224 -9
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +191 -9
- package/package/corpus/skills/cratis-platform-start-application/references/typescript.md +14 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +211 -12
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/csharp.md +9 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/elixir.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/go.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/java.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/routes-and-failures.md +40 -0
- package/package/corpus/skills/cratis-platform-verify-service-handoff/references/typescript.md +5 -0
- package/package/corpus/skills/cratis-release-notes/SKILL.md +137 -57
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -59
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +55 -61
- package/package/corpus/skills/cratis-rtk/SKILL.md +188 -35
- package/package/corpus/skills/cratis-rtk/references/rtk-administration.md +137 -0
- package/package/corpus/skills/cratis-rtk/references/rtk-filters.md +68 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +160 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +2 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/csharp.md +122 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/diagnostic-decisions.md +10 -0
- package/package/corpus/skills/cratis-screenplay-accept-model/references/read-the-evidence.md +50 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +265 -41
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/email-templates.md +47 -0
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/environment-keys.md +81 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +182 -20
- package/package/corpus/skills/cratis-screenplay-author-extension/references/cli.md +58 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +31 -8
- package/package/corpus/skills/cratis-screenplay-author-extension/references/csharp.md +66 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/elixir.md +8 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/frontend-components.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/go.md +95 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/java.md +15 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/kotlin.md +69 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/lock-and-trust.md +23 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/protocol.md +12 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/runtime-details.md +30 -0
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +70 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/typescript.md +66 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +165 -20
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +60 -4
- package/package/corpus/skills/cratis-screenplay-availability/references/csharp.md +88 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/elixir.md +45 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/go.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/java.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +62 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +72 -13
- package/package/corpus/skills/cratis-screenplay-availability/references/typescript.md +20 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +232 -66
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/commands.md +256 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/concepts-and-generated-values.md +206 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/context-and-identity.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/events-and-constraints.md +123 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/language-map.md +129 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/policies-and-purposes.md +117 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +3 -12
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projections.md +222 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/queries.md +122 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/reducers-graphs-sinks.md +105 -0
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/structure-and-imports.md +142 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +164 -21
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/mcp-tools.md +138 -0
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +63 -14
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +120 -25
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/csharp.md +107 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/mcp.md +16 -0
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/ordering.md +29 -3
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/recipient-contracts.md +50 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +190 -101
- package/package/corpus/skills/cratis-screenplay-model-automation/references/external-effects.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +12 -4
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-example.md +95 -0
- package/package/corpus/skills/cratis-screenplay-model-automation/references/stage-subset.md +61 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +171 -51
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-host-api.md +177 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp.md +127 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md +10 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/elixir.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/go.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/localized-strings.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/navigation-reachability.md +25 -0
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +187 -20
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/typescript.md +119 -6
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +259 -89
- package/package/corpus/skills/cratis-screenplay-model-translation/references/boundary-diagnostics.md +32 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/stage-realization.md +36 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/references/translation-scenarios.md +114 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +185 -20
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/cli.md +88 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/csharp.md +210 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/typescript.md +45 -0
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/workspace-mcp.md +133 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +161 -20
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +195 -7
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/go.md +17 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/java.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/kotlin.md +9 -0
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/running-system.md +122 -6
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +233 -62
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/boundary-scenarios.md +60 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/case-questions.md +30 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/coverage-worksheet.md +16 -8
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/csharp.md +41 -0
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/graph-steps.md +37 -5
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/named-cases.md +23 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +22 -19
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/scenarios.md +230 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +140 -14
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +7 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +36 -24
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/destination-repairs.md +21 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +6 -9
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +3 -6
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +32 -19
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +53 -16
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +1 -1
- package/package/corpus/skills/cratis-security-review/SKILL.md +137 -72
- package/package/corpus/skills/cratis-security-review/references/csharp.md +114 -0
- package/package/corpus/skills/cratis-security-review/references/elixir.md +21 -0
- package/package/corpus/skills/cratis-security-review/references/go.md +22 -0
- package/package/corpus/skills/cratis-security-review/references/java.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/kotlin.md +20 -0
- package/package/corpus/skills/cratis-security-review/references/python.md +3 -0
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +98 -68
- package/package/corpus/skills/cratis-security-review/references/typescript.md +22 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +134 -90
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +35 -52
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +170 -86
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp-templates-and-images.md +115 -0
- package/package/corpus/skills/cratis-showrunner-herald/references/csharp.md +280 -0
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +252 -38
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +104 -10
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +185 -27
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +103 -3
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-decision-reads.md +40 -11
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-events.md +136 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-graphs.md +45 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-integration.md +121 -75
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +33 -8
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-reactors.md +117 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-read-models.md +96 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-relational.md +16 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-slice.md +68 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +142 -34
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +274 -32
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +176 -111
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/java.md +208 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/kotlin.md +235 -7
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +223 -57
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +159 -34
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-running.md +180 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp.md +331 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/kotlin.md +5 -0
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +92 -55
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-browser.md +44 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript-storybook.md +157 -0
- package/package/corpus/skills/cratis-specifications-observe-ui/references/typescript.md +8 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +182 -9
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-rendering.md +172 -0
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript.md +400 -0
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +139 -9
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/references/typescript.md +316 -0
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +284 -14
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-configuration.md +202 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp-planning.md +80 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/csharp.md +221 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/graph-rendering.md +53 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/java.md +25 -0
- package/package/corpus/skills/cratis-stage-render-slice/references/review-render-plan.md +154 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +212 -12
- package/package/corpus/skills/cratis-stage-run-sandbox/references/journey-replay.md +47 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/published-mode.md +103 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-runtime.md +67 -0
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +60 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +243 -52
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/tools.md +239 -0
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/webhooks.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +233 -67
- package/package/corpus/skills/cratis-technical-examples/references/csharp.md +325 -0
- package/package/corpus/skills/cratis-technical-examples/references/elixir.md +114 -0
- package/package/corpus/skills/cratis-technical-examples/references/go.md +74 -0
- package/package/corpus/skills/cratis-technical-examples/references/java.md +194 -0
- package/package/corpus/skills/cratis-technical-examples/references/kotlin.md +205 -0
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +57 -40
- package/package/corpus/skills/cratis-technical-examples/references/typescript.md +427 -0
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +120 -35
- package/package/corpus/skills/cratis-ux-review/SKILL.md +136 -33
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +10 -6
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +10 -8
- package/package/corpus/skills/cratis-ux-review/references/typescript.md +9 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +275 -51
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +49 -35
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/pattern-evidence.md +151 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +28 -16
- package/package/corpus/skills/migrate-dotnet10-to-dotnet11/SKILL.md +3 -1
- package/package/profile-catalog.json +34 -2
- package/package.json +1 -1
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +0 -40
- package/package/corpus/skills/cratis-arc-declare-command/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +0 -23
- package/package/corpus/skills/cratis-arc-expose-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-generate-proxies/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-host-application/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-page-query/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/commands.md +0 -88
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/identity.md +0 -7
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +0 -9
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/manual-screen.md +0 -10
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/query-state.md +0 -29
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +0 -45
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/python.md +0 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +0 -11
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +0 -40
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +0 -62
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +0 -49
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +0 -25
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +0 -51
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +0 -27
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +0 -23
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +0 -23
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +0 -55
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +0 -72
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +0 -86
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +0 -46
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/bulk-repair.md +0 -7
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +0 -50
- package/package/corpus/skills/cratis-chronicle-record-event/references/python.md +0 -3
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +0 -29
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +0 -8
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +0 -15
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +0 -3
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +0 -5
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +0 -21
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +0 -9
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +0 -9
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +0 -68
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/code-style.md +0 -202
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +0 -161
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +0 -20
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/go-jvm-python-elixir.md +0 -83
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +0 -109
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +0 -95
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +0 -3
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +0 -16
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +0 -14
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +0 -52
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +0 -54
- package/package/corpus/skills/cratis-observability/references/dotnet-setup-and-options.md +0 -68
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +0 -22
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +0 -12
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +0 -12
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +0 -5
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +0 -56
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +0 -66
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +0 -27
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +0 -35
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +0 -90
- package/package/corpus/skills/cratis-screenplay-handoff-slice/references/unknown-preserving-reader.md +0 -9
- package/package/corpus/skills/cratis-screenplay-model-automation/references/host-trigger.md +0 -17
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-performers.md +0 -18
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +0 -12
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -10
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +0 -123
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/interview-batch.md +0 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +0 -11
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/review-questions.md +0 -13
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +0 -58
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +0 -20
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +0 -35
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +0 -76
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +0 -37
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +0 -40
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +0 -24
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +0 -23
- package/package/corpus/skills/cratis-specifications-isolate-behavior/references/csharp-phase-timings.md +0 -13
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +0 -7
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/blocked-tools.md +0 -11
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/references/observational-tools.md +0 -7
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +0 -8
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +0 -8
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +0 -24
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +0 -23
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +0 -25
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +0 -17
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +0 -23
|
@@ -1,69 +1,189 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-screenplay-model-interaction
|
|
3
|
-
description: Use when a
|
|
3
|
+
description: Use when modeling a Screenplay UI - screens over queries and commands, forms, toolbars, navigation, interactions, behaviors, templates, layouts, outlets, UI profiles, design systems, themes, sample data and strings. Not for command, event or query shape (cratis-screenplay-declare-slice), audience gates (cratis-screenplay-availability) or React implementation (cratis-arc-react-bind-slice).
|
|
4
4
|
compatibility: Requires the Screenplay CLI.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
#
|
|
7
|
+
# Model screens, forms and interactions
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## Contents
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
- What the UI layer is
|
|
12
|
+
- When to use what
|
|
13
|
+
- How it behaves
|
|
14
|
+
- Default path
|
|
15
|
+
- Capability catalog
|
|
16
|
+
- References and hand-offs
|
|
14
17
|
|
|
15
|
-
|
|
16
|
-
module Library
|
|
17
|
-
form AddAuthorForm for RegisterAuthor
|
|
18
|
-
field name label "Name"
|
|
19
|
-
feature Authors
|
|
20
|
-
slice StateChange RegisterAuthor
|
|
21
|
-
screen AddAuthor
|
|
22
|
-
action RegisterAuthor for screen
|
|
23
|
-
label "Add"
|
|
24
|
-
navigate to Authors
|
|
25
|
-
slice StateView ListAuthors
|
|
26
|
-
screen Authors
|
|
27
|
-
data Author[] via query AllAuthors
|
|
28
|
-
title "Authors"
|
|
29
|
-
toolbar authorActions
|
|
30
|
-
item addAuthor navigate to AddAuthor
|
|
31
|
-
label "Add author"
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
From the directory containing `model`, run `screenplay export model --format ui --output screens.json`. In `screens.json`, verify the Authors screen title, the toolbar item's `AddAuthor` destination, the Add action's `RegisterAuthor` command and `Authors` destination, and the live `AllAuthors` data binding. Check the form separately in `registration.play`: `form AddAuthorForm for RegisterAuthor` binds the editable name; a screen export alone need not contain the form declaration.
|
|
35
|
-
|
|
36
|
-
Choose a row gesture when the action is to inspect a specific record. Bind the screen's collection with `data Author[] via query AllAuthors`. Put the interaction on the table displaying that collection, not at screen level. With an existing `AuthorDetails` screen whose input is `authorId`, pass the activated row's key explicitly:
|
|
37
|
-
|
|
38
|
-
```play
|
|
39
|
-
screen Authors
|
|
40
|
-
data Author[] via query AllAuthors
|
|
41
|
-
table AuthorRows
|
|
42
|
-
column name
|
|
43
|
-
on double click
|
|
44
|
-
navigate to AuthorDetails
|
|
45
|
-
with authorId from item.id
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
For an action `for item`, explicit bindings win, then compatible case-sensitive field names. A required non-generated scalar identifier may use a single key of the same nominal concept. Two UUIDs are not interchangeable just because they share a primitive. Where several collections could supply the subject, narrow to one displayed table or bind explicitly. Never choose the first row to resolve ambiguity.
|
|
18
|
+
## What the UI layer is
|
|
49
19
|
|
|
50
|
-
|
|
20
|
+
A Screenplay model describes the UI declaratively, next to the slices it uses. A `screen` reads a read model through a query and offers commands as actions. A `form` shapes a command's input. `on <trigger>` interactions and named `behavior`s wire gestures and events to actions. Layouts, screen templates, dialog templates and outlets give screens a shared shell. A `ui profile` selects the shell, theme and component packages for a target.
|
|
51
21
|
|
|
52
|
-
|
|
22
|
+
The compiler checks references and shapes but never runs UI or evaluates a guard. A renderer (Stage, through Scene) realizes what it supports and reports the rest. Names in the examples are illustrative.
|
|
53
23
|
|
|
54
|
-
|
|
24
|
+
## When to use what
|
|
55
25
|
|
|
56
|
-
|
|
26
|
+
- **Screen placement.** Declare a screen inside the slice that owns its query (StateView) or its command (StateChange). Declare a *free* screen at document, module or feature level only when several slices reuse it; each slice then adopts it with `uses screen`.
|
|
27
|
+
- **Offering a command.** A plain `action <Command>` is the default. Use a guarded `action "<label>"` when the row's values decide which command runs or whether the action shows. Use a toolbar `item` or `button` when placement matters. Use `on click` with `execute` only for gestures that are not an action.
|
|
28
|
+
- **Forms.** Without a `form`, the renderer derives the input form from the command. Declare `form <Name> for <Command>` only to change labels, prefill, pickers, layout or what happens after submit.
|
|
29
|
+
- **Behaviors.** Write `on <trigger>` inline for one-off wiring; declare a top-level `behavior` and attach it with `uses` when several places share it.
|
|
30
|
+
- **Shell.** Put shared chrome in a `layout` and `screen template`s; extend it with `outlet … extends` and `contribute to` instead of repeating it per screen.
|
|
31
|
+
- **Code.** Use inline fenced code or `file <path>` only for what the declarative levels cannot express.
|
|
57
32
|
|
|
58
|
-
|
|
33
|
+
## How it behaves
|
|
59
34
|
|
|
60
|
-
|
|
35
|
+
- **Action flow.** Activating an action opens the command's input (its form) *before* running the command. A `navigate to` under the action is where the user goes *after* success.
|
|
36
|
+
- **Subject.** `for item` binds the nearest data (with several collections, the one a table shows); `for screen` needs no selection. Omitted, it is `item` only with one collection, one required non-generated identifier and one matching key; otherwise `screen`.
|
|
37
|
+
- **Inputs.** A command input comes from, in order: `with <input> from <binding>`, a same-named item field (case-sensitive), the item's one key of the same nominal concept (a matching primitive or similar name is not identity), then the form or renderer. Several matching keys warn (`PLAY0820`): write `with <input> from item.<key>`; nothing picks the first row or key. `for screen` never fills inputs from a row; guarded over collection data it warns (`PLAY0821`). A row binding that differs from the older case-insensitive name match warns (`PLAY0819`); state the subject and the binding.
|
|
38
|
+
- **Guards.** The first true `when` wins and runs once. A missing field compares false. A null matches only `== null`. With no item or selected row nothing runs, not even `otherwise`. A failed command never falls through to the next alternative. A guard decides what is offered, not what the command accepts.
|
|
39
|
+
- **Interactions accumulate.** They run outermost first: layout, module, feature, screen template, dialog template, form, screen, section, slot, table. Set a behavior's `order` to change this.
|
|
40
|
+
- **Continuations.** `on success` and `on failure` follow `execute`, `refresh`, `confirm`, `open dialog` and `raise`. `on result` follows only `open dialog`. Nesting is capped at 16 levels. An action written after an unconditional `navigate to` is reported.
|
|
41
|
+
- **Returned values.** In `on submit` and in an `execute … on success`, a bare name resolves to the nearest successful command response (`returns`). A form field or behavior parameter with the same name wins. `on failure` cannot read a response.
|
|
42
|
+
- **Diagnostics.** Unresolved screen, query, behavior and dialog references and missing or ambiguous action subjects warn. Malformed syntax (including invalid `for` values) and `uses` with incorrect behavior arguments are errors.
|
|
43
|
+
- **Exports.** The source UI contract (`screenplay-ui/1`) carries data, actions, navigation, layout, optional Scene and extensions. UI JSON omits availability and full behavior wiring. Admission carries data and plain-action gates into ESM but can refuse unsupported constructs. Resolve blueprint references in the host catalogue.
|
|
44
|
+
- **Stage realization.** An item action needs exactly one row from this screen’s tables or boards, or the row supplied by its row menu. Check [Stage behavior](references/shell-and-data.md) before calling an admitted screen runnable.
|
|
61
45
|
|
|
62
|
-
|
|
46
|
+
## Default path
|
|
63
47
|
|
|
64
|
-
|
|
48
|
+
1. Put the list screen in the StateView slice: `title`, `data <ReadModel>[] via query <Query>`, a `table` with its columns, and `on row-click navigate to <Detail> by <key>`.
|
|
49
|
+
2. For a command that needs no selection (create), add `action <Command> for screen` with a `label`.
|
|
50
|
+
3. Put the item action on the list. Use `presentation placement "row-menu"` so the one table supplies the row without triggering navigation. Put a keyed query and a read-only `summary` on the detail screen.
|
|
51
|
+
4. Add a `form` only for what the defaults get wrong, such as labels or opening the new item after submit.
|
|
52
|
+
5. Compile, inspect the UI contract, and check ESM admission (see Tools and SDK surfaces). Check the list-to-detail navigation and run each action in the intended renderer.
|
|
65
53
|
|
|
66
|
-
|
|
67
|
-
|
|
54
|
+
```play
|
|
55
|
+
module Facilities
|
|
56
|
+
form ReportFaultForm for ReportFault
|
|
57
|
+
field location label "Location"
|
|
58
|
+
on submit
|
|
59
|
+
navigate to WorkOrderDetails
|
|
60
|
+
with id from id
|
|
61
|
+
|
|
62
|
+
feature WorkOrders
|
|
63
|
+
slice StateView OpenWorkOrders
|
|
64
|
+
screen WorkOrders
|
|
65
|
+
title "Open work orders"
|
|
66
|
+
data WorkOrder[] via query OpenWorkOrders
|
|
67
|
+
action ReportFault for screen
|
|
68
|
+
label "Report a fault"
|
|
69
|
+
action CloseWorkOrder for item
|
|
70
|
+
label "Close"
|
|
71
|
+
with id from item.id
|
|
72
|
+
presentation placement "row-menu"
|
|
73
|
+
table WorkOrder
|
|
74
|
+
column location label "Location"
|
|
75
|
+
on row-click navigate to WorkOrderDetails by id
|
|
76
|
+
|
|
77
|
+
screen WorkOrderDetails
|
|
78
|
+
title "Work order"
|
|
79
|
+
data WorkOrder via query WorkOrderById by id
|
|
80
|
+
summary WorkOrder
|
|
81
|
+
field location label "Location"
|
|
82
|
+
```
|
|
68
83
|
|
|
69
|
-
|
|
84
|
+
`ReportFault` returns `id`, so `with id from id` in `on submit` reads the new identifier.
|
|
85
|
+
|
|
86
|
+
## Capability catalog
|
|
87
|
+
|
|
88
|
+
### Screens and data
|
|
89
|
+
|
|
90
|
+
- `screen <Name>` — declared in a slice (owned) or at document, module or feature level (free, reusable).
|
|
91
|
+
- `title "…"|$strings.<key>`; `description "…"` (one per screen).
|
|
92
|
+
- `data <ReadModel>` | `data <ReadModel>[]`, then `via query <Query> [by <param>]` — what the screen shows; `by` takes a scalar argument only (a composite key is refused, `PLAY0661`).
|
|
93
|
+
- `available for|when|with …` on `data` or `action` — narrow who sees the element; never widens the command or query (`PLAY1172`).
|
|
94
|
+
- `data <Shape>[] [as <alias>]` (no `via`) — a free screen's *need*; `shape <Name>` (top level) declares typed fields for it.
|
|
95
|
+
- `uses screen <Screen>` in a slice, then `data <need|alias> via query <Query> [by <param>]` and `<field> from <path>` where the names differ — adopt a free screen. An unadopted screen is design-only (`PLAY1164`); an unprovided need warns (`PLAY1155`).
|
|
96
|
+
- Name resolution runs inside-out (slice, feature, module, document). Qualify with a trailing scope (`Queue.All`) when ambiguous.
|
|
97
|
+
- `sketch|mockup|image <path>` — authoring visuals kept beside the model, never executed.
|
|
98
|
+
- `file <path>` — an external file realizes the whole screen; a fenced `react|typescript|html|csharp` block in a section or slot realizes that part inline.
|
|
99
|
+
|
|
100
|
+
### Actions and subjects
|
|
101
|
+
|
|
102
|
+
- `action <Command> [for item|screen]` — offer a command; children: `label "…"`, `with <input> from <binding>`, `navigate to <Screen>` (after success).
|
|
103
|
+
- `presentation <key> "…"` — renderer hints for a plain `action <Command> for item`. With `placement "row-menu"`, Stage moves the action into each row’s menu only if the composed screen has exactly one table. Otherwise it stays inline and needs one selected row.
|
|
104
|
+
- `action "<label>" [for item|screen]` + `when <cond> execute <Command>` (with nested `with`) … + `otherwise hidden` | `otherwise execute <Command>` — a guarded action; at most one `navigate to`.
|
|
105
|
+
- Conditions: `item.<path>` `== != > >= < <= contains` or `starts with` a literal, combined with `and`, `or` and parentheses.
|
|
106
|
+
|
|
107
|
+
### Widgets
|
|
108
|
+
|
|
109
|
+
- `section <name>` — a titled group of directives; takes interactions like a screen.
|
|
110
|
+
- `table <name>` + `column <field> [label "…"]` + `on row-click navigate to <Screen> [by <param>]`.
|
|
111
|
+
- `summary <ReadModel>` + `field <field> label "…"` — read-only facts.
|
|
112
|
+
- `toolbar [<name>]` with `item <id> action <Command> [for item|screen]` (children `label`, `icon`, `confirm "…"`, `enabled when <cond>`, `parameter <p> from <binding>`), `item <id> dialog <DialogTemplate>`, and `item <id> navigate to <Screen>`.
|
|
113
|
+
- `button <id> title "…" [slice <Slice>] [emphasis primary|secondary|quiet] [icon <i>] [for item|screen] [opens dialog|drawer|in slot <n>]` — invoke a StateChange slice. Children: `runs` (issue directly, no form; cannot be combined with `opens`), `runs close|submit|refresh`, `enabled when`, `confirm`, `authorize`, `before|after <id>`.
|
|
114
|
+
- `fits <dialog|drawer|pane|panel|page>[, …]` — preferred surfaces for a slice screen, in order.
|
|
115
|
+
- `component <Package.Component> <name>` — a package component. Children: `id "<stable>"`, `context from <binding>`, `property <p> from <binding> [mode oneWay|twoWay] [null propagate|clear|preserve] [expected <Type>]`, `property <p> = <scalar>`, `property <p>` with a structured block, `property <p> none|empty`, `icon`, `presentation <key> "<v>"`, `exposes <name> from <binding>`, `slot <name>`.
|
|
116
|
+
- Bindings: `from data <path>`, `from query <Query>[.<path>]`, `from component <id>.<output>`, `from literal <value>`.
|
|
117
|
+
- `component <System>.<Component> <name>` — an extension component; its declared signals can be triggers.
|
|
118
|
+
- `show <Screen> by <param> from <element>.selection` — in a template slot, show a detail screen for a table or component selection.
|
|
119
|
+
|
|
120
|
+
### Navigation
|
|
121
|
+
|
|
122
|
+
- `navigate to <Screen> [by <param>]` as a screen directive, an action child or a toolbar item — takes `route "<path>"`, `slot <name>` and `parameter <p> from data|query|component|literal <binding>`.
|
|
123
|
+
- Inside an interaction, `navigate to <Screen>` takes only `with <name> from <binding>`; it has no outcome, so `on success` or `on failure` under it is an error.
|
|
124
|
+
- `navigate back` (interaction) — return to the previous screen.
|
|
125
|
+
- `--check navigation` (`PLAY0537`) reports screens no entry point reaches; see [Navigation reachability](references/navigation-reachability.md).
|
|
126
|
+
- `outlet <name> of navigation [in <slot>]` on a layout, with `logo image "<url>" title "…"` (layout only) and `default <id> title "…" [icon <i>] [target <Module>[.<Feature>] [screen <Screen>]] [slot <n>]`. Nest `item` lines for children. A module's items target only its own module. Stage does not honor the `screen` part; it is not in the UI contract either.
|
|
127
|
+
|
|
128
|
+
### Forms
|
|
129
|
+
|
|
130
|
+
Use [Decision inputs](references/decision-inputs.md) to separate user input from server-owned values.
|
|
131
|
+
|
|
132
|
+
- `form <Name> for <Command>` (module level) — found through the action that runs the command.
|
|
133
|
+
- `description "…"`; `generation auto` (fields generated from command metadata) | `generation manual` (the authored fields are the contract).
|
|
134
|
+
- `populate via query <Query> [by <param>]` | `populate from item` — prefill.
|
|
135
|
+
- `field <input> [from <source>] [label "…"]` or `field <input> compose using <Composer>` — field rules; child `choose from query <Query> show <field>` turns it into a picker. The picker is inferred when the concept is the key of a read model that exactly one list query returns.
|
|
136
|
+
- `columns auto` | `columns manual` with `column <field> [label "…"]` — which command properties the form shows, in order, with labels; `auto` infers them, `manual` fixes the order. Independent of `layout`.
|
|
137
|
+
- `layout` with `column <n> [width <w>] [min <w>] [max <w>]`, `columnGap <w>`, `rowGap <w>`, and `place <field> row <r> column <c> [rowSpan <n>] [columnSpan <n>] [width <w>]`. Widths are `auto`, `<n>fr`, `<n>px` or `<n>%`.
|
|
138
|
+
- `on submit navigate to <Screen> [by <param>]` (one line) or an `on submit` block with actions. Other `on <trigger>` lines and `uses` attach behaviors.
|
|
139
|
+
|
|
140
|
+
### Interactions and behaviors
|
|
141
|
+
|
|
142
|
+
- `on <trigger>` — anonymous wiring. Triggers: `click`, `double click`, `select`, `submit`, `change`, `load`, `unload`, `enter`, `leave`, `event <Event>`, `interval <n> second(s)|minute(s)|hour(s)|day(s)`, a declared application trigger (uppercase name), an extension component's signal, or `<System>.<Trigger>`.
|
|
143
|
+
- Body: actions in order, or `when <cond>` alternatives with an optional `otherwise`. Alternatives are allowed only on `click`, `double click`, `select` and `change`. `where <cond>` filters a `change`; on other gestures write `when` alternatives (`where` warns there, `PLAY0564`).
|
|
144
|
+
- `on change` binds `item` (the row with the new value), `value` and `previous`.
|
|
145
|
+
- `execute <Command>` — run a command; `with <input> from <binding>`.
|
|
146
|
+
- `open dialog <DialogTemplate>` | `close dialog`.
|
|
147
|
+
- `refresh <Query>` — re-read a query.
|
|
148
|
+
- `set <target> to <value>` — set screen state.
|
|
149
|
+
- `notify info|warning|error "<msg>"|$strings.<key>|<path>` — show a notification.
|
|
150
|
+
- `confirm "<msg>"` — ask first; continue in `on success` or `on failure`.
|
|
151
|
+
- `raise <ApplicationTrigger>` — fire a declared application trigger (`trigger <Name>` with fields, top level); pass fields with `with`.
|
|
152
|
+
- `behavior <Name>` (top level only, not in a module) with `description`, `parameter <name> [<Type>]`, `order <n>` and `on …` blocks — reusable wiring.
|
|
153
|
+
- `uses <Behavior>` with `<param> <argument>` lines — attach a behavior at any level that takes interactions.
|
|
154
|
+
|
|
155
|
+
### Shell: layouts, templates, outlets and contributions
|
|
156
|
+
|
|
157
|
+
See [Shell and design](references/shell-and-data.md) for the shell skeleton, `arrangement freeform`, `exposure for <Owner>` (what users of a template may change), root template options and target checks.
|
|
158
|
+
|
|
159
|
+
- `layout <Name>` (top level) — slots `<name> [page|pane|panel] [routed [by <p>]] [primary] [optional]`, `slot <name>` (a fill point for components), plus `category <name>`, `type <name>`, `exposes <name> [<Type>]`, outlets, `arrangement`, `scopes` and interactions. A layout a profile uses as root template needs a `content` slot.
|
|
160
|
+
- `screen template <Name>` (in a module) — `fits slot <s>`, slots, outlets, `display "…"`, `description "…"`, `scopes <scope>, …` (`application`, `module`, `feature`, `subfeature`, `slice [statechange|stateview]`) or `scopes none`, and `content <slot>` holding screen directives the template itself renders in one of its slots.
|
|
161
|
+
- `dialog template <Name>` — like a screen template without `fits slot`; its `outlet … of actions` holds the footer buttons (`runs close|submit`).
|
|
162
|
+
- `template <Name>` in a screen, plus filled slots holding screen directives, applies a template. A bare `template <Name>` at application, module, feature or slice scope sets the default; the nearest wins. `template blueprint <Blueprint> <Name> [version "<range>"]` uses a package template.
|
|
163
|
+
- `outlet <name> of actions|filters|tabs|stats|navigation [for item|screen] [in <slot>]` — an extension point, allowed only on layouts and templates. Its items are `default <id> title "…" …` lines (the item form without its keyword), for example `default refresh title "Refresh" runs refresh`.
|
|
164
|
+
- `outlet <name> inherits|extends|overrides` in a module, feature or slice screen — `inherits` keeps the inherited items (lists nothing), `extends` adds after them, `overrides` replaces them. Refine with `hide <id>`, `before|after <id>` and item lines: `button …`, `group <id> title "…" [icon <i>]` (nested buttons), `filter <id> title "…" [sets <Query>.<param>]`, `tab <id> title "…" [shows <Screen>]`, `stat <id> title "…" [value from <SingleQuery>.<field>]`, navigation `item`.
|
|
165
|
+
- `contribute to <Outlet>` (module or feature) — `navigate to <Screen> [by <p>]`, `label`, `order <n>`, `id`, `icon`, `presentation`, `group`, `destination slot <n> | dialog <DialogTemplate> | external "<route>"`, or item lines of the outlet's kind. Inside a screen, `contribute to <Outlet> [order <n>]` contributes screen directives.
|
|
166
|
+
- `arrangement flow` — reflow a `row|column|grid [gap <n>]` tree; leaves set `width|height <n>`, `grow`, `span <n>`. Replace the tree for `when width <class>[, height <class>]` or `when height <class>` (`compact` or `regular`). Do not mix flow and freeform.
|
|
167
|
+
|
|
168
|
+
### Profiles, design, sample data and strings
|
|
169
|
+
|
|
170
|
+
See [Localized strings](references/localized-strings.md) for companion file rules.
|
|
171
|
+
|
|
172
|
+
- `ui profile <Name>` (top level; several allowed) — `target platform`, `target size compact|regular|expanded`, `theme`, `root template [blueprint <Bp>] <Name> [version "<range>"]` with `option <n> <v>`, `identity` (`name`, `logo initials|icon|image`, `show name`), `appearance` → `color scheme light|dark|system`, `new screens use template …`, `packages` (in priority order, `core` as fallback), `icons` and `sample data` (`active <Pack>`, `shape <S> maps to <ReadModel>`, `bind <ReadModel> to <Pack>`). A screen never names a profile.
|
|
173
|
+
- `design system <Name>` (top level, once) — `modes`, `default theme` (required), `tokens` by category (color, space, size, radius, border, shadow, font, type, motion, opacity, z), `components` with `parts`, `variant` and `state`, `words` (`voice`, `naming`) and `rules contrast <part> on <part> at least <ratio>`.
|
|
174
|
+
- `theme <Name>` (top level) — `implements <DesignSystem>`, `compatible with <Package>`, `palette`, `values`, and per-mode blocks. Every color token needs a value in every mode. A profile's theme must implement the design system.
|
|
175
|
+
- `sample data <Name>` (top level) — `title`, `locale`, and `shape <ReadModel>` with `row` and `<field> = <literal>` (nested rows for collections). Activate it from a profile.
|
|
176
|
+
- `<base>.<locale>.strings` companion files with `key = "value"` — use `$strings.<key>` for screen and section titles, labels (action, column, summary field, form field, contribution), toolbar button titles, notify and confirm messages, and validation messages.
|
|
177
|
+
|
|
178
|
+
### Tools and SDK surfaces
|
|
179
|
+
|
|
180
|
+
- `screenplay <root>` — compile; `screenplay export <root> --format ui [--scope <scope>] --output screens.json` — export the source UI contract.
|
|
181
|
+
- `screenplay export <root> --screens [--scope <scope>] --output model.esm.json` — admit screens into ESM (the default export format); `--screens` is ESM-only. Both accept module, nested feature or slice scopes.
|
|
182
|
+
- MCP `read-workspace`: `view: "ui-contract"` reads the source contract; `view: "executable-model"` needs `screens: true` to admit screens. `ui-profiles` reads shell, design system and themes; optionally select `name`.
|
|
183
|
+
- In-process UI-contract and admission APIs and Stage query performer bodies are C#-only.
|
|
184
|
+
- Studio Design: read the active catalogue and template set, then use checked edits or offer choices without applying them. See [Design in Studio](references/shell-and-data.md) for the operation catalog and refusal workflow.
|
|
185
|
+
|
|
186
|
+
## References and hand-offs
|
|
187
|
+
|
|
188
|
+
- Read `references/<language>.md` for the project's SDK (`.csproj` → csharp, Node server `package.json` → typescript, `*.kt` → kotlin, `*.java` → java, `go.mod` → go, `mix.exs` → elixir); only the project's languages are installed.
|
|
189
|
+
- Command, query and read-model shape: `cratis-screenplay-declare-slice`. Audience gates: `cratis-screenplay-availability` (a module gate covers its forms, screens, commands and queries). Stage output: `cratis-stage-render-slice`. Implementing the accepted screen: `cratis-arc-react-bind-slice`.
|
package/package/corpus/skills/cratis-screenplay-model-interaction/references/csharp-host-api.md
ADDED
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# In-process Screenplay APIs for .NET hosts
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Load a model
|
|
6
|
+
- Build the UI contract
|
|
7
|
+
- Write and read the contract
|
|
8
|
+
- Admit screens to the executable model
|
|
9
|
+
- Resolve action subjects
|
|
10
|
+
- Resolve a design theme
|
|
11
|
+
- Check shells against installed blueprints
|
|
12
|
+
- Read and write strings files
|
|
13
|
+
|
|
14
|
+
Use these when a .NET tool, test or host must read a model's screens itself. The CLI (`screenplay export`) runs the same code and stays the default. Everything here is in the `Cratis.Screenplay` package. Names in the examples are illustrative.
|
|
15
|
+
|
|
16
|
+
## Load a model
|
|
17
|
+
|
|
18
|
+
A model root with persisted identities opens as a workspace. It gives the executable model, so contracts carry identities and routes:
|
|
19
|
+
|
|
20
|
+
```csharp
|
|
21
|
+
using Cratis.Screenplay.Workspaces;
|
|
22
|
+
|
|
23
|
+
var opened = ScreenplayModelRoot.Open("models/helpdesk");
|
|
24
|
+
if (!opened.Success) throw new InvalidOperationException($"{opened.FailureKind}: {opened.Reason}");
|
|
25
|
+
var workspace = opened.Workspace!;
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
- Refusals arrive in `FailureKind` and `Reason`, not as exceptions. `PersistedIdentitiesRequired` means `.screenplay/identities.json` is absent; use the CLI or the folder path below.
|
|
29
|
+
- `workspace.Compilation` is a `CompilationResult<SemanticCompilation>`. When `Success` is false, its `Diagnostics` (`Severity`, `Code`, `Message`, `Location`) say why and there is no executable model.
|
|
30
|
+
|
|
31
|
+
A plain folder compiles to the merged application syntax only:
|
|
32
|
+
|
|
33
|
+
```csharp
|
|
34
|
+
using Cratis.Screenplay.Files;
|
|
35
|
+
|
|
36
|
+
var compiled = new PlayFileCompiler().CompileFolder("models/helpdesk").Result;
|
|
37
|
+
if (!compiled.Success)
|
|
38
|
+
{
|
|
39
|
+
foreach (var diagnostic in compiled.Diagnostics) Console.Error.WriteLine($"{diagnostic.Code}: {diagnostic.Message}");
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
var application = compiled.Value!;
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Build the UI contract
|
|
46
|
+
|
|
47
|
+
```csharp
|
|
48
|
+
using Cratis.Screenplay.Ui;
|
|
49
|
+
|
|
50
|
+
var contract = UiContractBuilder.For(workspace);
|
|
51
|
+
var queueScreens = UiContractBuilder.Select(contract, "Support.Queue");
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
- `For(workspace)` reads the merged syntax, resolves extension contracts from the lock beside the model, and adds query and command identities, routes and `ModelRevision` when the workspace compiles. A workspace whose semantic compilation fails still yields its screens, without those; sources that do not merge into one application throw `InvalidOperationException`.
|
|
55
|
+
- `For(syntax, model, application, extensions)` is for syntax you compiled yourself. Pass `null` as `model` when you have none; the contract then has no identities or routes. Pass extensions so screens list the extensions they place:
|
|
56
|
+
|
|
57
|
+
```csharp
|
|
58
|
+
using Cratis.Screenplay.Extensions;
|
|
59
|
+
|
|
60
|
+
var playFiles = Directory.EnumerateFiles("models/helpdesk", "*.play", SearchOption.AllDirectories);
|
|
61
|
+
var extensions = ExtensionContractResolver.Current.Resolve(application, playFiles);
|
|
62
|
+
var fromSyntax = UiContractBuilder.For(application, null, "Helpdesk", extensions);
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
- `For(model)` reads the admitted screens an executable model holds (none if screens were not admitted). It reconstructs data, actions, navigation and regions from semantic records. `Scene` is absent unless the screen has admitted extension components. For those it describes extension references, property names (not authored values) and signal-to-command links. It does not reconstruct authored templates, toolbars, outlets or action presentation.
|
|
66
|
+
- `Select(contract, scope)` keeps screens whose slice is `Module[.Feature...][.Slice]` or lies under it. A scope that names no screen throws `InvalidSemanticModelScope`.
|
|
67
|
+
- A free screen appears once per slice that adopts it; a free screen no slice adopts is not in the contract.
|
|
68
|
+
|
|
69
|
+
What the contract holds: `Contract` (`screenplay-ui/1`), `Application`, `ModelRevision`, and `Screens`. Each screen has `Name`, `Slice`, `SliceId`, `Title`, `Description`, `Data` (`Query`, `ReadModel`, `Many`, `Fields`, `By`, `QueryId`, `Route`, `Live`), `Actions` (`Command`, `Label`, `Subject` `item`/`screen`, `Inputs` with `Name`, `Type`, `From`, plus `When`, `Then`, `CommandId`, `Route`), `Navigation` (`Screen`, `Trigger`, `By`, `Opens`), `Layout` (`Fits`, `Regions`, `Template`), `Scene` (templates, components, toolbars, outlets) and `Extensions`.
|
|
70
|
+
|
|
71
|
+
The source reader keeps authored `Available` gates on `UiData` and plain `UiAction` internally for admission. The resulting ESM carries those gates and the screen's own gates. `UiContractJson` omits them; `For(model)` does not project them back into a UI contract. Do not use exported UI JSON as an availability or authorization policy. Read full behavior wiring (refresh, set, notify, dialogs) from the syntax.
|
|
72
|
+
|
|
73
|
+
Source `Scene.Templates` names the templates explicitly referenced on the screen, any blueprint and requested range, and the named slot fills. It is not the resolved template chain. A .NET Scene host checks each reference with `Cratis.Scene.Engine.Templates.TemplateReferenceResolver.Resolve(reference, library)` from `Cratis.Scene.Engine`. Use `TemplateReference` from `Cratis.Scene.Model.Screens`: set the source to `Blueprint` with the authored name, blueprint and optional range, or `Own` with just the name. Supply the host's installed `TemplateLibrary`; handle a non-`Resolved` status instead of guessing a match.
|
|
74
|
+
|
|
75
|
+
## Write and read the contract
|
|
76
|
+
|
|
77
|
+
```csharp
|
|
78
|
+
File.WriteAllBytes("screens.json", UiContractJson.Write(queueScreens));
|
|
79
|
+
var loaded = UiContractJson.Read(File.ReadAllBytes("screens.json"));
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
- `Write` produces indented UTF-8 camelCase JSON with `\n` line endings, a trailing newline and no `null` members. The same contract always gives the same bytes, so the output is safe to commit and diff.
|
|
83
|
+
- `Read` throws `InvalidDataException` when the JSON holds no contract or a contract other than `screenplay-ui/1`.
|
|
84
|
+
|
|
85
|
+
## Admit screens to the executable model
|
|
86
|
+
|
|
87
|
+
```csharp
|
|
88
|
+
using Cratis.Screenplay.Semantics.Serialization;
|
|
89
|
+
|
|
90
|
+
var admitted = ExecutableScreens.Admit(workspace);
|
|
91
|
+
if (!admitted.Success)
|
|
92
|
+
{
|
|
93
|
+
foreach (var refusal in admitted.Refusals) Console.Error.WriteLine(refusal);
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
File.WriteAllBytes("model.esm.json", SemanticModelSerializer.Serialize(admitted.Compilation!.Model));
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
- This is `screenplay export --screens`. `Refusals` name each screen and the reference the model cannot hold; fix the reference, never drop the screen.
|
|
100
|
+
- A workspace that does not compile refuses with one reason ("no executable model to admit screens to").
|
|
101
|
+
- A model with no screens comes back unchanged.
|
|
102
|
+
- `Admit(syntax, compilation, utcAssessmentYear)` is for a syntax and semantic compilation you already hold. `utcAssessmentYear` fixes the year whose generation horizon is assessed; pass it in tests for reproducible output, otherwise the current year applies.
|
|
103
|
+
- `ExecutableSemanticModelScope.Select(model, scope)` (namespace `Cratis.Screenplay.Semantics`) narrows the admitted model like `--scope`; it throws `InvalidSemanticModelScope` unless the scope names exactly one module, feature or slice.
|
|
104
|
+
|
|
105
|
+
## Resolve action subjects
|
|
106
|
+
|
|
107
|
+
```csharp
|
|
108
|
+
using Cratis.Screenplay;
|
|
109
|
+
|
|
110
|
+
var effective = ScreenActionSubjects.Resolve(application);
|
|
111
|
+
foreach (var diagnostic in effective.Diagnostics) Console.Error.WriteLine($"{diagnostic.Code}: {diagnostic.Message}");
|
|
112
|
+
var resolved = effective.Value;
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
- Returns a copy of the application in which each action, guarded action and toolbar item has its `Subject` (`ScreenActionSubjectKind.Item` or `.Screen`) and inputs filled in. The authored syntax is not changed.
|
|
116
|
+
- The compiler already reports these diagnostics. Call it only when you read actions from syntax; the UI contract already carries each action's resolved `Subject` and `Inputs`.
|
|
117
|
+
|
|
118
|
+
## Resolve a design theme
|
|
119
|
+
|
|
120
|
+
```csharp
|
|
121
|
+
using Cratis.Screenplay.Design;
|
|
122
|
+
|
|
123
|
+
var profile = application.UiProfiles?.FirstOrDefault(candidate => candidate.Name == "Agents");
|
|
124
|
+
var theme = DesignSystemResolver.Resolve(application, profile);
|
|
125
|
+
if (theme is null) return;
|
|
126
|
+
foreach (var problem in theme.Problems) Console.Error.WriteLine(problem);
|
|
127
|
+
foreach (var (token, value) in theme.Tokens) Console.WriteLine($"--{token.Replace('.', '-')}: {value};");
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
- `SelectTheme(application, profile)`: the profile's `theme`, else the design system's `default theme`; `null` when none is declared.
|
|
131
|
+
- `SelectMode(application, profile)`: the profile's `color scheme` when it names a declared mode, else the first declared mode; `null` when the design system declares no modes.
|
|
132
|
+
- `Resolve(application, profile)` applies both selections. `Resolve(application, theme, mode)` resolves one theme in one mode; loop over the modes to emit every mode. Both return `null` when there is no design system, the theme does not implement it, or the mode is not declared.
|
|
133
|
+
- The result has `DesignSystem`, `Theme`, `Mode`, `Tokens` (each resolved token keyed `<category>.<name>`), `Components` (each with `Variants`: `Parts`, and per state the parts merged over the variant's) and `Problems` (each unresolved token or part, by name). Check `Problems`; unresolved references are reported, not thrown.
|
|
134
|
+
|
|
135
|
+
## Check shells against installed blueprints
|
|
136
|
+
|
|
137
|
+
The compiler checks shells it can see in the document. A host that installs blueprints checks the rest:
|
|
138
|
+
|
|
139
|
+
```csharp
|
|
140
|
+
using Cratis.Screenplay.Parsing;
|
|
141
|
+
|
|
142
|
+
BlueprintDescriptor[] installed =
|
|
143
|
+
[
|
|
144
|
+
new("Acme.Shells", "2.1.0",
|
|
145
|
+
[
|
|
146
|
+
new TemplateDescriptor("WorkspaceShell", TemplateDescriptorKind.Layout)
|
|
147
|
+
{
|
|
148
|
+
Slots = ["content", "sidebar"],
|
|
149
|
+
Options = ["density"]
|
|
150
|
+
}
|
|
151
|
+
])
|
|
152
|
+
];
|
|
153
|
+
var diagnostics = UiProfileShellBinder.Bind(application, installed);
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
- Reports, with the compiler's codes and messages: `PLAY0790` template not shipped, `PLAY0792` blueprint not installed, `PLAY0793` installed version outside the profile's `version` pin, `PLAY0794` template cannot be the shell, `PLAY0795` no `content` slot, `PLAY0796` option not exposed.
|
|
157
|
+
- `TemplateDescriptorKind` is `Layout`, `ScreenTemplate` or `DialogTemplate`. A layout can be the shell; a screen template only with `IsRoot` and `FitsSlot` false. When `Scopes` is set it must include `application`, and a `Type` of `ApplicationShell` must be a layout. `PrimarySlot` defaults to `content`. Leave `Options` `null` when the shell's options are unknown; they are then not checked.
|
|
158
|
+
|
|
159
|
+
## Read and write strings files
|
|
160
|
+
|
|
161
|
+
```csharp
|
|
162
|
+
using Cratis.Screenplay.Strings;
|
|
163
|
+
|
|
164
|
+
var files = new StringsFiles();
|
|
165
|
+
foreach (var file in files.FindIn("models/helpdesk"))
|
|
166
|
+
{
|
|
167
|
+
var strings = StringsFile.Parse(files.ReadContent(file));
|
|
168
|
+
Console.WriteLine($"{file.BaseName} {file.Locale ?? "(no locale)"}: {strings.Entries.Count()} keys");
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
var english = new StringsFile([new StringsEntry("tickets.fields.subject", "Subject")]);
|
|
172
|
+
File.WriteAllText("models/helpdesk/tickets.en.strings", english.Write());
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
- `FindIn(root)` matches `StringsFiles.Pattern` (`**/*.strings`) and orders results by `RelativePath`; `Path` is absolute. `BaseName` and `Locale` come from `<base>.<locale>.strings`; `Locale` is `null` without a locale segment.
|
|
176
|
+
- `Parse` skips blank lines and `//` comments and throws `InvalidStringsLine` (with the line number) for anything else. A key starts with a letter or underscore and continues in dotted word segments. A value is double-quoted, cannot contain `"` and has no escapes; `{placeholder}` tokens stay verbatim.
|
|
177
|
+
- `Write()` emits the canonical form: one entry per line, keys padded to the longest. It drops comments and blank lines, so don't round-trip a hand-commented file through it.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# C# for screens and interaction
|
|
2
|
+
|
|
3
|
+
## Contents
|
|
4
|
+
|
|
5
|
+
- Prerequisites
|
|
6
|
+
- Query performers
|
|
7
|
+
- Live query performers
|
|
8
|
+
- Performer gaps and refusals
|
|
9
|
+
- In-process APIs
|
|
10
|
+
- Not supported in this SDK
|
|
11
|
+
|
|
12
|
+
Screens, forms, the shell, design systems and strings are Screenplay language and need no C#. A C# project adds two things: query performer bodies that a Stage C# target realizes, and in-process APIs for a .NET tool or host that reads the model. The CLI is the default: `screenplay export <root> --format ui --output screens.json` for the source contract; `screenplay export <root> --screens --output model.esm.json` for ESM admission. Add `--scope <scope>` to either to select a module, nested feature or slice. Do not use `--screens` with UI export. Names in the examples are illustrative.
|
|
13
|
+
|
|
14
|
+
## Prerequisites
|
|
15
|
+
|
|
16
|
+
- **Performer bodies:** a model rendered by Stage's Cratis (C#) target. The model references no package; Stage compiles the body into the generated backend.
|
|
17
|
+
- **In-process APIs:** a .NET project with `dotnet add package Cratis.Screenplay`.
|
|
18
|
+
|
|
19
|
+
## Query performers
|
|
20
|
+
|
|
21
|
+
Declare the read first: return type, `by`, `filter`, `authorize` and a projection or reducer that builds the read model. Attach a `performer` only when that cannot express the result. The compiler reports `PLAY0270` (information, "performed by code") and leaves the query out of the executable model's queries; a `QueryPerformer` requirement carries its shape (read model, cardinality, delivery, `by`, filters, authorization) so a target can render it. The reference evaluator never runs the body; prove it in the rendered target.
|
|
22
|
+
|
|
23
|
+
````play
|
|
24
|
+
query LongestWaiting => Ticket[]
|
|
25
|
+
filter queue String
|
|
26
|
+
performer
|
|
27
|
+
```csharp
|
|
28
|
+
return readModels
|
|
29
|
+
.Where(ticket => ticket.Queue == queue)
|
|
30
|
+
.OrderBy(ticket => ticket.OpenedAt)
|
|
31
|
+
.Take(10);
|
|
32
|
+
```
|
|
33
|
+
````
|
|
34
|
+
|
|
35
|
+
Or put the same statements in a file next to the model; the file holds only the method body, not a class:
|
|
36
|
+
|
|
37
|
+
```play
|
|
38
|
+
query LongestWaiting => Ticket[]
|
|
39
|
+
filter queue String
|
|
40
|
+
performer
|
|
41
|
+
file Queries/LongestWaiting.cs
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
What the body sees:
|
|
45
|
+
|
|
46
|
+
| Binding | Value |
|
|
47
|
+
|---|---|
|
|
48
|
+
| `readModels` | The declared read model's instances as `IEnumerable<T>`, loaded once per call. It is the only data the body reads. |
|
|
49
|
+
| Arguments | Each `by`/`filter` argument by its camelCase name (`queue`), and as a PascalCase property on `context.Arguments` (`context.Arguments.Queue`). |
|
|
50
|
+
| `context.Tenant` | The tenant, as `string`. |
|
|
51
|
+
| `context.Identity` | The caller, as `ClaimsPrincipal`. |
|
|
52
|
+
| `context.ReceivedAt` | When the query was received, as `DateTimeOffset`. |
|
|
53
|
+
|
|
54
|
+
- Return `T?` for a single or optional result, `IEnumerable<T>` for a collection.
|
|
55
|
+
- The body is synchronous C#. `System`, `System.Collections.Generic`, `System.IO`, `System.Linq`, `System.Net.Http`, `System.Threading` and `System.Threading.Tasks` are in scope.
|
|
56
|
+
- There is no command causation (`CausedBy`), no event `Occurred` and no cancellation member on `context`.
|
|
57
|
+
- `authorize` on the query still applies; Stage renders it as the query's policy before the body runs.
|
|
58
|
+
|
|
59
|
+
## Live query performers
|
|
60
|
+
|
|
61
|
+
For `=> observable T[]`, the body works on a stream instead of a snapshot:
|
|
62
|
+
|
|
63
|
+
````play
|
|
64
|
+
query QueueBoard => observable Ticket[]
|
|
65
|
+
filter queue String
|
|
66
|
+
performer
|
|
67
|
+
```csharp
|
|
68
|
+
return readModels.Select(tickets => tickets
|
|
69
|
+
.Where(ticket => ticket.Queue == queue)
|
|
70
|
+
.OrderBy(ticket => ticket.OpenedAt));
|
|
71
|
+
```
|
|
72
|
+
````
|
|
73
|
+
|
|
74
|
+
- `readModels` is a `LiveReadModels<T>`: an `IObservable<IEnumerable<T>>` with no other members. It emits the current collection on subscribe, then the whole collection after each change. `System.Reactive.Linq` is in scope.
|
|
75
|
+
- Return `IObservable<IEnumerable<T>>`. Each emission is the complete result, never a delta, and consecutive emissions may be equal.
|
|
76
|
+
- The host subscribes once per client subscription and disposes on unsubscribe, disconnect or shutdown. `context` is captured once per subscription, so `context.ReceivedAt` does not advance. `OnError` or `OnCompleted` ends the subscription; nothing resubscribes.
|
|
77
|
+
- A projection or reducer in the model must build the read model; otherwise the target cannot observe it and renders a gap.
|
|
78
|
+
- Only collections can be live performers. For a live single read, declare `observable T optional` keyed by the read model's identifier, without a performer.
|
|
79
|
+
|
|
80
|
+
## Performer gaps and refusals
|
|
81
|
+
|
|
82
|
+
| Signal | Cause | Fix |
|
|
83
|
+
|---|---|---|
|
|
84
|
+
| `PLAY0810` (compiler error) | A performer query's `by` or `filter` takes its value `from $context`. | Make it a caller-supplied argument, or read `context.Tenant`/`context.Identity` in the body. |
|
|
85
|
+
| `STAGE-IMPL-LANGUAGE` (error) | The performer has bodies, but none in `csharp`. | Add a `csharp` body. No other language falls back or stubs. |
|
|
86
|
+
| `STAGE-IMPL-006` (warning) | The attachment is missing, changed or hash-invalid; the body does not compile; an argument is named `readModels` or `context`; or a live read model has no projection or reducer. | Repair the attachment, body or model and re-render. |
|
|
87
|
+
| `STAGE-ESM-007` (error) | The query has a code-implemented policy, a composite `by` key, an unresolved argument type, an observable single result, or a required argument after an optional one. | Change the query's declaration. |
|
|
88
|
+
|
|
89
|
+
On `STAGE-IMPL-006` the plan still produces a compilable method that throws `NotImplementedException` ("Query '<name>' (requirement <id>) is not runnable: <reason>"), the outcome is partial, and a `STAGE-NOT-RUNNABLE.md` lists the gap. Treat that query as undelivered. Don't hand-write a replacement for a generated performer; fix the source or report the gap.
|
|
90
|
+
|
|
91
|
+
## In-process APIs
|
|
92
|
+
|
|
93
|
+
Use these when a .NET tool, test or host must read the model itself rather than calling the CLI. Read [csharp-host-api.md](csharp-host-api.md) for setup, examples and gotchas.
|
|
94
|
+
|
|
95
|
+
To gate the model rather than export its screens, use `cratis-screenplay-accept-model`.
|
|
96
|
+
|
|
97
|
+
```csharp
|
|
98
|
+
using System.IO;
|
|
99
|
+
using Cratis.Screenplay.Ui;
|
|
100
|
+
using Cratis.Screenplay.Workspaces;
|
|
101
|
+
|
|
102
|
+
if (args.Length != 2) return 2;
|
|
103
|
+
var opened = ScreenplayModelRoot.Open(args[0]);
|
|
104
|
+
if (!opened.Success) return 1;
|
|
105
|
+
File.WriteAllBytes(args[1], UiContractJson.Write(UiContractBuilder.For(opened.Workspace!)));
|
|
106
|
+
return 0;
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Common mistakes:** Do not treat a UI contract as proof of executable screen admission, or a folder's compiled syntax as a workspace with persisted identities.
|
|
110
|
+
|
|
111
|
+
| API | Use it to |
|
|
112
|
+
|---|---|
|
|
113
|
+
| `ScreenplayModelRoot.Open` / `PlayFileCompiler.CompileFolder` | Load a model root as a workspace, or compile a folder to syntax. |
|
|
114
|
+
| `UiContractBuilder.For` / `.Select` | Build the `screenplay-ui/1` contract, optionally narrowed to a module, nested feature or slice. |
|
|
115
|
+
| `UiContractJson.Write` / `.Read` | Write the contract as deterministic JSON, or read one back. |
|
|
116
|
+
| `ExecutableScreens.Admit` | Admit screens into the executable model, or get the refusals. |
|
|
117
|
+
| `ScreenActionSubjects.Resolve` | Get each action's effective subject and inputs. |
|
|
118
|
+
| `DesignSystemResolver.SelectTheme` / `.SelectMode` / `.Resolve` | Flatten a profile's theme and mode into tokens and component parts. |
|
|
119
|
+
| `UiProfileShellBinder.Bind` | Check profile shells against the blueprints a host has installed. |
|
|
120
|
+
| `StringsFile` / `StringsFiles` | Find, parse and write `.strings` files. |
|
|
121
|
+
|
|
122
|
+
## Not supported in this SDK
|
|
123
|
+
|
|
124
|
+
- **Web query lookup form.** It is a component of the generated web frontend, not of the C# backend; there is no C# code to write for it. Stage composes it into its default screen for a snapshot `T optional` query keyed `by` a text or UUID argument.
|
|
125
|
+
- **Resolving blueprint screen templates in `Cratis.Screenplay`.** The source contract carries authored references, not a resolved chain. Use the Scene engine against the host's installed catalogue; see Build the UI contract in the host API reference.
|
|
126
|
+
- **Performer bodies in other languages** (SQL and others). The C# target refuses them with `STAGE-IMPL-LANGUAGE`; write the body in `csharp`.
|
|
127
|
+
- **Live performers that return one item or an optional item.** Use a declarative keyed `observable T optional` query or a live collection performer.
|
package/package/corpus/skills/cratis-screenplay-model-interaction/references/decision-inputs.md
CHANGED
|
@@ -21,3 +21,13 @@ A concept classifies the value; a processing purpose explains the use. Keep the
|
|
|
21
21
|
`produces event` declares a local fact; referring to an existing event is not another definition. If extracting an inline event, preserve its production position, mappings, identity and destination. A `public event` is a contract to expose through the boundary, not a new permission on a command. Likewise `produces operation X` defines an operation; `produces X` refers to it.
|
|
22
22
|
|
|
23
23
|
Pre-commit work with an external system is an operation, not a reaction to an already accepted event. Model execution and compensation in their actual order. An accepted description is useful for discussion even when it cannot bind for execution: report the missing capability instead of moving the call after commit without the owner's agreement.
|
|
24
|
+
|
|
25
|
+
## Generated identity
|
|
26
|
+
|
|
27
|
+
The server owns a generated ID: the form never asks for it. In the model, pin the generated value in an example so specifications are deterministic. At runtime, test that each generated UUID is valid and that two requests get distinct values, not the interpreter's deterministic literal. Neither a pin nor a runtime check proves the store holds no earlier fact under that ID; use a constraint or first-append check for that.
|
|
28
|
+
|
|
29
|
+
A generated-fixture refusal depends on the selected target, so read its diagnostic instead of treating it as a universal renderer failure:
|
|
30
|
+
|
|
31
|
+
- `STAGE-ESM-028`: the generated shape or strategy is not one the target renders. Change the concept to a required scalar UUID (or a strategy the target supports) or report the gap.
|
|
32
|
+
- `STAGE-ESM-038`, two separate causes. If a specification leaves a generated value unpinned while a concept rule on it is not proven, pin the value in the example or simplify the rule. If the command shape is unsupported (rules or requirements reading generated properties, unsupported response source, destination allocation), a pin does not help: report a target gap or change the shape.
|
|
33
|
+
- `STAGE-ESM-011`: a pin is invalid for the concept's shape or rules. Fix the pin.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Screenplay UI from a Elixir project
|
|
2
|
+
|
|
3
|
+
The model is `.play` text and language-neutral; write screens, forms and interactions exactly as `SKILL.md` describes. Compile and export with the Screenplay CLI (`dotnet tool install -g Cratis.Screenplay.Tool`; it needs the .NET SDK).
|
|
4
|
+
|
|
5
|
+
Not supported in this SDK: Stage screen rendering, the programmatic UI-contract, screen-admission and action-subject APIs, and query performers. Do this instead:
|
|
6
|
+
|
|
7
|
+
- Export the stack-neutral UI contract with `screenplay export <root> --format ui --output screens.json` and build each screen in the React frontend from its `data`, `actions`, `navigation` and `layout`, calling the backend through the TypeScript proxies this SDK generates. Ignore `scene` unless the frontend uses Scene.
|
|
8
|
+
- Reject a `contract` value other than `screenplay-ui/1`. `route`, `queryId`, `commandId` and `modelRevision` appear only when the model also has an executable model.
|
|
9
|
+
- Read behavior wiring the contract does not carry (refresh, set, notify, dialogs, `on submit`) from the `.play` source.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Screenplay UI from a Go project
|
|
2
|
+
|
|
3
|
+
The model is `.play` text and language-neutral; write screens, forms and interactions exactly as `SKILL.md` describes. Compile and export with the Screenplay CLI (`dotnet tool install -g Cratis.Screenplay.Tool`; it needs the .NET SDK).
|
|
4
|
+
|
|
5
|
+
Not supported in this SDK: Stage screen rendering, the programmatic UI-contract, screen-admission and action-subject APIs, and query performers. Do this instead:
|
|
6
|
+
|
|
7
|
+
- Export the stack-neutral UI contract with `screenplay export <root> --format ui --output screens.json` and build each screen in the React frontend from its `data`, `actions`, `navigation` and `layout`, calling the backend through the TypeScript proxies this SDK generates. Ignore `scene` unless the frontend uses Scene.
|
|
8
|
+
- Reject a `contract` value other than `screenplay-ui/1`. `route`, `queryId`, `commandId` and `modelRevision` appear only when the model also has an executable model.
|
|
9
|
+
- Read behavior wiring the contract does not carry (refresh, set, notify, dialogs, `on submit`) from the `.play` source.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Screenplay UI from a Java project
|
|
2
|
+
|
|
3
|
+
The model is `.play` text and language-neutral; write screens, forms and interactions exactly as `SKILL.md` describes. Compile and export with the Screenplay CLI (`dotnet tool install -g Cratis.Screenplay.Tool`; it needs the .NET SDK).
|
|
4
|
+
|
|
5
|
+
Not supported in this SDK: Stage screen rendering, the programmatic UI-contract, screen-admission and action-subject APIs, and query performers. Do this instead:
|
|
6
|
+
|
|
7
|
+
- Export the stack-neutral UI contract with `screenplay export <root> --format ui --output screens.json` and build each screen in the React frontend from its `data`, `actions`, `navigation` and `layout`, calling the backend through the TypeScript proxies this SDK generates. Ignore `scene` unless the frontend uses Scene.
|
|
8
|
+
- Reject a `contract` value other than `screenplay-ui/1`. `route`, `queryId`, `commandId` and `modelRevision` appear only when the model also has an executable model.
|
|
9
|
+
- Read behavior wiring the contract does not carry (refresh, set, notify, dialogs, `on submit`) from the `.play` source.
|