Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

neohaskell-consumer-verification

БесплатноЗапускает вложенные скриптыНе проверен

Verify generated projects, starter and testbed freshness, source-owned agent guidance, or the embedded IDE bundle. Use when framework exports, Template…

neohaskellот neohaskell★ 349 звёзд на GitHub

Об этом скилле

NeoHaskell consumer verification

Use this skill when a change can affect a project created by neo new, the embedded starter, the generated build and runtime path, or the bundled IDE frontend. The full contract tests a consumer-visible result. A script self-test checks only its orchestration or comparison logic.

Framework changes include their consumers

Every developed public NeoHaskell feature needs a working example in the repository testbed. Exercise the public API in testbed application code, assert its observable behavior with a maintained automated testbed scenario, and give concrete commands to run the example and its test in testbed documentation. Add or update these in the feature PR. Unit tests, compiler fixtures, generated-project checks, and documentation snippets are useful additional evidence, but none replaces the testbed example and assertion. A change with no public feature can state that the testbed requirement does not apply and identify the internal-only scope. Do not exempt a public feature because its API is compile-time, because it has no convenient HTTP endpoint, or because its example is deferred. Adapt the testbed's application and maintained runner to exercise the actual contract.

During review, trace the testbed example from the public API through its registration and runtime path to the scenario's independent expected result. Run the affected scenario through NeoHaskell tests against the PR revision. Report the example, assertion, commands, revision, and result. A missing or skipped required run is incomplete.

For framework export, marker or generated-API changes, inventory affected uses in neo/starter/ and testbed/ before implementation. Migrate those consumers in the same PR. Compare every affected example with the resulting public API and marker output during review. Remove redundant generated defaults, unused derivations and stale imports. Retain each capability only when an actual framework constraint or example operation needs it under the application example rules. Trace registration and execution constraints as well as the type's own class. Preserve custom instances and business logic. Update the marker's public documentation when its generated contract changes.

Keep the starter, testbed and consumer fixtures in the NeoHaskell application dialect. Maintain their freshness through this implementation and review work. Use real builds and runtime tests to verify them. Do not add source-parsing checks solely to police example freshness. Compilation alone cannot establish idiomatic examples because the markers preserve existing instances.

Verify the generated starter and the affected testbed behavior against the same PR source. Use NeoHaskell tests for testbed entrypoints and focused framework suites. Record the tested source revision, checks run and any unavailable coverage. A skipped required check is incomplete.

Generated project contract

Run from the repository root on the host, or set NEOHASKELL_ROOT to the checked-out repository. The full script invokes Nix for its build and generated project phases. Follow the verification environment decision.

./.agents/skills/neohaskell-consumer-verification/scripts/neo-consumer-contract --self-test
./.agents/skills/neohaskell-consumer-verification/scripts/neo-consumer-contract

The self-test exercises bounded child execution, process cleanup, quoting, failure propagation and readiness polling. It does not build a Neo binary or prove a generated project works. It uses only local fixture commands and a loopback readiness server when the environment permits binding one.

The full contract builds the packaged neo binary unless NEO_BIN points to an existing executable. It then generates a project with neo new in offline mode from the embedded starter and checks the expected project files and absence of internal provenance. It verifies that the starter compatibility record agrees with the starter lock and that generated Flake and Cabal pins agree.

The build, test and runtime phases must all pass for a full result:

  • neo build compiles the generated app against an isolated Git snapshot of the exact checked-out NeoHaskell revision. The contract sets NEO_NEOHASKELL_SOURCE only for this exact-checkout proof and verifies the regenerated Flake and Cabal inputs point to that revision.
  • neo test --ci completes the generated project's Haskell unit, property and integration tests plus its Hurl scenarios.
  • neo run stays alive in a dedicated process session, answers HTTP 200 from /health with the expected body, and passes the starter smoke command. Teardown terminates the whole process group.

Each long-running child has a wall-cl

Полный SKILL.md на GitHub

Установить neohaskell-consumer-verification в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamlreferences/agent-docs-policy.jsonscripts/agent-docs-checkscripts/neo-consumer-contractscripts/neo-dist-checkscripts/neo-toolchain-smoke

FAQ

Что делает скилл neohaskell-consumer-verification?

Verify generated projects, starter and testbed freshness, source-owned agent guidance, or the embedded IDE bundle. Use when framework exports, Template Haskell markers, generated APIs, starter dependencies, CLI generation, guidance accuracy or IDE sources change.

Как установить скилл neohaskell-consumer-verification?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл neohaskell-consumer-verification запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить neohaskell-consumer-verification с