Skip to content

aiskillstore/marketplace / skills/1natsu172/git-analysis

git-analysis

Verified

Analyze git repository changes, branch differences, and commit history. Use when analyzing branches, comparing changes, examining commit history, or preparing for PR/commit operations.

FileKindSize
REFERENCE.mdmarkdown10.0 KB
SKILL.mdskill md5.4 KB
scripts/get_branch_diff.shscript1.6 KB
scripts/get_commit_history.shscript1.1 KB
skill-report.jsonconfig97.7 KB

skill-report.json

View on GitHub
{
  "schema_version": "2.0",
  "meta": {
    "generated_at": "2026-07-09T14:15:51.616Z",
    "slug": "1natsu172-git-analysis",
    "source_url": "https://github.com/1natsu172/dotfiles/tree/master/.claude/skills/git-analysis",
    "source_ref": "master",
    "model": "codex",
    "analysis_version": "3.0.0",
    "source_type": "community",
    "content_hash": "f415b21ad5bbc3269e62f19055433758e3cce08873411691678a4fdaaa874827",
    "tree_hash": "14b1aea27edca01a2bf3a70e3ad4692224025bfa032da015c9fe1a028854f22e",
    "provenance": {
      "model_requested": "gpt-5.5:high",
      "model_effective": "codex:gpt-5.5:high",
      "fallback_chain": [
        {
          "agent": "codex",
          "model": "gpt-5.5",
          "effort": "high",
          "outcome": "success"
        }
      ],
      "analysis_version": "3.0.0"
    }
  },
  "skill": {
    "name": "git-analysis",
    "description": "Analyze Git branch differences, commit history, changed files, and working tree state for pull requests and reviews.",
    "summary": "Analyze Git changes and commit history for PR preparation, review, and commit planning.",
    "icon": "📦",
    "version": "1.0.0",
    "author": "1natsu172",
    "license": "MIT",
    "tags": [
      "git",
      "code-review",
      "pull-requests",
      "commit-history",
      "branch-analysis"
    ],
    "supported_tools": [
      "claude",
      "codex",
      "claude-code"
    ],
    "risk_factors": [
      "external_commands",
      "filesystem"
    ],
    "category": "coding"
  },
  "security_audit": {
    "risk_level": "safe",
    "is_blocked": false,
    "safe_to_publish": true,
    "analysis_status": "ok",
    "summary": "Most static findings are expected git-analysis behavior, safe helper scripts, or Markdown command examples. The confirmed issue is a reference workflow that writes repository status and diffs to predictable /tmp/git_*.txt files. No prompt-injection text or malicious exfiltration intent was found.",
    "remediation": [
      {
        "issue": "Predictable temporary files in reference examples",
        "suggestion": "Replace /tmp/git_*.txt examples with mktemp -d, store files inside that directory, set a cleanup trap, and restrict permissions.",
        "severity": "medium"
      },
      {
        "issue": "Advanced shell examples are less hardened than helper scripts",
        "suggestion": "Quote branch and merge-base variables consistently in documentation and direct users to the safer helper scripts for routine use.",
        "severity": "low"
      }
    ],
    "risk_factor_evidence": [
      {
        "factor": "external_commands",
        "evidence": [
          {
            "file": "REFERENCE.md",
            "line_start": 50,
            "line_end": 50
          },
          {
            "file": "REFERENCE.md",
            "line_start": 169,
            "line_end": 169
          },
          {
            "file": "REFERENCE.md",
            "line_start": 179,
            "line_end": 179
          },
          {
            "file": "REFERENCE.md",
            "line_start": 180,
            "line_end": 180
          },
          {
            "file": "REFERENCE.md",
            "line_start": 181,
            "line_end": 181
          },
          {
            "file": "REFERENCE.md",
            "line_start": 195,
            "line_end": 195
          },
          {
            "file": "REFERENCE.md",
            "line_start": 212,
            "line_end": 212
          },
          {
            "file": "REFERENCE.md",
            "line_start": 213,
            "line_end": 213
          },
          {
            "file": "REFERENCE.md",
            "line_start": 219,
            "line_end": 219
          },
          {
            "file": "REFERENCE.md",
            "line_start": 221,
            "line_end": 221
          },
          {
            "file": "REFERENCE.md",
            "line_start": 222,
            "line_end": 222
          },
          {
            "file": "REFERENCE.md",
            "line_start": 223,
            "line_end": 223
          },
          {
            "file": "REFERENCE.md",
            "line_start": 224,
            "line_end": 224
          },
          {
            "file": "REFERENCE.md",
            "line_start": 244,
            "line_end": 244
          },
          {
            "file": "REFERENCE.md",
            "line_start": 245,
            "line_end": 245
          },
          {
            "file": "REFERENCE.md",
            "line_start": 285,
            "line_end": 285
          },
          {
            "file": "REFERENCE.md",
            "line_start": 286,
            "line_end": 286
          },
          {
            "file": "REFERENCE.md",
            "line_start": 346,
            "line_end": 346
          },
          {
            "file": "REFERENCE.md",
            "line_start": 371,
            "line_end": 371
          },
          {
            "file": "REFERENCE.md",
            "line_start": 372,
            "line_end": 372
          },
          {
            "file": "REFERENCE.md",
            "line_start": 400,
            "line_end": 400
          },
          {
            "file": "REFERENCE.md",
            "line_start": 403,
            "line_end": 403
          },
          {
            "file": "REFERENCE.md",
            "line_start": 414,
            "line_end": 414
          },
          {
            "file": "REFERENCE.md",
            "line_start": 415,
            "line_end": 415
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 27,
            "line_end": 27
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 30,
            "line_end": 30
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 38,
            "line_end": 38
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 41,
            "line_end": 41
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 45,
            "line_end": 45
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 46,
            "line_end": 46
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 47,
            "line_end": 47
          },
          {
            "file": "scripts/get_commit_history.sh",
            "line_start": 26,
            "line_end": 26
          },
          {
            "file": "scripts/get_commit_history.sh",
            "line_start": 27,
            "line_end": 27
          },
          {
            "file": "SKILL.md",
            "line_start": 31,
            "line_end": 31
          },
          {
            "file": "SKILL.md",
            "line_start": 33,
            "line_end": 35
          },
          {
            "file": "SKILL.md",
            "line_start": 35,
            "line_end": 43
          },
          {
            "file": "SKILL.md",
            "line_start": 43,
            "line_end": 46
          },
          {
            "file": "SKILL.md",
            "line_start": 46,
            "line_end": 54
          },
          {
            "file": "SKILL.md",
            "line_start": 54,
            "line_end": 66
          },
          {
            "file": "SKILL.md",
            "line_start": 66,
            "line_end": 72
          },
          {
            "file": "SKILL.md",
            "line_start": 72,
            "line_end": 81
          },
          {
            "file": "SKILL.md",
            "line_start": 81,
            "line_end": 96
          },
          {
            "file": "SKILL.md",
            "line_start": 96,
            "line_end": 98
          },
          {
            "file": "SKILL.md",
            "line_start": 98,
            "line_end": 101
          },
          {
            "file": "SKILL.md",
            "line_start": 101,
            "line_end": 106
          },
          {
            "file": "SKILL.md",
            "line_start": 106,
            "line_end": 113
          },
          {
            "file": "SKILL.md",
            "line_start": 113,
            "line_end": 115
          },
          {
            "file": "SKILL.md",
            "line_start": 115,
            "line_end": 118
          },
          {
            "file": "SKILL.md",
            "line_start": 118,
            "line_end": 120
          },
          {
            "file": "SKILL.md",
            "line_start": 120,
            "line_end": 133
          },
          {
            "file": "SKILL.md",
            "line_start": 133,
            "line_end": 143
          },
          {
            "file": "SKILL.md",
            "line_start": 143,
            "line_end": 147
          },
          {
            "file": "SKILL.md",
            "line_start": 147,
            "line_end": 151
          },
          {
            "file": "SKILL.md",
            "line_start": 151,
            "line_end": 155
          },
          {
            "file": "SKILL.md",
            "line_start": 155,
            "line_end": 160
          },
          {
            "file": "SKILL.md",
            "line_start": 160,
            "line_end": 165
          },
          {
            "file": "SKILL.md",
            "line_start": 165,
            "line_end": 173
          },
          {
            "file": "SKILL.md",
            "line_start": 173,
            "line_end": 190
          },
          {
            "file": "SKILL.md",
            "line_start": 190,
            "line_end": 202
          },
          {
            "file": "SKILL.md",
            "line_start": 202,
            "line_end": 219
          },
          {
            "file": "SKILL.md",
            "line_start": 138,
            "line_end": 138
          },
          {
            "file": "SKILL.md",
            "line_start": 139,
            "line_end": 139
          },
          {
            "file": "SKILL.md",
            "line_start": 149,
            "line_end": 149
          },
          {
            "file": "SKILL.md",
            "line_start": 157,
            "line_end": 157
          },
          {
            "file": "SKILL.md",
            "line_start": 158,
            "line_end": 158
          },
          {
            "file": "SKILL.md",
            "line_start": 159,
            "line_end": 159
          },
          {
            "file": "SKILL.md",
            "line_start": 187,
            "line_end": 187
          },
          {
            "file": "SKILL.md",
            "line_start": 133,
            "line_end": 143
          },
          {
            "file": "SKILL.md",
            "line_start": 147,
            "line_end": 151
          },
          {
            "file": "SKILL.md",
            "line_start": 155,
            "line_end": 160
          },
          {
            "file": "SKILL.md",
            "line_start": 173,
            "line_end": 190
          }
        ]
      },
      {
        "factor": "filesystem",
        "evidence": [
          {
            "file": "REFERENCE.md",
            "line_start": 355,
            "line_end": 355
          },
          {
            "file": "REFERENCE.md",
            "line_start": 363,
            "line_end": 363
          },
          {
            "file": "REFERENCE.md",
            "line_start": 379,
            "line_end": 379
          },
          {
            "file": "REFERENCE.md",
            "line_start": 396,
            "line_end": 396
          },
          {
            "file": "REFERENCE.md",
            "line_start": 397,
            "line_end": 397
          },
          {
            "file": "REFERENCE.md",
            "line_start": 400,
            "line_end": 400
          },
          {
            "file": "REFERENCE.md",
            "line_start": 403,
            "line_end": 403
          },
          {
            "file": "REFERENCE.md",
            "line_start": 235,
            "line_end": 235
          },
          {
            "file": "REFERENCE.md",
            "line_start": 238,
            "line_end": 238
          },
          {
            "file": "REFERENCE.md",
            "line_start": 241,
            "line_end": 241
          },
          {
            "file": "REFERENCE.md",
            "line_start": 247,
            "line_end": 247
          },
          {
            "file": "REFERENCE.md",
            "line_start": 250,
            "line_end": 250
          },
          {
            "file": "REFERENCE.md",
            "line_start": 258,
            "line_end": 258
          },
          {
            "file": "REFERENCE.md",
            "line_start": 262,
            "line_end": 262
          },
          {
            "file": "REFERENCE.md",
            "line_start": 266,
            "line_end": 266
          },
          {
            "file": "REFERENCE.md",
            "line_start": 270,
            "line_end": 270
          },
          {
            "file": "REFERENCE.md",
            "line_start": 274,
            "line_end": 274
          },
          {
            "file": "REFERENCE.md",
            "line_start": 277,
            "line_end": 277
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 21,
            "line_end": 21
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 27,
            "line_end": 27
          },
          {
            "file": "scripts/get_branch_diff.sh",
            "line_start": 30,
            "line_end": 30
          },
          {
            "file": "scripts/get_commit_history.sh",
            "line_start": 17,
            "line_end": 17
          },
          {
            "file": "scripts/get_commit_history.sh",
            "line_start": 26,
            "line_end": 26
          },
          {
            "file": "scripts/get_commit_history.sh",
            "line_start": 27,
            "line_end": 27
          },
          {
            "file": "SKILL.md",
            "line_start": 175,
            "line_end": 175
          },
          {
            "file": "SKILL.md",
            "line_start": 181,
            "line_end": 181
          }
        ]
      }
    ],
    "static_findings": [
      {
        "id": "external_commands:REFERENCE.md:50:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 50,
        "line_end": 50,
        "snippet": "MERGE_BASE=$(git merge-base origin/main HEAD)"
      },
      {
        "id": "external_commands:REFERENCE.md:169:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 169,
        "line_end": 169,
        "snippet": "git cherry -v origin/$(git branch --show-current)"
      },
      {
        "id": "external_commands:REFERENCE.md:179:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 179,
        "line_end": 179,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
      },
      {
        "id": "external_commands:REFERENCE.md:180:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 180,
        "line_end": 180,
        "snippet": "CURRENT_BRANCH=$(git branch --show-current)"
      },
      {
        "id": "external_commands:REFERENCE.md:181:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 181,
        "line_end": 181,
        "snippet": "MERGE_BASE=$(git merge-base origin/$DEFAULT_BRANCH HEAD)"
      },
      {
        "id": "external_commands:REFERENCE.md:195:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 195,
        "line_end": 195,
        "snippet": "COMMIT_COUNT=$(git log --oneline $MERGE_BASE..HEAD | wc -l | tr -d ' ')"
      },
      {
        "id": "external_commands:REFERENCE.md:212:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 212,
        "line_end": 212,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
      },
      {
        "id": "external_commands:REFERENCE.md:213:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 213,
        "line_end": 213,
        "snippet": "MERGE_BASE=$(git merge-base origin/$DEFAULT_BRANCH HEAD)"
      },
      {
        "id": "external_commands:REFERENCE.md:219:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 219,
        "line_end": 219,
        "snippet": "\"current_branch\": \"$(git branch --show-current)\","
      },
      {
        "id": "external_commands:REFERENCE.md:221:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 221,
        "line_end": 221,
        "snippet": "\"commits\": $(git log --oneline $MERGE_BASE..HEAD | wc -l | tr -d ' '),"
      },
      {
        "id": "external_commands:REFERENCE.md:222:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 222,
        "line_end": 222,
        "snippet": "\"files_changed\": $(git diff --name-only $MERGE_BASE..HEAD | wc -l | tr -d ' '),"
      },
      {
        "id": "external_commands:REFERENCE.md:223:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 223,
        "line_end": 223,
        "snippet": "\"insertions\": $(git diff --shortstat $MERGE_BASE..HEAD | grep -oE '[0-9]+ insertion' | grep -oE '[0-"
      },
      {
        "id": "external_commands:REFERENCE.md:224:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 224,
        "line_end": 224,
        "snippet": "\"deletions\": $(git diff --shortstat $MERGE_BASE..HEAD | grep -oE '[0-9]+ deletion' | grep -oE '[0-9]"
      },
      {
        "id": "external_commands:REFERENCE.md:244:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 244,
        "line_end": 244,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
      },
      {
        "id": "external_commands:REFERENCE.md:245:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 245,
        "line_end": 245,
        "snippet": "MERGE_BASE=$(git merge-base origin/$DEFAULT_BRANCH HEAD)"
      },
      {
        "id": "external_commands:REFERENCE.md:285:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 285,
        "line_end": 285,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
      },
      {
        "id": "external_commands:REFERENCE.md:286:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 286,
        "line_end": 286,
        "snippet": "MERGE_BASE=$(git merge-base origin/$DEFAULT_BRANCH HEAD)"
      },
      {
        "id": "external_commands:REFERENCE.md:346:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 346,
        "line_end": 346,
        "snippet": "MERGE_BASE=$(cat .git/cached_merge_base)"
      },
      {
        "id": "external_commands:REFERENCE.md:371:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 371,
        "line_end": 371,
        "snippet": "MERGE_BASE=$(git merge-base origin/main HEAD)"
      },
      {
        "id": "external_commands:REFERENCE.md:372:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 372,
        "line_end": 372,
        "snippet": "if [ -z \"$(git log --oneline $MERGE_BASE..HEAD)\" ]; then"
      },
      {
        "id": "external_commands:REFERENCE.md:400:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 400,
        "line_end": 400,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin"
      },
      {
        "id": "external_commands:REFERENCE.md:403:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 403,
        "line_end": 403,
        "snippet": "MERGE_BASE=$(git merge-base origin/\"$DEFAULT_BRANCH\" HEAD 2>/dev/null) || \\"
      },
      {
        "id": "external_commands:REFERENCE.md:414:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 414,
        "line_end": 414,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
      },
      {
        "id": "external_commands:REFERENCE.md:415:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "REFERENCE.md",
        "line_start": 415,
        "line_end": 415,
        "snippet": "MERGE_BASE=$(git merge-base origin/$DEFAULT_BRANCH HEAD)"
      },
      {
        "id": "filesystem:REFERENCE.md:355:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 355,
        "line_end": 355,
        "snippet": "if ! git rev-parse --git-dir > /dev/null 2>&1; then"
      },
      {
        "id": "filesystem:REFERENCE.md:363:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 363,
        "line_end": 363,
        "snippet": "if ! git ls-remote origin > /dev/null 2>&1; then"
      },
      {
        "id": "filesystem:REFERENCE.md:379:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 379,
        "line_end": 379,
        "snippet": "if ! git symbolic-ref HEAD > /dev/null 2>&1; then"
      },
      {
        "id": "filesystem:REFERENCE.md:396:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 396,
        "line_end": 396,
        "snippet": "git rev-parse --git-dir > /dev/null 2>&1 || error_exit \"Not in a git repository\""
      },
      {
        "id": "filesystem:REFERENCE.md:397:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 397,
        "line_end": 397,
        "snippet": "git ls-remote origin > /dev/null 2>&1 || error_exit \"Remote 'origin' not found\""
      },
      {
        "id": "filesystem:REFERENCE.md:400:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 400,
        "line_end": 400,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin"
      },
      {
        "id": "filesystem:REFERENCE.md:403:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "REFERENCE.md",
        "line_start": 403,
        "line_end": 403,
        "snippet": "MERGE_BASE=$(git merge-base origin/\"$DEFAULT_BRANCH\" HEAD 2>/dev/null) || \\"
      },
      {
        "id": "filesystem:REFERENCE.md:235:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 235,
        "line_end": 235,
        "snippet": "git status > /tmp/git_status.txt 2>&1 &"
      },
      {
        "id": "filesystem:REFERENCE.md:238:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 238,
        "line_end": 238,
        "snippet": "git diff --cached > /tmp/git_diff_staged.txt 2>&1 &"
      },
      {
        "id": "filesystem:REFERENCE.md:241:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 241,
        "line_end": 241,
        "snippet": "git diff > /tmp/git_diff_unstaged.txt 2>&1 &"
      },
      {
        "id": "filesystem:REFERENCE.md:247:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 247,
        "line_end": 247,
        "snippet": "git log --oneline $MERGE_BASE..HEAD > /tmp/git_commits.txt 2>&1 &"
      },
      {
        "id": "filesystem:REFERENCE.md:250:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 250,
        "line_end": 250,
        "snippet": "git diff --stat $MERGE_BASE..HEAD > /tmp/git_stats.txt 2>&1 &"
      },
      {
        "id": "filesystem:REFERENCE.md:258:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 258,
        "line_end": 258,
        "snippet": "cat /tmp/git_status.txt"
      },
      {
        "id": "filesystem:REFERENCE.md:262:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 262,
        "line_end": 262,
        "snippet": "cat /tmp/git_diff_staged.txt"
      },
      {
        "id": "filesystem:REFERENCE.md:266:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 266,
        "line_end": 266,
        "snippet": "cat /tmp/git_diff_unstaged.txt"
      },
      {
        "id": "filesystem:REFERENCE.md:270:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 270,
        "line_end": 270,
        "snippet": "cat /tmp/git_commits.txt"
      },
      {
        "id": "filesystem:REFERENCE.md:274:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 274,
        "line_end": 274,
        "snippet": "cat /tmp/git_stats.txt"
      },
      {
        "id": "filesystem:REFERENCE.md:277:temp-directory-access",
        "category": "filesystem",
        "severity": "medium",
        "pattern": "Temp directory access",
        "file": "REFERENCE.md",
        "line_start": 277,
        "line_end": 277,
        "snippet": "rm -f /tmp/git_*.txt"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:27:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 27,
        "line_end": 27,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:30:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 30,
        "line_end": 30,
        "snippet": "MERGE_BASE=$(git merge-base origin/\"$DEFAULT_BRANCH\" HEAD 2>/dev/null || echo \"\")"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:38:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 38,
        "line_end": 38,
        "snippet": "COMMIT_COUNT=$(git log --oneline \"$MERGE_BASE\"..HEAD | wc -l | tr -d ' ')"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:41:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 41,
        "line_end": 41,
        "snippet": "STATS=$(git diff --shortstat \"$MERGE_BASE\"..HEAD)"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:45:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 45,
        "line_end": 45,
        "snippet": "CHANGED_FILES=$(echo \"$STATS\" | grep -oE '[0-9]+ file' | grep -oE '[0-9]+' || echo \"0\")"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:46:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 46,
        "line_end": 46,
        "snippet": "INSERTIONS=$(echo \"$STATS\" | grep -oE '[0-9]+ insertion' | grep -oE '[0-9]+' || echo \"0\")"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:47:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 47,
        "line_end": 47,
        "snippet": "DELETIONS=$(echo \"$STATS\" | grep -oE '[0-9]+ deletion' | grep -oE '[0-9]+' || echo \"0\")"
      },
      {
        "id": "filesystem:scripts/get_branch_diff.sh:21:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 21,
        "line_end": 21,
        "snippet": "if ! git rev-parse --git-dir > /dev/null 2>&1; then"
      },
      {
        "id": "filesystem:scripts/get_branch_diff.sh:27:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 27,
        "line_end": 27,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin"
      },
      {
        "id": "filesystem:scripts/get_branch_diff.sh:30:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/get_branch_diff.sh",
        "line_start": 30,
        "line_end": 30,
        "snippet": "MERGE_BASE=$(git merge-base origin/\"$DEFAULT_BRANCH\" HEAD 2>/dev/null || echo \"\")"
      },
      {
        "id": "external_commands:scripts/get_commit_history.sh:26:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_commit_history.sh",
        "line_start": 26,
        "line_end": 26,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin"
      },
      {
        "id": "external_commands:scripts/get_commit_history.sh:27:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "scripts/get_commit_history.sh",
        "line_start": 27,
        "line_end": 27,
        "snippet": "MERGE_BASE=$(git merge-base origin/\"$DEFAULT_BRANCH\" HEAD 2>/dev/null || echo \"\")"
      },
      {
        "id": "filesystem:scripts/get_commit_history.sh:17:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/get_commit_history.sh",
        "line_start": 17,
        "line_end": 17,
        "snippet": "if ! git rev-parse --git-dir > /dev/null 2>&1; then"
      },
      {
        "id": "filesystem:scripts/get_commit_history.sh:26:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/get_commit_history.sh",
        "line_start": 26,
        "line_end": 26,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin"
      },
      {
        "id": "filesystem:scripts/get_commit_history.sh:27:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "scripts/get_commit_history.sh",
        "line_start": 27,
        "line_end": 27,
        "snippet": "MERGE_BASE=$(git merge-base origin/\"$DEFAULT_BRANCH\" HEAD 2>/dev/null || echo \"\")"
      },
      {
        "id": "external_commands:SKILL.md:31:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 31,
        "line_end": 31,
        "snippet": "Get the repository's default branch (usually `main` or `master`):"
      },
      {
        "id": "external_commands:SKILL.md:33:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 33,
        "line_end": 35,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:35:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 35,
        "line_end": 43,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:43:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 43,
        "line_end": 46,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:46:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 46,
        "line_end": 54,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:54:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 54,
        "line_end": 66,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:66:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 66,
        "line_end": 72,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:72:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 72,
        "line_end": 81,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:81:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 81,
        "line_end": 96,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:96:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 96,
        "line_end": 98,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:98:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 98,
        "line_end": 101,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 101,
        "line_end": 106,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:106:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 106,
        "line_end": 113,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:113:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 113,
        "line_end": 115,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:115:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 115,
        "line_end": 118,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:118:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 118,
        "line_end": 120,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:120:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 120,
        "line_end": 133,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 133,
        "line_end": 143,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 143,
        "line_end": 147,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:147:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 147,
        "line_end": 151,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:151:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 151,
        "line_end": 155,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:155:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 155,
        "line_end": 160,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:160:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 160,
        "line_end": 165,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:165:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 165,
        "line_end": 173,
        "snippet": "- `github-pr-best-practices`: Use git analysis results to generate PR content"
      },
      {
        "id": "external_commands:SKILL.md:173:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 173,
        "line_end": 190,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:190:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 190,
        "line_end": 202,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:202:ruby-shell-backtick-execution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Ruby/shell backtick execution",
        "file": "SKILL.md",
        "line_start": 202,
        "line_end": 219,
        "snippet": "```"
      },
      {
        "id": "external_commands:SKILL.md:138:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 138,
        "line_end": 138,
        "snippet": "DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remotes/origin/@@')"
      },
      {
        "id": "external_commands:SKILL.md:139:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 139,
        "line_end": 139,
        "snippet": "MERGE_BASE=$(git merge-base origin/$DEFAULT_BRANCH HEAD)"
      },
      {
        "id": "external_commands:SKILL.md:149:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 149,
        "line_end": 149,
        "snippet": "MERGE_BASE=$(git merge-base origin/$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remote"
      },
      {
        "id": "external_commands:SKILL.md:157:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 157,
        "line_end": 157,
        "snippet": "MERGE_BASE=$(git merge-base origin/$(git symbolic-ref refs/remotes/origin/HEAD | sed 's@^refs/remote"
      },
      {
        "id": "external_commands:SKILL.md:158:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 158,
        "line_end": 158,
        "snippet": "echo \"Commits: $(git log --oneline $MERGE_BASE..HEAD | wc -l)\""
      },
      {
        "id": "external_commands:SKILL.md:159:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 159,
        "line_end": 159,
        "snippet": "echo \"Files changed: $(git diff --stat $MERGE_BASE..HEAD | tail -1)\""
      },
      {
        "id": "external_commands:SKILL.md:187:shell-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Shell command substitution",
        "file": "SKILL.md",
        "line_start": 187,
        "line_end": 187,
        "snippet": "if [ -z \"$(git log --oneline $MERGE_BASE..HEAD)\" ]; then"
      },
      {
        "id": "external_commands:SKILL.md:133:template-literal-with-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Template literal with command substitution",
        "file": "SKILL.md",
        "line_start": 133,
        "line_end": 143,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:147:template-literal-with-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Template literal with command substitution",
        "file": "SKILL.md",
        "line_start": 147,
        "line_end": 151,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:155:template-literal-with-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Template literal with command substitution",
        "file": "SKILL.md",
        "line_start": 155,
        "line_end": 160,
        "snippet": "```bash"
      },
      {
        "id": "external_commands:SKILL.md:173:template-literal-with-command-substitution",
        "category": "external_commands",
        "severity": "medium",
        "pattern": "Template literal with command substitution",
        "file": "SKILL.md",
        "line_start": 173,
        "line_end": 190,
        "snippet": "```bash"
      },
      {
        "id": "filesystem:SKILL.md:175:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "SKILL.md",
        "line_start": 175,
        "line_end": 175,
        "snippet": "if ! git rev-parse --git-dir > /dev/null 2>&1; then"
      },
      {
        "id": "filesystem:SKILL.md:181:standard-device-file-access",
        "category": "filesystem",
        "severity": "low",
        "pattern": "Standard device file access",
        "file": "SKILL.md",
        "line_start": 181,
        "line_end": 181,
        "snippet": "if ! git ls-remote origin > /dev/null 2>&1; then"
      }
    ],
    "finding_verdicts": [
      {
        "id": "external_commands:REFERENCE.md:50:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:169:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:179:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:180:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:181:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:195:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:212:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:213:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:219:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:221:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:222:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:223:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:224:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:244:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:245:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:285:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:286:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:346:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:371:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:372:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:400:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:403:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:414:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "external_commands:REFERENCE.md:415:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.84,
        "reason": "This reference example uses git command substitution to compute branch, merge-base, or diff metadata. It is expected local git analysis and shows no unauthorized network call or arbitrary command construction."
      },
      {
        "id": "filesystem:REFERENCE.md:355:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:363:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:379:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:396:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:397:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:400:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:403:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:REFERENCE.md:235:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:238:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:241:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:247:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:250:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:258:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:262:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:266:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:270:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:274:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "filesystem:REFERENCE.md:277:temp-directory-access",
        "verdict": "confirmed",
        "confidence": 0.82,
        "reason": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems.",
        "severity": "medium"
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:27:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:30:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:38:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:41:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:45:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:46:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_branch_diff.sh:47:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "filesystem:scripts/get_branch_diff.sh:21:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:scripts/get_branch_diff.sh:27:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:scripts/get_branch_diff.sh:30:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "external_commands:scripts/get_commit_history.sh:26:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "external_commands:scripts/get_commit_history.sh:27:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.88,
        "reason": "The helper script runs fixed git, sed, grep, wc, and tr commands for local repository analysis. Variables are quoted where they are reused, and no arbitrary user-supplied command is evaluated."
      },
      {
        "id": "filesystem:scripts/get_commit_history.sh:17:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:scripts/get_commit_history.sh:26:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:scripts/get_commit_history.sh:27:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "external_commands:SKILL.md:31:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:33:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:35:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:43:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:46:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:54:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:66:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:72:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:81:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:96:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:98:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:101:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:106:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:113:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:115:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:118:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:120:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:133:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:143:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:147:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:151:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:155:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:160:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:165:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:173:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:190:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:202:ruby-shell-backtick-execution",
        "verdict": "false_positive",
        "confidence": 0.91,
        "reason": "The match comes from Markdown inline code or fenced shell examples, not Ruby backtick execution. The examples document normal git-analysis commands rather than hidden code execution."
      },
      {
        "id": "external_commands:SKILL.md:138:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:139:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:149:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:157:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:158:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:159:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:187:shell-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:133:template-literal-with-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:147:template-literal-with-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:155:template-literal-with-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "external_commands:SKILL.md:173:template-literal-with-command-substitution",
        "verdict": "false_positive",
        "confidence": 0.86,
        "reason": "This is a documented shell example for gathering git metadata from the current repository. The command substitution captures git output and does not execute untrusted dynamic code."
      },
      {
        "id": "filesystem:SKILL.md:175:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      },
      {
        "id": "filesystem:SKILL.md:181:standard-device-file-access",
        "verdict": "false_positive",
        "confidence": 0.93,
        "reason": "This redirects git command output to /dev/null for error checking. It does not read sensitive files, write persistent data, or create a filesystem attack path."
      }
    ],
    "semantic_findings": [],
    "critical_findings": [],
    "high_findings": [],
    "medium_findings": [
      {
        "title": "Temp directory access",
        "description": "git status > /tmp/git_status.txt 2>&1 &",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 235,
            "line_end": 235
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "git diff --cached > /tmp/git_diff_staged.txt 2>&1 &",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 238,
            "line_end": 238
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "git diff > /tmp/git_diff_unstaged.txt 2>&1 &",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 241,
            "line_end": 241
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "git log --oneline $MERGE_BASE..HEAD > /tmp/git_commits.txt 2>&1 &",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 247,
            "line_end": 247
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "git diff --stat $MERGE_BASE..HEAD > /tmp/git_stats.txt 2>&1 &",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 250,
            "line_end": 250
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "cat /tmp/git_status.txt",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 258,
            "line_end": 258
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "cat /tmp/git_diff_staged.txt",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 262,
            "line_end": 262
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "cat /tmp/git_diff_unstaged.txt",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 266,
            "line_end": 266
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "cat /tmp/git_commits.txt",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 270,
            "line_end": 270
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "cat /tmp/git_stats.txt",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 274,
            "line_end": 274
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      },
      {
        "title": "Temp directory access",
        "description": "rm -f /tmp/git_*.txt",
        "locations": [
          {
            "file": "REFERENCE.md",
            "line_start": 277,
            "line_end": 277
          }
        ],
        "review_kind": "capability",
        "source_category": "filesystem",
        "source_severity": "medium",
        "confidence": 0.82,
        "confidence_reasoning": "The reference workflow uses predictable /tmp/git_*.txt paths for repository status and diff data. If copied, this can expose sensitive local changes or allow local temp-file tampering on shared systems."
      }
    ],
    "low_findings": [],
    "dangerous_patterns": [],
    "files_scanned": 4,
    "total_lines": 776,
    "audit_model": "codex",
    "audited_at": "2026-07-09T14:15:51.616Z",
    "agent_auto_install_policy": "allowed",
    "manual_install_policy": "allowed"
  },
  "content": {
    "user_title": "Analyze Git Changes",
    "value_statement": "Reviewing branch changes can be slow when commits, diffs, and status are scattered. This skill gathers Git context for PRs, reviews, and commit planning.",
    "seo_keywords": [
      "Claude",
      "Codex",
      "Claude Code",
      "git analysis",
      "branch comparison",
      "commit history",
      "pull request preparation",
      "code review",
      "git diff summary",
      "developer workflow"
    ],
    "actual_capabilities": [
      "Detects the default branch and merge base for branch comparisons.",
      "Summarizes commits from the merge base to HEAD.",
      "Reports changed files, insertions, deletions, and diff statistics.",
      "Checks staged, unstaged, and untracked working tree changes.",
      "Provides helper scripts for branch summaries and commit history.",
      "Recommends output formats for PR and review workflows."
    ],
    "limitations": [
      "Requires a local Git repository and the git command-line tool.",
      "Some workflows assume a remote named origin and a default branch reference.",
      "Outputs may include sensitive branch names, file paths, commits, or diff details.",
      "Does not authenticate to hosting services or create pull requests directly."
    ],
    "use_cases": [
      {
        "title": "Prepare a Pull Request",
        "description": "Summarize commits, changed files, and diff statistics before drafting a pull request.",
        "target_user": "Developer"
      },
      {
        "title": "Review Feature Branches",
        "description": "Compare a branch against its merge base to focus review effort.",
        "target_user": "Code reviewer"
      },
      {
        "title": "Audit Release Changes",
        "description": "List commit history and file impact for release notes or team handoff.",
        "target_user": "Release manager"
      }
    ],
    "prompt_templates": [
      {
        "title": "Summarize My Branch",
        "prompt": "Use git-analysis to summarize the current branch against the default branch. Include commit count, changed files, and main risks.",
        "scenario": "Beginner branch overview"
      },
      {
        "title": "Prepare PR Context",
        "prompt": "Analyze this repository for a pull request. Group changes by area and list commits that need mention.",
        "scenario": "Pull request preparation"
      },
      {
        "title": "Review Commit History",
        "prompt": "Use git-analysis to inspect commits from the merge base to HEAD. Highlight unclear commits and review focus areas.",
        "scenario": "Commit review"
      },
      {
        "title": "Classify Branch Changes",
        "prompt": "Perform a deep branch analysis. Classify changes by file type, connect commits to touched areas, and identify follow-up questions.",
        "scenario": "Advanced review planning"
      }
    ],
    "output_examples": [
      {
        "input": "Analyze the current feature branch before a pull request.",
        "output": "Branch summary with base branch, merge base, commit count, changed files, and notable diffs."
      },
      {
        "input": "Review the commit history since divergence.",
        "output": [
          "A concise commit timeline.",
          "Potentially noisy or unclear commits.",
          "Suggested pull request narrative."
        ]
      },
      {
        "input": "Compare staged and unstaged changes before committing.",
        "output": "A working tree summary that separates staged changes, unstaged changes, and untracked files."
      }
    ],
    "best_practices": [
      "Run from the repository root or clearly state the target repository path.",
      "Review generated diffs before sharing because they may contain secrets.",
      "Verify the detected default branch when repositories use nonstandard branch names."
    ],
    "anti_patterns": [
      "Do not run full diff analysis on repositories that contain secrets you cannot expose.",
      "Do not assume origin/main when the repository reports a different default branch.",
      "Do not use predictable temporary files from reference examples on shared systems."
    ],
    "faq": [
      {
        "question": "Does this skill change my repository?",
        "answer": "The helper scripts read Git metadata and do not commit changes. Some reference examples write temporary files if copied directly."
      },
      {
        "question": "Does it need network access?",
        "answer": "Most analysis is local. Checks that query origin may contact the configured remote."
      },
      {
        "question": "Can it create a pull request?",
        "answer": "No. It prepares context that another workflow or user can use to draft a pull request."
      },
      {
        "question": "Does it work with Codex and Claude Code?",
        "answer": "Yes. The report lists Claude, Codex, and Claude Code as supported tools."
      },
      {
        "question": "What data can appear in outputs?",
        "answer": "Commit subjects, author metadata, branch names, file paths, and diff summaries can appear."
      },
      {
        "question": "How should I handle sensitive repositories?",
        "answer": "Limit output scope, avoid full diffs, and review results before sharing outside the repository team."
      }
    ]
  },
  "file_structure": [
    {
      "name": "scripts",
      "type": "dir",
      "path": "scripts",
      "children": [
        {
          "name": "get_branch_diff.sh",
          "type": "file",
          "path": "scripts/get_branch_diff.sh",
          "lines": 61
        },
        {
          "name": "get_commit_history.sh",
          "type": "file",
          "path": "scripts/get_commit_history.sh",
          "lines": 38
        }
      ]
    },
    {
      "name": "REFERENCE.md",
      "type": "file",
      "path": "REFERENCE.md",
      "lines": 453
    },
    {
      "name": "SKILL.md",
      "type": "file",
      "path": "SKILL.md",
      "lines": 224
    }
  ]
}
receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementationStars: 322kUpdated Claude CodeCodexVerifiedInstall
requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirementsStars: 322kUpdated Claude CodeCodexVerifiedInstall
using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallbackStars: 322kUpdated Claude CodeCodexVerifiedInstall
verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions alwaysStars: 322kUpdated Claude CodeCodexVerifiedInstall