preflight

Automate preflight checks for formatting, GN, presubmit, build, and tests.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/awfixers-stuff/browse --skill preflight-awfixers-stuff
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preflight
Source: https://github.com/awfixers-stuff/browse/tree/main/.claude/skills/preflight
Command: npx skills add https://github.com/awfixers-stuff/browse --skill preflight-awfixers-stuff

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Preflight checks automate validation of code changes, ensuring formatting, GN configuration, presubmit readiness, build success, and tests before submission.

Core Features & Use Cases

  • Sequential, automated checks that catch issues early and prevent bad changes from being submitted.
  • Supports format, gn_check, presubmit, build, and test steps with early exit on failure.
  • Use case: ensures a clean, review-ready change, accelerating code reviews and reducing back-and-forth.

Quick Start

Run the preflight workflow on your current branch to validate all checks before submission.

Frequently Asked Questions about preflight

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

FAQPage Schema
How do I run preflight checks to validate code changes before submission?

Preflight checks validate code changes by sequentially running formatting, GN checks, presubmit, build, and test steps to ensure your branch is ready for review. The automated workflow fails fast on errors to catch issues early before submission.

What is the best way to ensure my code is review-ready in a Brave-derived project?

To make code review-ready in Brave-derived projects, run automated preflight checks that enforce formatting, GN configuration, presubmit readiness, build success, and test targets. This prevents bad changes from being submitted and reduces review back-and-forth.

Does the preflight workflow run all tests or only relevant ones?

The preflight workflow selectively runs relevant tests based on your changes, but you can request all tests when needed. It enforces format, gn_check, presubmit, and build steps first, then runs tests to validate the complete change.

Can I use preflight checks to run formatting and GN checks together?

Yes, preflight checks run formatting and GN checks together as part of a sequential validation workflow. The process applies format, gn_check, presubmit, and build steps in order, exiting early if any step fails.

Why does my code fail preflight validation during the build step?

Preflight validation fails fast on errors during the build step when your code changes cannot compile successfully. The sequential checks enforce build success before running tests, ensuring bad changes are caught early and prevented from submission.

When do I need to run preflight checks on my current branch?

Run preflight checks on your current branch before submitting code for review. The automated validation ensures formatting, GN configuration, presubmit readiness, build success, and test passes, accelerating reviews and preventing bad changes from being submitted.