executing-plans-preflight

Installation
SKILL.md

Executing Plans Preflight

Semi-automatic git state gate. Detects issues, proposes fixes, executes on confirmation. Run this before any implementation work begins — it ensures git state is ready so you start from a clean, correct baseline.

Not in a git repo? Say Not a git repository — skipping preflight. and move on.

Checks

Run in order. Pass silently when nothing is wrong — only speak up when there is something to fix.

1. Branch Context

Detect default branch via origin/HEAD. Fallback: treat main/master as default if detection fails.

  • Detached HEAD → ask which branch to switch to (cannot infer).
Related skills

More from shihyuho/skills

Installs
42
Repository
shihyuho/skills
First Seen
Feb 23, 2026