Back to Skills

hackage-upload

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

8starsUpdated 3/3/2026

Security Assessment

Safe(100/100)
Security Score100/100

About hackage-upload

The 'hackage-upload' skill is designed to automate the process of uploading Haskell packages to Hackage, a popular package repository for the Haskell programming language. It simplifies the workflow for developers by providing a clear, step-by-step process to ensure that packages are properly versioned, tested, and released. This skill addresses the common problem of manually managing package uploads, ensuring a streamlined approach to publishing Haskell packages.

FAQ

How do I upload a Haskell package to Hackage using this skill?

To upload a package, identify the package's cabal file and version, create a source distribution with the 'cabal sdist' command, and then use 'cabal upload' to upload the package to Hackage with the correct version.

What are the pre-release requirements for uploading a package?

Before uploading, ensure that the version in the cabal file has been bumped, there is a corresponding entry in 'CHANGELOG.md', and that all tests pass and the code compiles without warnings.

Are there any special configuration requirements for uploading to Hackage?

Yes, you must have your Hackage credentials configured, typically in the '~/.cabal/config' file, to perform uploads.

What happens if I upload a package without using the '--publish' flag?

Uploading without the '--publish' flag will upload the package as a candidate, which requires manual approval before it is made public on Hackage.

Can I upload a package to Hackage the first time using this skill?

Yes, but first-time uploads require manual approval on Hackage before the package becomes publicly available.

Install hackage-upload

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill