Skip to main content

land-and-deploy

Automates the land and deploy workflow, merging PRs and verifying production health through canary checks.

Install this skill

or
0/100

Security score

The land-and-deploy skill was audited on May 12, 2026 and we found 91 security issues across 5 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 26

Template literal with variable interpolation in command context

SourceSKILL.md
26```bash
medium line 259

Template literal with variable interpolation in command context

SourceSKILL.md
259```bash
medium line 355

Template literal with variable interpolation in command context

SourceSKILL.md
355```bash
medium line 389

Template literal with variable interpolation in command context

SourceSKILL.md
389echo "before relying on \`gbrain search\` for code questions in this worktree."
medium line 517

Template literal with variable interpolation in command context

SourceSKILL.md
517```bash
medium line 922

Template literal with variable interpolation in command context

SourceSKILL.md
922```bash
medium line 1121

Template literal with variable interpolation in command context

SourceSKILL.md
1121```bash
medium line 787

Curl to non-GitHub URL

SourceSKILL.md
787curl -fsSL "https://bun.sh/install" -o "$tmpfile"
low line 27

Access to hidden dotfiles in home directory

SourceSKILL.md
27_UPD=$(~/.claude/skills/gstack/bin/gstack-update-check 2>/dev/null || .claude/skills/gstack/bin/gstack-update-check 2>/dev/null || true)
low line 29

Access to hidden dotfiles in home directory

SourceSKILL.md
29mkdir -p ~/.gstack/sessions
low line 30

Access to hidden dotfiles in home directory

SourceSKILL.md
30touch ~/.gstack/sessions/"$PPID"
low line 31

Access to hidden dotfiles in home directory

SourceSKILL.md
31_SESSIONS=$(find ~/.gstack/sessions -mmin -120 -type f 2>/dev/null | wc -l | tr -d ' ')
low line 32

Access to hidden dotfiles in home directory

SourceSKILL.md
32find ~/.gstack/sessions -mmin +120 -type f -exec rm {} + 2>/dev/null || true
low line 33

Access to hidden dotfiles in home directory

SourceSKILL.md
33_PROACTIVE=$(~/.claude/skills/gstack/bin/gstack-config get proactive 2>/dev/null || echo "true")
low line 34

Access to hidden dotfiles in home directory

SourceSKILL.md
34_PROACTIVE_PROMPTED=$([ -f ~/.gstack/.proactive-prompted ] && echo "yes" || echo "no")
low line 37

Access to hidden dotfiles in home directory

SourceSKILL.md
37_SKILL_PREFIX=$(~/.claude/skills/gstack/bin/gstack-config get skill_prefix 2>/dev/null || echo "false")
low line 41

Access to hidden dotfiles in home directory

SourceSKILL.md
41source <(~/.claude/skills/gstack/bin/gstack-repo-mode 2>/dev/null) || true
low line 44

Access to hidden dotfiles in home directory

SourceSKILL.md
44_LAKE_SEEN=$([ -f ~/.gstack/.completeness-intro-seen ] && echo "yes" || echo "no")
low line 46

Access to hidden dotfiles in home directory

SourceSKILL.md
46_TEL=$(~/.claude/skills/gstack/bin/gstack-config get telemetry 2>/dev/null || true)
low line 47

Access to hidden dotfiles in home directory

SourceSKILL.md
47_TEL_PROMPTED=$([ -f ~/.gstack/.telemetry-prompted ] && echo "yes" || echo "no")
low line 52

Access to hidden dotfiles in home directory

SourceSKILL.md
52_EXPLAIN_LEVEL=$(~/.claude/skills/gstack/bin/gstack-config get explain_level 2>/dev/null || echo "default")
low line 55

Access to hidden dotfiles in home directory

SourceSKILL.md
55_QUESTION_TUNING=$(~/.claude/skills/gstack/bin/gstack-config get question_tuning 2>/dev/null || echo "false")
low line 57

Access to hidden dotfiles in home directory

SourceSKILL.md
57mkdir -p ~/.gstack/analytics
low line 59

Access to hidden dotfiles in home directory

SourceSKILL.md
59echo '{"skill":"land-and-deploy","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","repo":"'$(basename "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null || echo "unknown")'"}' >> ~/.gstack/analytics/s
low line 61

Access to hidden dotfiles in home directory

SourceSKILL.md
61for _PF in $(find ~/.gstack/analytics -maxdepth 1 -name '.pending-*' 2>/dev/null); do
low line 63

Access to hidden dotfiles in home directory

SourceSKILL.md
63if [ "$_TEL" != "off" ] && [ -x "~/.claude/skills/gstack/bin/gstack-telemetry-log" ]; then
low line 64

Access to hidden dotfiles in home directory

SourceSKILL.md
64~/.claude/skills/gstack/bin/gstack-telemetry-log --event-type skill_run --skill _pending_finalize --outcome unknown --session-id "$_SESSION_ID" 2>/dev/null || true
low line 70

Access to hidden dotfiles in home directory

SourceSKILL.md
70eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true
low line 76

Access to hidden dotfiles in home directory

SourceSKILL.md
76~/.claude/skills/gstack/bin/gstack-learnings-search --limit 3 2>/dev/null || true
low line 81

Access to hidden dotfiles in home directory

SourceSKILL.md
81~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"land-and-deploy","event":"started","branch":"'"$_BRANCH"'","session":"'"$_SESSION_ID"'"}' 2>/dev/null &
low line 86

Access to hidden dotfiles in home directory

SourceSKILL.md
86_ROUTING_DECLINED=$(~/.claude/skills/gstack/bin/gstack-config get routing_declined 2>/dev/null || echo "false")
low line 97

Access to hidden dotfiles in home directory

SourceSKILL.md
97_CHECKPOINT_MODE=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_mode 2>/dev/null || echo "explicit")
low line 98

Access to hidden dotfiles in home directory

SourceSKILL.md
98_CHECKPOINT_PUSH=$(~/.claude/skills/gstack/bin/gstack-config get checkpoint_push 2>/dev/null || echo "false")
medium line 106

Access to hidden dotfiles in home directory

SourceSKILL.md
106In plan mode, allowed because they inform the plan: `$B`, `$D`, `codex exec`/`codex review`, writes to `~/.gstack/`, writes to the plan file, and `open` for generated artifacts.
medium line 114

Access to hidden dotfiles in home directory

SourceSKILL.md
114If `SKILL_PREFIX` is `"true"`, suggest/invoke `/gstack-*` names. Disk paths stay `~/.claude/skills/gstack/[skill-name]/SKILL.md`.
medium line 116

Access to hidden dotfiles in home directory

SourceSKILL.md
116If output shows `UPGRADE_AVAILABLE <old> <new>`: read `~/.claude/skills/gstack/gstack-upgrade/SKILL.md` and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with
medium line 121

Access to hidden dotfiles in home directory

SourceSKILL.md
121- Missing `~/.claude/skills/gstack/.feature-prompted-continuous-checkpoint`: AskUserQuestion for Continuous checkpoint auto-commits. If accepted, run `~/.claude/skills/gstack/bin/gstack-config set che
medium line 122

Access to hidden dotfiles in home directory

SourceSKILL.md
122- Missing `~/.claude/skills/gstack/.feature-prompted-model-overlay`: inform "Model overlays are active. MODEL_OVERLAY shows the patch." Always touch marker.
medium line 135

Access to hidden dotfiles in home directory

SourceSKILL.md
135If B: run `~/.claude/skills/gstack/bin/gstack-config set explain_level terse`.
low line 139

Access to hidden dotfiles in home directory

SourceSKILL.md
139rm -f ~/.gstack/.writing-style-prompt-pending
low line 140

Access to hidden dotfiles in home directory

SourceSKILL.md
140touch ~/.gstack/.writing-style-prompted
low line 149

Access to hidden dotfiles in home directory

SourceSKILL.md
149touch ~/.gstack/.completeness-intro-seen
medium line 162

Access to hidden dotfiles in home directory

SourceSKILL.md
162If A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry community`
medium line 172

Access to hidden dotfiles in home directory

SourceSKILL.md
172If B→A: run `~/.claude/skills/gstack/bin/gstack-config set telemetry anonymous`
medium line 173

Access to hidden dotfiles in home directory

SourceSKILL.md
173If B→B: run `~/.claude/skills/gstack/bin/gstack-config set telemetry off`
low line 177

Access to hidden dotfiles in home directory

SourceSKILL.md
177touch ~/.gstack/.telemetry-prompted
medium line 190

Access to hidden dotfiles in home directory

SourceSKILL.md
190If A: run `~/.claude/skills/gstack/bin/gstack-config set proactive true`
medium line 191

Access to hidden dotfiles in home directory

SourceSKILL.md
191If B: run `~/.claude/skills/gstack/bin/gstack-config set proactive false`
low line 195

Access to hidden dotfiles in home directory

SourceSKILL.md
195touch ~/.gstack/.proactive-prompted
medium line 236

Access to hidden dotfiles in home directory

SourceSKILL.md
236If B: run `~/.claude/skills/gstack/bin/gstack-config set routing_declined true` and say they can re-enable with `gstack-config set routing_declined false`.
medium line 240

Access to hidden dotfiles in home directory

SourceSKILL.md
240If `VENDORED_GSTACK` is `yes`, warn once via AskUserQuestion unless `~/.gstack/.vendoring-warned-$SLUG` exists:
medium line 252

Access to hidden dotfiles in home directory

SourceSKILL.md
2523. Run `~/.claude/skills/gstack/bin/gstack-team-init required` (or `optional`)
medium line 254

Access to hidden dotfiles in home directory

SourceSKILL.md
2545. Tell the user: "Done. Each developer now runs: `cd ~/.claude/skills/gstack && ./setup --team`"
low line 260

Access to hidden dotfiles in home directory

SourceSKILL.md
260eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)" 2>/dev/null || true
low line 261

Access to hidden dotfiles in home directory

SourceSKILL.md
261touch ~/.gstack/.vendoring-warned-${SLUG:-unknown}
low line 364

Access to hidden dotfiles in home directory

SourceSKILL.md
364_BRAIN_SYNC_BIN="~/.claude/skills/gstack/bin/gstack-brain-sync"
low line 365

Access to hidden dotfiles in home directory

SourceSKILL.md
365_BRAIN_CONFIG_BIN="~/.claude/skills/gstack/bin/gstack-config"
medium line 469

Access to hidden dotfiles in home directory

SourceSKILL.md
469If A/B and `~/.gstack/.git` is missing, ask whether to run `gstack-artifacts-init`. Do not block the skill.
low line 474

Access to hidden dotfiles in home directory

SourceSKILL.md
474"~/.claude/skills/gstack/bin/gstack-brain-sync" --discover-new 2>/dev/null || true
low line 475

Access to hidden dotfiles in home directory

SourceSKILL.md
475"~/.claude/skills/gstack/bin/gstack-brain-sync" --once 2>/dev/null || true
low line 518

Access to hidden dotfiles in home directory

SourceSKILL.md
518eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"
medium line 673

Access to hidden dotfiles in home directory

SourceSKILL.md
673Before each AskUserQuestion, choose `question_id` from `scripts/question-registry.ts` or `{skill}-{slug}`, then run `~/.claude/skills/gstack/bin/gstack-question-preference --check "<id>"`. `AUTO_DECID
low line 677

Access to hidden dotfiles in home directory

SourceSKILL.md
677~/.claude/skills/gstack/bin/gstack-question-log '{"skill":"land-and-deploy","question_id":"<id>","question_summary":"<short>","category":"<approval|clarification|routing|cherry-pick|feedback-loop>","d
low line 686

Access to hidden dotfiles in home directory

SourceSKILL.md
686~/.claude/skills/gstack/bin/gstack-question-preference --write '{"question_id":"<id>","preference":"<pref>","source":"inline-user","free_text":"<optional original words>"}'
medium line 701

Access to hidden dotfiles in home directory

SourceSKILL.md
701Before building anything unfamiliar, **search first.** See `~/.claude/skills/gstack/ETHOS.md`.
low line 706

Access to hidden dotfiles in home directory

SourceSKILL.md
706jq -n --arg ts "$(date -u +%Y-%m-%dT%H:%M:%SZ)" --arg skill "SKILL_NAME" --arg branch "$(git branch --show-current 2>/dev/null)" --arg insight "ONE_LINE_SUMMARY" '{ts:$ts,skill:$skill,branch:$branch,i
low line 724

Access to hidden dotfiles in home directory

SourceSKILL.md
724~/.claude/skills/gstack/bin/gstack-learnings-log '{"skill":"SKILL_NAME","type":"operational","key":"SHORT_KEY","insight":"DESCRIPTION","confidence":N,"source":"observed"}'
medium line 734

Access to hidden dotfiles in home directory

SourceSKILL.md
734`~/.gstack/analytics/`, matching preamble analytics writes.
low line 741

Access to hidden dotfiles in home directory

SourceSKILL.md
741rm -f ~/.gstack/analytics/.pending-"$_SESSION_ID" 2>/dev/null || true
low line 743

Access to hidden dotfiles in home directory

SourceSKILL.md
743~/.claude/skills/gstack/bin/gstack-timeline-log '{"skill":"SKILL_NAME","event":"completed","branch":"'$(git branch --show-current 2>/dev/null || echo unknown)'","outcome":"OUTCOME","duration_s":"'"$_T
low line 746

Access to hidden dotfiles in home directory

SourceSKILL.md
746echo '{"skill":"SKILL_NAME","duration_s":"'"$_TEL_DUR"'","outcome":"OUTCOME","browse":"USED_BROWSE","session":"'"$_SESSION_ID"'","ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'"}' >> ~/.gstack/analytics/skill-
low line 749

Access to hidden dotfiles in home directory

SourceSKILL.md
749if [ "$_TEL" != "off" ] && [ -x ~/.claude/skills/gstack/bin/gstack-telemetry-log ]; then
low line 750

Access to hidden dotfiles in home directory

SourceSKILL.md
750~/.claude/skills/gstack/bin/gstack-telemetry-log \
medium line 760

Access to hidden dotfiles in home directory

SourceSKILL.md
760In plan mode before ExitPlanMode: if the plan file lacks `## GSTACK REVIEW REPORT`, run `~/.claude/skills/gstack/bin/gstack-review-read` and append the standard runs/status/findings table. With `NO_RE
low line 923

