Prompt file imported from bailey-medics/quillmedical (
.github/prompts/fix-vs-code-problems.prompt.md). Copyright stays with the author.
Fix VS Code problems
- Use the
get_errorstool to retrieve all current diagnostics from the VS Code PROBLEMS panel - For each problem, determine whether it is:
- Fixable: a genuine error or warning that can be resolved by editing code or config
- False positive: a linting rule triggering on valid code (e.g. MkDocs admonition indentation flagged as MD046, Terraform templatefile variables flagged as SC2154,
.git/COMMIT_MSGflagged by markdownlint) - Upstream/unfixable: an issue outside our control (e.g. base Docker image vulnerabilities from Debian)
- Fix all fixable problems — edit the source files directly
- For false positives, first inform the user. Suggest either:
- Adding targeted inline suppression comments (e.g.
# shellcheck disable=SC2154) - Updating the relevant ignore file or linting config (e.g.
.markdownlintignore,.markdownlint.json)
- Adding targeted inline suppression comments (e.g.
- For upstream/unfixable issues, report them but take no action
- After all fixes, run
get_errorsagain to confirm the PROBLEMS list is clear (or only contains known upstream issues)
Report a summary of what was fixed, what could be suppressed, and what remains unfixable.