docs: add commit workflow instructions to AGENTS.md
🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode <noreply@opencode.ai>
This commit is contained in:
parent
a86b2789b1
commit
39687d0769
@ -31,3 +31,10 @@
|
|||||||
- All changes must be modular, idempotent, and version-controlled
|
- All changes must be modular, idempotent, and version-controlled
|
||||||
|
|
||||||
For more, see `README.md` and `.github/copilot-instructions.md`.
|
For more, see `README.md` and `.github/copilot-instructions.md`.
|
||||||
|
|
||||||
|
## Commit Workflow
|
||||||
|
- After every change, stage and commit your work with a clear, descriptive commit message explaining the purpose of the change (not just the file or function name)
|
||||||
|
- Example: `git add <changed-files> && git commit -m "fix: correct Waybar config for desktop profile"`
|
||||||
|
- Always commit after each logical change, not just at the end of a session
|
||||||
|
- The commit message should focus on the "why" and "what" (e.g., "fix: remove battery module for desktop profile")
|
||||||
|
- Do not use generic messages like "Update" or "Fix" without context
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user