What problem does it solve?
This Skill addresses code quality issues by identifying and fixing common problems like unused variables, incorrect formatting, and outdated syntax, ensuring adherence to project coding standards.
Core Features & Use Cases
- Automated Formatting: Applies consistent C++ and Fortran code formatting using
clang-format and findent.
- Issue Detection: Finds unused variables, raw
new usage, NULL pointers, and incorrect using namespace declarations.
- Automated Fixes: Includes scripts to automatically convert
NULL to nullptr, remove trailing whitespace, and ensure files end with a newline.
- Use Case: Before submitting a pull request, run this Skill to automatically format all C++ and Fortran files, check for common coding standard violations, and apply simple fixes, streamlining the review process.
Quick Start
Run the project's formatting script to format all C++ and Fortran source files.