No slash command · from haskell-tasuke
Use cabal with --disable-optimization for development builds and tests, and add --enable-tests to avoid rebuilds. Use when running or suggesting cabal build or test commands in Haskell development.
Ships in haskell-tasuke. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
開発時のビルド確認やテストの実行時には、
--disable-optimizationオプションを付与して最適化を無効化します。
Haskellは結構ビルドに時間がかかる言語なので、 最適化時の挙動を確認するわけでも、 リリースするわけでもないときは、 最適化を無効化してビルド時間を短縮してください。
ビルドは以下のコマンドを実行します。
cabal build --disable-optimization --enable-tests
buildサブコマンドの実行時にはテストは実行されずにビルドだけ行われます。
テストを行う時にフラグが変わって再ビルドが行われると面倒なので、
基本的には--enable-testsも付与してビルドしてください。
テストは以下のコマンドを実行します。
cabal test --disable-optimization --enable-tests
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ncaq/konoka --plugin haskell-tasuke19 skills in this plugin
/bracketUse bracket or with-style functions to guarantee resource cleanup even on exceptions instead of separate do blocks. Use when writing or reviewing Haskell code that acquires and releases resources./bump-cabal-index-stateUpdate Cabal project index-state to the latest timestamp. Use when it needs to bump the cabal index-state./exceptionDo not throw exceptions from pure code with error or throw, give exceptions structured types, and never silently swallow errors in IO. Use when writing or reviewing Haskell error handling, exceptions, or IO code.