1Get linter errors and warnings from LSP. Check files after editing.
2
3<when_to_use>
4Use after substantive edits to check for errors you may have introduced. Fix errors if the fix is clear.
5
6Skip for files you didn't change - those errors aren't your responsibility.
7</when_to_use>
8
9<parameters>
10- file_path: Specific file to check (optional)
11- Leave empty to get project-wide diagnostics
12</parameters>
13
14<output>
15- Errors, warnings, and hints grouped by severity
16- File paths and line numbers for each issue
17- Diagnostic messages from the language server
18</output>
19
20<guidelines>
21- Check files you edited before finishing
22- Fix errors you introduced
23- Ignore pre-existing errors in untouched files
24- Use with `edit` to fix issues at specific locations
25</guidelines>