← Back to list

the-linter
by dupipcom
Dupip Monorepo
⭐ 0🍴 0📅 Jan 24, 2026
SKILL.md
name: the-linter description: Identifies and fixes ESLint errors and TypeScript type issues across the codebase. license: HPL3-ECO-NC-ND-A 2026
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.
Execution Steps
-
Run ESLint check
npm run lint 2>&1 | head -200 -
Analyze errors - Group by:
- TypeScript type errors
- ESLint rule violations
- Unused imports/variables
- Missing dependencies
-
Fix in priority order:
- Type errors (highest priority)
- Security-related warnings
- Unused code removal
- Style/formatting issues
-
Verify fixes
npm run lint
Common Fixes
TypeScript Errors
- Add explicit types for function parameters
- Use
unknowninstead of implicitany - Add null checks for optional values
- Fix type mismatches in props
ESLint Rules
@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→ Usenext/image
Import Organization
// 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'
Rules
- Fix errors without changing functionality
- Preserve existing code patterns
- Don't introduce new dependencies
- Keep changes minimal and focused
- Run lint after each batch of fixes to verify
Do NOT
- Refactor unrelated code
- Change business logic
- Add new features
- Modify test files unless fixing lint errors in them
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
○Issue管理
オープンIssueが50未満
0/5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


