본문으로 건너뛰기
cccskills
무료GitHub에 공개

haskell-cabal-gild

Format Haskell package descriptions and cabal project files with cabal-gild: *.cabal, cabal.project, cabal.project.local, and cabal.project.freeze. Use after editing dependencies or stanzas, when refreshing cabal-gild discover module lists, or when checking cabal file formatting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md1.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

cabal-gild

cabal-gild formats Haskell package descriptions and cabal project files. It normalizes layout, sorts and deduplicates build-depends, and can refresh module lists generated by -- cabal-gild: discover pragmas.

Format In Place

Run on each touched cabal/project file:

cabal-gild --io <file>

Format before compiling.

Check Without Writing

Use check mode to verify formatting without changing files:

cabal-gild -m check --io <file>

Auto-Discovered Module Lists

If a .cabal file contains a pragma like this:

-- cabal-gild: discover src
exposed-modules:

rerun cabal-gild --io <pkg>.cabal after adding or removing modules.

Project Automation

This repository has shared PostToolUse hooks under .agents/hooks/, wired from Claude/Codex configuration.

  • A changed .cabal or cabal.project* file is formatted with cabal-gild --io.
  • A changed .hs, .lhs, or .hsig file refreshes the nearest enclosing .cabal file only if it uses a -- cabal-gild: discover pragma.

Re-read files if the hook reports that it changed them.

Companion

Format Haskell source files with the haskell-format skill.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

haddock

무료

Read Haskell package documentation, Haddock HTML, Hackage pages, or dependency source for cabal nix-style projects. Prefer locally built/cached docs and source from the cabal store, dist-newstyle, plan.json, and repo-cache; fall back to Hackage only for packages outside the project dependency set or when local docs are unavailable.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

konn/tamagoh32026년 8월 2일 업데이트

haskell

무료

Super-skill for developing Haskell projects with cabal nix-style builds. Orchestrates HLS diagnostics, Haddock, Hoogle, source formatting, and cabal-gild into one workflow. Use when writing, editing, refactoring, building, typechecking, fixing compiler errors, renaming symbols, looking up APIs, or changing dependencies in Haskell projects. Treat cabal.project as the source of truth, prefer HLS before full builds, and prefer local docs over remote lookup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

konn/tamagoh32026년 8월 2일 업데이트

Format Haskell source files: *.hs, *.lhs, and *.hsig, with the project's configured formatter: fourmolu, ormolu, or stylish-haskell. Use before compiling, after source edits, and when applying project style.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

konn/tamagoh32026년 8월 2일 업데이트

hoogle

무료

Search Haskell APIs using Hoogle. Use when working with Haskell projects to look up function signatures, find functions by type, discover library documentation, or identify which module exports an item.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

konn/tamagoh32026년 8월 2일 업데이트

konn의 스킬 모두 보기

이 스킬의 문제 신고