preflight

Solid

Pre-commit quality gate that catches 'almost right' code. Use when about to commit — auto-fires before commit to validate logic correctness, error handling, regressions, and completeness. Goes beyond linting.

Code & Development 81 stars 23 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
64
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# preflight ## Purpose <HARD-GATE> Preflight verdict of BLOCK stops the pipeline. The calling skill (cook, deploy, launch) MUST halt until all BLOCK findings are resolved and preflight re-runs clean. </HARD-GATE> Pre-commit quality gate that catches "almost right" code — the kind that compiles and passes linting but has logic errors, missing error handling, or incomplete implementations. Goes beyond static analysis to check data flow, edge cases, async correctness, and regression impact. The last defense before code enters the repository. ## Triggers - Called automatically by `cook` before commit phase - Called by `fix` after applying fixes (verify fix quality) - `/rune preflight` — manual quality check - Auto-trigger: when staged changes exceed 100 LOC ## Calls (outbound) - `scout` (L2): find code affected by changes (dependency tracing) - `sentinel` (L2): security sub-check on changed files - `hallucination-guard` (L3): verify imports and API references exist - `test` (L2): run test suite as pre-commit check ## Called By (inbound) - `cook` (L1): before commit phase — mandatory gate ## Check Categories ``` LOGIC — data flow errors, edge case misses, async bugs ERROR — missing try/catch, bare catches, unhelpful error messages REGRESSION — untested impact zones, breaking changes to public API COMPLETE — missing validation, missing loading states, missing tests SECURITY — delegated to sentinel IMPORTS — delegated to hallucination-guard ``` ## ...

Details

Author
Rune-kit
Repository
Rune-kit/rune
Created
5 months ago
Last Updated
3 days ago
Language
JavaScript
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

preflight

Runs a rigorous multi-dimensional quality audit of a plan, requirements, or any artifact, grounded in the actual codebase. Use for "preflight", "quality audit", "review gate", "audit this plan", "audit these requirements", or "review my plan/requirements before I build it". An adversarial review gate that hunts for every ambiguity, contradiction, gap, and risk, verifies every claim against the real code, scores findings on a 13-dimension scan, and presents each one with options and a recommendation for the user to decide — it never fixes silently. Takes an artifact target (e.g. requirements, requirements RD-03, <feature-name>, <feature-name> 03-api-design, or a file/dir path) plus optional --continue to resume an interrupted session.

4 Updated yesterday
blendsdk
AI & Automation Solid

preflight-validator

On-demand wrapper over scripts/preflight/run-all.sh. Runs Tier 1 bash linters against a file, command, or arbitrary content. Returns 0 pass / 1 warn / 2 fail. Used by /aura-frog:preflight check and contributors authoring custom hooks.

24 Updated 1 weeks ago
nguyenthienthanh
AI & Automation Listed

memory-pre-flight

Use BEFORE any code edit, plan, or architectural decision. Defines the Two-Tier Pre-Flight Protocol (Topic Pre-Flight at workflow start; File Pre-Flight at each Edit). Agents preload this skill when they may modify code or propose changes — it tells them how to read the .devt/state/preflight-brief.md, when to escalate to a 5-lane File Pre-Flight, and how to scratchpad-summarize their findings before touching files. The PreToolUse pre-flight-guard hook checks the scratchpad — missing summaries warn or block the edit.

0 Updated today
emrecdr