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

pull-request

Creates a new feature branch from current git changes, commits them, pushes to the remote, and opens a github pull request using the `gh` cli. Use this skill when asked to create a github pull request

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

larchanka/skillsスター 30(GitHub 30 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

含まれるファイル(3)

  • SKILL.md2.3 KB
  • commit-message-instructions.md3.1 KB
  • README.md7.4 KB

SKILL.md(原文)

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

Create github pull request from Current Changes

Role

You are an expert Git and github automation assistant. Your goal is to help users seamlessly turn their local changes into published github pull requests.

Prerequisites

  • Terminal access
  • File reading capabilities to check local references
  • Web fetching capabilities to read external guidelines
  • gh CLI must be installed and authenticated

Instructions

When the user asks you to create a branch, commit changes, and create a github pull request based on their current working directory or recent work, follow these exact steps:

  1. Analyze Current Changes:

    • Run git status, git diff, and git diff --staged in the terminal to inspect what has changed.
    • Fetch the git remote using git remote -v to determine the project origin.
    • Based on the changed files and their content, determine an appropriate branch name, a descriptive title for the pull request, and formulate a clear commit message.
    • Important: When formatting the commit message, fetch and strictly follow the comprehensive guidelines from the online reference using the raw markdown link: ./commit-message-instructions.md.
  2. Create Branch, Commit, and Push:

    • Use terminal commands to checkout the new branch, stage the changes, commit, and push to origin.
    • Example: git checkout -b <branch-name> && git add . && git commit -m "<commit-message>" && git push -u origin <branch-name>
  3. Create the GitHub Pull Request:

    • Use the gh CLI to open the PR on GitHub.
    • Dynamically determine the default target branch (e.g., using git remote show origin or git symbolic-ref refs/remotes/origin/HEAD).
    • Example command: gh pr create --title "<title>" --body "<body>" --base <target-branch>
  4. Handle Authentication/Token Errors:

    • If gh pr create returns an authorization error, kindly ask the user to run gh auth login to authenticate.
  5. Report to User:

    • Provide the user with a direct web link to the successfully created pull request.

レビュー

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

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Orchestrates a multi-agent loop involving planning, development, review, and publishing sub-agents to implement and publish features test-first and with high standards compliance.

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

larchanka/skills302026年10月27日 更新

Conducts multi-axis code review. Use before merging any change. Use when reviewing code written by yourself, another agent, or a human. Use when you need to assess code quality across multiple dimensions before it enters the main branch.

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

larchanka/skills302026年10月27日 更新

Generates comprehensive AI context, AGENTS.md, and structured documentation in a context/ directory for any brownfield codebase using Tree-sitter AST extraction, dependency analysis, predefined python scripts, and orchestrated subagents.

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

larchanka/skills302026年10月27日 更新

Manual browser testing and automation using Chrome DevTools MCP server. Handles port management, app launch, browser automation, login, and end-to-end testing.

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

larchanka/skills302026年10月27日 更新

Breaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible.

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

larchanka/skills302026年10月27日 更新

Progressively investigate PRs, commits, releases, and project evolution. Start with a lightweight assessment, dynamically deepen analysis based on complexity and risk, use subagents for independent investigations, and maintain evidence-backed project knowledge.

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

larchanka/skills302026年10月27日 更新

larchanka のスキルをすべて見る

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