build-hs

Monitor Haskell project builds with ghcid sessions via cabal.

Updated May 16, 2019
One-click install
npx skills add https://github.com/cgeorgii/dots --skill build-hs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-hs
Source: https://github.com/cgeorgii/dots/tree/main/coco/dotfiles/claude/skills/build-hs
Command: npx skills add https://github.com/cgeorgii/dots --skill build-hs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Real-time feedback during Haskell builds by running ghcid sessions, surfacing type errors early and enabling quick iteration.

Core Features & Use Cases

  • Live build monitoring: Start ghcid and watch for compilation errors, warnings, and test results as you code.
  • Hoogle-enabled exploration: Quickly search documentation for functions and modules to resolve build issues without leaving the terminal.
  • Seamless workflow integration: Integrate ghcid into existing cabal-based workflows to reduce iteration time.

Quick Start

Launch ghcid with cabal repl all to begin real-time build monitoring for your Haskell project.

Frequently Asked Questions about build-hs

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

FAQPage Schema
How do I get live build monitoring for Haskell projects to surface type errors?

Live build monitoring for Haskell projects is achieved by initiating and sustaining ghcid sessions. This continuously watches for compilation errors and warnings as you code, enabling quick iteration.

Does ghcid work with cabal repl for continuous compilation feedback?

Yes, ghcid works with cabal repl to provide continuous compilation feedback. Launching ghcid with cabal repl initiates real-time error detection and restart behavior for your Haskell project.

Can I search Hoogle documentation during Haskell build monitoring without leaving the terminal?

Yes, Hoogle-enabled exploration allows you to search documentation for functions and modules without leaving the terminal. This helps resolve build issues quickly during continuous ghcid sessions.

What is the best way to integrate ghcid into cabal-based Haskell workflows?

The best way to integrate ghcid into cabal-based workflows is by launching it with cabal repl. This coordinates ghcid with cabal restart behavior and optional test targets to ensure up-to-date feedback.

How do I see test results continuously while developing Haskell code?

You can see test results continuously while developing Haskell code by running ghcid with optional test targets. This applies to projects using cabal and provides on-demand test feedback during development.