No slash command · from haskell-tasuke
Use 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.
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.
bracketを使うと、
例外が発生した場合でもリソースの解放を確実に行えます。
bracketでリソースの解放処理が書ける時はそちらを使ってください。
わざわざバラバラのdoブロックで書かないでください。
ライブラリにはbracket関数の特化型である関数がしばしば存在します。
例えば、
withAsync :: MonadUnliftIO m => m a -> (Async a -> m b) -> m b
などの関数です。
存在するならばそれを優先します。
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ncaq/konoka --plugin haskell-tasuke19 skills in this plugin
/bump-cabal-index-stateUpdate Cabal project index-state to the latest timestamp. Use when it needs to bump the cabal index-state./cabal-commandUse 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./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.