git-worktree-status

Solid

Check status of background verification tasks running in a git worktree

AI & Automation 4,957 stars 661 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Git Worktree Status Check background verification tasks (type check, tests, build) launched by `/git-worktree`. **Core principle:** Non-blocking feedback on worktree health without interrupting development flow. **Part of:** [Worktree Lifecycle Suite](./git-worktree.md) | [`/git-worktree`](./git-worktree.md) | [`/git-worktree-remove`](./git-worktree-remove.md) | [`/git-worktree-clean`](./git-worktree-clean.md) ## Process 1. **Detect Current Worktree**: Verify we're inside a git worktree 2. **Check Log Files**: Read `.worktree-logs/` for background task results 3. **Parse Results**: Extract pass/fail counts, errors 4. **Report Status**: Color-coded summary with actionable next steps ## Worktree Detection ```bash # Check if inside a worktree (not main repo) git rev-parse --git-common-dir 2>/dev/null | grep -q "\.git/worktrees" || { echo "Not inside a worktree. Use from a worktree directory." exit 1 } # Get worktree info WORKTREE_PATH=$(git rev-parse --show-toplevel) BRANCH=$(git rev-parse --abbrev-ref HEAD) MAIN_REPO=$(git rev-parse --git-common-dir | sed 's|/\.git/worktrees/.*||') ``` ## Background Task Checks ### Type Check Status ```bash LOG=".worktree-logs/typecheck.log" if [ -f "$LOG" ]; then if grep -q "error TS" "$LOG"; then ERROR_COUNT=$(grep -c "error TS" "$LOG") echo "Type check: FAIL ($ERROR_COUNT errors)" # Show first 5 errors grep "error TS" "$LOG" | head -5 else echo "Type check: PASS" fi elif pgrep -f "tsc --noEmit" > /...

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
5 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category