preflight

Audit changed Markdown and GitHub workflow files for markdownlint and zizmor violations, fix them in place, and commit.

5|9|Updated Dec 20, 2024
One-click install
npx skills add https://github.com/Netcracker/qubership-workflow-hub --skill preflight-netcracker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: preflight
Source: https://github.com/Netcracker/qubership-workflow-hub/tree/main/.claude/skills/preflight
Command: npx skills add https://github.com/Netcracker/qubership-workflow-hub --skill preflight-netcracker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Audit changed files for markdownlint and zizmor violations, fix them in-place, and commit the fixes. Mirrors the pre-flight step in /pull-request so you can run checks independently at any time.

Core Features & Use Cases

  • Audit: Detect and fix markdownlint violations in changed Markdown files.
  • Zizmor: Run security-oriented audits on workflows and action manifests and remediate issues.
  • Automation: Stage and commit fixes automatically to maintain clean PRs.

Quick Start

Run preflight to audit changed files for markdownlint and zizmor violations and fix them.

Frequently Asked Questions about preflight

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

FAQPage Schema
How do I automate markdownlint fixes for changed Markdown files in a pull request?

You can automate markdownlint fixes by running an audit on changed Markdown files within a branch comparison, applying in-place corrections, and committing the resolved violations automatically.

What is zizmor security auditing for GitHub workflow YAML files?

Zizmor security auditing scans GitHub workflow YAML files and action manifests for security-oriented violations, remediates identified issues in place, and commits the fixes to maintain secure continuous integration pipelines.

Can I run markdown and security audits independently before creating a pull request?

Yes, you can run these markdown and security audits independently at any time to mirror the pre-flight step of pull request checks, applying in-place fixes and committing changes when violations are resolved.

How does automated markdown and security remediation handle committing fixes to a branch?

Automated remediation stages and commits fixes directly to the branch after resolving markdownlint and zizmor violations, recording all changes automatically to ensure the pull request remains clean.

Does preflight work with git branch comparisons to identify which files to audit?

Preflight uses git branch comparisons to identify and apply audits exclusively to changed Markdown files and relevant GitHub workflow YAMLs, ensuring only modified content is checked and fixed.