Skip to content

Commit c7c6672

Browse files
committed
docs: add workflow section to AGENTS.md
Add branch management guidance - ask user before starting new tasks whether to switch to main and rebase or work from current branch.
1 parent c9f3209 commit c7c6672

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

AGENTS.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,21 @@ logger:
6767
- Terminal where `./script/develop` runs
6868
- `config/home-assistant.log`
6969

70+
## Workflow
71+
72+
### Starting New Work
73+
74+
**When starting a new task, always ask the user first:**
75+
- Should I switch to `main` branch and rebase?
76+
- Or should I work from the current branch?
77+
78+
Then checkout a new feature branch before beginning work. Never work directly on `main` or stale branches.
79+
80+
### Branch Naming Convention
81+
- Features: `feature/description`
82+
- Bug fixes: `fix/description`
83+
- Documentation: `docs/description`
84+
7085
## Code Style
7186

7287
**Python:**

0 commit comments

Comments
 (0)