preflight

Loads crosslink project rules, language rules, and tracking context before implementation sessions.

1.4k|335|Updated Jun 10, 2014
One-click install
npx skills add https://github.com/openwpm/OpenWPM --skill preflight-openwpm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preflight
Source: https://github.com/openwpm/OpenWPM/tree/main/.claude/skills/preflight
Command: npx skills add https://github.com/openwpm/OpenWPM --skill preflight-openwpm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Starting a coding session without the project's rules and constraints leads to inconsistent implementations and repeated context re-injection. This Skill loads all relevant crosslink rules and grounding context in one pass before you write any code. ## Core Features & Use Cases - Rule Loading: Reads .crosslink/rules/global.md, project-specific rules, and the active tracking mode rules (e.g., tracking-strict.md). - Language Detection: Detects project manifests (Cargo.toml, package.json, pyproject.toml, go.mod, and more) and loads only the matching language rule files. - Project Grounding: Scans the project tree and reads dependency manifests so dependency versions are grounded in reality, not guessed. - Use Case: Before implementing a new feature in a Rust and TypeScript monorepo, run preflight to load global rules, Rust and TypeScript rules, the strict tracking mode, and a summary of the project structure. ## Quick Start Say "preflight" or "load the rules" before starting a fresh implementation session to ground the assistant in the project's rules and dependencies.

Frequently Asked Questions about preflight

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I load project rules before starting a coding session?

Run the preflight skill by saying "preflight" or "load the rules". It reads the global rules, detects language manifests, loads matching language rules, and prints a summary of everything loaded.

How does preflight detect which language rules to load?

It checks for manifest files in the project: Cargo.toml for Rust, package.json for JavaScript, tsconfig.json for TypeScript, pyproject.toml or requirements.txt for Python, go.mod for Go, and similar files for Java, Ruby, PHP, Swift, and Elixir. Only rules for detected languages are read.

What is the tracking mode in crosslink projects?

The tracking mode is read from the crosslink configuration via `crosslink config get tracking_mode`. Preflight then loads the matching rules file, such as `.crosslink/rules/tracking-strict.md`, so the correct tracking constraints apply.

When should I run preflight during a project?

Run it before starting a fresh implementation session or whenever you say "ground yourself". It replaces the heavy rule context that would otherwise be re-injected on every prompt.

Does preflight work if my project has no crosslink rules directory?

No. Preflight expects a `.crosslink/rules/` directory containing global.md, project.md, language rule files, and tracking mode files. Projects without crosslink set up will not have these files to load.