morphir-example-tests
БесплатноБез исполняемых скриптовНе проверенUse when adding, adopting, debugging or updating Morphir CLI examples and morphir itest scenarios, including scenarios.md, .feature.md and .feature files…
от finos★ 221 звезда на GitHubОб этом скилле
Morphir example tests
Paused. These scenarios ran through the
itestdriver of the deleted Rust CLI and are pending qualification against the Morphir CLI (finos/morphir-dotnet).mise run test:examplesstops with a pointer until then. Do not add scenarios that need the Rust CLI.
Read the scenario contract
and the example catalog. Use
the single-file Elm scenario
as the smallest working example. Keep the contract in the guide; do not create
a second driver or copy MCK comparison logic.
For Markdown authoring, use CLI basics.
For reference Elm, follow the catalog's explicit release preparation step and
select suite:elm-reference. The preparation helper stages fixtures only;
repository registration, installation and compilation remain real CLI commands.
Use suite:offline when no downloaded provider is available.
For installed Avro/OpenAPI backends, fetch the pinned releases and run
mise run examples:prepare-backends, then select suite:wasm-backends.
Keep repository creation, publication and installation in scenario commands.
Main backend cases compile default v4 output; backends/v3-compatibility retains
explicit v3 generation coverage. Verify both when updating provider pins.
Choose the claim
State the user workflow and what passing proves. Native Elm is opt-in and
currently compiles types only. Use the reference morphir-elm provider to
claim function lowering. Rego assertions evaluate CLI observations; they do
not establish native Morphir IR evaluation. See the
evaluation architecture for the
implemented provider boundary and native/WASM follow-up milestones.
Check existing tags with morphir itest examples --list. Use categorized
project directories; deeper categories require no runner edit. Keep malformed
source fixtures under crates/morphir/tests/fixtures/itest/.
Author and verify
- Choose one document per example directory:
scenarios.md, or a Gherkinscenarios.feature.md(or.feature) file. For a Gherkin file, put the title and tags on theFeature, the description on the scenario, andproviderandworkspacein ayaml itestfence in the feature description. Write commands, captures and Rego checks as the itest steps in the guide. Use@section:<id>for a stable scenario ID. Forscenarios.md, use YAML frontmatter with version 1, a title, a description, tags andprovider: rego. Each top-level##heading starts an independent scenario; use###for steps. Explicit{#id}heading attributes keep filters stable across renames. Pairyaml morphir:command,yaml morphir:assertionandyaml morphir:filemetadata fences with their next language source fences. Prose, lists and subheadings may separate the pair. A pair cannot cross a scenario heading. Keep YAML outside source fences and executable fences outside list/quote containers. Unmarked fences remain documentation. Filter one heading with--filter 'category/example#id'. IDs and workspace files may repeat across independent scenarios, but must be unique within each scenario. - Keep ordinary source/configuration files on disk beside the document. The
scenario directory is copied into an isolated workspace by default. Use
workspace: {kind: "directory", path: "project", exclude: ["installed"]}in scenario metadata to choose a subdirectory or exclude custom outputs. Optionalyaml morphir:filefences (orfilesin ayaml itestfence) add inputs; conflicting disk and inline paths fail. Useworkspace: {kind: "inline"}only for a self-contained scenario that ignores adjacent project files. Commands contain literalmorphir ...invocations; case names, captures and timeouts belong to their metadata fence or their steps. - Put complete Rego modules in assertions. Reference the most recent command
by ID and enumerate unique named rule entrypoints. Only boolean true
passes. Check exit status plus meaningful artifacts/diagnostics. Request
stdout JSON decoding and artifact captures explicitly. Missing files, JSON
null, undefined rules and errors are distinct. Never derive expected values
from the implementation during a run.
For exact generated text, use
yaml morphir:goldenwithcommand,actualand either a paired literal source fence or a standaloneexpected_file. Expected file paths are relative to the scenario directory and are frozen before commands; actual paths are relative to the temporary project. Useselect: {kind: lines, start: 3, end: 5}for inclusive lines orselect: {kind: between, start: "BEGIN", end: "END"}for unique literal markers. Omit selection for the whole file. Exact comparison is the default; useline_endings: lfexpli
Установить morphir-example-tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл morphir-example-tests?
Use when adding, adopting, debugging or updating Morphir CLI examples and morphir itest scenarios, including scenarios.md, .feature.md and .feature files, scenario metadata, Rego assertions and integration coverage.
Как установить скилл morphir-example-tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл morphir-example-tests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic