af-prek

Fuzzy-match pre-commit check names and run selected checks.

1|Updated Feb 6, 2026
One-click install
npx skills add https://github.com/guan404ming/gmccc --skill af-prek
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: af-prek
Source: https://github.com/guan404ming/gmccc/tree/main/skills/airflow/af-prek
Command: npx skills add https://github.com/guan404ming/gmccc --skill af-prek

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Running pre-commit checks can be tedious when many checks exist; af-prek lets you select checks quickly using fuzzy matching.

Core Features & Use Cases

  • Fuzzy-match checks by partial names to locate the intended check quickly.
  • Run a specific check or all checks within a project, streamlining CI and local workflows.
  • Use case: quickly verify a specific lint or format check without scanning the entire list.

Quick Start

Run a specific pre-commit check by partial name, for example prek compile-ui.

Frequently Asked Questions about af-prek

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

FAQPage Schema
How do I run a specific pre-commit check without scrolling through the entire list?

You can run a specific pre-commit check by providing its partial name to af-prek, which uses fuzzy matching to quickly locate and execute the intended check without manual list scanning.

Can I use fuzzy matching to speed up pre-commit checks in my CI workflows?

Yes, af-prek applies fuzzy matching to pre-commit checks to speed up runs in CI workflows and local codebases, allowing quick selection of checks by partial names or project context.

What is prek and do I need it installed to run pre-commit checks with fuzzy matching?

Prek is the underlying tool required by af-prek. You must have prek installed and have access to available pre-commit checks to use af-prek's fuzzy matching functionality.

How does af-prek handle ambiguous fuzzy matches when selecting pre-commit checks?

Af-prek handles ambiguous fuzzy matches gracefully, ensuring that when partial names match multiple pre-commit checks, the selection process remains reliable without causing execution errors.

What is the best way to quickly verify a single lint or format check in a local codebase?

The best way is to use af-prek to fuzzy-match the specific lint or format check by its partial name, allowing you to execute that single pre-commit check rapidly without running all checks.

Does af-prek support running all pre-commit checks in a project at once?

Yes, af-prek supports running all pre-commit checks within a project, streamlining both local workflows and CI pipelines by offering single-check execution or full project check runs.