61-validate-lint-150

[61] VALIDATE. Comprehensive code quality check combining ESLint, TypeScript compilation, and unused code detection. Runs full lint suite with detailed error reporting and fix suggestions. Use before commits, after major changes, or when ensuring code quality standards.

181 stars

Best use case

61-validate-lint-150 is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

[61] VALIDATE. Comprehensive code quality check combining ESLint, TypeScript compilation, and unused code detection. Runs full lint suite with detailed error reporting and fix suggestions. Use before commits, after major changes, or when ensuring code quality standards.

Teams using 61-validate-lint-150 should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/61-validate-lint-150/SKILL.md --create-dirs "https://raw.githubusercontent.com/majiayu000/claude-skill-registry/main/skills/data/61-validate-lint-150/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/61-validate-lint-150/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How 61-validate-lint-150 Compares

Feature / Agent61-validate-lint-150Standard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

[61] VALIDATE. Comprehensive code quality check combining ESLint, TypeScript compilation, and unused code detection. Runs full lint suite with detailed error reporting and fix suggestions. Use before commits, after major changes, or when ensuring code quality standards.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Validate-Lint 150 Protocol

**Core Principle:** Code quality is non-negotiable. Run comprehensive checks before any delivery. Catch issues early, fix systematically.

## What This Skill Does

When you invoke this skill, you're asking AI to:
- **Run full lint suite** — ESLint + TypeScript + Unused code detection
- **Report all issues** — Categorized by severity and type
- **Provide fix guidance** — Specific suggestions for each error
- **Verify resolution** — Re-run checks after fixes
- **Quality gate** — Only proceed when all checks pass

## The 150% Lint Rule

| Dimension | 100% Core | +50% Enhancement |
|-----------|-----------|------------------|
| **ESLint** | No lint errors | + Consistent code style |
| **TypeScript** | Compiles cleanly | + Strict type checking |
| **Unused Code** | No unused locals | + Clean imports/exports |
| **Standards** | Follows rules | + Project conventions |

## Quality Check Framework

```
LINT INTEGRITY CHECK (100% Required)
├── ESLint Rules: No violations (style, logic, best practices)
├── TypeScript: Clean compilation, no type errors
├── Unused Code: No unused locals (parameters allowed for interfaces)
└── Import Hygiene: Clean, organized imports

ENHANCED VALIDATION (50% Enhancement)
├── Code Standards: Follows project conventions
├── Complexity: Cognitive complexity within limits
├── Consistency: Matches codebase patterns
└── Future-Proofing: No deprecated patterns
```

## Command Execution

from `my-preacher-helper/`
```bash
npm run lint:full
```

This runs three sequential checks:
1. `npm run lint` — ESLint code quality rules
2. `npm run compile` — TypeScript compilation check
3. `npm run lint:unused` — Unused code detection

## Error Classification

| Error Type | Severity | Action Required |
|------------|----------|----------------|
| **ESLint Error** | High | Must fix before commit |
| **TypeScript Error** | Critical | Blocks compilation |
| **Unused Local** | Medium | Remove or prefix with `_` |
| **Import Issues** | Medium | Clean up imports |

## Common Fix Patterns

### ESLint Fixes
```bash
# Auto-fix what can be auto-fixed
npm run lint -- --fix

# Manual fixes for complex issues
# - Add missing JSDoc
# - Fix import order
# - Remove duplicate code
```

### TypeScript Fixes
```typescript
// Fix common type errors
// 1. Add missing type annotations
// 2. Import missing types
// 3. Fix property access on union types
// 4. Add null/undefined checks
```

### Unused Code Fixes
```typescript
// For intentionally unused parameters (interfaces)
function handler(_unused: string) { /* ... */ }

// For temporarily unused locals
// eslint-disable-next-line @typescript-eslint/no-unused-vars
const tempVar = 'remove later';
```

## Execution Protocol

### Phase 1: Initial Check
```bash
npm run lint:full
```
- Capture all errors
- Categorize by type
- Prioritize critical issues

### Phase 2: Fix Cycle
```
For each error category:
├── Fix critical TypeScript errors first
├── Fix ESLint errors next
├── Clean unused code last
└── Re-run checks after each category
```

### Phase 3: Verification
```bash
npm run lint:full
```
- Confirm all issues resolved
- Document any intentional deviations
- Ready for commit/integration

## Success Criteria

