analyze-transaction

Decode Cardano V2 transaction CBORs into structured YAML files.

Updated May 27, 2025
One-click install
npx skills add https://github.com/Andamio-Platform/andamio-docs --skill analyze-transaction
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-transaction
Source: https://github.com/Andamio-Platform/andamio-docs/tree/main/.claude/skills/analyze-transaction
Command: npx skills add https://github.com/Andamio-Platform/andamio-docs --skill analyze-transaction

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates the ingestion of decoded Cardano V2 transaction CBORs from the Atlas API and updates the repository YAML documentation to reflect the latest transactions, ensuring consistency across registries and docs.

Core Features & Use Cases

  • CBOR decoding & mapping: Extracts inputs, outputs, mints, withdrawals, reference inputs, and datum references from Atlas CBOR payloads and normalizes them into a YAML-friendly structure.
  • Documentation generation: Creates or updates YAML files under public/yaml/transactions/v2/{system}/{role}/{tx-name}.yaml using the repository's templates and conventions.
  • Registry alignment: Maps addresses to validators using address-registry.json and proposes updates when new validators or patterns are discovered during analysis.

Quick Start

Provide a decoded Atlas CBOR sample and run the analyze-transaction skill to produce the corresponding YAML, then validate it against endpoint-registry.json and update registries as needed.

Frequently Asked Questions about analyze-transaction

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

FAQPage Schema
How do I convert Cardano transaction CBORs into YAML documentation?

To convert Cardano transaction CBORs into YAML documentation, decode Atlas-provided V2 CBOR payloads into structured JSON and map transaction components like inputs, outputs, and mints to a YAML schema. This ensures repository documentation stays consistent with latest on-chain transactions.

What transaction components are extracted when parsing Cardano CBOR?

Parsing Cardano CBOR extracts inputs, outputs, mints, withdrawals, reference inputs, fees, and datum references. These components are normalized into a YAML-friendly structure to generate comprehensive transaction documentation under the public/yaml/transactions/v2/ directory.

How do I generate YAML files for Cardano V2 transactions from Atlas API data?

Generate YAML files for Cardano V2 transactions by ingesting decoded Atlas API CBOR data, mapping it to the repository YAML schema, and saving the output to public/yaml/transactions/v2/{system}/{role}/{tx-name}.yaml using established templates and conventions.

Does the YAML transaction generation process update address registries?

Yes, the YAML transaction generation process maps addresses to validators using address-registry.json and proposes registry updates. When new validators or patterns are discovered during CBOR analysis, it ensures the documentation aligns with the endpoint-registry.json definitions.

Can I validate generated transaction YAML against existing TypeScript definitions?

Yes, generated transaction YAML is validated against endpoint-registry.json and TypeScript definitions in the monorepo. This ensures the resulting YAML file path aligns with registry definitions and maintains structural consistency across the repository.