commit 4214d689dd2fdae93b9f746bb5529bc7b8e5b7eb Author: Кирилл Блинов Date: Fri May 29 10:06:55 2026 +0300 Add AGENTS.md with commit and push rules diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..f008426 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,8 @@ +# Agent Guidelines + +## Git Workflow + +- **Commit frequently**: After completing a meaningful unit of work (feature, fix, or file update), stage changes with `git add` and create a commit with a clear, concise message in the imperative mood (e.g., "Add parser", "Fix timeout"). +- **Push to remote**: Once the local commit(s) are ready, push them to the remote repository. Use `git push -u origin main` if the upstream branch is not yet tracked; otherwise use `git push`. +- **No uncommitted changes left behind**: Before finishing a task, ensure all intended changes are committed and pushed to avoid losing work. +- **No empty commits**: Avoid creating empty or placeholder commits.