Skip to content

Commit cd6dd3d

Browse files
dblockCopilot
andcommitted
Update AGENTS.md: starting work workflow and never push to master
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3f36a33 commit cd6dd3d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# AI Agent Instructions
22

3+
## Starting Work
4+
5+
Before creating a new branch, always sync and clean up:
6+
7+
```
8+
git checkout master
9+
git pull
10+
git branch --merged master | grep -v '^\* \|^ master$' | xargs -r git branch -d
11+
```
12+
313
## After Making Code Changes
414

515
Always run the following commands before committing:
@@ -29,4 +39,5 @@ Update [CHANGELOG.md](CHANGELOG.md) for any user-facing change. Add a line at th
2939

3040
## Commits and PRs
3141

42+
- Never push directly to master — always work on a branch and open a PR.
3243
- Squash commits before merging — one logical commit per PR.

0 commit comments

Comments
 (0)