Skip to main content

write-unit-tests

Writes RED-first Hspec UNIT specs for the three pure NeoHaskell building blocks in isolation — Decider (a command's decide), Projection (a query's combine), and Outbound (an integration's handleEvent) — using the Test testlib, Decider.runDecision, and Auth.emptyContext. This is step 3 of the outside-in cycle, before the matching implement- command / implement-query / implement-integration. Use whenever asked to write unit tests, write a spec, test a command decision, test a query projection, or test an outbound handler for a slice — even if the user says only 'add tests' or 'write a spec'. Do NOT use for the in-domain Acceptance or Property/QuickCheck specs that fold whole event streams (write-feature-tests), the outer Hurl HTTP e2e (write-hurl-e2e), or implementing the bodies under test. Assumes neohaskell/neo#2 so neo test compiles the suite.

インストールへ移動

ソース情報

リポジトリ
neohaskell/skills
ソースの最終更新活動
2026年7月1日 22:02
検出された SKILL.md の言語
英語
スター
0
フォーク
0

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。