Access to hidden dotfiles in home directory

SourceSKILL.md
923eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"
low line 924

Access to hidden dotfiles in home directory

SourceSKILL.md
924if [ ! -f ~/.gstack/projects/$SLUG/land-deploy-confirmed ]; then
low line 928

Access to hidden dotfiles in home directory

SourceSKILL.md
928SAVED_HASH=$(cat ~/.gstack/projects/$SLUG/land-deploy-confirmed 2>/dev/null)
low line 1094

Access to hidden dotfiles in home directory

SourceSKILL.md
1094~/.claude/skills/gstack/bin/gstack-review-read 2>/dev/null
low line 1122

Access to hidden dotfiles in home directory

SourceSKILL.md
1122mkdir -p ~/.gstack/projects/$SLUG
low line 1125

Access to hidden dotfiles in home directory

SourceSKILL.md
1125echo "${CURRENT_HASH}-${WORKFLOW_HASH}" > ~/.gstack/projects/$SLUG/land-deploy-confirmed
low line 1230

Access to hidden dotfiles in home directory

SourceSKILL.md
1230~/.claude/skills/gstack/bin/gstack-review-read 2>/dev/null
low line 1276

Access to hidden dotfiles in home directory

SourceSKILL.md
1276cat ~/.claude/skills/gstack/review/checklist.md 2>/dev/null || echo "Checklist not found"
low line 1310

Access to hidden dotfiles in home directory

SourceSKILL.md
1310ls -t ~/.gstack-dev/evals/*-e2e-*-$(date +%Y-%m-%d)*.json 2>/dev/null | head -20
low line 1326

Access to hidden dotfiles in home directory

SourceSKILL.md
1326ls -t ~/.gstack-dev/evals/*-llm-judge-*-$(date +%Y-%m-%d)*.json 2>/dev/null | head -5
low line 1547

Access to hidden dotfiles in home directory

SourceSKILL.md
1547eval $(~/.claude/skills/gstack/bin/gstack-diff-scope $(gh pr view --json baseRefName -q .baseRefName 2>/dev/null || echo main) 2>/dev/null)
low line 1801

Access to hidden dotfiles in home directory

SourceSKILL.md
1801eval "$(~/.claude/skills/gstack/bin/gstack-slug 2>/dev/null)"
low line 1802

Access to hidden dotfiles in home directory

SourceSKILL.md
1802mkdir -p ~/.gstack/projects/$SLUG
low line 326

Unicode escape sequences

SourceSKILL.md
326writes `\u3103` thinking it is 管 U+7BA1, but `\u3103` is
low line 145

External URL reference

SourceSKILL.md
145If `LAKE_INTRO` is `no`: say "gstack follows the **Boil the Lake** principle — do the complete thing when AI makes marginal cost near-zero. Read more: https://garryslist.org/posts/boil-the-ocean" Offe
low line 148

External URL reference

SourceSKILL.md
148open https://garryslist.org/posts/boil-the-ocean
low line 787

External URL reference

SourceSKILL.md
787curl -fsSL "https://bun.sh/install" -o "$tmpfile"
Scanned on May 12, 2026
View Security Dashboard
Installation guide →