Add AGENTS.md with project guidelines for opencode
This commit is contained in:
17
AGENTS.md
Normal file
17
AGENTS.md
Normal file
@@ -0,0 +1,17 @@
|
||||
# rusty-petroleum Project Guidelines
|
||||
|
||||
## Git Commit Style
|
||||
- Make small, focused commits while working
|
||||
- Commit changes incrementally to make history easier to follow
|
||||
- Each commit should represent a single logical change
|
||||
- Write clear, concise commit messages describing what changed
|
||||
|
||||
## Issue Management
|
||||
- Use Gitea REST API to close issues when fixing them:
|
||||
```bash
|
||||
curl -X PATCH https://gitea.rowanbrook.net/api/v1/repos/jakob/rusty-petroleum/issues/{issue_number} \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Authorization: Bearer YOUR_TOKEN" \
|
||||
-d '{"state": "closed"}'
|
||||
```
|
||||
- Or suggest closing issues on Gitea web UI when automatic closing via API is not configured
|
||||
Reference in New Issue
Block a user