finishing-work

Prompt for code review before finishing work and run coderabbit workflows.

Updated Dec 7, 2025
One-click install
npx skills add https://github.com/caiokf/homepage --skill finishing-work
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-work
Source: https://github.com/caiokf/homepage/tree/main/.claude/skills/finishing-work
Command: npx skills add https://github.com/caiokf/homepage --skill finishing-work

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the risk of manual Git errors and ensures a clean, consistent Git state when you finish a work session. It automates GitButler integration and reminds you to sync issue tracking, so you don't have to remember complex commands.

Core Features & Use Cases

  • Automated GitButler Integration: Ensures all changes are tracked and committed correctly via GitButler hooks, preventing manual commit mistakes.
  • Session Closure Guidance: Provides clear instructions on the single command needed (bd sync --from-main) and what not to do (manual git commit).
  • Use Case: At the end of your coding day, simply stop working. This skill ensures your Git branches are managed properly and your issue tracking is up-to-date, letting you rest easy without worrying about repository state.

Quick Start

Finish my current work session, ensuring all changes are properly tracked and beads are synced.

Frequently Asked Questions about finishing-work

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent unreviewed code from being committed to my Git repository?

This Skill enforces mandatory code review before finishing work by prompting you to request a review via CodeRabbit. If you confirm, it invokes the review workflow and prevents manual commits, ensuring all changes pass review before repository finalization.

What's the best way to close a work session without Git errors or manual commit mistakes?

Automate session closure with GitButler integration that tracks and commits changes correctly through managed hooks. The Skill guides you to run `bd sync --from-main` and prevents direct Git commits, eliminating manual errors and maintaining clean branch state.

Does this work with GitButler for managing branches and preventing manual commits?

Yes. This Skill integrates GitButler hooks to manage pre/post-tool execution, synchronize beads, and block manual commits. It ensures proper branch management and consistent Git state without requiring you to remember complex commands.

How does code review integration work when finishing work?

When you confirm the review prompt, the Skill invokes CodeRabbit's triage and fix workflows to analyze your changes. GitButler then manages synchronization and prevents finalization until review is complete, creating a seamless handoff between review and closure.

Can I skip the code review step when finishing my work session?

The Skill prompts you to request review before completion, but you choose whether to proceed. If you decline review, it guides you through proper session closure without enforcement, though review is the recommended workflow for consistency.

What happens to my changes if I don't sync beads before finishing work?

The Skill prevents incomplete closure by prompting for code review and enforcing the `bd sync --from-main` command through GitButler hooks. This ensures beads are synchronized and repository state is consistent before your session ends.