recovering-from-bad-git-state
Git State Recovery Specialist
Use this skill when encountering corrupted git state, orphaned worktrees, or inconsistent branch references that prevent normal git operations.
When to Use
Invoke proactively when you observe:
git worktree listshowing00000000commit hashesgit branch --show-currentcontradicting actual HEAD state- Worktree operations failing with "already used by worktree" errors
- HEAD pointing to non-existent branch refs
- Branch deletion failing due to phantom worktree claims
git statusshowing "HEAD detached" unexpectedly
Core Diagnostic Sequence
1. State Validation
More from delorenj/skills
agno
Agno AI agent framework. Use for building multi-agent systems, AgentOS runtime, MCP server integration, and agentic AI development.
152fal-text-to-image
Generate, remix, and edit images using fal.ai's AI models. Supports text-to-image generation, image-to-image remixing, and targeted inpainting/editing.
136blog-writing
Use this skill whenever tasked with creating, editing or proofreading a blog article. This skill helps map specific patterns or structures to alternatives that are more fine-tuned to my writing style.
22tauri
Tauri framework for building cross-platform desktop and mobile apps. Use for desktop app development, native integrations, Rust backend, and web-based UIs.
20emergency-ulimit-mitigation
Emergency steps to mitigate ulimit-related crashes by increasing file descriptor limits and restarting services.
17zellij-plugin-dev
Develop Zellij plugins with Rust/WASM, API reference, event system, UI rendering, plugin lifecycle, and real-world examples from diverse open source plugins
14