Shfmt Configuration Manager

•
95
•

Configures shfmt for consistent shell script formatting across POSIX Shell, Bash, and mksh environments.

The shfmt-configuration skill empowers developers to implement professional-grade shell script formatting standards using the shfmt parser and formatter. It provides comprehensive guidance on setting up .shfmt.toml files, integrating with EditorConfig, and defining team-wide conventions for indentation, binary operator placement, and switch-case logic. By automating these stylistic choices, the skill ensures shell scripts remain readable, maintainable, and portable across different shell dialects while integrating seamlessly into CI/CD pipelines and pre-commit workflows.

주요 기능

01Support for POSIX, Bash, mksh, and Bats dialects
0295 GitHub stars
03CI/CD integration for GitHub Actions and Pre-commit
04Standardized .shfmt.toml and EditorConfig setup
05Customizable indentation, padding, and brace placement
06Automated formatting enforcement and diff generation

사용 사례

01Automating formatting checks within a GitHub Actions CI pipeline
02Migrating legacy shell scripts to modern formatting standards
03Standardizing shell script styles across a multi-developer team