finishing-a-development-branch

Pass

Audited by Gen Agent Trust Hub on Sep 6, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • Standard Git Command Execution: The skill automates common Git operations such as merging branches, pushing to remotes, and managing worktrees. These commands are executed within the user's project environment to facilitate standard development workflows.
  • Mandatory Test Verification: A core step in the workflow is the execution of the project's test suite (e.g., npm test, pytest, cargo test). This ensures that only verified code is integrated, following established software engineering best practices.
  • Explicit User Confirmation for Integration and Deletion: The skill presents specific options to the user before performing merges or deletions. It requires the user to explicitly type a confirmation word for destructive actions like discarding work, which helps prevent accidental data loss.
  • Workspace Cleanup Logic: The skill includes logic to detect the environment (normal repository vs. worktree) and implements safety checks when removing worktrees, such as verifying the presence of untracked or modified files before proceeding with cleanup.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 6, 2026, 11:16 AM
Security Audit — agent-trust-hub — finishing-a-development-branch