Finalize

From tobihagemann/turbo · View interactive version

Finalize is an AI agent skill from the GitHub repository tobihagemann/turbo. Run the post-implementation QA workflow: tests, code polishing, review, and commit. Use when the user asks to \"finalize changes\", \"wrap up implementation\", \"finish up\", or \"ready to commit\".

How to use this skill

Skill file

Finalize Implementation

Post-implementation QA workflow: tests, code polishing, commit, self-improvement, and landing the pull request.

Open or continue this chat’s workflow checkpoint.

Task Tracking

At the start, use update_plan to track each phase, restating any remaining steps of a parent workflow alongside them:

  1. Run $polish-code skill
  2. Run $simplify-docs skill
  3. Run $update-changelog skill
  4. Run $self-improve skill
  5. Run $ship skill
  6. Run $land-pr skill

Phase 1: Run `$polish-code` Skill

Run the $polish-code skill for the current changes.

Phase 2: Run `$simplify-docs` Skill

Run the $simplify-docs skill on the staged changes (git diff --cached). Stage any edits it makes before continuing.

Phase 3: Run `$update-changelog` Skill

Run the $update-changelog skill. Stage any edits it makes before continuing.

Phase 4: Run `$self-improve` Skill

Run the $self-improve skill for the current session. Always run this phase even if the session seemed routine.

Phase 5: Run `$ship` Skill

Run the $ship skill.

Phase 6: Run `$land-pr` Skill

Count each PR Phase 5 opened, pushed to, or left with the user to post. For each unposted body, present $turbo:land-pr to run once posted. For a multi-PR result, present $turbo:land-pr <number> for each open PR from its checkout and skip the skill. Also skip it when there is no open PR to land.

Otherwise, run the $land-pr skill for that pull request.

Then call update_plan to mark this step completed and continue with the next step of the active workflow.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.