From 7916bc0b78856e5bb89187f37d7750c268a361be Mon Sep 17 00:00:00 2001 From: Wijnand Modderman-Lenstra Date: Thu, 29 Oct 2026 17:41:48 +0100 Subject: [PATCH] Require feature branches in agent instructions --- AGENTS.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 AGENTS.md diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..6f82b8c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,12 @@ +# Git workflow + +- Create and switch to a feature branch before editing files or making commits. +- Never commit directly on `main` or `master`. +- Use descriptive branch names, such as `feat/mpd-fifo-output-monitoring`, + `fix/readme-images`, or `chore/agent-instructions`. +- Continue on an existing feature branch when working on the same task. Create a + separate branch from the target branch for unrelated work. +- If changes already exist on `main` or `master`, create a feature branch that + preserves those changes before committing them. +- Open pull requests against the target branch; do not merge or push changes + directly to `main` or `master` unless the user explicitly requests it.