preflight

Run lint, format, TypeScript, and protected file checks on the current branch.

3.4k|728|Updated Jun 28, 2022
One-click install
npx skills add https://github.com/linuxfoundation/crowd.dev --skill preflight-linuxfoundation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preflight
Source: https://github.com/linuxfoundation/crowd.dev/tree/main/.claude/skills/preflight
Command: npx skills add https://github.com/linuxfoundation/crowd.dev --skill preflight-linuxfoundation

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pre-Submission validation closes gaps between development and review by catching issues before PR submission, saving time and reducing back-and-forth.

Core Features & Use Cases

  • Workspace-aware checks that scan only the touched code areas to speed up feedback.
  • Deterministic workflow with clear pass/fail signals and remediation steps.
  • Use Case: maintain code health across multi-repo changes and ensure project standards.

Quick Start

Run the preflight checks on your feature branch to validate readiness for PR submission.

Frequently Asked Questions about preflight

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

FAQPage Schema
How do I run pre-PR validations to catch lint and TypeScript errors before submission?

Run preflight checks on your feature branch to validate PR readiness. The suite scans touched workspaces for lint, format, and TypeScript issues, returning clear pass/fail signals and remediation steps to prevent faulty commits.

What is the best way to automate commit hygiene checks across a multi-repo pull request?

Automating commit hygiene involves applying strict protection rules across relevant workspaces. Preflight enforces these rules on the current branch, checking protected files and providing deterministic pass/fail signals compatible with CI workflows.

Does preflight work with my existing CI workflow to block faulty pull requests?

Yes, preflight integrates with CI workflows by providing deterministic pass/fail signals. It runs workspace-aware checks on touched code areas to catch issues before PR submission, reducing review back-and-forth with clear remediation steps.

How do preflight workspace-aware checks speed up pull request validation?

Workspace-aware preflight checks speed up validation by scanning only the touched code areas instead of the entire repository. This targeted approach catches lint, format, and TypeScript issues faster while maintaining project standards.

When should I not use preflight checks on my current git branch?

Avoid running preflight checks when your CI workflow cannot interpret pass/fail signals, or when your project lacks defined lint, format, and TypeScript configurations, as the suite relies on these to enforce strict commit hygiene and protection rules.

Can I use preflight to check protected files before submitting a pull request?

Yes, preflight can check protected files before PR submission. It applies strict protection rules across the current branch, identifying unauthorized modifications to protected files and presenting clear remediation steps to ensure compliance.