lfx-preflight

Official

Pre-PR validation to fix issues before you PR.

Authorlinuxfoundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Pre-Submission validation checks ensure code quality and compliance before you open a PR. Phase 1 automatically fixes formatting, license headers, and basic checks across repo types, while Phase 2 provides a targeted Angular code-review pass.

Core Features & Use Cases

  • Phase 1 Validation & Auto-Fix: license headers, formatting, lint, and build checks across all repo types.
  • Phase 2 Code Review (Angular): 15 report-only checks tailored for Angular repos.
  • Repo-Type Detection & Modes: Automatically detects repo type and supports default (both phases), --skip-review (Phase 1 only), and dry-run report-only modes.

Quick Start

Run preflight before submitting a PR to run Phase 1 validations and optionally skip Phase 2 with --skip-review.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lfx-preflight
Download link: https://github.com/linuxfoundation/lfx-skills/archive/main.zip#lfx-preflight

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.