AgentSkillsCN

aztec-developer

Aztec开发模式:合约、前端、测试。除非另有说明,否则在以任何方式处理Aztec合约时均应使用。

SKILL.md
--- frontmatter
name: aztec-developer
description: "Patterns for Aztec development: contracts, frontend, testing. Use when working with Aztec contracts in any capacity unless otherwise specified"
allowed-tools: Read, Grep, Glob, Edit, Write, Bash

Aztec Development Skills

Comprehensive patterns and best practices for Aztec smart contract development.

Subskills

Navigate to the appropriate section based on your task:

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:

Testing Contracts

See TXE Setup to configure your test environment, then:

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):

code
aztec_sync_repos()

Search for code patterns:

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

List and read example contracts:

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

Search documentation:

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

Read any file from cloned repos:

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