Lint and fix
Skill yu-iskw/github-project-skills/.cursor/skills/lint-and-fix
Specialized Agent Skills to automate GitHub workflows using the GitHub CLI
npx -y skills add yu-iskw/github-project-skills --skill lint-and-fixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run make format and make lint, then fix linter violations. Use when formatting code or fixing trunk/lint issues.
SKILL.md
1.1 KB, as published. Nobody here has run it
Lint-and-Fix
Purpose
An autonomous loop to format the codebase, run linters, and fix any remaining violations until the project passes format and lint checks.
Loop Logic
- Format: Run
make format(trunk fmt). - Identify: Run
make lintto list current failures. - Analyze: Read the linter output and the affected code.
- Fix: Apply the minimum necessary change to resolve each issue.
- Verify: Re-run
make formatandmake lint.- If both pass: Done.
- If failures remain: Repeat from step 2 (or move to the next issue).
Termination Criteria
- No failures from
make lintafter fixes. - Optional: Cap iterations (e.g. 5) to avoid unbounded loops.
Reference
Format and lint commands are defined in the project Makefile: make format runs trunk fmt -a; make lint runs trunk check -a -y.