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

pr-description

Draft a pull request description from the current branch diff plus rolling-wave project context. Use when the user wants PR body text, changes, potential risks, or reviewer notes for a branch, especially after completing a rolling-wave slice. Defaults to the Git Town parent branch when no base branch is named.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.4 KB
  • agents/openai.yaml234 B

SKILL.md(原文)

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

PR Description

Purpose

Draft a concise PR description from:

  • the current branch changes compared to a requested base branch
  • the rolling-wave project artifact
  • the currently finished or most relevant completed slice

Do not open a PR, post to GitHub, stage files, commit, or edit project files unless the user explicitly asks.

Inputs

  • Base branch: use the branch named by the user. If none is named, use the Git Town parent branch. If Git Town cannot resolve a parent, fall back to main, then origin/main.
  • Rolling-wave project: use the project named by the user, or the single project under docs/rolling-wave/ when only one exists.
  • Finished slice: prefer the slice named by the user. Otherwise use the most recently updated slice with status done. If no done slice exists, use the most relevant active slice and clearly say the PR description is based on an unfinished slice.

Workflow

  1. Resolve the base branch.

    • Run CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD).
    • If the user named a base branch, use it.
    • If the user did not name a base branch, run git-town config get-parent "$CURRENT_BRANCH" and use the returned branch.
    • If Git Town does not return a parent branch, fall back to main, then origin/main.
    • Compute BASE=$(git merge-base HEAD "$BASE_BRANCH").
    • If the base cannot be resolved, stop and ask for a valid base branch.
  2. Read branch changes.

    • Use:
git diff --stat "$BASE"...HEAD
git diff --name-status "$BASE"...HEAD
git diff -U10 "$BASE"...HEAD
git log --oneline "$BASE"..HEAD
  • Read changed files only as needed to understand user-visible behavior, contracts, migrations, tests, docs, and risk.
  • Do not include unrelated local worktree changes unless the user explicitly asks. This skill describes the branch diff.
  1. Read rolling-wave context.

    • Read docs/rolling-wave/{project}/project.md.
    • Read the selected finished slice file under docs/rolling-wave/{project}/slices/.
    • Use the project finish line, success criteria, cross-slice decisions, potential risks, and review notes as context.
    • Use the slice original contract, implementation notes, review notes, and completion learnings to decide what reviewers need to know.
  2. Synthesize, do not dump.

    • Focus on changes a reviewer needs to understand before reviewing the PR.
    • Prefer behavior, API/contract, data/model, migration, permission, testing, and rollout implications over file-by-file summaries.
    • Mention implementation details only when they materially affect review.
    • Combine project-level and slice-level risks. Do not invent risk to fill the section.
    • If project docs and branch diff disagree, call out the mismatch in review notes.
  3. Draft the PR body.

    • Use this exact section order:
## Changes

- ...

## Potential Risks

- ...

## Review Notes

- ...
  • Omit Review Notes only when there is genuinely nothing special human reviewers need to know.
  • Keep bullets concise but specific.
  • Avoid generic bullets like "updates tests" unless the test change is itself important to review.
  • Do not include marketing prose, long background, or a full implementation plan.
  1. Apply the user's voice with ghostwriter.
    • Use the ghostwriter skill as the final drafting pass.
    • Treat the synthesized facts, risks, and reviewer notes from steps 1-5 as fixed source material.
    • Preserve the required section order and bullet-list structure.
    • Preserve technical claims, uncertainty, and risk framing; do not let voice polish soften or invent facts.
    • Match the user's default PR-description tone: direct, technical, concise, candid about constraints, and useful to reviewers.

Output Rules

  • Output only the PR description plus a short one-line context note if needed, such as the base branch and slice used.
  • Do not claim tests passed unless the diff or user-provided context proves it.
  • Do not include unresolved speculation as fact. Phrase uncertain items as risks or review notes.
  • If the branch has no diff against the base, say so and do not fabricate a PR description.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

Review local git changes before opening a PR or merging. First review all local tracked and untracked files; if none exist, review the current branch against a requested base branch or the Git Town parent branch. Use zero to three review subagents only when risk, diff size, language specificity, or uncertainty justifies the token cost, then report high-confidence bugs, regressions, risky assumptions, and missing tests. Use when the user asks for code review, local review, branch sanity check, pre-PR review, or review of work-in-progress changes.

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

rijkvanzanten/rolling-wave-engineering132026年8月18日 更新

Review changed code for YAGNI, removable over-complexity, reuse, code quality, and efficiency, then apply worthwhile simplifications. Use when the user asks to simplify, clean up, tighten, de-hack recent changes, identify logic that can be dropped, or review whether added safeguards and edge-case handling are actually needed.

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

rijkvanzanten/rolling-wave-engineering132026年8月18日 更新

Mark a rolling-wave slice done on explicit user authority, regardless of its current lifecycle status or missing implementation, finalization, review, verification, or child-project state. Use when the user says a slice is done, complete, finished, accepted, or should be marked done; capture available material learnings, update project state, and output roadmap progress without requiring earlier workflow steps.

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

rijkvanzanten/rolling-wave-engineering132026年8月18日 更新

debug

無料

Systematically find root causes and fix bugs. Use when debugging errors, investigating test failures, reproducing bugs from issue trackers (GitHub, Linear, Jira), or when stuck on a problem after failed fix attempts. Also use when the user says 'debug this', 'why is this failing', 'fix this bug', 'trace this error', or pastes stack traces, error messages, or issue references.

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

rijkvanzanten/rolling-wave-engineering132026年8月18日 更新

Implement and finalize one ready rolling-wave slice in one invocation while preserving the lifecycle boundary between implementation and independent review. Use when the user wants a slice delivered end to end without manually invoking implement-slice and finalize-slice, wants main-local implementation by default with workers only when delegation pays, followed by mandatory fresh-context finalization, or says deliver, implement and finalize, or take the slice through review.

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

rijkvanzanten/rolling-wave-engineering132026年8月18日 更新

Produce a short executive summary for the current rolling-wave project. Use when the user wants a concise status update, investor/team-friendly summary, leadership summary, project progress snapshot, or TL;DR of completed slices, the current slice plan, and upcoming slices.

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

rijkvanzanten/rolling-wave-engineering132026年8月18日 更新

rijkvanzanten のスキルをすべて見る

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