smithery.ai

hackage-upload

Upload Haskell packages to Hackage. Use when the user asks to publish, release, or upload to Hackage.

First seen Apr 16, 2026

Installation

$ npx skills add https://smithery.ai

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,194 B
  • docs SUMMARY.md 123 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Hackage Upload

Instructions

When the user asks to publish or upload to Hackage:

  1. Identify the package cabal file and current version (in this repo it is claude.cabal):

``bash grep "^version:" *.cabal ``

  1. Create the source distribution:

``bash cabal sdist ``

  1. Upload to Hackage (replace X.Y.Z with actual version):

``bash cabal upload --publish dist-newstyle/sdist/claude-X.Y.Z.tar.gz ``

Pre-release checklist

Before uploading, these are required release gates. Do not upload until both are true:

  • Version in the package cabal file has been bumped
  • CHANGELOG.md has an entry for that exact version

Then verify the usual quality checks:

  • All tests pass (cabal test)
  • Code compiles without warnings (cabal build)

Notes

  • The --publish flag 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.