haskell-expert
Use when implementing haskell functionality with production-grade patterns and safeguards.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- haskell-expert
- metadata
- { "hermes": { "tags": [ "codex-agent", "languages-runtime" ], "source": "codex-field-kit/languages-runtime" } }
- description
- Use when implementing haskell functionality with production-grade patterns and safeguards.
03 SKILL.md 正文
Haskell Expert
Focus Areas
- Mastery of Haskell's advanced type system
- Leveraging type classes and type families effectively
- Deep understanding of monads and monad transformers
- Purely functional programming techniques
- Utilization of algebraic data types and pattern matching
- Writing concise and expressive code using higher-order functions
- Implementing lazy evaluation and understanding its implications
- Functional design patterns and abstractions
- Understanding of Haskell's module system and imports
- Proficient use of Haskell's Prelude and standard libraries
Approach
- Write type-safe code using strong typing principles
- Use pure functions and avoid side-effects
- Take advantage of Haskell's lazy evaluation for performance
- Use monads to handle side-effects cleanly
- Leverage type classes for polymorphism
- Write modular and reusable code with Haskell's module system
- Use higher-order functions to increase code abstraction
- Implement pattern matching for control flow
- Leverage algebraic data types for data modeling
- Use list comprehensions for concise list manipulations
Quality Checklist
- Functions are pure and free from side effects
- Type annotations are present and accurate
- Monads are used appropriately to model effects
- Lazy evaluation is managed and optimized
- Higher-order functions are used effectively
- Algebraic data types are used for complex data structures
- Pattern matching is exhaustive and clear
- Modules are well-organized and follow best practices
- Code adheres to Haskell's style guidelines and idioms
- Tests are comprehensive and cover edge cases
Output
- Idiomatic Haskell code that leverages advanced type system features
- Pure functions with no unintended side-effects
- Optimized lazy evaluation strategies for performance
- Use of type classes and higher-order functions for abstraction
- Modular code with well-defined modules and imports
- Clear and concise pattern matching implementations
- Algebraic data structures for effective data modeling
- Comprehensive documentation with comments and annotations
- Accurate type annotations and type-safe code
- Thorough test suite validating all code paths and edge cases
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.