lint-and-fix

Format code and fix lint violations with trunk-based tooling.

1|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/yu-iskw/coding-agent-skills --skill lint-and-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-and-fix
Source: https://github.com/yu-iskw/coding-agent-skills/tree/main/.cursor/skills/lint-and-fix
Command: npx skills add https://github.com/yu-iskw/coding-agent-skills --skill lint-and-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates code formatting and lint repairs to maintain a clean, compliant codebase, reducing manual toil and human error.

Core Features & Use Cases

  • Automatic formatting: runs trunk fmt via make format to standardize style.
  • Lint detection & fixes: runs trunk check via make lint and applies minimal fixes to violations.
  • Progressive verification: re-checks format and lint until both pass, suitable for local development and CI pipelines.

Quick Start

Use the lint-and-fix skill to automatically format the codebase, run lint checks, and apply minimal fixes until both checks pass.

Frequently Asked Questions about lint-and-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically format code and fix lint violations in CI?

Automatically format code and fix lint violations by running trunk-based tooling via make format and make lint commands. The skill iteratively applies minimal fixes and re-checks until both formatting and lint checks pass for a compliant codebase.

What is the best way to resolve linter violations across multiple modules?

The best way to resolve linter violations across multiple modules is using an automated lint-and-fix process. It runs trunk check via make lint, applies minimal fixes to violations, and progressively verifies until all checks pass.

Does this automated lint and format workflow work with trunk-based development?

Yes, this automated lint and format workflow works with trunk-based development. It relies on trunk fmt and trunk check commands executed through make targets to standardize style and resolve violations across the codebase.

How do I standardize code style and ensure lint checks pass before merging?

Standardize code style and ensure lint checks pass before merging by using an automated formatting and lint pipeline. It runs trunk fmt for style standardization and trunk check for violation detection, iterating until both pass.

Why does my code still have lint violations after running the formatter?

Code may still have lint violations after running the formatter because formatting only fixes style issues. You need to run make lint to detect violations and apply minimal fixes, then progressively re-check until both format and lint pass for a clean state.