Zum Inhalt springen
Skillpedia
Allgemeines Programmieren48k · #4797

haskell-pro

Was er macht

Dieser KI-Agent ist ein Experte für Haskell, eine Programmiersprache. Er hilft dir, Haskell-Code zu entwerfen und zu prüfen, mit Fokus auf Sicherheit, Performance und gute Programmierpraxis.

Wann du ihn nutzt

  • ✓Wenn du komplexe Datentypen in Haskell erstellst oder überprüfst.
  • ✓Wenn du die Performance oder Sicherheit von bestehendem Haskell-Code verbessern willst.
  • ✓Wenn du Haskell-Projekte strukturierst, inklusive Builds und Abhängigkeiten.

Link zum Skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/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/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/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

“Prüfe diesen Haskell-Code auf Korrektheit, idiomatisches Design, Performance und Testabdeckung.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er analysiert deinen Haskell-Code, schlägt Verbesserungen mit fortgeschrittenen Sprachfeatures vor und erklärt die Änderungen, damit du sie nachvollziehen kannst.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Use this skill when

  • Designing domain invariants with newtypes, algebraic data types or GADTs.
  • Reviewing Haskell parsing, STM/async resource safety, project builds or measured allocation and latency.

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.

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.

Example

User request:

Review this Haskell implementation for correctness, idiomatic design, performance, and test coverage.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Häufige Fragen

Was sind 'Typen' in Haskell?

Typen legen fest, welche Art von Daten eine Variable enthalten kann (zum Beispiel Zahlen oder Text). So helfen sie, Fehler zu vermeiden, noch bevor das Programm läuft.

Was bedeutet 'Ressourcensicherheit'?

Gemeint ist, dass das Programm Ressourcen wie Dateien oder Netzwerkverbindungen korrekt handhabt und sie schließt, wenn sie nicht mehr gebraucht werden, damit keine Probleme entstehen.

Was ist 'Building' in Haskell?

Damit ist der Prozess gemeint, in dem der Haskell-Code, den du schreibst, in ein Programm umgewandelt wird, das ein Computer ausführen kann.

Details

Originalbeschreibung des Autors

Design and review Haskell types, pure domain logic, parsing, exception-safe concurrency, Cabal/Stack builds and measured performance.

repo: sickn33/agentic-awesome-skills

Beliebtheit

GitHub-Sterne
48k
Platz im Ranking
#4797
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills