format-all

Format C, C++, CUDA, Python, and shell files across a repository.

3|1|Updated May 28, 2026
One-click install
npx skills add https://github.com/VMAFx/vmafx --skill format-all
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: format-all
Source: https://github.com/VMAFx/vmafx/tree/main/.claude/skills/format-all
Command: npx skills add https://github.com/VMAFx/vmafx --skill format-all

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the manual burden of keeping a large multi-language repository formatted consistently, so teams can avoid style drift and repetitive cleanup.

Core Features & Use Cases

  • Repository-wide formatting: Formats C, C++, CUDA, Python, shell, and related source files in one pass.
  • Repeatable cleanup: Runs safely and idempotently, making it suitable for routine maintenance and pre-commit hygiene.
  • CI-friendly validation: Supports a check mode for verifying formatting without modifying files, which helps enforce standards in continuous integration.

Quick Start

Ask the skill to format the repository and report any files that would change.

Frequently Asked Questions about format-all

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

FAQPage Schema
How do I format a multi-language repository with C, Python, and shell scripts consistently?

You can format a multi-language repository by applying clang-format, black, isort, and shfmt across C, C++, CUDA, Python, and shell files in one pass to eliminate style drift and standardize code styling.

Can I run code formatting in check mode for CI validation without modifying files?

Yes, you can run code formatting in check mode for CI validation. This mode verifies formatting compliance without modifying files, helping enforce continuous integration standards while safely detecting unstaged conflicts and excluding vendored paths.

What's the best way to prevent style drift in a large codebase with multiple programming languages?

The best way to prevent style drift in a large codebase is to run repository-wide formatting routinely. Applying consistent styling rules across C, Python, and shell files ensures idempotent cleanup and maintains pre-commit hygiene.

Do I need to install clang-format and black separately to format my repository?

Yes, you need clang-format, black, isort, and shfmt installed separately to format your repository. These external tools are required dependencies for processing C, C++, CUDA, Python, and shell files respectively.

How does repository-wide formatting handle vendored paths and unstaged changes?

Repository-wide formatting handles vendored paths and unstaged changes by implementing specific guardrails. It automatically excludes vendored directories from formatting and detects unstaged conflicts to prevent accidental overwrites during routine cleanup.