checking-files-with-lsp
Installation
SKILL.md
Checking Files With LSP
Overview
When you need to validate, check, or understand a file's structure or code quality, use language servers and linters to do it systematically. This skill provides a reliable workflow: detect the file type, search mise for available LSP/linter tools, intelligently choose one, and run the check.
Core principle: Let the appropriate tool for the language do the validation work, not manual inspection. Automate tool discovery and selection.
When to Use
Use this skill when:
- Checking code files for syntax errors, type issues, or style problems
- Validating configuration files (YAML, TOML, JSON, KDL, etc.)
- Understanding code structure or quality of unfamiliar files
- Verifying Markdown files for formatting/link issues
- Need to quickly understand what problems exist in a file
Don't use when: