Standardizes code style across .NET and frontend projects using dotnet format and Prettier to ensure repository consistency.
The Code Format skill provides a comprehensive solution for maintaining codebase consistency by automating the execution of industry-standard formatting tools. It seamlessly handles .NET solutions via dotnet format and supports web technologies like JSON, YAML, and Markdown through Prettier, ensuring strict adherence to .editorconfig and .prettierrc rules. This skill is ideal for preparing code for commits, enforcing team standards, and verifying style compliance in CI/CD pipelines without the need to manually manage complex CLI arguments.
Key Features
01Targeted formatting for specific files, directories, or the entire codebase
02Integrated multi-tool execution via a single command for comprehensive cleanup
03Strict adherence to project-specific .editorconfig and Prettier configurations
04Unified formatting for .NET solutions and web-standard file formats
05Support for 'Verify Only' mode to check for style violations without modifying files
060 GitHub stars
Use Cases
01Automating pre-commit code cleanup to ensure style consistency across teams
02Standardizing legacy codebases by applying global formatting rules in a single pass
03Validating code formatting during continuous integration (CI) workflows using check mode