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 running tests, type-checking only, or projects without a lint script in package.json.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "lint" with this command: npx skills add helderberto/skills/helderberto-skills-lint

Linting

Linter detection

Check package.json devDependencies:

  • @biomejs/biomenpm run check / fix: npm run check --write
  • oxlintnpm run lint / fix: npm run lint --fix
  • eslint (default) → npm run lint / fix: npm run lint:fix

Workflow

  1. Detect linter from devDependencies
  2. Run lint command
  3. For fixes: run fix variant (only when requested)
  4. Report file:line references for all errors

Rules

  • Use project's package.json scripts
  • Never use npx directly
  • Don't auto-fix unless requested

Error Handling

  • If no lint script found in package.json → check scripts for alternative names (check, lint:check); report if none exist
  • If linter exits with parse errors → report each file-level parse error separately with file:line
  • If linter config file is missing → report which config file is expected and stop

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

explain-code

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

code-review

No summary provided by upstream source.

Repository SourceNeeds Review
Security

audit-deps

No summary provided by upstream source.

Repository SourceNeeds Review
General

ship

No summary provided by upstream source.

Repository SourceNeeds Review