Agent skill
hackage-upload
Upload Haskell packages to Hackage. Use when the user asks to publish, release, or upload to Hackage.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/hackage-upload
SKILL.md
Hackage Upload
Instructions
When the user asks to publish or upload to Hackage:
-
Get the current version from
claude.cabal:bashgrep "^version:" claude.cabal -
Create the source distribution:
bashcabal sdist -
Upload to Hackage (replace X.Y.Z with actual version):
bashcabal upload --publish dist-newstyle/sdist/claude-X.Y.Z.tar.gz
Pre-release checklist
Before uploading, ensure:
- Version in
claude.cabalhas been bumped CHANGELOG.mdhas an entry for this version- All tests pass (
cabal test) - Code compiles without warnings (
cabal build)
Notes
- The
--publishflag publishes immediately. Without it, the package is uploaded as a candidate. - You must have Hackage credentials configured (typically in
~/.cabal/config). - First-time uploads of a package require manual approval on Hackage.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?