Skip to content

Commit 1e3b75c

Browse files
authored
Merge pull request #104 from critesjosh/main
Add AGENTS.md file
2 parents a2dee07 + 7e5fc60 commit 1e3b75c

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

AGENTS.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Repository guidelines for Codex agents
2+
3+
This repository contains TypeScript scripts and Noir contracts for the Aztec sandbox.
4+
Follow these guidelines when contributing:
5+
6+
## Setup
7+
- Use **Node.js v22** with Yarn.
8+
- Install dependencies with `yarn install`.
9+
- Start the Aztec sandbox using `aztec start --sandbox` before running tests or scripts.
10+
11+
## Development
12+
- Compile contracts with `yarn compile` and generate TypeScript artifacts with `yarn codegen`.
13+
- Use four spaces for indentation in TypeScript and scripts.
14+
- Do not commit generated artifacts (`src/artifacts`, `target`, or `store` folders).
15+
16+
## Testing
17+
- Run `yarn test` and ensure it passes before committing. This runs both the TypeScript tests and Noir tests.
18+
19+
## Pull Requests
20+
- Use clear commit messages and provide a concise description in the PR body about the change.
21+
- Mention which tests were executed.
22+

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ You may need to update permissions with:
161161
chmod +x .github/scripts/update_contract.sh
162162
```
163163

164+
## AI Agent Contributor Guide
165+
166+
This repository includes an [AGENTS.md](./AGENTS.md) file with detailed
167+
instructions for setting up your environment, running tests, and creating
168+
pull requests. Please read it before contributing changes.
169+
164170
### 💬 Join the Community:
165171

166172
<p align="left">

0 commit comments

Comments
 (0)