agentsclimarketplace

Black formatter check mode execution

Skill HolobiomicsLab/asb-skill-collections/collections/metabolomics/v2/skills/black-formatter-check-mode-execution

Curated, evidence-grounded skill and software-tool collections for scientific AI agents, generated by the AgenticScienceBuilder

Install
npx -y skills add HolobiomicsLab/asb-skill-collections --skill black-formatter-check-mode-execution

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 14 stars14 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when when you need to audit whether Python source files in a repository conform to black formatting standards before accepting contributions, merging code, or running CI/CD pipelines.

The file declares its own license as CC-BY-4.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.5 KB, 649 tokens by cl100k_base, as published. Nobody here has run it

black-formatter-check-mode-execution

Summary

Execute the black code formatter in check mode to detect Python source file formatting violations without applying automatic fixes. This skill validates conformance to the black formatting standard as documented in a project's contribution guidelines.

When to use

When you need to audit whether Python source files in a repository conform to black formatting standards before accepting contributions, merging code, or running CI/CD pipelines. Use this when the project documents black as its auto-formatting tool and you want to generate a conformance report without modifying files.

When NOT to use

  • The project does not use black as its documented formatter (check contribution guidelines first).
  • You intend to automatically fix formatting issues (use black without --check flag instead).
  • Input contains non-Python source code files (black operates only on .py files).

Inputs

  • Python source code files (.py)
  • Local repository or cloned codebase directory
  • Project contribution guidelines (for context on formatting standards)

Outputs

  • Black check-mode output (formatted violations report)
  • List of non-conforming files
  • Conformance status report (pass/fail per file)

How to apply

Clone or access the target repository (e.g., medema-group/BiG-SCAPE). Run black in check mode on all Python files using black --check to detect formatting violations without applying changes. Parse the black output to identify non-conforming files, line counts, and formatting issues. Generate a conformance report listing files that fail the check. This is typically integrated into CI/CD workflows or pre-commit hooks to enforce code quality standards documented in the project's contribution guidelines.

Related tools

  • black (Code formatter executed in check mode to detect but not apply formatting violations)
  • flake8 (Complementary linting tool used alongside black in BiG-SCAPE for code quality)

Examples

black --check .

Evaluation signals

  • Black check mode returns exit code 0 (all files conform) or non-zero (violations detected)
  • Output lists specific files that violate black formatting standards
  • No files are modified during check-mode execution (read-only validation)
  • Conformance report can be parsed to generate a per-file pass/fail summary
  • Output is reproducible across runs on the same codebase state

Limitations

  • Check mode only detects violations; it does not fix them automatically (requires separate black execution without --check).
  • Black's formatting rules are opinionated and may conflict with other style preferences in the codebase.
  • Check mode does not validate logical correctness or functional issues—only formatting conformance.

Evidence

  • [other] We use black for auto formatting: "We use black for auto formatting"
  • [other] Run black in check mode on all Python files in the repository to detect formatting violations without applying changes.: "Run black in check mode on all Python files in the repository to detect formatting violations without applying changes"
  • [other] Parse the black output to identify non-conforming files and generate a conformance report.: "Parse the black output to identify non-conforming files and generate a conformance report"

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.