finishing-a-development-branch
Pass
Audited by Gen Agent Trust Hub on May 11, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes standard development tools and Git commands to manage the software development lifecycle.
- Runs project test suites using common runners like
npm test,pytest,cargo test, andgo testto ensure code quality. - Performs Git branch management tasks including merging, pushing, and deleting branches (
git merge,git push,git branch -D). - Utilizes the GitHub CLI (
gh pr create) to automate the creation of pull requests. - [SAFE]: Incorporates protective mechanisms to prevent accidental data loss and maintain environment stability.
- Requires the user to type 'discard' as a confirmation step before permanently deleting branches or worktrees.
- Enforces a verification step that prevents merging or PR creation if the project's test suite fails.
- Uses secure shell practices (heredocs with
EOF) when constructing pull request descriptions to mitigate injection risks.
Audit Metadata