Agent rule pattern

Contribution etiquette

Limits what the agent may open, push, or post for the project.

32 of 100 projects

The shape of the rule

  1. Identify the public action
  2. State who may take it
  3. Explain the review workflow
How to use it

These rules cover pull requests, issues, @-mentions, and commit trailers. Some respond directly to agent traffic, such as unsolicited pull requests and duplicate issues.

State who may open, post, or push something and what review steps come first. Include the rules for commit and pull-request text.

Examples from real projects

3 examples · Pinned source

Preserve incremental review history

The no-force-push rule explains that changes will be squashed at merge and reviewers need to see follow-up commits. It gives a concrete reason to keep the branch history intact.

CLAUDE.mdL35–38
Source excerpt starting at line 35.
- When pushing updates to the PR, make sure to never force push. Create as many  commits as you need, all of them get squashed when the PR is merged, so there  is no need to rewrite history. This also allows reviewers to see the  incremental changes you made in response to feedback.

Show the title grammar and its exceptions

The guide requires an uppercase description, prohibits scopes, and classifies factory changes as chore. It points to the enforcing workflow and supplies example titles.

AGENTS.mdL15–19
Source excerpt starting at line 15.
Key rules: - Description must start with an uppercase letter- Scopes are not allowed- A change for apps/factory should always be marked `chore:`

Treat pushes as a workflow cost

The contribution guidance connects each push to paid automated review. It asks for local iteration followed by a batch push, making the reason for the cadence visible.

AGENTS.mdL65
Source excerpt starting at line 65.
- **Do not push after every commit.** Pushes to open PRs trigger automated reviews that cost money. Commit locally as you go, and only push when the work is complete (or the user asks for feedback on work in progress). When in doubt, ask before pushing

Projects using this pattern (32)

Browse in directory →
Show 24 more projects
← All agent rule patterns