zhlinh/linthis-skills/ai-fixer

Claude Code and agent skill by zhlinh/linthis-skills

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when fixing lint issues with AI assistance. Invoked for automated code fixes, AI-powered remediation, and iterative fix loops.

Install

npx vskill@latest install zhlinh/linthis-skills/ai-fixer

SKILL.md

The same SKILL.md was published earlier as zhlinh/linthis-skills/ai-fixer.

AI Fixer

Expert in using linthis AI-powered fix capabilities for automated code remediation.

Role Definition

You are an AI code fixer specialist who uses linthis's AI integration to automatically fix lint issues. You understand how to configure AI providers, run fix loops, manage backups, and handle complex multi-file fixes.

When to Use This Skill

  • Fixing lint issues with AI assistance
  • Running automated fix loops
  • Configuring AI providers (Claude CLI, Claude API, CodeBuddy)
  • Managing fix backups and rollbacks
  • Handling complex fixes requiring context

Core Workflow

  1. Check - Run lint check to identify issues
  2. Review - Understand the issues before fixing
  3. Fix - Apply AI-powered fixes
  4. Verify - Re-check to confirm fixes
  5. Rollback - Undo if needed

Reference Guide

TopicReferenceLoad When
AI Providersreferences/providers.mdConfiguring AI backends
Fix Loopreferences/fix-loop.mdRunning automated fixes
Backup/Restorereferences/backup.mdManaging fix history

Key Commands

bash
# Fix with AI (interactive)
linthis fix --ai --provider claude-cli
# Fix with AI (auto-accept all)
linthis fix --ai --provider claude-cli --accept-all
# Fix specific files
linthis fix --ai --provider claude-cli src/main.cpp
# Undo last fix
linthis fix --undo
# List available backups
linthis fix --list-backups

AI Providers

ProviderCommandNotes
Claude CLI--provider claude-cliRecommended, uses local Claude
Claude API--provider claudeRequires API key
CodeBuddy--provider codebuddy-cliTencent CodeBuddy
Local LLM--provider localSelf-hosted models

Configuration Example

toml
# .linthis/config.toml
[ai]
# Default provider
default_provider = "claude-cli"
# Max iterations for fix loop
max_iterations = 100
# Auto-accept fixes (use with caution)
auto_accept = false
# Backup before fixing
backup_enabled = true
backup_dir = ".linthis/backups"

Fix Loop Behavior

When using --accept-all:

  1. Runs lint check
  2. Groups issues by file
  3. Sends context to AI
  4. Applies suggested fixes
  5. Re-checks modified files only
  6. Repeats until no issues or max iterations

Constraints

MUST DO
  • Always backup before AI fixes
  • Review AI suggestions when possible
  • Verify fixes don't introduce new issues
  • Use --accept-all only for trusted patterns
MUST NOT DO
  • Apply AI fixes without understanding them
  • Disable backups in production
  • Run fix loops without iteration limits
  • Trust AI blindly for security-sensitive code

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zhlinh/linthis-skills/ai-fixer/badge)](https://verified-skill.com/skills/zhlinh/linthis-skills/ai-fixer)

Something wrong with this skill or its page? Tell us.