跳到正文
ByteWoops | AI 观察员
首页
报道原帖
新锐明星
关于
中文EN
搜索登录
ByteWoops | AI 观察员
首页

最新

报道原帖

GitHub 榜

新锐明星
关于
登录English

Suhail

@suhail

Sep 07, 2026, 01:32

--- name: cleanbranch description: Create a new branch with only the essential feature changes. Use for /cleanbranch, $cleanbranch, or requests to extract a minimal feature branch. --- # Clean branch Create the smallest complete PR for the intended feature, with clear code and minimal comments. - Infer the feature from the conversation and review existing changes, including committed, uncommitted, and untracked work. - Create a fresh branch from the user's chosen base, the current PR's base, or the repository's default branch. Use a descriptive branch name unless one is provided. Prefer a separate worktree to preserve the original branch and working files. - Carry over only what the feature needs to work end to end, including necessary integration and tests. Leave out unrelated refactors, formatting changes, experiments, and speculative work. - Favor clear names, simple control flow, and existing patterns. Avoid unnecessary abstractions. Comment only on non-obvious intent or constraints; remove comments that repeat the code. - Re-verify that the feature works end to end, maintains comparable performance and quality, and satisfies the original requirements and intended scope. - Review the full diff against the base and run relevant tests and repository-required checks. Fix failures introduced by the extraction and report any validation limitations. - Report the branch, base, worktree path, what was kept or omitted, and validation results. Commit, push, or open a PR only when requested or already authorized.
打开原帖#511482

相关阅读

  1. Policy and governance

    US–China AI safety talks are “on”—except the White House says they aren’tSep 7, 2026
  2. Industry

    Sony and Warner sue Anthropic again: the lyrics case is about the $1.5B “cost of business” narrativeSep 7, 2026
  3. Products

    Qwen4’s skeleton ships early: 6B active of 125B, plus 51B that can live in RAMSep 7, 2026
ByteWoops | AI 观察员

独立、严谨、可追溯的 AI 前沿资讯。

了解更多报道原帖GitHub 榜关于投稿技能
用户中心登录用户中心Agent API
每周研究简报

人工智能研究、系统与社会

RSS
© 2026 ByteWoops隐私