Skip to content

docs: add PR creation guidance for gh pr create/edit [skip ci] - #8140

Merged
rfay merged 2 commits into
ddev:mainfrom
rfay:20260213_rfay_claude
Feb 14, 2026
Merged

rfay merged 2 commits into
ddev:mainfrom
rfay:20260213_rfay_claude

Conversation

@rfay

@rfay rfay commented Feb 13, 2026 •

Copy link
Copy Markdown
Member

The Issue

  • AI agents (Claude Code, etc.) were not using the .github/PULL_REQUEST_TEMPLATE.md format when creating PRs via gh pr create, even though the template was documented for commit messages.

How This PR Solves The Issue

  • Adds a "Creating PRs with gh" section to both CLAUDE.md and AGENTS.md with explicit instructions and a HEREDOC example for gh pr create --body
  • Documents the gh api fallback for when gh pr edit fails silently due to GitHub API deprecation warnings

Manual Testing Instructions

  • Review the added sections in CLAUDE.md and AGENTS.md for clarity
  • Verify the HEREDOC example is syntactically correct

Automated Testing Overview

Documentation-only change, no code tests needed. make staticrequired passes (markdownlint, mkdocs).

Release/Deployment Notes

No code changes. Improves AI agent workflow guidance only.

@rfay
rfay requested a review from a team as a code owner February 13, 2026 21:18
@rfay rfay changed the title docs: add PR creation guidance for gh pr create/edit docs: add PR creation guidance for gh pr create/edit [skip ci] Feb 13, 2026
@rfay
rfay merged commit b7d1ffc into ddev:main Feb 14, 2026
4 checks passed
@rfay
rfay deleted the 20260213_rfay_claude branch February 14, 2026 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant