optimus-done
CommunitySafely close tasks and tidy up worktrees.
Authoralexgarzao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Closing a task safely requires validating that all gates were passed, ensuring the PR is finalized, and cleaning up local and remote work artifacts. This Skill orchestrates end-to-end finalization of a task by enforcing gate checks, marking DONE, and performing workspace cleanup.
Core Features & Use Cases
- Enforces sequential gate checks (no uncommitted changes, no unpushed commits, PR review feedback, and final PR state) before marking a task as DONE.
- Updates the task state to DONE (or Cancelado) and triggers notification hooks; supports post-completion cleanup including worktree removal and branch hygiene.
- Handles edge cases such as PRs that are merged, closed, or open, and provides guided prompts or overrides when needed.
- Supports dry-run mode to preview operations without applying changes.
Quick Start
Run /optimus-done T-012 to securely finalize a task and clean up its workspace after the PR final state is reached.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: optimus-done Download link: https://github.com/alexgarzao/optimus/archive/main.zip#optimus-done Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.