Automates linting, code formatting, and SQL query validation using project-defined Nix environments.

Install

mkdir -p .claude/skills/lint-kalbasit && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17538" && unzip -o skill.zip -d .claude/skills/lint-kalbasit && rm skill.zip

Installs to .claude/skills/lint-kalbasit

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Lint and format code
20 charsno explicit “when” trigger
Beginner

Key capabilities

  • Run standard linters with auto-fix
  • Format all files using Nix
  • Lint specific files
  • Lint SQL files

How it works

It executes `golangci-lint` to check code quality and apply fixes, then uses `nix fmt` for general file formatting. It also runs `sqlfluff lint` for SQL files.

Inputs & outputs

You give it
Code files in a project
You get back
Formatted and linted code files

When to use lint

  • Lint project code
  • Format code files
  • Validate SQL queries
  • Auto-fix style issues

About this skill

// turbo-all

  1. Run standard linter (with fix enabled by default as preferred in CLAUDE.md):
nix develop --command golangci-lint run --fix
  1. (Optional) Run linter on specific files:
nix develop --command golangci-lint run --fix $FILE
  1. Format all files using Nix:
nix fmt
  1. (If SQL files modified) Lint SQL files:
nix develop --command sqlfluff lint db/query.*.sql db/migrations/

When not to use it

  • When the user wants to manually fix formatting issues
  • When the user wants to ignore code style guidelines

Limitations

  • Requires Nix for general file formatting
  • SQL linting only applies to specified paths
  • Relies on `golangci-lint` for standard linting

How it compares

This skill automates code quality checks and formatting across different file types, ensuring adherence to project standards without manual intervention.

Compared to similar skills

lint side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
lint (this skill)05moReviewBeginner
woocommerce-backend-dev72moNo flagsIntermediate
property-based-testing11moNo flagsAdvanced
netalertx-code-standards12moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry