一键导入
wrap
Wrap up work — atomic commits and push to origin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Wrap up work — atomic commits and push to origin
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Structured brainstorming for exploring new features or solving complex problems
Scope, architect, and plan new tasks
Multi-angle code review before merging
Summarize the day's work and put it in context
Full end-to-end (E2E) testing skill utilizing the browser. Make sure to use this skill whenever the user asks to "test the app", "run end to end tests", "verify the UI", "check if the app works", or wants you to use the browser to interact with and test the application flow. This skill orchestrates creating a test plan, getting user approval, navigating the application using the browser, independently fixing obstacles, and generating a progressive test report.
Analyzes the current project repository and workflows to provide a high-level status report. Use this skill when the user asks for a status update, wants to know "what's next", asks where development left off, or needs a summary of recent work to regain context. Do NOT use this skill if the user is asking you to actually implement the next feature, commit code, or search the codebase for specific files.
| name | wrap |
| description | Wrap up work — atomic commits and push to origin |
Get all work neatly committed in atomic commits and pushed to origin.
At the end of a work session, before switching context, or when the user says "wrap it up."
// turbo-all
Clean up the workspace. Scan for leftover files that serve no purpose anymore — scratch scripts, temporary debugging files, one-off test fixtures, /tmp/ artifacts, or console.log / dd() statements left in source files. Also check if any new environment variables were added to .env without updating .env.example. Present findings and resolve with user approval.
Compound check. If a non-trivial bug was fixed or a tricky implementation was solved during this session, invoke the compound skill to document the solution before proceeding. Skip for routine feature work or trivial changes.
Survey the workspace. Run git status and git diff --stat across all relevant repos to see what's changed. Present a concise summary to the user.
Documentation sync. Review the staged changes for anything that affects the project's README.md — new features, changed API endpoints, modified configuration, added dependencies, or updated setup steps. If so, update the README before proceeding.
Release document. Generate a release document at docs/releases/YYYY-MM-DD-{slug}.md summarizing what was accomplished. Ensure the directory exists (mkdir -p docs/releases) before writing the file. Pull context from the conversation, task.md, or walkthrough artifacts. Structure:
# [Date] — [Release Title]
## Summary
[1-2 sentence overview of what changed and why]
## Changes
- [Bullet list of changes, grouped by concern]
## Notes
- [Any caveats, follow-ups, or deployment considerations]
Group changes into atomic units. Analyze the diff and organize changes into the smallest logical commits. Each commit should:
Present the proposed commit plan to the user for approval before committing.
Stage and commit. For each atomic unit, in dependency order (foundations first):
git add <specific files>git add -p when a file contains changes belonging to different commitstype(scope): concise description
Optional body explaining why, not what.
feat, fix, refactor, docs, style, test, chore, perf, ciVerify clean state. Run git status to confirm no uncommitted changes remain. Run git log --oneline -n <count> to review the commit sequence.
Push. Push to origin:
git push origin <branch> for existing branchesgit push -u origin <branch> for new branchesgit pull --rebase origin <branch> then retryConfirm. Report what was committed and pushed — branch name, commit count, and a one-line summary per commit.
Merge and clean up (feature branches only). If the current branch is a feature branch (not master, main, or staging), ask the user if they want to squash-merge into the target branch. On confirmation:
git checkout <target> and git pull origin <target>git merge --squash <feature-branch>git status for "Unmerged paths". If merge conflicts exist, notify the user and HALT. Do not commit.git push origin <target>git branch -D <feature-branch> and git push origin --delete <feature-branch>git add . or git add -A — stage files explicitly per commit.git reset --hard or force-push unless the user explicitly requests it.