pull-request

GitHub

用于准备、审查、描述或创建存储重定向项目的拉取请求,涵盖范围确认、代码规范检查及PR文案撰写。

.claude/skills/pull-request/SKILL.md Kindness-Kismet/storage-redirection-x

触发场景

请求创建或发布PR 请求审查PR内容 需要生成PR标题和描述

安装

npx skills add Kindness-Kismet/storage-redirection-x --skill pull-request -g -y
更多选项

非标准路径

npx skills add https://github.com/Kindness-Kismet/storage-redirection-x/tree/main/.claude/skills/pull-request -g -y

不安装直接使用

npx skills use Kindness-Kismet/storage-redirection-x@pull-request

指定 Agent (Claude Code)

npx skills add Kindness-Kismet/storage-redirection-x --skill pull-request -a claude-code -g -y

安装 repo 全部 skill

npx skills add Kindness-Kismet/storage-redirection-x --all -g -y

预览 repo 内 skill

npx skills add Kindness-Kismet/storage-redirection-x --list

SKILL.md

Frontmatter
{
    "name": "pull-request",
    "description": "Prepare, review, describe, or create a pull request for Storage Redirect X. Use when the user requests a PR, pull request, PR description, or PR review. Creating or publishing a PR and pushing its branch require explicit authorization."
}

Pull Requests

Keep one pull request focused on one independently reviewable topic. Follow AGENTS.md and apply the commit skill before creating or amending commits.

Every constituent commit must remain atomic under the commit skill. Do not combine independent purposes merely because they share a pull request, release, or user request.

Scope and Branches

  1. Confirm the repository, remote, current branch, base branch, and clean or task-owned worktree state. Default the base to main unless the user specifies another branch.
  2. Compare git log <base>..<head> and git diff <base>...<head> to identify the complete outgoing scope, including existing commits. Do not describe only the latest commit when the branch contains earlier work.
  3. Use feature/<name> or fix/<name> for a new topic branch when authorized. Never switch, merge, rebase, or delete branches solely to prepare a description.
  4. If work was explicitly requested on main, report that state and ask for an authorized head branch before publishing a PR targeting main.

Review

  • Changes belong to the requested topic and live in the responsible modules.
  • Maintained Rust files stay within 2400 lines; required source and resource paths are permitted by the Git allowlist.
  • Rust ABI and Hook boundaries, locking, sampled logging, and error propagation follow project constraints.
  • Kotlin file I/O and Root commands run on Dispatchers.IO; debug providers remain in src/debug/.
  • There is no excessive defensive code, unsupported fallback, or silent failure. Do not add test files by default.
  • Appropriate existing builds, clippy, lint, and runtime checks have actual recorded results. Distinguish execution evidence from source inspection and disclose unperformed checks.
  • UI changes have screenshots when visual verification is part of acceptance; local evidence stays outside Git.
  • License notices and necessary build, packaging, and CI inputs remain available. Local plans, progress records, logs, credentials, and generated artifacts are excluded.
  • Issue-closing references are justified by the complete issue requirements, not by matching a title.

Title and Description

Write the title and entire description in English. Use a concise imperative title describing the final outcome.

Start with the concrete problem and resulting behavior, then explain necessary implementation decisions, verification, and limitations. A small change needs only a short paragraph or two; use Summary, Validation, and Limitations sections for broader work. Explain why cross-layer changes are necessary.

Do not claim a check passed unless it ran successfully. Do not copy raw logs or include secrets, private device paths, or unrelated branch history.

Publication

Preparing text does not authorize remote changes. Describe the exact remote, head, base, outgoing commits, and PR text before publishing under the user's authorization. PR authorization does not authorize a push. Each push requires its own one-use approval under the commit skill, including retries and submodule pushes.

After creation, report the PR URL, actual head and base, and any outstanding verification. Never force-push or merge the PR without separate explicit approval.

版本历史

  • 3b9ed13 当前 2026-11-07 13:19
  • e5eeb2e 2026-11-02 12:30

同 Skill 集合

.claude/skills/commit/SKILL.md
.claude/skills/update-dependencies/SKILL.md
.claude/skills/version-bump/SKILL.md
.codex/skills/commit/SKILL.md
.codex/skills/pull-request/SKILL.md
.codex/skills/update-dependencies/SKILL.md
.codex/skills/version-bump/SKILL.md

元信息

文件数
0
版本
3b9ed13
Hash
1817d5a8
收录时间
2026-11-02 12:30

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-10 16:43
浙ICP备14020137号-1