aztec-developer
Installation
SKILL.md
Aztec Developer Skill
Framework knowledge for Aztec smart contract development that is NOT obvious from reading source code.
Common Hallucinations to Avoid
These are facts Claude frequently gets wrong about Aztec. Consult this before making claims:
Noir Integer Overflow
Noir integer types (u8, u64, u128) PANIC on overflow — they do NOT wrap. Only Field arithmetic wraps (around the field modulus). This means u64 addition is already overflow-safe in Noir — no explicit guard is needed. However, Field should never be used for amounts that need overflow protection.
The #[note] Macro Injects Randomness
The #[note] attribute macro automatically injects a NoteHeader field containing a nonce for commitment uniqueness. You do NOT need to add a manual randomness field to note structs. A note with only amount and owner fields is valid — the macro handles the rest.