Agent SkillsHashWarlock/nobody-plans-for-pi › nobody-finishes-a-development-branch

nobody-finishes-a-development-branch

GitHub

指导开发分支完成流程,包括完整性检查、合并或PR选项选择、Worktree清理及生成总结报告。

skills/nobody-finishes-a-development-branch/SKILL.md HashWarlock/nobody-plans-for-pi

触发场景

实现完成且测试通过 需要决定分支的合并、PR或清理策略

安装

npx skills add HashWarlock/nobody-plans-for-pi --skill nobody-finishes-a-development-branch -g -y
更多选项

不安装直接使用

npx skills use HashWarlock/nobody-plans-for-pi@nobody-finishes-a-development-branch

指定 Agent (Claude Code)

npx skills add HashWarlock/nobody-plans-for-pi --skill nobody-finishes-a-development-branch -a claude-code -g -y

安装 repo 全部 skill

npx skills add HashWarlock/nobody-plans-for-pi --all -g -y

预览 repo 内 skill

npx skills add HashWarlock/nobody-plans-for-pi --list

SKILL.md

Frontmatter
{
    "name": "nobody-finishes-a-development-branch",
    "description": "Use when implementation is complete and all tests pass — guides completion by presenting structured options for merge, PR, or cleanup"
}

Finishing a Development Branch

Overview

When work is complete on a branch, follow a structured process to decide how to integrate and clean up.

Announce at start: "I'm using the nobody-finishes-a-development-branch skill to wrap this up."

Pre-Completion Checklist

Before offering integration options:

  • All tests pass (run them fresh)
  • No uncommitted changes
  • All plan tasks marked complete
  • Code review passed (or self-reviewed with checklist)
  • No debug code, TODOs, or temporary hacks remaining

Integration Options

Present these options to the user:

Option 1: Merge to main

git checkout main
git merge --no-ff feature/branch-name
git branch -d feature/branch-name

Best for: solo work, small changes, when you are the reviewer.

Option 2: Create Pull Request

git push origin feature/branch-name
# Then create PR via GitHub/GitLab

Best for: team work, significant changes, when review is needed.

Option 3: Keep branch (not done yet)

Continue working. Note what remains.

Option 4: Discard

git checkout main
git branch -D feature/branch-name

For: abandoned experiments, wrong approach.

Worktree Cleanup

If using git worktrees:

# Return to main worktree
cd /path/to/main

# Remove the worktree
git worktree remove .worktrees/branch-name

# Verify
git worktree list

Summary Report

After integration, provide:

## Completed
- What was built
- Files changed: [count]
- Tests: [pass count]

## Key Decisions
- Notable design choices

## Follow-up
- Any remaining work or future improvements

版本历史

  • fc2edc0 当前 2026-07-25 05:06

同 Skill 集合

skills/nobody-brainstorms/SKILL.md
skills/nobody-debugs/SKILL.md
skills/nobody-executes-plans/SKILL.md
skills/nobody-receives-code-review/SKILL.md
skills/nobody-requests-code-review/SKILL.md
skills/nobody-uses-git-worktrees/SKILL.md
skills/nobody-uses-tdd/SKILL.md
skills/nobody-verifies-before-completion/SKILL.md
skills/nobody-writes-plans/SKILL.md
skills/nobody-writes-skills/SKILL.md
skills/using-plans-for-nobody/SKILL.md

元信息

文件数
0
版本
fc2edc0
Hash
bcba29e0
收录时间
2026-07-25 05:06

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 16:25
浙ICP备14020137号-1 $访客地图$