Skip to content

chore(tooling): replace GHA create-pr workflow with /create-pr command#128

Merged
jfrench9 merged 1 commit into
mainfrom
chore/create-pr-command
Jun 6, 2026
Merged

chore(tooling): replace GHA create-pr workflow with /create-pr command#128
jfrench9 merged 1 commit into
mainfrom
chore/create-pr-command

Conversation

@jfrench9

@jfrench9 jfrench9 commented Jun 6, 2026

Copy link
Copy Markdown
Member

Summary

Replaces the GitHub Action that authored PR descriptions in CI with a local Claude Code /create-pr slash command.

Why

The old .github/workflows/create-pr.yml called 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 @claude reviews and compounded the bad information.

What changed

  • Added .claude/commands/create-pr.md — a slash command that authors the PR from the actual session context, cross-checks every claim against git diff <target>...<branch>, and opens the PR via gh pr create. Attribution is to the author only; an @claude review is opt-in rather than automatic.
  • Removed the obsolete machinery: the create-pr.yml workflow, its trigger script, the PR-creation invocation (the pr:create/create-pr npm script or the just create-pr recipe), 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-pr across the RoboSystems and SupplyFlow repos.

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.
@jfrench9 jfrench9 merged commit 5bf55db into main Jun 6, 2026
1 check passed
@jfrench9 jfrench9 deleted the chore/create-pr-command branch June 6, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant