30 lines
884 B
Markdown
30 lines
884 B
Markdown
# Git commits and PRs
|
|
|
|
Before writing any commits or PR titles, check recent git history with `git log --oneline -20` to match my style.
|
|
|
|
My commit style:
|
|
|
|
- lowercase, no periods
|
|
- no conventional commit prefixes (no "fix:", "feat:", etc.)
|
|
- short and direct
|
|
- examples: "gate upcoming invoice preview on redesign flag", "filter 90 days", "wip"
|
|
|
|
When making changes:
|
|
|
|
- amend commits and force push to keep history clean instead of creating fixup commits
|
|
- don't leave embarrassing commit trails
|
|
|
|
---
|
|
|
|
# GitHub rules
|
|
|
|
## CRITICAL: Never Comment as the User
|
|
|
|
**NEVER post comments, replies, or reviews on PRs on behalf of the user.** This includes:
|
|
|
|
- `gh pr comment`
|
|
- `gh pr review`
|
|
- GraphQL mutations like `addPullRequestReviewThreadReply`, `addPullRequestReviewComment`, etc.
|
|
|
|
The agent must only read PR information and make code changes. The user will post their own comments.
|