Skip to content

Commit be0f3aa

Browse files
committed
Add AGENTS guidelines for coding agents.
1 parent bd14fe5 commit be0f3aa

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

AGENTS.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# AGENTS
2+
3+
This repository supports automated and human-assisted coding agents.
4+
5+
## Scope
6+
7+
These guidelines apply to the whole repository unless a more specific `AGENTS.md` exists in a subdirectory.
8+
9+
## Core Rules
10+
11+
1. Keep changes focused and minimal.
12+
2. Follow existing code style and project conventions.
13+
3. Do not introduce unrelated refactors in the same change.
14+
4. Update docs when behavior, APIs, or workflows change.
15+
5. Prefer safe, reversible changes.
16+
17+
## Workflow
18+
19+
1. Read relevant files before editing.
20+
2. Make the smallest change that solves the task.
21+
3. Run targeted checks for touched areas.
22+
4. Summarize what changed and why.
23+
24+
## Validation
25+
26+
- Run tests/lint only as needed for the affected scope.
27+
- If full validation is expensive, run focused checks and call out what was not run.
28+
29+
## Commit and PR Guidance
30+
31+
- Use clear commit messages that explain intent.
32+
- Keep pull requests small and reviewable.
33+
- Include migration notes if configs or data shape changed.
34+
35+
## Security and Safety
36+
37+
- Never commit secrets or credentials.
38+
- Avoid destructive commands unless explicitly requested.
39+
- Prefer least-privilege defaults for new configs and scripts.

0 commit comments

Comments
 (0)