dev-pr-open

Pushes committed branches and opens draft pull requests with changelog entries and issue references.

Updated Mar 9, 2026
One-click install
npx skills add https://github.com/GinoCanessa/dotnet-fhir-packages --skill dev-pr-open-ginocanessa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dev-pr-open
Source: https://github.com/GinoCanessa/dotnet-fhir-packages/tree/main/.github/skills/dev-pr-open
Command: npx skills add https://github.com/GinoCanessa/dotnet-fhir-packages --skill dev-pr-open-ginocanessa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Turning finished local work into a pull request involves repetitive, error-prone steps: resolving which commits are in scope, writing changelog entries, drafting a PR body, and referencing every issue so it closes on merge. This Skill automates that final release step with strict safety gates. ## Core Features & Use Cases - Scoped publishing: Runs in slot mode (one slot's commits from its plan.md) or branch mode (every commit ahead of the default branch), echoing the resolved commit list before acting. - Safety preconditions: Verifies GitHub integration is enabled, gh CLI is authenticated, the remote matches the recorded repository, the index is clean, and HEAD is not the default branch before any mutation. - Changelog management: Detects changelog conventions, dedupes entries by stable anchors, and makes exactly one approved path-limited commit. - PR creation and update: Pushes the branch, then creates a draft PR or updates an existing one, assembling the body from slot artifacts with one Closes #N line per issue. - Use Case: After committing several slots of work on a feature branch, ask the assistant to open a pull request; it discovers the slots, drafts changelog entries and the PR body for approval, pushes, and opens a draft PR closing all bound issues. ## Quick Start Ask the assistant to open a pull request for all local commits on the current branch, optionally naming a slot number to publish only that slot's work.

Frequently Asked Questions about dev-pr-open

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I open a pull request for local commits with an AI assistant?

Run this skill with no arguments to publish every commit ahead of the default branch, or name a slot number or plan.md path to publish one slot's work. It echoes the resolved commits, drafts the PR title and body for approval, pushes, and opens a draft PR.

How does the skill decide which commits go into the pull request?

Branch mode uses the range origin/<default-branch>..HEAD, while slot mode collects SHAs from COMMIT entries in the slot's plan.md Progress Log. Its own changelog commits are excluded, and unmatched commits stay in scope described from their messages.

Does it work without the GitHub CLI or AGENTS.md configured?

No. The skill requires gh to be installed and authenticated, and the repository's AGENTS.md must contain a GitHub Integration section with Enabled set to yes. If integration is off, it offers to enable it and otherwise stops cleanly.

What happens if I re-run it after a failed push?

The skill is idempotent: changelog entries are deduped by stable anchors, existing open PRs on the branch are updated instead of duplicated, and prior changelog commits are excluded from the commit scope.

Can it merge the pull request or mark it ready for review?

No. It never merges, never closes issues directly, and never takes a PR out of draft. It only pushes the branch and opens or updates the draft PR with Closes #N references so GitHub closes issues at merge time.