skills/gitbobobo/skills/git-prefs/Gen Agent Trust Hub

git-prefs

Pass

Audited by Gen Agent Trust Hub on Oct 13, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/empty-worktree.mjs utilizes execFileSync to run Git commands such as git rev-parse, git symbolic-ref, and git worktree prune. These are used for repository metadata verification and are implemented using safe execution methods without shell spawning.
  • [COMMAND_EXECUTION]: The utility scripts/empty-worktree.mjs performs recursive file system deletions using rmSync to clear a Git worktree's contents. The script includes robust safety logic, specifically refusing to run if the current directory is the primary repository checkout or if the user is not at the worktree root, mitigating the risk of accidental data loss.
  • [DYNAMIC_EXECUTION]: The SKILL.md instructions require the agent to execute node scripts/check.mjs before committing changes in specific contexts (the gitbobobo/skills repository). This script is not provided in the skill bundle, meaning the agent will attempt to execute a local file whose contents are determined by the repository environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 13, 2026, 02:17 PM