From cardano-dev-skills
Guides setting up a local Cardano development environment for building, testing, and deploying smart contracts using Yaci DevKit, Evolution SDK devnet, or public testnets.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cardano-dev-skills:setup-devnetThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- Documentation lookup path: ${CLAUDE_SKILL_DIR}/../../docs/sources/ -->
Help the developer set up a local Cardano development network for building, testing, and deploying smart contracts.
query-chain skill)suggest-tooling skill)connect-wallet skill)@evolution-sdk/devnet, a TypeScript library) are both Docker-based — pick by workflow, not speed.Ask the developer (if not already clear):
| Environment | Best for | Setup time |
|---|---|---|
| Yaci DevKit | Smart contract dev, fast iteration, visual block explorer | 5 minutes |
| Evolution SDK devnet | TypeScript projects; code-first devnet inside the test suite | 5 minutes |
| Preview testnet | Integration testing, shared state, longer-lived deployments | 10 minutes |
| Preprod testnet | Pre-production testing, mirrors mainnet parameters | 10 minutes |
| Custom local cluster | Advanced scenarios, custom protocol params | 30+ minutes |
Search the bundled documentation for relevant content:
${CLAUDE_SKILL_DIR}/../../docs/sources/yaci-devkit/ - Yaci DevKit docs${CLAUDE_SKILL_DIR}/../../docs/sources/yaci-store/ - Yaci Store docs${CLAUDE_SKILL_DIR}/../../docs/sources/evolution-sdk/devnet/ - Evolution SDK devnet docs${CLAUDE_SKILL_DIR}/../../docs/sources/cardano-node-wiki/ - Cardano node wikiReference the quickstart guide for detailed commands:
File: skills/infrastructure/setup-devnet/references/yaci-devkit-quickstart.md
# Pull and run Yaci DevKit
docker run -it --name yaci-devkit \
-p 3001:3001 -p 10000:10000 \
bloxbean/yaci-devkit:latest
http://localhost:10000If the project is TypeScript-based, @evolution-sdk/devnet runs the same local Cardano network as a library — the devnet's genesis, lifecycle, and UTxO queries live in your code and test suite instead of a separate CLI tool. Reference the quickstart:
File: skills/infrastructure/setup-devnet/references/evolution-sdk-devnet.md
pnpm add @evolution-sdk/devnet @evolution-sdk/evolutionimport { Cluster } from "@evolution-sdk/devnet";
const cluster = await Cluster.make({
clusterName: "dev",
ports: { node: 3001, submit: 3002 },
kupo: { enabled: true, port: 1442 },
ogmios: { enabled: true, port: 1337 },
});
await Cluster.start(cluster);
shelleyGenesis.initialFunds — deterministic, no faucet. Genesis UTxOs are not indexed by Kupo; derive them with Genesis.calculateUtxosFromConfig(...) and pass via the builder's availableUtxos.Client.make(Cluster.getChain(cluster)).withKupmios({ kupoUrl, ogmiosUrl }).Choose this over Yaci DevKit when you want the devnet managed from inside integration tests; choose Yaci DevKit for its visual block explorer and Blockfrost-compatible REST API. Both run a standard cardano-node, so chain behaviour is identical.
If your application needs to query UTxOs or chain state beyond what Yaci Store provides:
# Ogmios connects to the local node
docker run --rm \
--network host \
cardanosolutions/ogmios:latest \
--node-socket /path/to/node.socket \
--node-config /path/to/config.json
# Kupo indexes UTxOs matching patterns
docker run --rm \
--network host \
cardanosolutions/kupo:latest \
--ogmios-host localhost \
--ogmios-port 1337 \
--match "*" \
--since origin
aiken build compiles validators to UPLCplutus.json with compiled scripts and parameter schemas# Typical Aiken workflow
aiken build
aiken check # Run unit tests
# Then use SDK to deploy to local devnet
test keyword for validator logicfuzz support for property-based testing# Request test ADA from the faucet (web interface or API)
# Provide your testnet address
# Receives 1000 test ADA (Preview) or 10000 (Preprod)
# Faucet has rate limits per address
# .github/workflows/cardano-ci.yml
name: Cardano CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
services:
yaci-devkit:
image: bloxbean/yaci-devkit:latest
ports:
- 3001:3001
- 10000:10000
steps:
- uses: actions/checkout@v4
- name: Install Aiken
uses: aiken-lang/setup-aiken@v1
- name: Build contracts
run: aiken build
- name: Run unit tests
run: aiken check
- name: Run integration tests
run: |
# Wait for devnet to be ready
# Run off-chain integration tests against localhost
skills/infrastructure/setup-devnet/references/yaci-devkit-quickstart.md -- Yaci DevKit quickstart guideskills/infrastructure/setup-devnet/references/evolution-sdk-devnet.md -- Evolution SDK devnet quickstart guideProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub cardano-foundation/cardano-dev-skills --plugin cardano-dev-skills