Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Christopher Boone avatar

Lint And Fix

  • 2 repo stars
  • Updated July 24, 2026
  • cboone/agent-harness-plugins

Detect project linters/formatters, run them with auto-fix, resolve remaining issues, then commit and push the fixes.

About

Lint-and-fix detects a project's linters and formatters (ESLint, Prettier, shellcheck, shfmt, cspell, and more), runs them with auto-fix, then resolves whatever can't be fixed automatically. It finishes by committing and pushing the cleanups. A code-quality pass that gets a change lint-clean before review or merge.

  • Auto-detects linters and formatters
  • Runs with auto-fix
  • Resolves remaining issues
  • Commits and pushes fixes

Lint And Fix by the numbers

  • Data as of Jul 25, 2026 (Skillselion catalog sync)
/plugin marketplace add cboone/agent-harness-plugins
/plugin install lint-and-fix@agent-harness-plugins

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars2
Last updatedJuly 24, 2026
Repositorycboone/agent-harness-plugins

What it does

Detect project linters/formatters, run them with auto-fix, resolve remaining issues, then commit and push the fixes.

README.md

Lint and Fix

Detect available linters and formatters in the project, run them with auto-fix, resolve remaining issues, then commit and push the fixes.

Type: Skill Trigger: /lint-and-fix

Installation

See the marketplace install instructions.

What It Does

Checks for configuration files to detect ESLint, Prettier, markdownlint, ShellCheck, shfmt, Knip, cspell, and project-specific lint scripts. Runs each detected tool with auto-fix flags, reports what was fixed and what remains, attempts to manually resolve remaining issues, then commits and pushes the fixes.

Usage

/lint-and-fix
/lint-and-fix --check
/lint-and-fix --tool eslint
/lint-and-fix --no-commit
/lint-and-fix --no-push
Option Description
--check Report issues without fixing (dry run)
--tool <name> Run only a specific tool
--no-commit Skip committing and pushing
--no-push Commit but leave push to the caller or user

Recommended Permissions

This skill runs linters, formatters, and git commands that trigger permission prompts. To allow them automatically, add these rules to your .claude/settings.json (project-wide) or ~/.claude/settings.json (global):

{
  "permissions": {
    "allow": ["Bash(npx eslint *)", "Bash(npx prettier *)", "Bash(npx markdownlint-cli2 *)", "Bash(shellcheck *)", "Bash(shfmt *)", "Bash(npx knip*)", "Bash(npx cspell*)", "Bash(npm run lint*)", "Bash(npm run format*)", "Bash(npm run check*)", "Bash(bin/lint*)", "Bash(scripts/lint*)", "Bash(script/lint*)", "Bash(git status --porcelain)", "Bash(git add *)", "Bash(git commit *)", "Bash(git push*)"]
  }
}

If you already have a permissions.allow array, merge these entries into it. Review and adjust the rules to match your security preferences.

Examples

  • "lint and fix": detects and runs all available linters with auto-fix
  • "run the linter --check": reports issues without modifying files
  • "fix lint errors --tool prettier": runs only Prettier

See Also

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.