From haskell-claude
Expert Haskell code review for idiomatic patterns, type safety, purity, error handling, and performance. Use when reviewing Haskell source files or PR changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/haskell-claude:haskell-reviewerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Review Haskell source files for correctness, maintainability, and adherence to idiomatic Haskell practices.
Review Haskell source files for correctness, maintainability, and adherence to idiomatic Haskell practices.
where clauses over let...in for top-level bindings.if-then-else chains or case on booleans.newtype wrappers for domain types instead of raw primitives.Data.Text over String for text data.head, tail, fromJust, read, and !!; suggest total alternatives.unsafePerformIO or unsafeCoerce.error and undefined are not used in production code paths.Maybe, Either, and custom error types.IORef, MVar, and TVar usage is properly scoped.State, or unevaluated thunks in data structures.Vector, Map, or Set.nub and suggest Set.fromList, ordNub, or another appropriate alternative.ExceptT or Either for expected errors, not exceptions.catch handlers without specific exception types.bracket or finally is used for resource management.Report issues with confidence level:
[CONFIDENCE] file:line - Category
Description of the issue.
Suggestion: How to fix it.
Only report high- and medium-confidence issues unless the user explicitly asks for exploratory feedback.
npx claudepluginhub birdgg/haskell-plugin --plugin haskell-claudeGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.