helderberto/agent-skills

lint

Run linting and formatting checks. Use when user asks to "run linter", "/lint", "check linting", "fix lint errors", or requests code linting/formatting. Don't use for the full format/type/test pass (use /validate-code) or for installing commit-time hooks (use /setup-pre-commit).

First seen Feb 13, 2026

Installation

$ npx skills add helderberto/agent-skills --skill lint

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from helderberto/agent-skills · top by installs.

npx skills add helderberto/agent-skills

Browse all from helderberto/agent-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 14
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,442 B
  • docs SUMMARY.md 291 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 54 installs

SKILL.md

Linting

Run the project's linter/formatter — detect it, don't assume a toolchain.

Detection

Prefer a task the project already defines, then fall back to the ecosystem tool:

Ecosystem Check Fix
Node package.json lint (eslint/biome) lint:fix
Python ruff check / flake8 ruff check --fix
Go golangci-lint run / gofmt -l gofmt -w
Rust cargo clippy / cargo fmt --check cargo fmt
else Makefile / CI lint target

Workflow

  1. Detect the linter (project task first, then ecosystem default)
  2. Run the check command
  3. For fixes: run the fix variant (only when requested)
  4. Report file:line references for all errors

Rules

  • Prefer the project's defined task over a raw tool call
  • Never invent a linter the project doesn't use

Error Handling

  • If no linter or task found → report which config/task is expected and stop
  • If the linter exits with parse errors → report each file-level parse error separately with file:line
  • If the linter config is missing → report which config is expected and stop