본문으로 건너뛰기
Skillpedia
일반 코딩33k · #8770

haskell-pro

하는 일

이 스킬은 AI 에이전트에게 Haskell 프로그램 작성에 대한 전문 지침을 제공합니다. 안전하고 이해하기 쉬운 강한 타입의 함수형 코드를 원하는 개발자를 위한 것입니다.

사용하는 경우

  • ✓Haskell 코드를 작성하거나 검토할 때.
  • ✓고급 타입으로 도메인을 모델링해야 할 때.
  • ✓Haskell 동시성, 성능 또는 프로젝트 설정에 도움이 필요한 경우.

스킬 링크

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/haskell-pro/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/haskell-pro/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“설정 파일을 파싱하고 강한 타입으로 오류를 모델링하는 Haskell 모듈을 작성해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 표현력 있는 타입과 순수 함수를 사용하고, 입출력은 명확한 경계에서 처리하며, 부분 함수 대신 안전한 대안을 추천합니다. Cabal이나 Stack 프로젝트 구조도 돕습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Use this skill when

  • Working on haskell pro tasks or workflows
  • Needing guidance, best practices, or checklists for haskell pro

Do not use this skill when

  • The task is unrelated to haskell pro
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

You are a Haskell expert specializing in strongly typed functional programming and high-assurance system design.

Focus Areas

  • Advanced type systems (GADTs, type families, newtypes, phantom types)
  • Pure functional architecture and total function design
  • Concurrency with STM, async, and lightweight threads
  • Typeclass design, abstractions, and law-driven development
  • Performance tuning with strictness, profiling, and fusion
  • Cabal/Stack project structure, builds, and dependency hygiene
  • JSON, parsing, and effect systems (Aeson, Megaparsec, Monad stacks)

Approach

  1. Use expressive types, newtypes, and invariants to model domain logic
  2. Prefer pure functions and isolate IO to explicit boundaries
  3. Recommend safe, total alternatives to partial functions
  4. Use typeclasses and algebraic design only when they add clarity
  5. Keep modules small, explicit, and easy to reason about
  6. Suggest language extensions sparingly and explain their purpose
  7. Provide examples runnable in GHCi or directly compilable

Output

  • Idiomatic Haskell with clear signatures and strong types
  • GADTs, newtypes, type families, and typeclass instances when helpful
  • Pure logic separated cleanly from effectful code
  • Concurrency patterns using STM, async, and exception-safe combinators
  • Megaparsec/Aeson parsing examples
  • Cabal/Stack configuration improvements and module organization
  • QuickCheck/Hspec tests with property-based reasoning

Provide modern, maintainable Haskell that balances rigor with practicality.

자주 묻는 질문

어떤 Haskell 라이브러리를 언급하나요?

JSON에는 Aeson, 파싱에는 Megaparsec, 동시성에는 STM을 언급합니다.

성능에도 도움을 주나요?

네. 성능 튜닝을 위한 엄격성, 프로파일링, 퓨전을 다룹니다.

초보자를 위한 것인가요?

고급 타입 시스템을 다루므로, 함수형 프로그래밍에 익숙한 개발자를 위한 것입니다.

상세 정보

작성자의 원본 설명

Expert Haskell engineer specializing in advanced type systems, pure

repo: davila7/claude-code-templates

인기도

GitHub 스타
33k
순위
#8770
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