一键导入
finishing-a-dev-branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - merge, PR, keep, or discard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - merge, PR, keep, or discard
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Debug frontend vanilla JS issues - console errors, rendering bugs, SPA navigation, WebSocket
Automates the process of setting up the first admin user or adding new admins via the bootstrap endpoint. Includes a Python script for easy execution.
Push to remote and wait for CI to pass. If CI fails, read logs, fix bugs, and re-push. Repeat until green.
Use when building or debugging LangGraph multi-agent systems - eval-first execution, task decomposition, model routing by complexity, and cost discipline
Use when AI agent modifies API routes or backend logic - catch systematic blind spots where the same model writes and reviews code
Use when making or recording significant architectural decisions - capture context, alternatives, and rationale as structured ADRs
基于 SOC 职业分类
| name | finishing-a-dev-branch |
| description | Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - merge, PR, keep, or discard |
.venv\Scripts\python.exe -m pytest --no-cov -q
If tests fail: STOP. Fix before proceeding.
git merge-base HEAD main 2>/dev/null
Implementation complete. What would you like to do?
1. Merge back to main locally
2. Push and create a Pull Request
3. Keep the branch as-is
4. Discard this work
Option 1 - Merge locally:
git checkout main && git pull && git merge <branch> && git branch -d <branch>
Option 2 - Create PR:
git push -u origin <branch>
gh pr create --title "title" --body "## Summary - bullets"
Option 3 - Keep: Report branch preserved.
Option 4 - Discard: Require typed "discard" confirmation.
git checkout main && git branch -D <branch>
git worktree remove .worktrees/<branch-name> 2>/dev/null
| Option | Merge | Push | Keep Worktree | Cleanup Branch |
|---|---|---|---|---|
| 1. Merge | Y | - | - | Y |
| 2. PR | - | Y | Y | - |
| 3. Keep | - | - | Y | - |
| 4. Discard | - | - | - | Y (force) |