- **All TypeScript errors resolved** (compilation clean)
- **Zero ESLint violations** (or documented exceptions)
- **No unused locals** (unused parameters allowed for interfaces)
- **Clean build** (no warnings that break standards)

## Failure Recovery

| Failure Mode | Detection | Recovery |
|--------------|-----------|----------|
| **Auto-fix breaks logic** | Tests fail after --fix | Revert auto-fixes, manual repair |
| **TypeScript strictness** | Overly complex type fixes | Use `any` with TODO comment |
| **Unused but needed** | Removal breaks functionality | Add `_` prefix or eslint-disable |
| **Import cycles** | Complex dependency issues | Restructure imports or use barrels |

## Integration Points

- **Pre-commit hooks** — Run automatically before commits
- **CI/CD pipeline** — Quality gate in deployment
- **Code review** — Manual verification of complex fixes
- **Refactoring** — Clean up after major changes

## Quality Metrics

| Metric | Target | Current Status |
|--------|--------|----------------|
| **ESLint Violations** | 0 | Check required |
| **TypeScript Errors** | 0 | Check required |
| **Unused Code** | 0 locals | Check required |
| **Build Success** | 100% | Must pass |

---

**Lint 150 ensures code quality standards are maintained at the highest level, preventing technical debt and maintaining codebase health.**

Related Skills

62-validate-integrity-150

181
from majiayu000/claude-skill-registry

[62] VALIDATE. Final self-check before delivery. Verify goal alignment, completeness, correctness, and identify residual risks. Produces quality score (0-100) and delivery status. Use when completing any significant work, before handoff, or when you need confidence that work is ready.

60-validate-tests-150

181
from majiayu000/claude-skill-registry

[60] VALIDATE. Ensure new (staged and unstaged) changes are covered by tests at >70% and the full test suite is green. Use when asked to validate coverage for recent changes, add tests for modified code, or verify nothing else broke.

whisper-transcribe

159
from majiayu000/claude-skill-registry

Transcribes audio and video files to text using OpenAI's Whisper CLI, enhanced with contextual grounding from local markdown files for improved accuracy.

Media Processing

lets-go-rss

159
from majiayu000/claude-skill-registry

A lightweight, full-platform RSS subscription manager that aggregates content from YouTube, Vimeo, Behance, Twitter/X, and Chinese platforms like Bilibili, Weibo, and Douyin, featuring deduplication and AI smart classification.

Content & Documentation

thor-skills

159
from majiayu000/claude-skill-registry

An entry point and router for AI agents to manage various THOR-related cybersecurity tasks, including running scans, analyzing logs, troubleshooting, and maintenance.

SecurityClaude

ux

159
from majiayu000/claude-skill-registry

This AI agent skill provides comprehensive guidance for creating professional and insightful User Experience (UX) designs, covering user research, information architecture, interaction design, visual guidance, and usability evaluation. It aims to produce actionable, user-centered solutions that avoid generic AI aesthetics.

UX Design & StrategyClaude

modal-deployment

159
from majiayu000/claude-skill-registry

Run Python code in the cloud with serverless containers, GPUs, and autoscaling using Modal. This skill enables agents to generate code for deploying ML models, running batch jobs, serving APIs, and scaling compute-intensive workloads.

DevOps & Infrastructure

chrome-debug

159
from majiayu000/claude-skill-registry

This skill empowers AI agents to debug web applications and inspect browser behavior using the Chrome DevTools Protocol (CDP), offering both collaborative (headful) and automated (headless) modes.

Coding & DevelopmentClaude

astro

159
from majiayu000/claude-skill-registry

This skill provides essential Astro framework patterns, focusing on server-side rendering (SSR), static site generation (SSG), middleware, and TypeScript best practices. It helps AI agents implement secure authentication, manage API routes, and debug rendering behaviors within Astro projects.

Coding & Development

vly-money

159
from majiayu000/claude-skill-registry

Generate crypto payment links for supported tokens and networks, manage access to X402 payment-protected content, and provide direct access to the vly.money wallet interface.

Fintech & CryptoClaude

ontopo

159
from majiayu000/claude-skill-registry

An AI agent skill to search for Israeli restaurants, check table availability, view menus, and retrieve booking links via the Ontopo platform, acting as an unofficial interface to its data.

General Utilities

grail-miner

159
from majiayu000/claude-skill-registry

This skill assists in setting up, managing, and optimizing Grail miners on Bittensor Subnet 81, handling tasks like environment configuration, R2 storage, model checkpoint management, and performance tuning.

DevOps & Infrastructure