create-pr

Automate PR and MR lifecycle management for feature branches across GitHub and GitLab.

23|2|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/kirich1409/krozov-ai-tools --skill create-pr-kirich1409
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/kirich1409/krozov-ai-tools/tree/main/plugins/developer-workflow/skills/create-pr
Command: npx skills add https://github.com/kirich1409/krozov-ai-tools --skill create-pr-kirich1409

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Automates the PR / MR lifecycle for the current feature branch across GitHub and GitLab, reducing manual coordination and status updates.

Core Features & Use Cases

  • Draft creation: Creates a draft PR if none exists; refreshes the body if a draft already exists.
  • Refresh: Updates the body of an existing PR without changing its status.
  • Promote: Refreshes the body with final summary and marks the draft PR as ready for review.
  • Default/manual: Asks to draft-or-ready decision and creates the PR accordingly.
  • Artifacts integration: Assembles description from swarm-report artifacts (research, plan, test-plan, finalize, acceptance) and falls back to git history if artifacts are missing.
  • Platform support: Works with GitHub via gh and GitLab via glab; handles push and labeling during create/promote.

Quick Start

Ask the AI to create a PR, refresh its description, or promote it to ready by using the appropriate --draft, --refresh, or --promote modes.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate pull request creation from a feature branch?

You can automate pull request creation by running the Skill on your current feature branch; it detects the base branch, pushes updates, and composes the PR body from git history or available artifacts. This reduces manual coordination across your workflow.

Can I create a draft PR and promote it to ready later?

Yes, you can create a draft PR and promote it to ready later. The Skill supports a draft mode for initial creation and a promote mode that refreshes the description with a final summary and marks the draft PR as ready for review.

Does this PR automation tool work with both GitHub and GitLab?

Yes, this PR automation tool works with both GitHub and GitLab. It uses the gh CLI for GitHub and glab for GitLab to query, create, and update pull requests or merge requests, including pushing updates and managing labels during creation or promotion.

How do I refresh a pull request description without losing my edits?

You can refresh a pull request description without losing edits by using the refresh mode. The refresh mode updates the PR body while preserving your manual edits, ensuring the description stays current without overwriting your changes.

What happens if swarm-report artifacts are missing when generating a PR body?

If swarm-report artifacts are missing when generating a PR body, the Skill gracefully falls back to git history. It assembles the description from available research, plan, test-plan, finalize, and acceptance artifacts, or uses commit logs if none exist.

When should I not use automated PR lifecycle management?

You should not use automated PR lifecycle management when you need custom review workflows outside of draft and ready states, or if your repository lacks gh and glab CLI access. The Skill targets standard GitHub and GitLab PR lifecycles and standard label updates.