Skip to main content

finishing-a-development-branch

Guides developers through the process of completing a development branch with structured options for merging, PR creation, or cleanup.

Install this skill

or
95/100

Security score

The finishing-a-development-branch skill was audited on Aug 18, 2026 and we found 5 security issues across 1 threat category. Review the findings below before installing.

Categories Tested

Security Issues

low line 31

Command substitution pattern

SourceSKILL.md
29
30```bash
31GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
32GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
33# Capture now, while still inside the workspace — Step 5 changes directory
low line 32

Command substitution pattern

SourceSKILL.md
30```bash
31GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
32GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
33# Capture now, while still inside the workspace — Step 5 changes directory
34# before cleanup (Step 6) needs this value
low line 35

Command substitution pattern

SourceSKILL.md
33# Capture now, while still inside the workspace — Step 5 changes directory
34# before cleanup (Step 6) needs this value
35WORKTREE_PATH=$(git rev-parse --show-toplevel)
36```
37
low line 90

Command substitution pattern

SourceSKILL.md
88```bash
89# Get main repo root for CWD safety
90MAIN_ROOT=$(git -C "$(git rev-parse --git-common-dir)/.." rev-parse --show-toplevel)
91cd "$MAIN_ROOT"
92
low line 149

Command substitution pattern

SourceSKILL.md
147
148```bash
149MAIN_ROOT=$(git -C "$(git rev-parse --git-common-dir)/.." rev-parse --show-toplevel)
150cd "$MAIN_ROOT"
151```
Scanned on Aug 18, 2026
View Security Dashboard
Installation guide →