Repository navigation
Keep the PR description current in babysit-pr - #72
Closed
stephenfinch wants to merge 1 commit into
Closed
stephenfinch wants to merge 1 commit into
stephenfinch wants to merge 1 commit into
Conversation
After a push that changes what the PR does, babysit-pr rewrites the affected lines of the description with create-pr's rules. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The workflow can overwrite current body content and ambiguously imports create-pr’s approval requirement.
1 open finding
What changed in this PR
Updates babysit-pr to keep PR descriptions aligned with behavioral or scope changes after pushes.
Changes:
- Adds body-editing guidance and permission.
- Updates skill indexes to describe the behavior.
| File | Description |
|---|---|
skills/babysit-pr/SKILL.md |
Adds PR-description maintenance workflow. |
README.md |
Updates the skill summary. |
AGENTS.md |
Documents the new behavior. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+120
to
+121
| post-merge step, or scope — rewrite only the affected lines of the current | ||
| body with `create-pr`'s rules. Lint, test-only, and rebase pushes leave it |
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.

Why
When
babysit-prpushed a fix that changed what a PR does, the description kept describing the original change. The loop now rewrites the affected lines of the description after any push that changes behavior, dependencies, post-merge steps, or scope.What Changed
gh pr edit, limited to the bodyScreenshots
N/A — no UI changes
Pre-merge
README.mdandAGENTS.md? Any new, renamed, or removed skill needs a row in the README table and a bullet in AGENTS.md. Check the box or replace it withN/Aif this PR touches no skill.