本文へ移動
cccskills
無料GitHub で公開日本語紹介

describe-pr

現在の作業のプルリクエストを作成・更新し、変更理由と実装の構造が伝わる説明文を整えます。差分や関連資料を読み、レビューに必要な注意点も簡潔にまとめます。

原文原文の説明を見る

Only use when the user explicitly invokes this skill by name.

連携ツールGitHub

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • レビュー向けにPR説明を整えたいとき
  • 現在のブランチからPRを作りたいとき
  • 変更したコード構造を図で伝えたいとき
  • 移行や互換性の注意点の整理

日本語での紹介

できること

現在の作業に対応するプルリクエスト(PR)を作成・更新し、レビュー担当者が変更理由と実装の構造をつかめる説明文を整えます。差分全体と必要な周辺コード、関連資料を読み、変更理由を一文、注意点を1〜3項目にまとめます。構造の説明には、ファイルツリーやコンポーネントツリー、呼び出し関係など、変更に合う表現を選びます。

こんなときに便利

PR の説明が不足しているときや、実装の全体像を短く伝えたいときに向いています。現在のブランチに PR がなければ、作業内容を確認し、必要に応じてコミットとプッシュを行って PR を作成します。説明文は Markdown ファイルとして保存し、PR 本文にも反映します。

使い方の例

  • 「describe-pr で、現在の作業の PR を作成して」
  • 「この PR の変更理由と構造が伝わる説明に更新して」
  • 「移行や互換性の注意点を簡潔にまとめて」

注意点

スキル名を明示して呼び出す前提です。GitHub CLI の gh が導入済みで、サインインしている必要があります。利用できない場合は処理を停止します。コミットやプッシュではリポジトリの安全手順に従い、説明文は付属テンプレートの範囲で作成します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(7)

  • SKILL.md4.6 KB
  • references/describe_pr_final_answer.md630 B
  • references/pr_description_template.md2.5 KB
  • references/pr_walkthrough_example.html26.0 KB
  • references/ref_code_slides/guide.md10.8 KB
  • references/ref_code_slides/template.html19.4 KB
  • references/show-me.md3.0 KB

SKILL.md(原文)

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

Describe a Pull Request

Create or update the pull request for the current task with a concise description that helps a reviewer understand why the change exists and the shape of the implementation.

Workflow

  1. Read the description template:

    Read({SKILLBASE}/references/pr_description_template.md)

  2. Identify or create the pull request:

    • If gh is missing or signed out, stop and tell the user. Do not work around it.
    • Check the current branch for a PR with gh pr view --json url,number,title,state,baseRefName,headRefName 2>/dev/null.
    • If no PR exists, inspect git status --short --branch and the commits on the current branch.
    • Commit task-related changes when needed, push the branch with an upstream, and create a PR for it. Follow the repository's git safety protocol.
    • Ask the user to select a PR only when the current branch has no relevant work and there is no safe current-branch PR to create.
  3. Gather only the context needed to explain the change:

    • Read the ticket and any relevant task artifacts.
    • Read the complete PR diff and enough surrounding code to understand behavior and ownership.
    • Use gh pr view to collect PR metadata and changed files.
    • Read {SKILLBASE}/references/show-me.md for the visual-outline conventions used in the PR body.
  4. Write the PR description using the template:

    • Keep Why the change to exactly one sentence.
    • Keep Special things to note to 1-3 bullets. Prioritize reviewer warnings, migrations, compatibility constraints, deliberate omissions, or surprising decisions. Write - None. when there are no special considerations.
    • Make Change outline a compact, /show-me-inspired structural view rather than prose or a file-by-file changelog.
    • Include only the views that help explain this PR:
      • SQL table and endpoint contract changes, plus pseudocode for business logic.
      • A shallow file tree showing changed responsibilities.
      • React component tree changes, including important hooks, state, and package boundaries.
      • Call-tree, call-stack, control-flow, or data-flow changes.
    • Prefer diff blocks when showing changes to an existing shape. Show the complete target shape when most of it is new or diff notation would obscure ownership or order.
    • Keep each view focused on the calls, files, fields, components, and boundaries a reviewer needs. Omit categories that did not change.
    • Do not add walkthrough artifacts, exhaustive implementation narratives, verification checklists, changelog text, or plan-deviation sections.
  5. Stamp the session trailer:

    • Read the session deep-link from the environment with printf '%s' "$HUMANLAYER_SESSION_URL". The daemon sets it for every session it runs, the same way it feeds the HumanLayer-Session commit trailer.
    • When the environment value is empty, fall back to the branch commits: git log {baseRefName}..HEAD --format=%B | grep -i '^humanlayer-session:' | head -1 and use the URL from the newest stamped commit. This covers a PR described outside the session that wrote the commits.
    • When either source yields a URL, end the PR body with the session footer from the template: a horizontal rule, a HumanLayer | open session badge that links to the URL, and a hidden HTML comment whose middle line is exactly HumanLayer-Session: {url}. The comment is the machine-readable trailer, the same line the commit stamper writes, and it must be the last thing in the body.
    • When neither source yields a URL, or the existing PR body already carries a HumanLayer-Session: line for this URL, add nothing. Never invent or guess a session URL.
    • Keep the footer out of the body's prose, headings, and link line. It is attribution, not part of the description.
  6. Save and publish the description:

    • Use .humanlayer/tasks/{task-slug}/pr-description.md when the task directory exists; otherwise use .humanlayer/tasks/pr-{number}/description.md.
    • Update the PR with gh pr edit {number} --body-file {output-path}.
    • Confirm the update succeeded.
  7. Report completion:

    • Read key task artifacts briefly to capture their cloud URLs.
    • Read {SKILLBASE}/references/describe_pr_final_answer.md.
    • Respond using that final answer template with the PR URL, saved description URL, and concise list of changed files.

