Skip to content

Commit 32f5dcc

Browse files
committed
Add base/cvd/.agents/AGENTS.md
This applies some short guidelines to make AI development produce better output by running the tools that can catch their mistakes. Bug: b/524730723
1 parent b0fe189 commit 32f5dcc

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

base/cvd/.agents/AGENTS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Workspace Guidelines
2+
3+
This is a bazel workspace.
4+
5+
## Git Workflow
6+
- Please add an "Assisted-by:" tag to git commits with the format: `Assisted-by: AGENTNAME:MODELVERSION`
7+
- Please format BUILD files in every commit by running: `buildozer '//cuttlefish/...:__pkg__' format`
8+
- Every commit should be validated. Please validate changes by running `bazel build //cuttlefish/package:cvd` and `bazel test //...`.
9+
- To fix clang-format tests, run the `clang-format` executable directly.
10+
11+
## Style Rules
12+
- Use type deduction (`auto`) only if it makes the code clearer to readers who aren't familiar with the project, or if it makes the code safer. Do not use it merely to avoid the inconvenience of writing an explicit type.

0 commit comments

Comments
 (0)