Prune merged feature worktrees, fast-forward the root checkout's base branch, run the project's post-sync command, and refresh the "Active worktrees" row in docs/diary.md. Invoke as `/worktree-cleanup` (or `/worktree-cleanup --dry-run` to preview). Conservative — never removes dirty or unmerged worktrees.
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
The canonical home for this skill is worktree-cleanup in agranado2k/google-books-clojure
The skill exposes the agent to untrusted, user-generated content from public third-party sources, creating a risk of indirect prompt injection. This includes browsing arbitrary URLs, reading social media posts or forum comments, and analyzing content from unknown websites.
The required runtime path runs `scripts/worktree-cleanup.sh`, which fetches merge state for branches from the forge CLI and fast-forwards the base branch, so the agent may ingest forge-side PR metadata and merged-commit text that outsiders can influence; the skill does not say whether that output is structured, so recall-first scoring applies low rather than no.
agranado2k/tic-tac-toe-with-agentic-sdlc
931d5f3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.