chore(tooling): replace GHA create-pr workflow with /create-pr command#128
Merged
Conversation
PR titles and descriptions are now authored from the session's actual context via .claude/commands/create-pr.md, instead of a GitHub Action reconstructing them from only the diff and commit messages (inaccurate descriptions that then poisoned downstream @claude reviews). Remove the obsolete machinery: the create-pr.yml workflow, the create-pr just recipe, and bin/create-pr.sh; drop the VS Code Create PR task and its orphaned inputs; point create-feature.sh at the new /create-pr command.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Replaces the GitHub Action that authored PR descriptions in CI with a local Claude Code
/create-prslash command.Why
The old
.github/workflows/create-pr.ymlcalled the Anthropic API to write the PR title/description from only the diff and commit messages. With no visibility into why the changes were made, it frequently produced inaccurate descriptions — which then fed downstream@claudereviews and compounded the bad information.What changed
.claude/commands/create-pr.md— a slash command that authors the PR from the actual session context, cross-checks every claim againstgit diff <target>...<branch>, and opens the PR viagh pr create. Attribution is to the author only; an@claudereview is opt-in rather than automatic.create-pr.ymlworkflow, its trigger script, the PR-creation invocation (thepr:create/create-prnpm script or thejust create-prrecipe), and the VS Code "Create PR" task plus its now-orphaned inputs. Stale references in helper scripts / docs were updated to point at the new command.Testing
This repo's pre-commit gate ran on commit and passed (lint / format / typecheck / tests as applicable). The change is tooling/config only — no application code is touched.
Part of an ecosystem-wide rollout of
/create-pracross the RoboSystems and SupplyFlow repos.