@cratis/pi 8.0.2 → 8.1.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 +9 -102
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -49
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -84
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +6 -51
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -81
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -54
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +5 -22
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +7 -315
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +3 -25
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +5 -151
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +5 -104
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +5 -63
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -55
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -33
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -79
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +4 -27
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +4 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +0 -2
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +0 -1
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +7 -138
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +19 -19
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -4
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +2 -7
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +5 -6
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +7 -129
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +8 -165
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +5 -98
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +9 -63
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +8 -148
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +4 -37
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +7 -70
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -98
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +3 -47
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +3 -65
- package/package/corpus/hooks/README.md +4 -7
- package/package/corpus/hooks/scripts/quality-gates.json +3 -5
- package/package/corpus/rules/ai-distribution.md +9 -102
- package/package/corpus/rules/authoring-skills.md +3 -5
- package/package/corpus/rules/browser.md +8 -49
- package/package/corpus/rules/code-health-policy.txt +4 -24
- package/package/corpus/rules/code-health.md +1 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -84
- package/package/corpus/rules/code-quality.md +6 -51
- package/package/corpus/rules/code-quality.typescript.md +4 -81
- package/package/corpus/rules/codescene.md +5 -54
- package/package/corpus/rules/components.md +1 -1
- package/package/corpus/rules/cratis-folder-is-configuration.md +5 -22
- package/package/corpus/rules/csharp.md +7 -315
- package/package/corpus/rules/dialogs.md +1 -1
- package/package/corpus/rules/discoverability.md +3 -25
- package/package/corpus/rules/documentation-structure-and-formatting.md +5 -151
- package/package/corpus/rules/documentation.md +5 -104
- package/package/corpus/rules/editing-cratis-docs.md +5 -63
- package/package/corpus/rules/efcore.md +8 -55
- package/package/corpus/rules/efcore.specs.md +3 -33
- package/package/corpus/rules/elixir.md +6 -79
- package/package/corpus/rules/exit-codes-and-wrappers.md +4 -27
- package/package/corpus/rules/framework-dotnet.md +4 -6
- package/package/corpus/rules/framework.md +0 -2
- package/package/corpus/rules/frontend-quality.md +0 -1
- package/package/corpus/rules/frontend-testing.md +1 -1
- package/package/corpus/rules/general.md +2 -2
- package/package/corpus/rules/github-actions.md +7 -138
- package/package/corpus/rules/glossary.md +19 -19
- package/package/corpus/rules/go-engineering.md +1 -4
- package/package/corpus/rules/go.md +2 -7
- package/package/corpus/rules/guards-and-fuses.md +5 -6
- package/package/corpus/rules/java.md +7 -129
- package/package/corpus/rules/kotlin.md +8 -165
- package/package/corpus/rules/orleans.md +5 -98
- package/package/corpus/rules/profiles.md +9 -63
- package/package/corpus/rules/scripting.md +1 -1
- package/package/corpus/rules/specs.csharp.md +8 -148
- package/package/corpus/rules/specs.elixir.md +4 -37
- package/package/corpus/rules/specs.typescript.md +3 -1
- package/package/corpus/rules/storybook.md +7 -70
- package/package/corpus/rules/typescript.md +8 -98
- package/package/corpus/rules/writing-correct-examples.md +3 -47
- package/package/corpus/rules/writing-cratis-docs.md +3 -65
- package/package/corpus/skills/cratis-application-growth/SKILL.md +7 -54
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +49 -0
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +12 -14
- package/package/corpus/skills/cratis-application-growth/references/stages.md +2 -2
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +3 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +2 -2
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +10 -43
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +40 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +1 -1
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +6 -7
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +2 -8
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +6 -12
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +4 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +11 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +19 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +1 -2
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -1
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +4 -7
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +4 -2
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +6 -6
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +10 -6
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +7 -3
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +1 -1
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +2 -4
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +1 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +13 -51
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +9 -1
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +40 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +19 -64
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +62 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +24 -55
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +49 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +13 -31
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +25 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +24 -62
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +51 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +4 -4
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +10 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +16 -3
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +19 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +20 -7
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +22 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/python.md +8 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +22 -2
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +22 -248
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +55 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +72 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +86 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +27 -275
- package/package/corpus/skills/cratis-arc-validation-typescript/references/models-and-queries.md +63 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +46 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/server-decisions.md +114 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +15 -255
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +13 -6
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +75 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +78 -13
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +16 -14
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +10 -6
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +8 -8
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +10 -8
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +8 -4
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +21 -8
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +5 -7
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +3 -3
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +10 -80
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +2 -2
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -24
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +10 -0
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +7 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +11 -5
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +3 -1
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +51 -40
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/{occurrences.md → csharp-occurrences.md} +2 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +5 -6
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +21 -19
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +3 -3
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +3 -4
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +3 -4
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +7 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +3 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +2 -6
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +2 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +1 -1
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +1 -5
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +3 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +2 -2
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +12 -201
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +67 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +88 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +8 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +13 -11
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +20 -61
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +1 -1
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +15 -26
- package/package/corpus/skills/cratis-code-review/SKILL.md +7 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +1 -1
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +1 -1
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +14 -206
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +29 -0
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +8 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +1 -1
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +7 -8
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +2 -2
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +1 -1
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +22 -27
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +5 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +19 -25
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +26 -19
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +3 -3
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +15 -12
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +3 -3
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +9 -15
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +5 -5
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +3 -3
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +7 -51
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +49 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +4 -2
- package/package/corpus/skills/cratis-content-length/SKILL.md +34 -46
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +26 -127
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +15 -27
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +3 -19
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +29 -224
- package/package/corpus/skills/cratis-discoverability/SKILL.md +11 -4
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +2 -2
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +4 -3
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +13 -129
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +132 -0
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +11 -100
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +55 -40
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +68 -0
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +38 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +14 -65
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +40 -174
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +8 -52
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +29 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +20 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +3 -4
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +7 -12
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +5 -4
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +6 -40
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +18 -151
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +5 -21
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +19 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +3 -66
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +68 -0
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +2 -84
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +87 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +15 -263
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +3 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +28 -6
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +18 -14
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +231 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +2 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +62 -77
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -39
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +36 -0
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +4 -4
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +8 -134
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +139 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +3 -100
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +109 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +1 -5
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +1 -3
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +11 -116
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +93 -0
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +4 -15
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +8 -8
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +5 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +15 -2
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +10 -27
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +16 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +26 -188
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +14 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +7 -5
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +23 -157
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +139 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +7 -5
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +2 -4
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +7 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +2 -2
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +2 -2
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +2 -2
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +5 -23
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +20 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +3 -3
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +8 -63
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +52 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +1 -1
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +9 -23
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +3 -14
- package/package/corpus/skills/cratis-observability/references/csharp.md +4 -6
- package/package/corpus/skills/cratis-observability/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +4 -5
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +1 -4
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +0 -3
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +0 -4
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +7 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +22 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +4 -4
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +12 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +12 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/worktrees.md +10 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +14 -13
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +51 -26
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +8 -14
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +9 -65
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +5 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +11 -7
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +1 -1
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +27 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +35 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +6 -76
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +79 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +19 -16
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +2 -2
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +5 -5
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +1 -1
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +2 -3
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +2 -2
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +10 -8
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +6 -6
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +4 -4
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +4 -4
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +3 -3
- package/package/corpus/skills/cratis-release-notes/SKILL.md +9 -133
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -0
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +64 -0
- package/package/corpus/skills/cratis-rtk/SKILL.md +12 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +1 -1
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +1 -1
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +25 -59
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +11 -10
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +9 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +3 -3
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +8 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +20 -167
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +23 -47
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +9 -10
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +26 -23
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +6 -14
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +2 -2
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +1 -1
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +7 -9
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +10 -14
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +6 -31
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +22 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +4 -4
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +4 -75
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -2
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +85 -1
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +15 -133
- 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 +4 -12
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +28 -57
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +13 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +3 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +82 -71
- package/package/corpus/skills/cratis-security-review/SKILL.md +4 -73
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +24 -13
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +74 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +7 -32
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +2 -2
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +20 -0
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +9 -17
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +2 -2
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +16 -10
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +9 -162
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +37 -0
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +40 -0
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +39 -150
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +24 -0
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +23 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +5 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +2 -2
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +13 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +7 -4
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +20 -4
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +2 -2
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +5 -5
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +2 -2
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +2 -2
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +2 -2
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +10 -9
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +3 -3
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +7 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -6
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +10 -106
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +1 -1
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +42 -0
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +2 -2
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +37 -0
- package/package/corpus/skills/cratis-ux-review/SKILL.md +8 -40
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +24 -0
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -1
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +19 -132
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +24 -97
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +23 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +25 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +17 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +23 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +8 -29
- package/package.json +1 -1
- /package/package/corpus/skills/cratis-chronicle-protect-decision/references/{standalone.md → csharp-standalone.md} +0 -0
- /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/silent-backup-failure.md → silent-backup-failure.md} +0 -0
- /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/unintended-release-regression.md → unintended-release-regression.md} +0 -0
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-stage-render-slice
|
|
3
|
-
description: Use when an implementer needs to invoke Stage generation and review the generated target. Not for implementing the working outcome by hand.
|
|
3
|
+
description: Use when an implementer needs to invoke Stage generation and review the generated target. Not for implementing the working outcome by hand (use cratis-platform-deliver-slice).
|
|
4
4
|
compatibility: Requires the Cratis CLI and the toolchain named by the generated application README.
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
# Render into an owned destination
|
|
8
8
|
|
|
9
|
-
Start with the accepted handoff (`cratis-screenplay-handoff-slice` skill in `cratis/screenplay`): full source, exact revision, application name, scope and the outcomes the target must demonstrate.
|
|
9
|
+
Start with the accepted handoff (`cratis-screenplay-handoff-slice` skill in `cratis/screenplay`): full source, exact revision, application name, scope and the outcomes the target must demonstrate. Use the CLI's bundled Stage: standalone Screenplay acceptance does not prove renderability.
|
|
10
10
|
|
|
11
|
-
1. For a new application,
|
|
11
|
+
1. Choose the destination and scope **before** running a check. For a new application accepted in full, use an empty destination separate from `model/`. Do not run `cratis new` there first: a template scaffold is not a previous Stage publication and can collide. Preview the whole application to include the scaffold and default Scene:
|
|
12
12
|
|
|
13
13
|
```sh
|
|
14
14
|
cratis render model --name Library --destination out --check
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
If a scoped projection is refused for overwriting identity, compare the assignment with the resolved key. A simple assignment restating its event-source, event-property or literal key can be admitted; assigning a different value is not equivalent. Do not delete a correct key to get past the check.
|
|
19
|
-
2. [Review ownership and the planner result](references/review-render-plan.md). Get publication approval from the requesting user unless they named another owner. Then repeat the reviewed command without `--check`. For a later change to an already scaffolded destination, preview and then publish only the accepted scope with the same application identity:
|
|
17
|
+
**Choose a scoped render when** the handoff covers only part of the application. Keep the same application identity and check only the approved source scope. Use the authored `Module[.Feature…][.Slice]` address, without prepending the application name. For a slice `RegisterAuthor` in module `Authors`:
|
|
20
18
|
|
|
21
19
|
```sh
|
|
22
|
-
cratis render model --name Library --destination out --scope
|
|
20
|
+
cratis render model --name Library --destination out --scope Authors.RegisterAuthor --check
|
|
23
21
|
```
|
|
24
22
|
|
|
25
|
-
Include
|
|
23
|
+
The first scoped publication adds the plain scaffold but not the default Scene. Include separately changed views and dependencies not already published with repeatable `--scope` options; `CLI-RENDER-014` names the missing declaration and scope. Get agreement before widening the scope and check the revised selection again.
|
|
24
|
+
2. [Review ownership and the planner result](references/review-render-plan.md). Exit 6 means changes are pending; exit 0 means current and needs no publication. A refusal isn't an empty plan. Don't use `--force` to get past edited or colliding files: save manual work and reconcile it with its owner first. On `CLI-RENDER-004`, keep the accepted model intact; use a renderer verified to admit its schema or agree on a hand-written implementation (`cratis-platform-deliver-slice` in `cratis/application`). If a scoped projection is refused for overwriting identity, compare the assignment with the resolved key: a simple assignment restating its event-source, event-property or literal key can be admitted; a different value is not equivalent.
|
|
25
|
+
|
|
26
|
+
For pending changes, get approval for the checked writes and removals from the requesting user unless they named another owner. Publish by repeating the approved command with **only** `--check` removed. If the inputs or destination changed, preview and review again first. Compare the resulting diff to the approved plan, including deletions, and repeat the same check: no pending writes should remain.
|
|
26
27
|
3. Use the whole-slice reconciliation procedure in `cratis-platform-deliver-slice` (in `cratis/application`): map contract to code and code to contract, name an executable target spec for every contracted scenario, and report unmatched items even after delta delivery. For an attached C# query body, check the C# performer reference in `cratis-screenplay-model-interaction` (in `cratis/screenplay`) before treating it as a gap. Inspect diagnostics and `STAGE-NOT-RUNNABLE.md` when present. A compiled stub that throws is a gap, not delivered behavior. Record the requirement identity, missing effect, application owner and target check that remains unmet. A refused plan is not permission to remove a rule from the model.
|
|
27
28
|
4. Fill an authorized gap only at a supported seam: for example, implement the generated host's `ConfigureServices` partial in the application-owned `Customizations/Program.cs` to register a directory adapter. In the global namespace, add `static partial void ConfigureServices(WebApplicationBuilder builder)` inside `public partial class Program`; add the registration to the existing implementation if present. Keep the generated declaration untouched. Registering a service doesn't replace a throwing stub. If the stub has no callable extension point, stop and choose a supported model attachment or a separately owned implementation with the team. Do not add another handler for the same generated route.
|
|
28
|
-
5. From `out/`,
|
|
29
|
+
5. From `out/`, run `dotnet build Library.csproj` to generate client proxies (the scaffold expects Debug), then install and build the frontend as directed by the generated README (Yarn for the ordinary scaffold, npm for a repository-root scaffold). With the configured local Chronicle available, run the existing covering specs. Add a spec for any uncovered consequential decision; check the visible outcome once on the running target. For Library, prove registering Aster adds the row for the addressed ID, and a blank name reports `Name is required` without adding one. Rerender in a comparison copy and repeat the tests before declaring manual work regeneration-safe. A clean diff or a passing model test alone proves neither outcome on the target. Report any Stage semantic specification job separately from rendered application tests; use `cratis-stage-run-sandbox` in `cratis/stage` when installed.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-stage-run-sandbox
|
|
3
|
-
description: Use when a model owner wants to try a Screenplay interaction in a disposable Stage runtime or run its specifications in the Stage semantic engine.
|
|
3
|
+
description: Use when a model owner wants to try a Screenplay interaction in a disposable Stage runtime or run its specifications in the Stage semantic engine. Not for generating application files (use cratis-stage-render-slice).
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Try one interaction in a local sandbox
|
|
@@ -14,8 +14,8 @@ Start with the model folder, a running Docker engine with `docker` on the path,
|
|
|
14
14
|
cratis run ./model
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
For a standalone preview, keep the default loopback binding. Wait for `Ready` and check the reported model and engine. A running container is not a ready model. A typed refusal from a modeled command is different from an unsupported endpoint returning HTTP 501. Neither is evidence of a successful interaction. If inspecting a running semantic host directly, use `GET /stage/status` for readiness and `GET /stage/semantic/admission` for reported issues. On refusal, record the unsupported construct and diagnostic; do not switch engines or remove a requirement to make the preview start.
|
|
17
|
+
For a standalone preview, keep the default loopback binding. Wait for `Ready` and check the reported model and engine. A running container is not a ready model, and readiness does not prove every endpoint works. Check the ready warnings for refused inline bodies. A typed refusal from a modeled command is different from an unsupported endpoint returning HTTP 501. Neither is evidence of a successful interaction. If inspecting a running semantic host directly, use `GET /stage/status` for readiness and `GET /stage/semantic/admission` for reported issues. On refusal, record the unsupported construct and diagnostic; do not switch engines or remove a requirement to make the preview start.
|
|
18
18
|
3. Use the printed Stage API reference to find the modeled command and query. If the CLI reports an application address as well, you can exercise the gesture there. Perform the agreed action once. Query or reopen the view and check the exact author, not just the row count. If the result is missing, use the printed Chronicle Workbench address to distinguish a missing fact from a missing view update. Do not repeat the command to diagnose the first attempt.
|
|
19
19
|
4. Record the model, input and observed outcome before pressing Ctrl+C in the run terminal. Confirm the session has ended and its container is no longer running. Report what worked **in the sandbox**: this walk neither executes the model's specification suite nor verifies a generated application. It does not authorize [rendering application files](../cratis-stage-render-slice/SKILL.md) or deployment.
|
|
20
20
|
|
|
21
|
-
|
|
21
|
+
**Choose a semantic specification run when** the accepted cases must be executed as a suite. Use the [Stage specification runner](references/semantic-spec-runner.md).
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
# Run the model's specifications in Stage
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
With Docker and permission for a disposable run, use the latest published Stage SpecRunner image. This is a separate job, not the sandbox CLI. Mount one application's model at `/model` read-only and a new writable directory at `/output`; replace the example host paths. Arguments after the image name replace its default command, so give both paths explicitly when selecting the semantic engine:
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
|
-
docker run --rm -v /absolute/path/to/model:/model:ro -v /absolute/path/to/new-results:/output \
|
|
7
|
-
cratis/stage-specrunner:
|
|
8
|
-
--model /model --output /output/results.json
|
|
6
|
+
docker run --rm --pull=always -v /absolute/path/to/model:/model:ro -v /absolute/path/to/new-results:/output \
|
|
7
|
+
cratis/stage-specrunner:latest --engine semantic --model /model --output /output/results.json
|
|
9
8
|
```
|
|
10
9
|
|
|
11
|
-
For a focused run, add `--specification` with
|
|
10
|
+
The default application name comes from the input path (`model` in this example). Add `--application Library` if the accepted name is Library; a changed name changes semantic identities. For a focused run, add `--specification` with one specification's semantic identity or `--scope` with comma-separated semantic identities. Report the selected scope.
|
|
12
11
|
|
|
13
|
-
|
|
12
|
+
If the accepted model uses an authoritative identity catalog, make it available inside the container and pass its container path with `--catalog`. The catalog supplies identities; it does not select which specs to run.
|
|
13
|
+
|
|
14
|
+
Exit `0` means the report was written, not that specs passed. Require `schemaVersion: stage-spec-run/1` and read the report as semantic results. Match `semanticRevision` and `results[].specificationId` to the intended revision and selection. Count `results[].outcome` and report Passed, Failed, Unsupported and Cancelled separately, including zeros. Include expectation details for failures and the capability and reason for unsupported checks. A missing report, unknown outcome, missing selected specification or nonpassing outcome cannot establish a green run. If the runner refuses, report the diagnostic rather than reading a stale report.
|
|
14
15
|
|
|
15
16
|
Report Stage semantic results separately from Screenplay reference execution (`cratis-screenplay-accept-model`) and [rendered application tests](../../cratis-stage-render-slice/SKILL.md). Structural verification does not execute behavior; a Stage semantic pass does not prove generated code.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-studio-mcp-safety-guidance
|
|
3
|
-
description: Use when classifying a Studio MCP request
|
|
3
|
+
description: Use when classifying a Studio MCP request or interpreting already-redacted Studio output. Not for operating a running Chronicle store (use cratis-chronicle-cli-operations).
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -10,11 +10,9 @@ Treat Studio MCP access as access to live product and organization data. This
|
|
|
10
10
|
skill classifies intent only. It does not discover, configure, install, or call
|
|
11
11
|
an MCP server.
|
|
12
12
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
evidence; do not publish its tool names, schemas or implementation details.
|
|
17
|
-
Treat edits and dynamically delegated work as effectful by default.
|
|
13
|
+
Endpoint availability and credentials do not prove an operation is read-only.
|
|
14
|
+
The admitted Studio inventory is empty; there is no verified operation to
|
|
15
|
+
disclose or execute. Treat edits and delegated work as effectful.
|
|
18
16
|
|
|
19
17
|
## Current authority boundary
|
|
20
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-technical-examples
|
|
3
|
-
description: Use when adding or reviewing runnable Cratis examples,
|
|
3
|
+
description: Use when adding or reviewing runnable Cratis examples, tutorials, client snippets or command and output pairs. Not for organizing a documentation page (use cratis-documentation-writing).
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
6
|
cratis-hint-paths: "**/Samples/**/*.{cs,ts,tsx}"
|
|
@@ -35,51 +35,12 @@ journey, use `cratis-documentation-writing` in `cratis/documentation` for a fres
|
|
|
35
35
|
That comprehension check cannot replace any example gate, and an unavailable
|
|
36
36
|
reader review must not be claimed as completed.
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
- **Short illustration:** use the smallest self-contained block that proves one
|
|
41
|
-
point. Verify every framework type, import, signature, and option against
|
|
42
|
-
first-party source at the supported version. State any domain types or setup
|
|
43
|
-
the excerpt assumes; do not present a partial excerpt as a standalone app.
|
|
44
|
-
- **Multi-step tutorial or long example:** write or find a buildable sample or
|
|
45
|
-
spec maintained with the product. Extract the displayed snippet from that
|
|
46
|
-
source when tooling supports it. Otherwise keep a reproducible extraction or
|
|
47
|
-
snippet-equality check beside the sample and run it with the sample build in
|
|
48
|
-
CI. Manual comparison alone is a one-time review, not a drift guard; name
|
|
49
|
-
that limitation when automation is unavailable. Do not copy once and let
|
|
50
|
-
the page drift. Link each extracted block to its source file so a reader
|
|
51
|
-
can follow it to the fuller example; that link is navigation, not a
|
|
52
|
-
verification receipt. The Cratis site adds these links automatically to
|
|
53
|
-
client-language tabs, so don't add them by hand there.
|
|
54
|
-
- **Multi-language client example:** keep one explanation; use the established
|
|
55
|
-
client-owned snippet mechanism, compile each client against its own SDK, and
|
|
56
|
-
offer only implementations that exist. Do not translate a C# call by guess.
|
|
57
|
-
Use the same domain type names in every tab; if the prose has to explain
|
|
58
|
-
which name each tab uses, fix the snippets instead. State each backend's id
|
|
59
|
-
and command-response wire type (for example `Guid` versus `string`) and keep
|
|
60
|
-
one id type per concept across every page of a series. Shared frontend code
|
|
61
|
-
that depends on those types must be backend-neutral or tabbed per backend.
|
|
62
|
-
Read the prose before and after every tab group as a claim about each tab:
|
|
63
|
-
scope a client-specific sentence to its tab, and fix any sentence a tab
|
|
64
|
-
contradicts. A note inside a tab ("not supported", "no equivalent") is also a
|
|
65
|
-
claim: check that client's source and show the real shape. Before changing a
|
|
66
|
-
repeated fact, grep the whole series for it and update every occurrence.
|
|
67
|
-
Check every snippet for domain concepts even when copied from client docs; a primitive standing in for a domain value is a defect there too.
|
|
68
|
-
- **Sample application:** one realistic domain, explicit prerequisites and
|
|
69
|
-
relevant version constraints, a documented run command, a reproducible state to start
|
|
70
|
-
from, and a visible result. Keep it minimal enough for a new reader to finish.
|
|
71
|
-
Link from the documentation step to the precise sample file, not just the
|
|
72
|
-
repository root. State how to reset sample state safely, what resources the
|
|
73
|
-
example creates, and any costs or security shortcuts that make it unsuitable
|
|
74
|
-
for production. Never use real credentials or personal data.
|
|
75
|
-
|
|
76
|
-
A local Chronicle client documentation workflow takes precedence for shared
|
|
77
|
-
language tabs. Never hand-edit a generated proxy or a synchronized docs copy.
|
|
38
|
+
Choose a short verified illustration by default. Read [source and format](references/source-and-format.md) when a maintained sample, language tabs or a full application better demonstrate the behavior.
|
|
78
39
|
|
|
79
40
|
## Build the example as a reader would
|
|
80
41
|
|
|
81
42
|
1. Decide what the example demonstrates and what it deliberately omits. Check
|
|
82
|
-
the
|
|
43
|
+
the current release, not an arbitrary sibling checkout.
|
|
83
44
|
2. Start with a working program, spec, or focused use of the public API. Model
|
|
84
45
|
the product's intended idioms, not just a way that happens to compile. Name
|
|
85
46
|
a common non-idiomatic trap where it helps the reader avoid a likely mistake.
|
|
@@ -100,72 +61,15 @@ language tabs. Never hand-edit a generated proxy or a synchronized docs copy.
|
|
|
100
61
|
6. Record the source revision and verification scope in the change summary,
|
|
101
62
|
not as a permanent receipt embedded in the page.
|
|
102
63
|
|
|
103
|
-
##
|
|
104
|
-
|
|
105
|
-
A reader needs
|
|
106
|
-
versions that change what they install or write. State minimum, fixed or
|
|
107
|
-
breaking releases and compatibility or peer ranges that affect the task.
|
|
108
|
-
Ordinary installation follows the supported latest-release path, not universal
|
|
109
|
-
exact-patch pinning; check compatibility rather than assuming every newest
|
|
110
|
-
package works together. Maintained manifests/lockfiles can carry resolved
|
|
111
|
-
versions without repeating them in prose. Pin a deliberately reproducible
|
|
112
|
-
tutorial when needed, and preserve required security/deployment constraints
|
|
113
|
-
and production image policy.
|
|
114
|
-
|
|
115
|
-
Keep the author's verification record out of the page. Exact SDK builds, image
|
|
116
|
-
digests or commit SHAs kept only as a record, the date it was run, "tested
|
|
117
|
-
with X on Y", "also checked against a development server", counts of passing
|
|
118
|
-
specifications and a list of which tabs were not run are all a log of what
|
|
119
|
-
the author did. A reader cannot act on them, they are stale by the next
|
|
120
|
-
release, and a page that ends in an audit trail reads as generated, not
|
|
121
|
-
written. Put them in the change summary, the pull request comment or
|
|
122
|
-
the ignored scratch folder, per the step above.
|
|
123
|
-
|
|
124
|
-
Test each version sentence: would a reader install or write something
|
|
125
|
-
different because of it? If not, remove it. A real limitation stays, stated as
|
|
126
|
-
a fact about the product ("the Kotlin client has no equivalent yet"), not as a
|
|
127
|
-
record of what was and was not run. Keep a digest in a runnable command when
|
|
128
|
-
reproducibility, security or deployment requires that artifact; its presence
|
|
129
|
-
inside a command alone is not a reason to retain it. Removing test receipts is
|
|
130
|
-
not permission to float a production image or weaken a compatibility boundary.
|
|
131
|
-
|
|
132
|
-
## Know what the owning gate actually checks
|
|
133
|
-
|
|
134
|
-
When the example or nearby prose names a packaged API, check the published
|
|
135
|
-
artifact at the example's supported version as well as source. Use the package
|
|
136
|
-
checks for [TypeScript](references/typescript-package-checks.md) or
|
|
137
|
-
[C#](references/csharp-package-checks.md). A missing dependency means the package
|
|
138
|
-
check was not run. An older local pin is not evidence that the supported version
|
|
139
|
-
is wrong; check that version and state the minimum if it differs.
|
|
140
|
-
|
|
141
|
-
Look for a snippet validator before designing another checker. The Arc and
|
|
142
|
-
Chronicle .NET repositories use `validate-client-snippets.py`
|
|
143
|
-
for supported **C#** fences in the client snippets under their documentation folders; Arc’s
|
|
144
|
-
validator has a `--self-test` that plants a failing snippet. Other client
|
|
145
|
-
repositories own their own validators and toolchains. Check the validator's
|
|
146
|
-
reported count and exclusions: unsupported markers or legacy snippets are not
|
|
147
|
-
proved compilable just because the run passed. Run the owning validator for
|
|
148
|
-
every changed client snippet, or name a missing toolchain and rely on its
|
|
149
|
-
required CI gate. These checks **do not** compile ordinary Markdown/MDX fences
|
|
150
|
-
elsewhere in product documentation. For those, verify against real source and
|
|
151
|
-
a runnable sample/spec or an explicit snippet comparison; do not claim
|
|
152
|
-
coverage from a site build or a validator that never scans the page. In the
|
|
153
|
-
private change note, map changed ordinary Markdown/MDX fences, commands,
|
|
154
|
-
configuration and output to the source revision and validator or sample that
|
|
155
|
-
actually covers each block. Mark uncovered blocks and unrun checks explicitly;
|
|
156
|
-
source-equal, compiled and runtime-demonstrated are different results.
|
|
64
|
+
## Show only actionable prerequisites
|
|
157
65
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
in the prose after it. Put working code in the tab and reference the tracking
|
|
164
|
-
issue in a code comment.
|
|
66
|
+
For evergreen Cratis examples, use the current released API without package
|
|
67
|
+
pins or version history. State any non-Cratis runtime, deployment or security
|
|
68
|
+
constraint the reader must act on. Keep exact tested revisions, unrun checks
|
|
69
|
+
and tool output in the change report, not in the example. A release-specific
|
|
70
|
+
migration guide is a separate artifact: use `cratis-release-notes`.
|
|
165
71
|
|
|
166
|
-
|
|
167
|
-
one small success first, then link to a fuller sample when they need it. Update
|
|
168
|
-
examples alongside public API changes and incoming reports of copy/paste failure.
|
|
72
|
+
Read [verification scope](references/verification-scope.md) before using a snippet or site validator. For packaged APIs, use [C# package checks](references/csharp-package-checks.md) for `.csproj` and [TypeScript package checks](references/typescript-package-checks.md) for `package.json`. For other SDKs use the owning SDK’s published artifact and tooling, not a C# or TypeScript check.
|
|
169
73
|
|
|
170
74
|
## Stop conditions
|
|
171
75
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Verify C# package references
|
|
2
2
|
|
|
3
|
-
In a consumer restored at the
|
|
3
|
+
In a consumer restored at the released NuGet package and intended target framework,
|
|
4
4
|
check the package's compiler-reference metadata for the documented public type,
|
|
5
5
|
namespace and attribute. For an attribute written without the `Attribute` suffix,
|
|
6
6
|
verify the full type and the documented constructor or named properties. Compile
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Choose an example source and format
|
|
2
|
+
|
|
3
|
+
## Choose the right source
|
|
4
|
+
|
|
5
|
+
- **Short illustration:** use the smallest self-contained block that proves one
|
|
6
|
+
point. Verify every framework type, import, signature, and option against
|
|
7
|
+
first-party source at the current release. State any domain types or setup
|
|
8
|
+
the excerpt assumes; do not present a partial excerpt as a standalone app.
|
|
9
|
+
- **Multi-step tutorial or long example:** write or find a buildable sample or
|
|
10
|
+
spec maintained with the product. Extract the displayed snippet from that
|
|
11
|
+
source when tooling supports it. Otherwise keep a reproducible extraction or
|
|
12
|
+
snippet-equality check beside the sample and run it with the sample build in
|
|
13
|
+
CI. Manual comparison alone is a one-time review, not a drift guard; name
|
|
14
|
+
that limitation when automation is unavailable. Do not copy once and let
|
|
15
|
+
the page drift. Link each extracted block to its source file so a reader
|
|
16
|
+
can follow it to the fuller example; that link is navigation, not a
|
|
17
|
+
verification receipt. The Cratis site adds these links automatically to
|
|
18
|
+
client-language tabs, so don't add them by hand there.
|
|
19
|
+
- **Multi-language client example:** keep one explanation; use the established
|
|
20
|
+
client-owned snippet mechanism, compile each client against its own SDK, and
|
|
21
|
+
offer only implementations that exist. Do not translate a C# call by guess.
|
|
22
|
+
Use the same domain type names in every tab; if the prose has to explain
|
|
23
|
+
which name each tab uses, fix the snippets instead. State each backend's id
|
|
24
|
+
and command-response wire type (for example `Guid` versus `string`) and keep
|
|
25
|
+
one id type per concept across every page of a series. Shared frontend code
|
|
26
|
+
that depends on those types must be backend-neutral or tabbed per backend.
|
|
27
|
+
Read the prose before and after every tab group as a claim about each tab:
|
|
28
|
+
scope a client-specific sentence to its tab, and fix any sentence a tab
|
|
29
|
+
contradicts. A note inside a tab ("not supported", "no equivalent") is also a
|
|
30
|
+
claim: check that client's source and show the real shape. Before changing a
|
|
31
|
+
repeated fact, grep the whole series for it and update every occurrence.
|
|
32
|
+
Check every snippet for domain concepts even when copied from client docs; a primitive standing in for a domain value is a defect there too.
|
|
33
|
+
- **Sample application:** one realistic domain, explicit prerequisites and
|
|
34
|
+
necessary platform prerequisites, a documented run command, a reproducible state to start
|
|
35
|
+
from, and a visible result. Keep it minimal enough for a new reader to finish.
|
|
36
|
+
Link from the documentation step to the precise sample file, not just the
|
|
37
|
+
repository root. State how to reset sample state safely, what resources the
|
|
38
|
+
example creates, and any costs or security shortcuts that make it unsuitable
|
|
39
|
+
for production. Never use real credentials or personal data.
|
|
40
|
+
|
|
41
|
+
A local Chronicle client documentation workflow takes precedence for shared
|
|
42
|
+
language tabs. Never hand-edit a generated proxy or a synchronized docs copy.
|
package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Verify TypeScript package references
|
|
2
2
|
|
|
3
|
-
In a consumer with the
|
|
3
|
+
In a consumer with the released package installed, check each documented
|
|
4
4
|
package subpath against the package's `exports` map. For a named import, follow
|
|
5
5
|
that subpath's type declarations through re-exports and verify that the exact
|
|
6
6
|
binding is public there, not merely declared elsewhere in the package. Compile
|
|
7
|
-
the example in the consumer when possible; a passing
|
|
7
|
+
the example in the consumer when possible; a passing documentation link check proves
|
|
8
8
|
neither module nor binding resolution.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# Example verification scope
|
|
2
|
+
|
|
3
|
+
## Know what the owning gate actually checks
|
|
4
|
+
|
|
5
|
+
When the example or nearby prose names a packaged API, check the published
|
|
6
|
+
artifact as well as released source. Use the package
|
|
7
|
+
checks for [TypeScript](typescript-package-checks.md) or
|
|
8
|
+
[C#](csharp-package-checks.md). A missing dependency means the package
|
|
9
|
+
check was not run.
|
|
10
|
+
|
|
11
|
+
Look for a snippet validator before designing another checker. The Arc and
|
|
12
|
+
Chronicle .NET repositories use `validate-client-snippets.py`
|
|
13
|
+
for supported **C#** fences in the client snippets under their documentation folders; Arc’s
|
|
14
|
+
validator has a `--self-test` that plants a failing snippet. Other client
|
|
15
|
+
repositories own their own validators and toolchains. Check the validator's
|
|
16
|
+
reported count and exclusions: unsupported markers or legacy snippets are not
|
|
17
|
+
proved compilable just because the run passed. Run the owning validator for
|
|
18
|
+
every changed client snippet, or name a missing toolchain and rely on its
|
|
19
|
+
required CI gate. These checks **do not** compile ordinary Markdown/MDX fences
|
|
20
|
+
elsewhere in product documentation. For those, verify against real source and
|
|
21
|
+
a runnable sample/spec or an explicit snippet comparison; do not claim
|
|
22
|
+
coverage from a site build or a validator that never scans the page. In the
|
|
23
|
+
private change note, map changed ordinary Markdown/MDX fences, commands,
|
|
24
|
+
configuration and output to the source revision and validator or sample that
|
|
25
|
+
actually covers each block. Mark uncovered blocks and unrun checks explicitly;
|
|
26
|
+
source-equal, compiled and runtime-demonstrated are different results.
|
|
27
|
+
|
|
28
|
+
A compiling tab is not a working tab. For each backend, confirm that the
|
|
29
|
+
artifact is discovered and registered, that proxy generation emits the file
|
|
30
|
+
and types the page names, and that any runtime behavior the page claims (live
|
|
31
|
+
updates, constraint rejection) was observed against a real kernel and sink. If
|
|
32
|
+
a tab's code compiles but fails at runtime, don't publish it with a workaround
|
|
33
|
+
in the prose after it. Put working code in the tab and document the limitation privately until the tab works.
|
|
34
|
+
|
|
35
|
+
A simple process beats a large unmaintained examples gallery: give the reader
|
|
36
|
+
one small success first, then link to a fuller sample when they need it. Update
|
|
37
|
+
examples alongside public API changes and incoming reports of copy/paste failure.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-ux-review
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when rendered captures are available for reviewing a screen, dialog or short journey. Not for reviewing implementation correctness (use cratis-code-review).
|
|
4
4
|
license: MIT
|
|
5
5
|
---
|
|
6
6
|
|
|
@@ -17,28 +17,7 @@ It reviews; it does not build. Follow the repository’s frontend rules: use `cr
|
|
|
17
17
|
- Not request or data debugging. A screen that is blank because a request failed is a defect to hand to debugging, not a UX finding.
|
|
18
18
|
- Not a visual-identity exercise. Judge the screen against the project's templates, tokens and type scale, never against a preferred style.
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
Ask for what is missing and stop until the goal is known; severity is anchored to it.
|
|
23
|
-
|
|
24
|
-
1. **User goal and journey**: who the user is, what they are trying to finish, and the ordered screens or states of the journey.
|
|
25
|
-
2. **Project rules**: the repository's frontend rules, page templates, state conventions, tokens and type scale. Read them before judging. Project rules win over this skill (see below).
|
|
26
|
-
3. **Captures** from the browser operator. Hand it the URL or story, permitted
|
|
27
|
-
actions, scope and artifact directory. The main session does not drive the
|
|
28
|
-
browser. If there is no authorized operator, ask for captures and mark
|
|
29
|
-
missing states UNVERIFIED.
|
|
30
|
-
|
|
31
|
-
Capture matrix:
|
|
32
|
-
|
|
33
|
-
| Axis | Values |
|
|
34
|
-
| --- | --- |
|
|
35
|
-
| Viewport | 1280×720 and 390×844 |
|
|
36
|
-
| Theme | light and dark |
|
|
37
|
-
| State | populated, empty, loading, error and validation, where the screen can reach them |
|
|
38
|
-
|
|
39
|
-
Each capture records URL or story, build, viewport, theme, state and timestamp, and is saved under the task’s ignored browser artifact directory. Use a local or staging copy; make no production writes and keep secrets and tokens out of captures, URLs and logs. A sign-in wall stops the run: record `UI UNVERIFIED — needs human sign-in` and review only what was captured.
|
|
40
|
-
|
|
41
|
-
A state the matrix names but the captures lack is listed as a gap, never assumed fine.
|
|
20
|
+
Before review, use the [capture contract](references/capture-contract.md) to record the user goal, project rules, expected states and any capture gaps.
|
|
42
21
|
|
|
43
22
|
## Evidence rule
|
|
44
23
|
|
|
@@ -68,23 +47,12 @@ Rate by impact on the stated goal, how many users meet it and whether they meet
|
|
|
68
47
|
|
|
69
48
|
S3 and S4 need visible evidence and a named basis. Never raise severity to look thorough.
|
|
70
49
|
|
|
71
|
-
## Findings format
|
|
72
|
-
|
|
73
|
-
Each finding has: an id (`F-01`, ordered by severity), a severity, evidence (capture and region, plus a locator when verified), an observation of what is visible, the impact on the user task, its basis (a Nielsen heuristic or a project rule), the smallest recommendation that uses existing Cratis Components, and an observable acceptance outcome with a confidence level (high, medium or low). The template is in [references/report-template.md](references/report-template.md).
|
|
74
|
-
|
|
75
|
-
- **Strengths** are listed separately (`P-01`), with what to keep.
|
|
76
|
-
- **No quota.** A review with two findings or none is a valid result; padding to a count is a defect of the review.
|
|
77
|
-
- The recommendation is the smallest change: a prop, a template, a token or a copy edit before any new component or layout.
|
|
78
|
-
|
|
79
|
-
## Project rules win
|
|
80
|
-
|
|
81
|
-
A recommendation never contradicts the repository's own frontend rules: page templates, state conventions, token and type scale, naming and copy rules. When the skill's checklist and a project rule disagree, follow the rule and record the disagreement as a preference (0) or a question for the owner, not a defect. When a rule itself causes the problem, report it as a question about the rule, with evidence.
|
|
82
|
-
|
|
83
50
|
## Handoff
|
|
84
51
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
52
|
+
Use the [report template](references/report-template.md) after the review. It
|
|
53
|
+
separates confirmed findings, preferences, strengths and verification requests.
|
|
54
|
+
Recommend the smallest change allowed by the project’s frontend rules. Re-run
|
|
55
|
+
only the affected captures and confirm each fix against its acceptance outcome.
|
|
88
56
|
|
|
89
|
-
|
|
90
|
-
|
|
57
|
+
The checklist adapts [Nielsen’s usability heuristics](https://www.nngroup.com/articles/ten-usability-heuristics/)
|
|
58
|
+
and ideas from `EliaAlberti/ux-audit-skill` (MIT; see `LICENSE`).
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UX capture contract
|
|
2
|
+
|
|
3
|
+
## Input contract
|
|
4
|
+
|
|
5
|
+
Ask for what is missing and stop until the goal is known; severity is anchored to it.
|
|
6
|
+
|
|
7
|
+
1. **User goal and journey**: who the user is, what they are trying to finish, and the ordered screens or states of the journey.
|
|
8
|
+
2. **Project rules**: the repository's frontend rules, page templates, state conventions, tokens and type scale. Read them before judging. Project rules win over this skill (see below).
|
|
9
|
+
3. **Captures** from the browser operator. Hand it the URL or story, permitted
|
|
10
|
+
actions, scope and artifact directory. The main session does not drive the
|
|
11
|
+
browser. If there is no authorized operator, ask for captures and mark
|
|
12
|
+
missing states UNVERIFIED.
|
|
13
|
+
|
|
14
|
+
Capture matrix:
|
|
15
|
+
|
|
16
|
+
| Axis | Values |
|
|
17
|
+
| --- | --- |
|
|
18
|
+
| Viewport | 1280×720 and 390×844 |
|
|
19
|
+
| Theme | light and dark |
|
|
20
|
+
| State | populated, empty, loading, error and validation, where the screen can reach them |
|
|
21
|
+
|
|
22
|
+
Each capture records URL or story, build, viewport, theme, state and timestamp, and is saved under the task’s ignored browser artifact directory. Use a local or staging copy; make no production writes and keep secrets and tokens out of captures, URLs and logs. A sign-in wall stops the run: record `UI UNVERIFIED — needs human sign-in` and review only what was captured.
|
|
23
|
+
|
|
24
|
+
A state the matrix names but the captures lack is listed as a gap, never assumed fine.
|
|
@@ -48,7 +48,7 @@ Report only what screenshots show, as risks, and list the verification each need
|
|
|
48
48
|
- Text or controls that look low-contrast in either theme: UNVERIFIED until measured with a contrast checker.
|
|
49
49
|
- Information carried by color alone, a missing visible label or a placeholder used as the label.
|
|
50
50
|
- Small or crowded targets.
|
|
51
|
-
-
|
|
51
|
+
- A screenshot can show a visible focus indicator only for the captured state. Keyboard order, accessible names and screen-reader output require live verification. Hand them to `cratis-components-accessibility` checks from `cratis/components` or a DOM verification, and mark UNVERIFIED here.
|
|
52
52
|
|
|
53
53
|
### Copy
|
|
54
54
|
|
|
@@ -19,13 +19,14 @@ Write the report under the task’s ignored scratch directory unless the user na
|
|
|
19
19
|
- **Impact on the task**: how this slows, misleads or blocks the user's goal.
|
|
20
20
|
- **Basis**: Nielsen heuristic 5 (error prevention), or the project rule by file and heading.
|
|
21
21
|
- **Recommendation**: the smallest change that uses an existing component, template or token.
|
|
22
|
-
- **Acceptance**: an observable outcome in a named capture, for example "the delete dialog
|
|
22
|
+
- **Acceptance**: an observable outcome in a named capture, for example "the delete dialog shows the affected record and a visually distinct destructive action at both viewports".
|
|
23
23
|
- **Confidence**: high | medium | low, with the reason when not high.
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Rules for findings:
|
|
27
27
|
|
|
28
28
|
- One issue per finding; merge repeats across screens and list each capture.
|
|
29
|
+
- If a checklist preference conflicts with a project rule, record it as severity 0 or a question for the owner, with evidence; do not file it as a defect.
|
|
29
30
|
- The recommendation never introduces a new component when a prop, template or token fixes it, and never contradicts a project rule.
|
|
30
31
|
- An acceptance outcome that nobody could observe in a capture is rewritten until someone could.
|
|
31
32
|
|