Loading...
Loading...
Verify worktree plugin patches are intact after plugin updates. Checks compound-engineering and superpowers skills for Claude Code launch instructions.
npx skill4agent add skinnyandbald/fish-skills verify-worktree-pluginsgit-worktreeusing-git-worktrees| Component | What's Verified |
|---|---|
| compound-engineering SKILL.md | "Claude Code + Worktree Working Directory" section |
| compound-engineering worktree-manager.sh | "Open a NEW Claude Code instance" banner after create |
| superpowers SKILL.md | "Launch Claude Code" in step 5 report |
| PreCompact hook | |
bash ~/.claude/scripts/verify-worktree-plugins.shbash ~/.claude/scripts/verify-worktree-plugins.sh --patch--patch~/.claude/hooks/context-compression-hook.tsgetWorktreeContext()git rev-parse --git-dir/worktrees/<system-reminder>import { execSync } from "node:child_process";
function getWorktreeContext(): string | null {
// Check git-dir for "/worktrees/" to detect worktree
// Return formatted context string with branch, path, main repo
// Return null if not in a worktree
}
// In main(): call getWorktreeContext() and console.log if non-nullcdcd /path && claudecompound-engineeringsuperpowers