No slash command · from haskell-tasuke
Do not disable GHC or hlint warnings. Suppress them only per module with OPTIONS_GHC or annotations for justified exceptions. Use when writing or reviewing Haskell code, cabal files, or hlint configuration that disables warnings.
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.
GHCの警告を無効にすることは原則禁止します。
正当な理由がある場合は、 特定の警告を無効にすることを許可します。
cabalなどのプロジェクトファイルを編集するのではなく、 モジュール単位でアノテーションコメントを書いて無効化してください。
そのモジュールのコードが多い場合は、 警告と干渉するコードを別モジュールに切り出すことも検討してください。
孤立インスタンスを定義する場合は許可します。
以下のように無効化してください。
{-# OPTIONS_GHC -Wno-orphans #-}
ただし孤立インスタンスの定義自体をなるべく避けるべきなので、 設計上どうしても仕方がないときだけにしてください。
Template Haskellを利用したコード生成で、 こちらから制御できない変数名のshadowingや、 未使用の束縛が発生する場合も、 無効にすることを許可します。
以下のように無効化してください。
{-# OPTIONS_GHC -Wno-shadowed-variables #-}
{-# OPTIONS_GHC -Wno-unused-binds #-}
hlintの警告を無効にすることは原則禁止します。
正当な理由がある場合は、 特定の警告を無効にすることを許可します。
hlintのルールファイルを編集するのではなく、 モジュール単位でアノテーションコメントを書いて無効化してください。
そのモジュールのコードが多い場合は、 警告と干渉するコードを別モジュールに切り出すことも検討してください。
ライブラリのAPIがhlintの警告とどうしても干渉してしまう場合などは、 無効にすることを許可します。
hlintのissueやPRを確認して、 バグであると判断した場合は無効にしても構いません。
まだ報告されていない場合も、 最小限の再現コードで確認して、 明らかに挙動がおかしいと判断した場合は無効にしても構いません。
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./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.