Langsung ke konten
Skillpedia
Pemrograman umum33k · #8770

haskell-pro

Fungsinya

Skill ini memberikan agent AI Anda panduan ahli untuk menulis program Haskell. Skill ini ditujukan untuk pengembang yang menginginkan kode fungsional dengan tipe yang kuat, yang aman dan mudah dipahami.

Kapan dipakai

  • ✓Saat Anda menulis atau meninjau kode Haskell.
  • ✓Saat Anda perlu memodelkan domain dengan tipe tingkat lanjut.
  • ✓Saat Anda memerlukan bantuan untuk konkurensi, performa, atau pengaturan proyek Haskell.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/haskell-pro/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Tulis modul Haskell yang mem-parsing file konfigurasi dan memodelkan error dengan tipe yang kuat.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menggunakan tipe ekspresif dan fungsi murni, menjaga input dan output di batas yang jelas, serta merekomendasikan alternatif aman untuk fungsi parsial. Agent juga membantu struktur proyek Cabal atau Stack.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

Pertanyaan umum

Pustaka Haskell apa yang disebutkan?

Skill menyebut Aeson untuk JSON, Megaparsec untuk parsing, dan STM untuk konkurensi.

Apakah membantu performa?

Ya. Skill mencakup strictness, profiling, dan fusion untuk penyetelan performa.

Apakah untuk pemula?

Skill ditujukan untuk pengembang yang nyaman dengan pemrograman fungsional, karena mencakup sistem tipe tingkat lanjut.

Detail

Deskripsi asli dari pembuat

Expert Haskell engineer specializing in advanced type systems, pure

repo: davila7/claude-code-templates

Popularitas

Bintang GitHub
33k
Peringkat
#8770
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa