Agent Preflight — Development skill for Claude Code
Run agent preflight safety checks before making any edits.
How to install Agent Preflight
Installs to ~/.claude/commands/effortlessmetrics-perl-lsp-agent-preflight.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/EffortlessMetrics/perl-lsp/HEAD/.claude/commands/agent-preflight.md -o ~/.claude/commands/effortlessmetrics-perl-lsp-agent-preflight.md Restart Claude Code, or start a new session, for it to be picked up.
What Agent Preflight does
description: Run agent preflight safety checks before making any edits
Agent Preflight
Run the agent preflight checks to verify this worktree is safe to edit.
Steps
Run the preflight script:
bash scripts/agent-preflight.sh
The script checks:
- Branch safety — Not on
masterormain. Not in detached HEAD state. Exit 1 if failed. - Worktree isolation — Running inside a git worktree, not the main checkout. Exit 2 if failed.
- No merge conflicts — No
Alternatives in Development
- Contributors — Thank you to everyone who has contributed to making planning-with-files better 16.8k ★
- Discipline — Toggle discipline mode — auto-invoke verification, brainstorming-before-coding, and review checks 2.8k ★
- Not Claude Code Emulator — ULTRA DANGEROUS CLAUDE CODE EMULATOR; MAKING THE API REQUEST IDENTICAL TO CLAUDE CODE 398 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Guard
Safety guardrails — blocks destructive commands (rm -rf, DROP TABLE, force-push) and optionally restricts edit
Webflow Template Preflight
Creator checklist and Claude skill for Webflow template preflight, with structural HTML checks and HTTP regres
Demo Doctor
Run preflight checks for the Dynatrace Agentic Guides demo environment.
App Preflight
Check repository, ticket, dependency, policy, and release context before work begins
Preflight
24-tool MCP server that catches vague prompts before they cost 2-3x in wrong→fix cycles. 12-category scorecard
Gsd Release Preflight
Run the release pre-flight against all four LIVE release scripts before cutting a release (OWN-02).
Related Agents
God Reviewer
Independent reviewer. Checks a change set against the plan for correctness, blast radius, safety, and fit in a
Fe Reviewer
4-axis frontend code review — type safety, performance, a11y, code quality. READ-ONLY, no direct edits. Delega
Coauthor
Writing-focused agent for co-authoring documents, papers, and prose. Diagnosis by default; always checks with