Skip to content

Commit 07d48cb

Browse files
committed
Add AGENTS.md to provide guidelines to coding agents
1 parent 754c379 commit 07d48cb

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

AGENTS.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
# SQL Parser in Rust
1+
# Extensible SQL Lexer and Parser for Rust Agents Guidelines
22

3-
## Agent Workflow
3+
## General Agent Workflow
4+
1. You will receive a coding task from your operator.
5+
2. You will analyze the task and come up with a code change to complete it.
6+
3. You will write unit tests to ensure your code change is working as expected.
7+
4. You will run the commands in the Pre Commit Checks section below to ensure your change is ready for a pull request.
8+
5. When instructed to open a PR, you will follow the instructions in the Pull Request Guidelines section below.
9+
10+
## Agent Workflow for Fixing Parsing Issues in SQL Statements
411
1. You will receive a SQL statement that is not parsed correctly by the project. Typically parsing will fail with an error.
512
2. You will add a unit test to check that the SQL statement is indeed unparsed. Follow the instructions in the "Unit Tests" section below.
613
3. You will analyze why the SQL statement is not parsed correctly, pointing to the code section that you think is faulty. See more info in the Analyzing Parsing Issues and General Coding Guidelines below.

0 commit comments

Comments
 (0)