Skip to main content

implementation-wrapup

Complete a feature branch with test verification and PR creation. Triggers: "finish up", "create a PR", "wrap up the feature". Also invoked by iterative:implementing after all tasks are complete.

来源信息

仓库
tmchow/tmc-marketplace
最近来源活动
2026年3月4日 01:07
检测到的 SKILL.md 语言
英语
星标
22
分支
2

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
implementation-wrapup
description
Complete a feature branch with test verification and PR creation. Triggers: "finish up", "create a PR", "wrap up the feature". Also invoked by iterative:implementing after all tasks are complete.
# Implementation Wrapup Completes development with verification, optional review, and PR creation. ## When to Use - After `iterative:implementing` skill completes all tasks - When you're ready to create a PR - When you want to finish a feature branch - Can be invoked standalone on any branch ## Workflow ### Phase 1: Final Verification 1. Run full test suite. If tests fail, stop and report failures. 2. Check for uncommitted changes — commit or stash. ### Phase 2: Optional Code Review When invoked from `iterative:implementing`, skip this phase — all code reviews are already complete. When invoked standalone: 1. Present an interactive choice to the user — `AskUserQuestion` (Claude Code) or `request_user_input` (Codex): A) Full code review (recommended), B) Skip review. 2. If review: invoke `code-review` skill (1+ rounds). 3. Continue when review complete or skipped. ### Phase 3: Context Summary 1. Determine base branch (main/master/develop). 2. Check if in worktree. 3. Report: N commits, files changed, branch info. ### Phase 4: Present Options Present an interactive choice to the user: - A) Push + PR (recommended) — creates new PR, or shows existing if one exists - B) Push only - C) Keep branch, don't push - D) Discard work (typed confirmation required) ### Phase 5: Execute **Option A — Push + PR:** Push branch with `-u`, run `gh pr create`. If PR exists, show existing PR URL. If no PR, create one following repo conventions. Return PR URL. **Option B — Push only:** Push branch, report remote URL. **Option C — Keep:** Report branch preserved locally. **Option D — Discard:** Require typed confirmation ("discard [branch-name]"). Delete branch (and worktree if applicable). ### Phase 6: Cleanup 1. If in worktree and work done, offer removal. 2. Switch to base branch if not in worktree. ## Safeguards - **Never skip test verification** - tests must pass before any option - **Never push with failing tests** - stop and report failures - **Never discard without typed confirmation** - require exact branch name - **git push prompts user** - not pre-approved, user confirms before pushing ## PR Description When creating a PR: - Follow repo conventions from AGENTS.md/CLAUDE.md - If no conventions: use conventional commits style - Generate description from commit messages - Keep title succinct and descriptive ## Output Format ```markdown ## Implementation Wrapup ### Verification - Tests: PASS (N tests) - Uncommitted changes: None / Committed ### Code Review - Status: Completed / Skipped - Issues addressed: N ### Summary - Branch: feature/my-feature - Base: main - Commits: N - Files changed: M ### Options A) Push + Create PR (recommended) B) Push only C) Keep branch locally D) Discard work What would you like to do? ``` ## After Completion Returns: - PR URL (if created) - Branch status - Cleanup status (worktree removed if applicable)
在 GitHub 查看