Use when you need to lint the codebase and auto-fix issues - detects linter, runs it, and fixes what it can.
79%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/lint/SKILL.mdDetect the project's linter, run it, auto-fix what's possible, and report remaining issues.
Target: $ARGUMENTS
tsc directly)Check for installed linters in order of priority:
| Check | Linter |
|---|---|
biome.json or biome.jsonc exists | Biome |
.eslintrc.* or eslint.config.* exists | ESLint |
deno.json with lint config | Deno lint |
package.json has lint script | npm run lint |
# Check for config files
ls biome.json biome.jsonc .eslintrc.* eslint.config.* 2>/dev/null
# Check package.json scripts
cat package.json | grep -A5 '"scripts"' | grep lint| Check | Formatter |
|---|---|
.prettierrc* or prettier.config.* exists | Prettier |
biome.json exists (has built-in formatter) | Biome |
deno.json with fmt config | Deno fmt |
package.json has format script | npm run format |
# Based on detected linter:
# Biome
npx biome check $TARGET --write 2>&1
# ESLint
npx eslint $TARGET --fix 2>&1
# npm script
npm run lint -- --fix 2>&1
# Deno
deno lint --fix $TARGET 2>&1# Prettier
npx prettier --write $TARGET 2>&1
# npm script
npm run format 2>&1Count fixed vs remaining issues.
──── /lint ────
Linter: ESLint
Formatter: Prettier
Target: src/
Fixed automatically:
- 12 formatting issues (Prettier)
- 5 unused imports (ESLint --fix)
- 3 missing semicolons (ESLint --fix)
Remaining (manual fix needed):
- src/auth.ts:42 - no-explicit-any: Unexpected any
- src/api.ts:18 - no-unused-vars: 'result' is defined but never used
Summary: 20 fixed, 2 remaining──── /lint ────
Linter: Biome
Target: src/
✓ No issues found| Excuse | Reality |
|---|---|
| "It's just a style warning, not a real issue" | Style inconsistency makes code harder to read for every future developer. Fix it. |
| "I'll fix lint errors when I have time" | Lint errors accumulate. 5 today become 50 next week. Fix them now. |
| "Auto-fix might change behavior" | Lint auto-fixes (formatting, imports) are safe. If unsure, review the diff. |
| "My code works, lint doesn't matter" | Lint catches bugs too (unused vars, implicit any, unreachable code). It matters. |
fernandezbaptiste/specialist-agent
cd716d9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.