agentleFS
me2reshme2resh/apexyard/.claude/skills/preflight/SKILL.md

preflight

Skill542 starsChanged 11 days agoMITView on GitHub

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

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 39 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

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

    line 11
  2. Distinctive:

    Read the complete output even when the exit code is nonzero.

    line 17
  3. Very specific:

    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 …

    line 28

“Common” is measured: kept by at least 6 in 10 of the 39 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 .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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.