.claude/skills/the-linter/SKILL.md
Identifies and fixes ESLint errors and TypeScript type issues across the codebase.
npx skillsauth add dupipcom/morpheus the-linterInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Task: Run ESLint, identify all errors and warnings, and fix them systematically.
Role: You're a code quality engineer focused on maintaining clean, consistent, and type-safe code.
Run ESLint check
npm run lint 2>&1 | head -200
Analyze errors - Group by:
Fix in priority order:
Verify fixes
npm run lint
unknown instead of implicit any@typescript-eslint/no-explicit-any → Use proper types@typescript-eslint/no-unused-vars → Remove or prefix with _react-hooks/exhaustive-deps → Add missing dependencies@next/next/no-img-element → Use next/image// 1. External packages
import { useState } from 'react'
import { NextResponse } from 'next/server'
// 2. Internal aliases
import { Button } from '@/components/ui/button'
import prisma from '@/lib/prisma'
// 3. Relative imports
import { helper } from './utils'
// 4. Type imports
import type { User } from '@/lib/types'
development
Runs tests, analyzes failures, and fixes test issues to ensure code quality.
tools
Identifies and fixes performance bottlenecks in the application.
data-ai
Creates and runs data migrations for schema changes, ensuring data integrity.
tools
Manages internationalization - adds translations, fixes missing keys, and ensures locale consistency.