cardano-deps

Coordinate Cardano Haskell dependency updates across repositories to match a target node version.

822|232|Updated Mar 1, 2019
One-click install
npx skills add https://github.com/cardano-foundation/cardano-wallet --skill cardano-deps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cardano-deps
Source: https://github.com/cardano-foundation/cardano-wallet/tree/main/.claude/skills/cardano-deps
Command: npx skills add https://github.com/cardano-foundation/cardano-wallet --skill cardano-deps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cardano dependencies management is complex due to the CHaP ecosystem and inter-repo version constraints. This skill provides a robust workflow for aligning Cardano-related packages to a chosen cardano-node version, ensuring reproducible builds.

Core Features & Use Cases

  • Dependency alignment: Coordinate target node versions across cardano-node, cardano-api, cardano-ledger, cardano-base, ouroboros-network, and ouroboros-consensus.
  • Changelog consolidation: Extract and compile changelogs from multiple repositories into a single bump document for traceability.
  • Bounds and sublibrary updates: Update cabal files with precise lower/upper bounds, determine sublibrary order, and commit per-library changes.
  • Finalization: Create a final summary commit detailing all steps and changes to enable reproducible upgrades.

Quick Start

Run the Cardano dependencies update workflow to align all Cardano repos with the target cardano-node version.

Frequently Asked Questions about cardano-deps

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

FAQPage Schema
How do I update Cardano Haskell dependencies across multiple repos to match a new node version?

To update Cardano Haskell dependencies across multiple repos, you can automate the coordination of package versions to match a target cardano-node version, ensuring synchronized updates across cardano-api, cardano-ledger, and ouroboros-network.

What is the best way to align CHaP packages with a specific cardano-node release?

Aligning CHaP packages with a specific cardano-node release involves applying a repeatable update process that handles freeze updates, enforces precise lower and upper bounds in cabal files, and verifies CHaP alignment for reproducible builds.

How do I compile changelogs from different Cardano repositories into a single traceability document?

Compiling changelogs from different Cardano repositories into a single traceability document requires extracting and consolidating changes from multiple interdependent packages into a unified bump document during the dependency update workflow.

How do I manage sublibrary ordering and version bounds when updating cabal files?

Managing sublibrary ordering and version bounds when updating cabal files involves determining the correct sublibrary sequence, applying precise lower and upper bounds, and committing changes per-library to maintain build integrity.

Can I automate the final summary commit for Cardano dependency version bumps?

You can automate the final summary commit for Cardano dependency version bumps by generating a commit that details all freeze updates, bounds changes, and changelog consolidations to enable reproducible upgrades across the ecosystem.