skills/chann/skills/git-merge-to-main/Gen Agent Trust Hub

git-merge-to-main

Pass

Audited by Gen Agent Trust Hub on May 11, 2026

Risk Level: SAFE
Full Analysis
  • [COMMAND_EXECUTION]: Orchestrates git operations including branch switching, merging, and deletion. The skill utilizes safe command flags (e.g., git branch -d instead of -D) and implements multiple pre-checks to ensure repository integrity and prevent data loss in a dirty working tree.
  • [COMMAND_EXECUTION]: Employs strict workflow boundaries, such as refusing to operate on a dirty working tree and failing closed if any precondition (like the existence of the main branch) is not met.
  • [COMMAND_EXECUTION]: Uses local shell variables derived from git output which are appropriately quoted to ensure command stability and prevent shell injection during execution.
Audit Metadata
Risk Level
SAFE
Analyzed
May 11, 2026, 01:12 PM