Skip to content
Back to skills

Preflight

ASecurity

Check the local ApexYard environment before setup or when hooks fail.

  • 542 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
developmentbashgit

Works with

  • claude code
  • terminal

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add me2resh/apexyard --skill preflight --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Preflight?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Preflight
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/me2resh-preflight/badge)](https://www.skillsdirectory.com/skills/me2resh-preflight)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: preflight
description: Check the local ApexYard environment before setup or when hooks fail.
allowed-tools: Bash, Read
---

Writing: read docs/skills/shared/writing-rule.md before you write a durable artifact.

# /preflight

Run the shared read-only check from the ops fork root:

```bash
bash .claude/skills/preflight/preflight.sh
```

Read the complete output even when the exit code is nonzero. Summarize the
FAIL rows first, then WARN rows. Include the single fix printed for each
problem. Explain INFO rows when they help the user. Do not run any fix or
change files, configuration, hooks, or git state.

Exit codes: 0 = no WARN or FAIL, 1 = at least one WARN, 2 = at least one FAIL.
Checks that need jq report INFO with a skipped reason when jq is unavailable.
The report has no JSON mode. Dispatcher timing uses a trivial `:` payload,
with one-second resolution and the tracked timeout as a limit. A run at 80%
of the timeout reports WARN. This probe does not predict long-command timing.

If Claude Code hooks block this command, tell the user to run
`bash bin/apexyard doctor` in Git Bash or another Bash terminal outside Claude
Code. Both entry points run this same script. `/doctor` is a Claude Code
built-in command and does not run this check.

Files in this skill

  • SKILL.md1.2 KB
  • preflight.sh11.5 KB
  • tests/test_preflight.sh10.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.