Run lint
Use when a ticket or acceptance criterion requires the linter/formatter to pass, or after editing code to confirm it meets the repo's style gate. Invoke for "lint must be clean", "fix lint errors", or before submitting changes that touched source files.From its SKILL.md
npx -y skills add tmj-90/gaffer --skill run-lintAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.6 KB, 344 tokens by cl100k_base, as published. Nobody here has run it
Run the linter
Run the repo's existing lint/format check, fix what it flags, and evidence a clean run. Respect the project's config files — do not loosen rules to pass.
Steps
- Find the lint command from the context packet's verification commands (e.g.
pnpm lint,eslint .,ruff check,golangci-lint run,mvn checkstyle:check). If silent, detect from config (eslint.config.*,.ruff.toml,.golangci.yml). - Run it and capture the exact command plus the result (clean, or the list of violations with file/line).
- Fix violations in the files the ticket touched. Prefer the project's autofix
(
--fix) where it exists, then resolve the rest by hand. Do not edit unrelated files. - Do not disable rules or edit config to silence errors unless the ticket explicitly asks for a rule change — fix the code instead.
- Re-run until clean. Evidence the exact command and its clean summary, then use
the
record-evidenceskill to recordtest_output(or a lint log) against the AC and submit for review.
Rules
- Respect existing lint/format config; never relax rules to force a pass.
- Only touch files in the ticket's scope; don't reformat the whole repo.
- Match the repo's linter; don't add a new one.
- Run on a branch (the
create-branchskill), never a protected branch.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.