Always read and follow {SKILLBASE}/references/pr_description_template.md. Do not expand the PR body beyond that template.

Write as one human talking to another: avoid jargon and slang, and use simple, coherent, concise language.

レビュー

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

コメント

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

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

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

0 / 1000 文字

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

同じリポジトリのスキル

agent-browser

無料概要あり

Webページの移動やフォーム入力、クリックをエージェントに任せ、情報抽出や画面保存、操作前後の比較まで行います。ブラウザ作業の自動化やWebアプリの確認に使えるスキル。

  • フォーム入力やクリックを自動化したいとき
  • Webページのテキスト抽出
  • ページのスクリーンショット・PDF保存
humanlayer/humanlayer1.2万2026年10月24日 更新

asd-ste100

無料概要あり

曖昧で読みにくい英文を、語の意味をそろえた短い能動態の文へ書き直すスキル。指示文やツール説明を見直し、修正理由と変更前後を表で確認できます。

  • 別のエージェントへの英文指示の明確化
  • 英語のツール説明やエラー文の簡素化
  • 英語を母語としない読者向けの文章整理
humanlayer/humanlayer1.2万2026年10月24日 更新

better-github-skill

無料概要あり

GitHubのPRの状態、レビューの会話、CI失敗のログを専用スクリプトで収集し、変更の確認状況や未解決の指摘、失敗したジョブとステップを調べるスキル。

  • PRの状態をまとめて確認したいとき
  • 未解決のレビューの会話の確認
  • CIの失敗ジョブとステップの調査
humanlayer/humanlayer1.2万2026年10月24日 更新

bump-version

無料概要あり

リリース時に対象パッケージの基準バージョンを更新し、関連ファイルの同期と生成結果を検証して、コミットからPRブランチへのプッシュまで進めるスキル。

  • リリース用のバージョンを更新したいとき
  • 関連ファイルのバージョン表記の同期
  • プッシュ前の生成バージョン検証
humanlayer/humanlayer1.2万2026年10月24日 更新

calldiff

無料概要あり

Git のコミット間や作業中のコードで、関数の呼び出し構造の違いを確認します。呼び出しツリーの表示や、指定した関数へ至る経路の調査にも使えます。

  • 変更前後の関数呼び出しを比較したいとき
  • ブランチ間の呼び出し構造レビュー
  • 起点から目的の関数への経路調査
humanlayer/humanlayer1.2万2026年10月24日 更新

chrome-devtools-cli

無料概要あり

ターミナルからブラウザのクリックや入力、ページ移動を自動化し、通信やエラー、表示速度も調べられる、Chrome DevToolsのCLI操作を支援するスキル。

  • フォーム入力やページ移動の自動化
  • ページや要素の画面撮影
  • 通信内容やコンソールエラーの調査
humanlayer/humanlayer1.2万2026年10月24日 更新

humanlayer のスキルをすべて見る

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