commit-preflight
CommunityBlock avoidable CI failures before push
Software Engineering#automation#github actions#dependency probing#ci preflight#workflow linting#staged files#repair scope
Authorasafelobotomy
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill prevents wasted time from GitHub Actions failures by inspecting the repo’s active workflows before you commit or push, then running the closest matching local checks to catch issues early.
Core Features & Use Cases
- Workflow discovery & gating: Reads
.github/workflows/*.ymland selects only workflows whosebranches,paths, and other filters match the candidate commit/push. - Local preflight planning: Converts workflow
run:steps and commonuses:actions into deterministic local commands, ordered from cheapest to most expensive. - Dependency probing and optional installs: Detects missing tools via command probing and asks you whether to install only the required ones.
- Scope-safe repairs: Auto-fixes only failures that can be repaired within the candidate file set; otherwise reports exact blockers and commands.
- Pass/block/residual-risk decision: Produces a clear summary of executed checks, skipped checks (and why), any auto-fixes, and whether the commit/push may proceed.
Quick Start
Ask the assistant to run commit preflight checks for your staged changes, and respond to any missing-tool prompts so it can verify the matching GitHub Actions gates locally.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: commit-preflight Download link: https://github.com/asafelobotomy/iCloud-Drive-Downloader/archive/main.zip#commit-preflight Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.