You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add PR creation instructions for AI agents to AGENTS.md (#62575)
* Add PR creation instructions for AI agents to AGENTS.md
Agents must create PRs via `gh pr create --web` to open the browser
with the repository's PR template pre-filled. Includes instructions
to disclose generative AI usage with the Generated-by line.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Apply suggestion from @potiuk
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
##### Was generative AI tooling used to co-author this PR?
111
+
112
+
- [X] Yes — <Agent Name and Version>
113
+
114
+
Generated-by: <Agent Name and Version> following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
115
+
116
+
EOF
117
+
)"
118
+
```
119
+
120
+
The `--web` flag opens the browser so the user can review and submit. The `--body` flag
121
+
pre-fills the PR template with the generative AI disclosure already completed.
122
+
123
+
Remind the user to:
124
+
125
+
1. Review the PR title — keep it short (under 70 chars) and focused on user impact.
126
+
2. Add a brief description of the changes at the top of the body.
127
+
3. Reference related issues when applicable (`closes: #ISSUE` or `related: #ISSUE`).
0 commit comments