drafting-pr

Create and update GitHub draft pull requests with conventional commits.

1.2k|81|Updated Sep 5, 2024
One-click install
npx skills add https://github.com/udecode/dotai --skill drafting-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drafting-pr
Source: https://github.com/udecode/dotai/tree/main/.claude-plugin/plugins/git/skills/drafting-pr
Command: npx skills add https://github.com/udecode/dotai --skill drafting-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires github-cli.

What problem does it solve?

This Skill simplifies the management of work-in-progress by automating the creation and updating of GitHub Draft Pull Requests. It ensures clear documentation of changes and progress without triggering premature code reviews, saving developers time and reducing friction.

Core Features & Use Cases

  • Automated Draft PR Creation: Quickly generates new draft PRs with comprehensive descriptions.
  • Progressive Updates: Manages updates to existing draft PRs by adding structured comments, preserving original context.
  • Conventional Commit Integration: Enforces conventional commit messages and branch naming for better history tracking.
  • Use Case: As you develop a new feature, use this skill to create a draft PR, push incremental changes, and automatically add update comments, keeping your team informed without requesting formal reviews until ready.

Quick Start

Use the drafting-pr skill to create a new draft PR for my current feature branch.

Frequently Asked Questions about drafting-pr

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

FAQPage Schema
How do I create a draft pull request in GitHub without triggering reviews?

Draft pull requests let you share work-in-progress changes without requesting formal code reviews. This Skill automates draft PR creation with comprehensive descriptions, letting you push incremental commits and keep your team informed until the code is ready for review.

Can I automate commit messages and branch management in my GitHub workflow?

Yes. This Skill enforces conventional commit messages formatted as 'type: description' and integrates with Git and GitHub CLI commands to standardize your commit history, coordinate branches, and manage a single-commit-per-push strategy.

How do I update an existing draft PR while preserving the original description?

This Skill manages updates to draft PRs by adding structured comments that preserve your original description and context. Push new commits to your branch, and the Skill automatically updates the draft with change summaries without overwriting initial details.

What's the best way to track feature development progress without formal code review?

Draft PRs let developers document changes and progress transparently. This Skill automates their creation and updating, reducing friction and saving time by eliminating manual PR management while keeping stakeholders informed during active development.

Do I need GitHub CLI installed to use this automation?

Yes. This Skill depends on GitHub CLI and integrates with Git commands like git status, git diff, git add, and git commit. GitHub CLI must be configured and authenticated to create and edit draft PRs.

Can I use this Skill for repositories without conventional commit conventions?

This Skill enforces conventional commit messages as part of its core design to standardize history tracking and improve clarity. If your workflow requires a different commit format, this approach may not align with your process.