# Lint Fix

> Fix lint issues in the current file

- Skill: `emaraschio/lint-fix` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add emaraschio/lint-fix`
- Raw SKILL.md: https://api.skillmd.com/api/skills/emaraschio/lint-fix/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: emaraschio (https://skillmd.com/u/emaraschio)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/emaraschio/lint-fix

---

## Overview

Analyze the current file for linting issues and automatically fix them according to the project's coding standards, then apply the fixes directly to the code and explain what changes were made.

## Steps

1. **Identify linting issues**
    - Code formatting and style consistency
    - Unused imports and variables
    - Missing semicolons or proper indentation
    - Best practice violations
    - Type safety issues
2. **Apply fixes**
    - Fix formatting and style issues
    - Remove unused imports and variables
    - Add missing semicolons or correct indentation
    - Apply best practice corrections
    - Fix type safety issues
    - Explain what changes were made

## Lint and Fix Code Checklist

- [ ] Identified all code formatting and style issues
- [ ] Identified unused imports and variables
- [ ] Identified missing semicolons or indentation issues
- [ ] Identified best practice violations
- [ ] Identified type safety issues
- [ ] Applied all formatting and style fixes
- [ ] Removed unused imports and variables
- [ ] Fixed indentation and added missing semicolons
- [ ] Applied best practice corrections
- [ ] Fixed type safety issues
- [ ] Explained what changes were made

## Guardrails

- Limit edits to formatting and style; do not change behavior while fixing lint.
- Use the project linter config rather than personal or ad hoc rules.
- Scope is the current file; if asked to fix lint across the whole repo, point to the repo-wide lint workflow (`/lint-suite`) instead of silently linting one file.
- Do not commit, push, merge, or run production scripts without consent.
