跳到正文
cccskills
免费在 GitHub 公开

git-split-commit-pr

Organize mixed Git changes into focused commits and pull requests that reviewers can follow. It preserves unrelated work, checks proposed changes for private information, runs relevant validation, and pushes or opens pull requests when authorized.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Split mixed Git changes into public-safe, reviewable commits and PRs when the user requests publication or cleanup. Preserve unrelated work; merging is separate.

查看安装方法

适用场景

  • Splitting mixed changes into focused commits
  • Checking changes for private information before publication
  • Preparing pull requests with validation results
  • Isolating changes while preserving unrelated work

包含的文件(1)

  • SKILL.md1.8 KB

SKILL.md(原文)

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

拆分提交与 PR

先检查 status、分支、remote、upstream、diff 和未跟踪文件。将路径分为功能代码、公开文档、验证、私有状态、无关修改。保留用户现有内容;需要隔离时从正确基线使用干净 worktree,不靠 reset 清场。

涉及素材队列时,先按共同基线、本地与远端区分未提交新增和远端缺失;已有笔记或助手读取不等于用户读完。公开副本不是 lifecycle authority,归档必须逐条核验用户声明。在 CS-Notes 的同步任务中使用 sync-notes 与仓库三方对账工具,不临时重写差集归档脚本。

按评审者理解的功能切分,不按修改时间分组。同一文件混杂内容时做 hunk 级补丁;不把整份脏文件覆盖到远端最新版本。小规模重构只服务当前提交,避免顺便重写无关部分。

提交前逐项检查候选文件和 staged diff:凭证、私有 URL、设备路径、账号、内部项目细节、运行日志、图片元数据和引用目标。扫描命中需要人工判断;无命中不是公开安全的证明。只暂存明确路径,保留不确定项。

运行与改动相关的测试和 git diff --check,核对实际 staged 内容后提交。用户已授权的 push/PR 可以直接推进;默认分支前缀 codex/。PR 描述围绕问题、最终行为和验证结果,诚实标注未运行项与重要限制。

提交后验证远端 head 与本地一致;可用时将 PR 附到当前任务。合并需要用户授权并满足仓库规则,不因 PR 创建成功自动合并。不 force push,不为整理提交覆盖、删除或藏匿无关修改。

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Gather recent AI products, papers, tools, and viewpoints into a Chinese and English HTML daily report. Select up to ten supported items, check original sources where possible, and summarize shared trends with practical next actions.

中文简介正在准备中。当前显示英语简介。

  • Reviewing recent AI developments each morning
  • Tracking research and tools for AI agents
  • Choosing what to read or try next
huangruiteng/CS-Notes40112026年10月21日 更新

Retrieve an arxiv paper's full text from its HTML version using an ID or URL. Extract readable text with section structure, optionally save it to a file, and prepare it for reading, notes, or technical analysis.

中文简介正在准备中。当前显示英语简介。

  • Reading a paper from an arxiv ID or URL
  • Extracting full text for research notes
  • Saving long papers for section-by-section reading
huangruiteng/CS-Notes40112026年10月21日 更新

ask-echo

免费

Search the web or find images through the Ask-Echo API from 火山引擎. Retrieve result details, request an AI-generated summary, and narrow searches by time range or selected websites.

中文简介正在准备中。当前显示英语简介。

  • Finding web pages about a specific topic
  • Getting an AI-generated summary of search results
  • Searching for images
huangruiteng/CS-Notes40112026年10月21日 更新

Build or update the BlueBubbles channel plugin for Clawdbot. The skill explains code locations, existing helper functions, message delivery, connection checks, and webhook handling, which receives incoming messages and attachments through HTTP notifications.

中文简介正在准备中。当前显示英语简介。

  • Building or updating the BlueBubbles channel plugin
  • Implementing message delivery and connection checks
  • Handling incoming messages and attachments through webhooks
huangruiteng/CS-Notes40112026年10月21日 更新

Turn API documentation, SDKs, or existing scripts into reusable command-line tools for Codex. Build focused read and write commands, stable JSON output, authentication checks, and a companion skill explaining how future sessions should use the tool.

中文简介正在准备中。当前显示英语简介。

  • Turning an API into reusable commands
  • Making an internal script usable across projects
  • Adding JSON output and authentication checks
huangruiteng/CS-Notes40112026年10月21日 更新

Improve existing code through up to two optimization rounds, measuring execution time and memory use against a baseline. Verify that results remain correct, save the optimized code, and document changes, measured gains, and trade-offs in a report.

中文简介正在准备中。当前显示英语简介。

  • Improving the performance of existing code
  • Comparing execution time and memory use with a baseline
  • Checking that optimized code produces correct results
huangruiteng/CS-Notes40112026年10月21日 更新

查看 huangruiteng 的全部技能

报告此技能的问题