bump-spectra

Updates the spectra Erlang library dependency to its latest stable version on Hex.pm and verifies compatibility with the Elixir Spectral wrapper via format, compile, test, credo, and dialyzer checks.

7|Updated Nov 12, 2025
One-click install
npx skills add https://github.com/andreashasse/spectral --skill bump-spectra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bump-spectra
Source: https://github.com/andreashasse/spectral/tree/main/.claude/skills/bump-spectra
Command: npx skills add https://github.com/andreashasse/spectral --skill bump-spectra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of updating the spectra Erlang library dependency to its latest version, ensuring compatibility and minimizing risks.

Core Features & Use Cases

  • Dependency Management: Updates spectra to the latest stable version from Hex.pm.
  • Compatibility Verification: Runs comprehensive tests and checks to ensure the Elixir wrapper (Spectral) remains functional after the update.
  • Use Case: Regularly maintain the spectra dependency to leverage new features and bug fixes from the underlying Erlang library without breaking the Elixir wrapper.

Quick Start

Update the spectra dependency to the latest version and verify compatibility.

Frequently Asked Questions about bump-spectra

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

FAQPage Schema
How do I update the spectra Erlang dependency in my Elixir project?

To update the spectra dependency, the Skill fetches the latest stable version from Hex.pm and modifies your configuration. It then runs format, compile, and test checks to verify compatibility with the Elixir wrapper.

How does compatibility verification work when updating the spectra library?

Compatibility verification works by executing format, compile, test, credo, and dialyzer checks after updating the spectra dependency. This ensures the Spectral Elixir wrapper remains fully functional and type-safe without breaking changes.

What is the best way to safely upgrade an Erlang library wrapped in Elixir?

The best way to safely upgrade an Erlang library is to automate the version update and run comprehensive checks. This Skill updates spectra from Hex.pm and validates the Spectral wrapper using compile, test, credo, and dialyzer.

Does updating spectra from Hex.pm automatically check for breaking changes?

Yes, updating spectra from Hex.pm includes checks for breaking changes. The Skill runs compile, test, credo, and dialyzer checks on the Spectral wrapper and documents any breaking changes or new features encountered.

Why does my Elixir wrapper fail after a spectra version update?

An Elixir wrapper might fail after a spectra version update due to breaking changes in the new Erlang library release. Running format, compile, test, credo, and dialyzer checks helps identify and document these compatibility issues.

Can I use this to document modified files during a spectra dependency update?

Yes, you can use this to document modified files during a spectra dependency update. The Skill automatically records version updates, changed files, and any breaking changes or new features resulting from the compatibility verification process.