gleam-package-development

Create and publish Gleam packages to Hex.pm with testing workflows.

3|1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/renatillas/gleam --skill gleam-package-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gleam-package-development
Source: https://github.com/renatillas/gleam/tree/main/skills/gleam-package-development
Command: npx skills add https://github.com/renatillas/gleam --skill gleam-package-development

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides Claude through creating and publishing Gleam packages to Hex.pm, helping developers package Gleam libraries reliably and share them with the ecosystem.

Core Features & Use Cases

  • Package Initialization & Configuration: Create a new Gleam project, set gleam.toml, and prepare repository metadata.
  • Publishing Workflows: Build and publish to Hex.pm, including versioning, changelogs, and documentation.
  • Documentation & Testing Discipline: Enforce README, CHANGELOG, and public API docs for library quality.

Quick Start

Initialize a new Gleam package and publish a sample update to Hex.pm using the following sequence: run gleam new my_package, cd my_package, edit gleam.toml as needed, run gleam test, and finally gleam hex publish.

Frequently Asked Questions about gleam-package-development

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish a Gleam package to Hex.pm?

To publish a Gleam package to Hex.pm, initialize a project with gleam new, configure gleam.toml metadata, run gleam test to validate, and execute gleam hex publish to push the build to the registry.

What is the workflow for configuring gleam.toml during Gleam package development?

Configuring gleam.toml during Gleam package development involves setting repository metadata, defining dependency versions, and preparing package documentation to ensure reliable library sharing across the Gleam ecosystem.

How do I manage dependencies and testing before publishing a Gleam library?

Manage dependencies and testing before publishing a Gleam library by declaring versions in gleam.toml and running gleam test to ensure all package components pass validation against the declared dependencies.

Does Hex.pm publishing for Gleam require specific documentation and changelogs?

Hex.pm publishing for Gleam requires specific documentation and changelogs to enforce library quality, ensuring a README, CHANGELOG, and public API docs are present before the gleam hex publish command succeeds.

What is the best way to structure a new Gleam project for Hex.pm publishing?

The best way to structure a new Gleam project for Hex.pm publishing is to initialize with gleam new, enforce documentation discipline with README and CHANGELOG files, and maintain dependency management configurations in gleam.toml.

Can I use the gleam CLI to handle versioning and package updates for Hex.pm?

Yes, you can use the gleam CLI alongside the hex CLI to handle versioning and package updates, executing workflows that build, test, and publish updated package versions directly to Hex.pm.