Format Code

Format, clean up, and style-check changed files, matching the project's CI style gate. Formats Python with black + ruff and C/C++ with clang-format using the repository's .clang-format, and can also run check-only to reproduce the CI gate locally without editing files. Use when the user says "format code", "clean up code", "lint", "format before commit", "/format-code", wants to reproduce the "Check Python Code Style" or "Check C++ Code Style" CI jobs locally, is fixing a CI style failure, is about to push Python or C/C++ changes, or mentions black, ruff, or clang-format.

rocm 952d02b 7.4 KB Updated

File contents

rocm/flydsl/tree/main/.claude/skills/format-code commit 952d02bcf3

Frequently asked questions

npx skillmds@latest add rocm/format-code