Agent skill

aztec-developer

Patterns for Aztec development: contracts, frontend, testing. Use when working with Aztec contracts in any capacity unless otherwise specified

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/aztec-developer

SKILL.md

Aztec Development Skills

Comprehensive patterns and best practices for Aztec smart contract development.

Subskills

Navigate to the appropriate section based on your task:

  • Workspace Setup - Initializing and configuring Aztec projects
  • Contract Development - Writing Aztec smart contracts
  • Contract Unit Testing - Unit testing Aztec smart contracts with TXE

Quick Reference

Creating a New Project

See Project Setup for initializing new Aztec projects.

Writing Contracts

Start with Contract Structure for the basic template, then explore:

  • Storage - State variable types
  • Notes - Private state management
  • Cross-Contract Calls - Inter-contract communication

Testing Contracts

See TXE Setup to configure your test environment, then:

  • Writing Tests - Test patterns and assertions
  • Running Tests - Compilation and execution

Using Aztec MCP Server

For detailed API documentation and code examples beyond what's covered here, use the Aztec MCP tools:

First, sync the repos (if not already done):

aztec_sync_repos()

Search for code patterns:

aztec_search_code({ query: "<pattern>", filePattern: "*.nr" })

List and read example contracts:

aztec_list_examples()
aztec_read_example({ name: "<example-name>" })

Search documentation:

aztec_search_docs({ query: "<question>" })

Read any file from cloned repos:

aztec_read_file({ path: "<relative-path>" })

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results