agentleFS
DROOdotFOODROOdotFOO/agent-skills/skills/noir/SKILL.md

noir

Skill1 starsChanged 2 months agoMITView on GitHub

Zero-knowledge circuit design with Noir (Aztec's ZK DSL). TRIGGER when: working with .nr files, Nargo.toml, ZK circuits/proofs, Aztec contracts, zoir extension, or discussing zero-knowledge proof design. Covers circuit architecture, constraint optimization, ZK-specific security, and Aztec integration. DO NOT TRIGGER when: only Noir language syntax is needed (droo-stack handles that), working with Solidity only (use solidity-auditor skill), or hybrid Solidity + Noir projects with both foundry.toml and Nargo.toml (use zk-x-ray skill).

Files
SKILL.md

noir

Domain knowledge for zero-knowledge circuit design with Noir. For Noir language syntax patterns (types, modules, generics), see droo-stack's noir-patterns rule. This skill covers the why of ZK: circuit architecture, security pitfalls, Aztec integration, and testing strategy.

What You Get

  • Circuit architecture and constraint optimization patterns
  • ZK-specific security: privacy leaks, oracle safety, nullifier attacks
  • Systematic circuit audit methodology (spec-to-constraint mapping, completeness, privacy analysis)
  • Aztec contract integration (notes, storage, account abstraction)
  • Testing strategy: nargo tests, e2e setup, cross-chain messaging
  • Constrained vs unconstrained computation guidance

When to use

This skill activates when working on ZK circuit design, proof systems, or Aztec contracts. It complements droo-stack (which covers Noir syntax) with domain knowledge that requires ZK expertise.

When NOT to use

  • For Noir language syntax only (types, modules, generics) -- use droo-stack
  • For Solidity smart contracts -- use solidity-auditor
  • For general Ethereum tooling -- use ethskills

See also

  • droo-stack -- for Noir language syntax (types, modules, generics)
  • solidity-auditor -- for Solidity verifier contracts that consume Noir proofs
  • zk-x-ray -- for pre-audit reports on ZK + EVM hybrid protocols (Noir + Solidity)
  • ethskills -- for Ethereum ecosystem tooling and standards

Reading guide

Working onRead
Circuit design, constraint optimizationcircuits/constrained
Oracle calls, unconstrained computationcircuits/unconstrained
Privacy leaks, public/private input designsecurity/privacy
Unconstrained return safety, oracle verificationsecurity/oracle-safety
Circuit audit methodology, spec compliancesecurity/circuit-audit
Aztec-specific attacks: nullifiers, MEV, leakagesecurity/aztec-contracts
Aztec contract structure, notes, storageaztec/contracts
Account abstraction, access control, keysaztec/accounts
Testing with nargo, proof vs executiontesting/nargo
Aztec e2e test setup, accounts, deploymenttesting/e2e-setup
Token testing, AuthWit, balance assertionstesting/e2e-token
Cross-chain L1/L2, event testingtesting/e2e-messaging

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.