Preflight — load rules and grounding context

SkillAI & models

Use BEFORE implementing code in a crosslink-tracked project — loads `.crosslink/rules/global.md`, the language rules for detected manifests, the project rules, and the active `tracking-<mode>.md`. Replaces the heavy context that would otherwise be re-injected on every prompt. Trigger when the user says "preflight", "load the rules", "ground yourself", or before starting a fresh implementation session.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Preflight — load rules and grounding context skill

What this skill tells your AI

The instructions your AI receives, as published by openwpm/openwpm in .claude/skills/preflight/SKILL.md and read by ahel’s review.

You are preparing to implement code. Load the project's rules and grounding context so you have the right constraints in mind. This replaces the heavy context that would otherwise be injected on every prompt.

1. Read core rules

Read the project's global rules file:

Read .crosslink/rules/global.md

2. Detect active languages and load rules

Check for project manifests and load the corresponding rule files:

ManifestLanguageRule file
Cargo.tomlRust.crosslink/rules/rust.md
package.jsonJavaScript.crosslink/rules/javascript.md
tsconfig.jsonTypeScript.crosslink/rules/typescript.md
pyproject.toml / requirements.txtPython.crosslink/rules/python.md
go.modGo.crosslink/rules/go.md
pom.xml / build.gradleJava.crosslink/rules/java.md
GemfileRuby.crosslink/rules/ruby.md
composer.jsonPHP.crosslink/rules/php.md
Package.swiftSwift.crosslink/rules/swift.md
mix.exsElixir.crosslink/rules/elixir.md

Also load .crosslink/rules/elixir-phoenix.md if mix.exs contains :phoenix.

Only read rule files for languages actually detected in this project.

3. Read project-specific and tracking rules

Read .crosslink/rules/project.md

Check the tracking mode from hook-config.json and read the matching tracking rules:

crosslink config get tracking_mode

Then read .crosslink/rules/tracking-<mode>.md (e.g., tracking-strict.md).

4. Scan project tree

Build spatial awareness of the project (max depth 3, max 50 entries):

find . -maxdepth 3 -not -path '*/.git/*' | head -50

5. Check dependency versions

Read the primary manifest file (e.g., Cargo.toml, package.json) to ground yourself on actual dependency versions. Do not guess versions.

6. Print summary

Print a brief summary of what was loaded:

Preflight loaded:
  - Global rules
  - Language rules: Rust, TypeScript
  - Tracking mode: strict
  - Project tree scanned (N entries)
  - Dependencies: Cargo.toml (N deps)

You are now grounded. Proceed with implementation.

Signals

GitHub stars
1k
Forks
335
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
preflight-openwpm
Source
github.com/openwpm/openwpm