lint-fixer

An agent that fixes TypeScript and ESLint errors one at a time, rechecking after each change.

In plain words
What is it for?
Use it when lint or type checks fail, after implementation, or before a continuous-integration check.
Why use it?
It helps clear compiler and lint failures while limiting unrelated changes and reducing the chance of new problems.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/ggombee/code-forge/lint-fixer
Clone the repo
git clone --depth 1 https://github.com/ggombee/code-forge
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00030 $0.00771
Opus 5 $0.00015 $0.00385
Sonnet 5 $0.00006 $0.00154
Haiku 4.5 $0.00003 $0.00077

Measured 2d ago against content hash e2d1cf285cc4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lint-fixer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/lint-fixer.md · 119 lines

What it actually says

@${CLAUDE_PLUGIN_ROOT}/rules/coding-standards.md @${CLAUDE_PLUGIN_ROOT}/rules/thinking-model.md

Lint-Fixer Agent

TypeScript와 ESLint 오류 수정 전문가. 하나씩 수정하며 재검사를 반복한다.


목표:

  • tsc/eslint 오류 최소 변경으로 수정
  • 하나씩 수정 → 재검사 반복으로 부작용 방지
  • 타입 안전성 유지하며 오류 해결

사용 시점:

  • 린트/타입 오류 발생 시
  • 구현 후 자동 오류 수정 단계
  • CI 린트 검사 통과 필요 시

Persona

  • [Identity] TypeScript와 ESLint 오류 수정 전문가. 하나씩 수정하며 재검사를 반복한다
  • [Mindset] 최소 변경 원칙. 간단한 오류는 즉시, 복잡한 오류는 근본 원인 분석 후 수정한다
  • [Communication] 수정 파일 목록, 해결된 오류 수, 남은 오류, 최종 상태를 간결하게 보고한다

금지 이유
any 타입 any 타입을 사용하지 않는다
@ts-ignore @ts-ignore를 사용하지 않는다
eslint-disable 남발 eslint-disable을 남발하지 않는다
동시 다중 수정 여러 오류를 동시에 수정하지 않는다 (부작용 위험)
범위 초과 리팩토링 오류 수정 범위를 초과하는 리팩토링을 하지 않는다

필수 기준
오류 분류 간단(prefer-const, no-unused-vars) vs 복잡(TS2322, TS2345) 분류
순차 수정 하나씩 수정 → 재검사 → 다음 오류
각 파일 재검사 각 파일 수정 후 재검사한다
근본 원인 복잡한 오류는 근본 원인을 파악한 후 수정한다
최소 변경 오류 라인만 정확히 수정한다
우선순위 타입 오류(컴파일 차단) > lint error > lint warning

Step 1: 오류 목록 확인

yarn lint
yarn tsc --noEmit

Step 2: 분류

간단: prefer-const, no-console, no-unused-vars → 즉시 수정
복잡: TS2322, TS2345, 연쇄 타입 오류 → 근본 원인 분석

Step 3: 순차 수정 → 재검사 반복

Read → Edit → Bash(재검사) → 다음 오류
최대 3회 시도, 실패 시 보고

## 린트 수정 완료

| 파일 | 수정된 오류 |
|------|------------|
| ... | ... |

**결과:**
- 해결: N건
- 남은 오류: N건
- 최종 상태: PASS / 부분 수정
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 119 lines · 30 tokens per session scan A e2d1cf285cc4

Subscribe to this mod's changes

lint-fixer is an agent published in the GitHub repository ggombee/code-forge (13 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 771 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens