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

pr

Push the current branch and open a GitHub pull request whose description follows .github/PULL_REQUEST_TEMPLATE.md.

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

manakuro/asana-clone-appスター 20(GitHub 20 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

含まれるファイル(1)

  • SKILL.md3.1 KB

SKILL.md(原文)

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

Create a pull request

Push the current branch to origin (the maintainer's clone or a contributor's fork) and open a PR against main of the upstream repository, with a description that follows .github/PULL_REQUEST_TEMPLATE.md.

Extra notes from the user (may be empty): $ARGUMENTS

1. Find the repositories

git remote -v
  • Head (where the branch is pushed): the origin remote, <head-owner>/<head-repo>.
  • Base (where the PR is opened): the upstream remote if there is one (a fork), otherwise origin. Call it <base-owner>/<base-repo> and use <base> below for that remote's name.

Read the owners and repo names from the remote URLs (git@github.com:<owner>/<repo>.git or https://github.com/<owner>/<repo>.git). Don't assume a fixed owner.

2. Check the branch

git branch --show-current
git status --short
git fetch <base> main --quiet
git log --oneline <base>/main..HEAD
git diff --stat <base>/main...HEAD
  • If the current branch is main, stop and ask the user for a branch name. Don't push to main.
  • If there are uncommitted changes, ask the user whether to commit them first or leave them out.
  • If there are no commits ahead of <base>/main, stop: there is nothing to open a PR for.

3. Write the title and description

Read the branch name, the commit messages and the diff to understand the change.

  • Title: Conventional Commits, like the commits in this repo (feat(core): …, fix(cli): …, docs: …, build: …, ci: …). For a single-commit branch, reuse the commit subject.
  • Description: fill in every section of .github/PULL_REQUEST_TEMPLATE.md, keeping its headings and order:
    • Summary: the purpose of the change in one or two sentences, then a bullet list of the main changes
    • Related Issues: Closes #<n> for issues the branch fixes (from the branch name, commits or the user's notes), otherwise None
    • Testing: what was run (pnpm lint, pnpm tsc, pnpm test:ci, the playground app, …) and what was checked by hand
    • Add anything reviewers should know (breaking changes, follow-ups, generated files to skip) at the end of Summary
  • Screenshots are not required.
  • Don't add the 🤖 Generated with Claude Code footer or any link to Claude at the end of the description.

4. Push and open the PR

git push -u origin HEAD

Then create the PR with the GitHub MCP server (not the gh CLI):

  • owner / repo: <base-owner> / <base-repo>
  • base: main
  • head: the current branch, or <head-owner>:<branch> when the head is a fork (head owner differs from base owner)
  • the title and description from step 3

If a PR for this branch already exists, update its title and description instead of opening a new one.

5. Report

Reply with the PR URL and its title. Mention anything left for the user, such as a missing changeset or uncommitted files that were not included.

レビュー

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

コメント

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

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

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

0 / 1000 文字

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

同じリポジトリのスキル

commit

無料

Write a Conventional Commits message for the staged changes, show it for review, and commit only after the user approves it.

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

manakuro/asana-clone-app202026年10月8日 更新

testing

無料

Use this skill when writing, reviewing, or deciding where to place tests in the Next.js frontend package. Covers which project (unit / integration / storybook) to use for a given scenario, what NOT to duplicate across projects, and file placement conventions for this package.

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

manakuro/asana-clone-app202026年10月8日 更新

manakuro のスキルをすべて見る

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