haskell-reviewer

Analyze Haskell source code for correctness, idiomatic style, and performance pitfalls.

3|1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/mightybyte/haskell-skill --skill haskell-reviewer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: haskell-reviewer
Source: https://github.com/mightybyte/haskell-skill/tree/main/haskell-reviewer
Command: npx skills add https://github.com/mightybyte/haskell-skill --skill haskell-reviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill addresses the difficulty of maintaining high-quality, idiomatic, and performant Haskell code by providing an automated, expert-level review process that enforces industry best practices.

Core Features & Use Cases

  • Automated Best Practice Enforcement: Flags common pitfalls like partial functions, lazy folds, and inefficient data structures.
  • Architectural Guidance: Ensures adherence to the ReaderT Env pattern and proper use of GHC extensions.
  • Mechanical Linting: Includes a specialized script to detect content-dependent vertical alignment issues that cause noisy git diffs.
  • Use Case: Use this skill during pull request reviews to ensure your Haskell codebase remains type-safe, performant, and maintainable according to modern industrial standards.

Quick Start

Activate the haskell-reviewer skill and provide the path to the Haskell module you wish to have analyzed for correctness and style.

Frequently Asked Questions about haskell-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Haskell code for production-grade best practices?▼

Review Haskell code by analyzing source modules for correctness, idiomatic style, performance pitfalls, and strict type safety to ensure production-grade quality and maintainability.

What are common Haskell performance pitfalls to check during a code review?▼

Common Haskell performance pitfalls include using partial functions, lazy folds, and inefficient data structures, which automated analysis can flag to ensure resource efficiency.

How do I enforce the ReaderT Env pattern in my Haskell project?▼

Enforce the ReaderT Env pattern by running an architectural code review that checks your Haskell modules for proper use of this design pattern and appropriate GHC extensions.

Can I automate checking for vertical alignment issues that cause noisy git diffs?▼

Automate checking for vertical alignment issues by executing bundled Python scripts that detect content-dependent formatting violations causing noisy git diffs in Haskell source code.

Does this Haskell code review require any specific dependencies or environment setup?▼

This Haskell code review requires no external dependencies, but it needs an environment capable of executing bundled Python scripts to identify mechanical style violations.

When should I use automated static analysis for Haskell software quality?▼

Use automated Haskell static analysis during pull request reviews to ensure your codebase remains type-safe, performant, and maintainable according to modern industrial standards.