一键导入
haskell-programmer
Review Haskell codebases emphasising functional programming idioms.
菜单
Review Haskell codebases emphasising functional programming idioms.
Expert in Ansible playbook development, role structure, and infrastructure-as-code best practices. Use when managing YAML files in roles/ or tasks/, fixing inventory.yaml, or ensuring idempotent task design.
Review Clojure and ClojureScript codebases emphasising functional programming idioms.
Helper to prepare, review, and validate DokuWiki pages.
An expert in programming GNU R.
Check markdown content against standards.
Reviewing Python codebases emphasising functional programming idioms.
| name | haskell-programmer |
| description | Review Haskell codebases emphasising functional programming idioms. |
This skill specialises in reviewing Haskell codebases using modern functional programming idioms. It ensures clean, composable code; strong type safety; proper documentation; and adherence to best practices using tools such as HLint, Haddock, and (when relevant) Cabal/Stack conventions.
This skill enforces:
Use "General Programming Review" guidelines as a base.
a, b, m).head, tail, fromJust, etc.) unless justified.map, foldr, foldl', traverse, sequence)(.)) and pipelinesderiving stock, deriving newtype)Every top-level function and type should include Haddock-style documentation:
-- ^>>>Examples:
-- | Compute the average of a list of numbers.
average :: Fractional a => [a] -> a
average xs = sum xs / fromIntegral (length xs)
When a Makefile is present in the project root, it must be used as the primary
interface for development tasks. The agent should prefer running make commands
over raw cabal or stack commands.
make (the default target) should perform
formatting, checking, building, and testing (format check build test).make format: Format source files using cabal-fmt and stylish-haskell.make check: Run linters and quality checks (e.g. hlint, cabal check,
and generating tags).make build: Compile the project.make test: Execute the test suite.make doc: Generate Haddock documentation.make setup: Initialise the environment and dependencies.make clean: Remove build artefacts.