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

prepare-pr

Prepare GitHub pull request title and body files from the current branch diff, especially for non-interactive CI/autofix flows that must follow the repository PR template without pushing or creating the PR.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.1 KB

SKILL.md(原文)

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

Prepare PR

Create PR metadata files only. Do not push, comment, or run gh pr create.

Inputs

  • Output directory: default /tmp/autofix
  • Issue number: from the argument, ISSUE, or the current branch name

Required Outputs

Write:

  • <output-dir>/pr-title.txt
  • <output-dir>/pr-body.md

Workflow

  1. Inspect the current branch diff with git diff origin/main...HEAD and recent commit message with git log -1 --pretty=%B.
  2. Read <output-dir>/e2e-report.md if it exists.
  3. Read .github/pull_request_template.md.
  4. Write a Conventional Commit style title to pr-title.txt.
  5. Fill the repository PR template in place and write it to pr-body.md.

PR Body Rules

  • Keep every template section heading exactly as written.
  • Do not replace template headings with Summary, Root Cause, Fix, or Tests.
  • Use prose for motivation and changes; avoid file-by-file implementation notes unless needed for reviewer clarity.
  • Include a useful Reviewer Test Plan with concrete behavior to verify.
  • Fill Evidence (Before & After) with concise before/after behavior or N/A for non-UI changes.
  • Mark tested OS rows honestly. For Linux-only CI verification, mark Linux tested and macOS/Windows not tested.
  • Include risk, out-of-scope, and breaking-change notes.
  • Add Fixes #<issue-number> under Linked Issues when an issue number is known.
  • Keep the <details><summary>中文说明</summary> section and translate the English body into Chinese there.
  • Do not hard-wrap paragraphs or list items at a fixed column width.

Common Mistakes

  • Writing a free-form PR body instead of filling the template.
  • Claiming checks passed when they were not run.
  • Omitting the Chinese details section.
  • Using closing keywords for unrelated issues.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Reference for briefing a subagent or a fork — what to put in the prompt, what not to delegate, and a worked example. Load before writing a delegation prompt; the Agent tool's own description carries the launch rules and the background-agent rules.

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

QwenLM/qwen-code2.8万2026年10月13日 更新

Use after a Codex or Claude Code feature has been implemented in Qwen Code to run the selected reference agent and Qwen Code under the same scenario, capture HTTP and terminal traces, compare request bodies, tool/function schemas, outputs, and iterate until the reproduced behavior is close enough.

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

QwenLM/qwen-code2.8万2026年10月13日 更新

Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another agent CLI by choosing a reference agent, capturing HTTP request bodies, prompts, tool/function schemas, terminal output, and then implementing the matching behavior in the target repo.

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

QwenLM/qwen-code2.8万2026年10月13日 更新

autofix

無料

Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.

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

QwenLM/qwen-code2.8万2026年10月13日 更新

batch

無料

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use `/batch` followed by operation and file pattern. For many independent single-turn transforms (translate/rewrite/extract each file into a new file) that can wait minutes to hours, you may suggest the user type `/batch-api` themselves for the half-price asynchronous Batch API — you cannot invoke it, and it is not suited to in-place edits or tasks needing tool feedback.

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

QwenLM/qwen-code2.8万2026年10月13日 更新

batch-api

無料

Prepare a many-file, single-turn transform (translate, rewrite, extract) as a plan and submit it to the asynchronous, half-price DashScope Batch API; results are delivered as new files hours later. Invoke explicitly with /batch-api.

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

QwenLM/qwen-code2.8万2026年10月13日 更新

QwenLM のスキルをすべて見る

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