跳到正文
cccskills
免费在 GitHub 公开

pr

Create a pull request using the wingman PR template. Injects git state, commit history, and diff stats automatically.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Context (auto-detected from HEAD)

  • Current branch: !git branch --show-current
  • Remote status: !git status -sb | head -1

PR Template

Read .github/PULL_REQUEST_TEMPLATE.md and fill every section. The template is mandatory. Do not free-form the PR body.

Rules

  • PR title: type(scope): description (conventional commit format, under 70 chars)
  • Target branch: first positional arg from $ARGUMENTS if provided, otherwise main
  • Source branch: if --branch <name> is in $ARGUMENTS, use that branch for diff/log commands instead of HEAD. This is needed when the PR branch lives in a different worktree or the main repo checkout.
  • Push with -u if needed
  • Use gh pr create with --body "$(cat <<'EOF' ... EOF)" for correct formatting
  • Hard limit: 500 changed LOC (excluding generated files and lock files). If the diff exceeds 500 lines, do not create the PR. Instead, propose a stacked-PR plan: split changes into logical, independently reviewable PRs where each PR is under 500 LOC. Each stacked PR targets the previous one's branch (not main) until the final one merges the stack into main.
  • Warn at 200 changed lines — suggest splitting proactively

Task

  1. Determine the source branch: use --branch value if provided, otherwise current HEAD
  2. Gather context by running:
    • git log --oneline origin/main..<source-branch> (commits for this PR)
    • git diff --stat origin/main..<source-branch> (diff stats)
    • git diff --name-only origin/main..<source-branch> (changed files)
  3. Push the branch if needed
  4. Read the PR template
  5. Create the PR with every template section filled
  6. Return the PR URL

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Design engineering principles for making TUI interfaces feel polished. Use when building Textual widgets, reviewing TUI code, implementing transitions, focus states, alignment, spacing, or any visual detail work. Triggers on TUI polish, design details, "make it feel better", "feels off", layout alignment, color consistency, responsive sizing.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

commit

免费

Create a git commit with conventional commit format. Injects current git state automatically.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

greentext

免费

Explain system behavior, request flows, architecture, or implementation logic as short 4chan-style greentext lines. Use when the user asks for a step-by-step explanation, says "explain the logic", asks for "greentext", or wants terse sequential reasoning with each line starting with `>`.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

issue

免费

Create a GitHub issue using the wingman issue templates (bug, feature). Injects branch and commit context automatically.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

pr-review

免费

Review PR comments from GitHub. Fetches inline review comments and issue comments, classifies by blocking vs non-blocking, and summarizes actionable items.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

promote

免费

Create a changelog-style promotion PR between two branches. Use for release promotions or branch-to-branch merges with a structured changelog.

中文简介正在准备中。当前显示原文说明。

dedalus-labs/wingman1822026年4月25日 更新

查看 dedalus-labs 的全部技能

报告此技能的问题