Skip to content

Commit 970611c

Browse files
Merge pull request #35 from joshuadanpeterson/codex/update-agents.md-with-new-sections-and-conventions
Add AGENTS.md with repo guidelines
2 parents 8248909 + af51a61 commit 970611c

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

AGENTS.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,38 @@
1+
# Project Agents.md Guide for OpenAI Codex
2+
3+
This Agents.md file provides comprehensive guidance for OpenAI Codex and other AI agents working with this codebase.
4+
5+
## Project Structure for OpenAI Codex Navigation
6+
7+
- `lua/`: Lua source files for the plugin
8+
- `doc/`: help documentation
9+
- `spec/`: Busted unit tests
10+
- `demos/`: demonstration scripts
11+
12+
## Coding Conventions for OpenAI Codex
13+
14+
- Use **tab-based indentation**.
15+
- Write comments in **LuaDoc** style with triple dashes (`---`).
16+
- Prefer **snake_case** for function and variable names.
17+
- Ensure a newline at the end of every file.
18+
19+
## Testing Requirements for OpenAI Codex
20+
21+
Run the following commands for Lua changes (skip when only docs or comments are modified):
22+
23+
```bash
24+
luacheck .
25+
busted
26+
```
27+
28+
## Pull Request Guidelines for OpenAI Codex
29+
30+
- Use multi-line Conventional Commits with emoji prefixes for all commits.
31+
32+
## Programmatic Checks for OpenAI Codex
33+
34+
Before opening a Pull Request, make sure all required tests and linters pass.
35+
=======
136
# Contributor Guidelines
237

338
## Testing and Linting

0 commit comments

Comments
 (0)