Zum Inhalt springen
Skillpedia
Allgemeines Programmieren33k · #8770

haskell-pro

Was er macht

Dieser Skill gibt deiner KI fachliche Hinweise zum Schreiben von Haskell-Programmen. Er ist für Entwickler gedacht, die stark typisierten, funktionalen Code wollen, der sicher und leicht nachzuvollziehen ist.

Wann du ihn nutzt

  • ✓Wenn du Haskell-Code schreibst oder prüfst.
  • ✓Wenn du eine Domäne mit fortgeschrittenen Typen modellieren musst.
  • ✓Wenn du Hilfe mit Nebenläufigkeit, Leistung oder Projekteinrichtung in Haskell brauchst.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/haskell-pro/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Schreibe ein Haskell-Modul, das eine Konfigurationsdatei parst und Fehler mit starken Typen modelliert.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent nutzt ausdrucksstarke Typen und reine Funktionen, hält Ein- und Ausgabe an klaren Grenzen und empfiehlt sichere Alternativen zu partiellen Funktionen. Außerdem hilft er beim Aufbau eines Cabal- oder Stack-Projekts.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.

Häufige Fragen

Welche Haskell-Bibliotheken nennt er?

Er nennt Aeson für JSON, Megaparsec für das Parsen und STM für Nebenläufigkeit.

Hilft er bei der Leistung?

Ja. Er deckt Striktheit, Profiling und Fusion für die Leistungsoptimierung ab.

Ist er für Einsteiger?

Er richtet sich an Entwickler, die mit funktionaler Programmierung vertraut sind, weil er fortgeschrittene Typsysteme behandelt.

Details

Originalbeschreibung des Autors

Expert Haskell engineer specializing in advanced type systems, pure

repo: davila7/claude-code-templates

Beliebtheit

GitHub-Sterne
33k
Platz im Ranking
#8770
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills