Agent skill

lint

Lint and format code

Stars 286
Forks 13

Install this agent skill to your Project

npx add-skill https://github.com/kalbasit/ncps/tree/main/.agent/skills/lint

SKILL.md

// turbo-all

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

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results