本文へ移動
cccskills
無料GitHub で公開

draft-pr

Prepare commits, push a branch, and create a draft PR targeting your base branch.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md1.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Draft PR

Invocation

This skill defaults to running in the Developer persona. If you are not already running as Developer (for example, the user invoked /draft-pr directly or you are the parent agent), delegate execution to a Developer subagent and stop. If you are already running as Developer, continue with the steps below.

Objective

Prepare a clean branch and create a draft PR targeting your base branch.

Instructions

  1. Review the current changes with git status.
  2. Run the applicable verification checks before proceeding.
  3. Confirm or create a feature branch if the current branch is your base branch.
  4. Gather commit details and use a conventional commit message (see below).
  5. Push the branch.
  6. Generate the PR body via /pr-description.
  7. Create the draft PR targeting your base branch. PR title: if the branch name contains a ticket key, include it in the PR title. If there is no recognizable key and the user did not supply one, omit it.
  8. End with the commit hash, branch name, PR URL or creation instructions, and the recommended next step: /review.

Commit messages

  • Format: type(scope): subject (scope optional). Types: feat, fix, refactor, perf, docs, test, build, ci, chore, revert.
  • Subject: imperative, concise, lowercase except proper nouns/acronyms.
  • Do not add auto-generated Co-authored-by: trailers from tooling.
  • Before the first commit on a change, run a full verification pass from the repo root; targeted checks are fine while iterating but not a substitute for that pre-commit pass.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

brief

無料

Create a product brief document for a feature or project.

日本語の概要は準備中です。原文の説明を表示しています。

g2i-ai/agents522026年4月21日 更新

code

無料

Implement production changes with or without new test coverage.

日本語の概要は準備中です。原文の説明を表示しています。

g2i-ai/agents522026年4月21日 更新

Generate a PR description for the current branch against your base branch.

日本語の概要は準備中です。原文の説明を表示しています。

g2i-ai/agents522026年4月21日 更新

review

無料

Review a branch or PR for merge readiness and produce a QA report.

日本語の概要は準備中です。原文の説明を表示しています。

g2i-ai/agents522026年4月21日 更新

spec

無料

Transform a product brief into a technical specification.

日本語の概要は準備中です。原文の説明を表示しています。

g2i-ai/agents522026年4月21日 更新

tdd

無料

Practice test-driven development for new features and bug fixes.

日本語の概要は準備中です。原文の説明を表示しています。

g2i-ai/agents522026年4月21日 更新

g2i-ai のスキルをすべて見る

このスキルの問題を報告する