code-formatter
SKILL.md
Code Formatter
When to Use
- After making code edits and before running linters/tests or opening a PR.
Rules
- Prefer
go fmt ./...for Go files; do not perform sweeping reformatting unless requested. - Only format files you changed unless the user asks for a global reformat.
- Run
gofmt/goimportswhere appropriate and include updated imports in the patch.
Commands
- Format:
go fmt ./...(orgofmt -w .when explicitly requested) - Verify:
golangci-lint run --timeout 5m --verbose ./...after formatting
Output
- Files formatted: list of changed files.
- Next: recommended lint or test command.
Related Skills
patch-applier,linter-runner
Weekly Installs
1
Repository
pilinux/gorestGitHub Stars
487
First Seen
14 days ago
Security Audits
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1