diagnostics

Retrieve LSP diagnostics for syntax, type, and import errors.

2|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/patriotnewsactivism/Casebuddy-AI-Law-Partner --skill diagnostics-patriotnewsactivism
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnostics
Source: https://github.com/patriotnewsactivism/Casebuddy-AI-Law-Partner/tree/main/.local/skills/diagnostics
Command: npx skills add https://github.com/patriotnewsactivism/Casebuddy-AI-Law-Partner --skill diagnostics-patriotnewsactivism

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers identify and fix static code errors using Language Server Protocol (LSP) diagnostics and provides a mechanism to revert project changes when issues arise.

Core Features & Use Cases

  • LSP Diagnostics: Retrieves syntax, type, and import errors from specified files or the entire project.
  • Project Rollback Suggestion: Offers to guide users through reverting to a previous stable state when significant errors occur or when the user expresses a desire to undo changes.
  • Use Case: After a large code refactor, use this Skill to check for any introduced errors. If numerous errors are found, or if the user indicates they want to undo the changes, suggest rolling back to a previous checkpoint.

Quick Start

Check the file 'src/app.js' for any LSP diagnostics.

Frequently Asked Questions about diagnostics

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

FAQPage Schema
How do I check for static code errors using LSP diagnostics?

To check for static code errors using LSP diagnostics, access the Language Server Protocol data to identify syntax, type, and import issues within specified file paths or across the entire project.

Can I revert project changes if a large code refactor introduces numerous errors?

Yes, you can revert project changes if numerous errors are found by requesting a project rollback to restore the project state to a previous stable checkpoint.

What is the best way to detect syntax and import issues after modifying source files?

The best way to detect syntax and import issues after modifying source files is retrieving LSP diagnostics, which scans specified file paths to highlight static code errors automatically.

Does this debugging approach work for managing project state across an entire workspace?

Yes, this debugging approach works for managing project state across an entire workspace by accessing LSP diagnostics project-wide and suggesting rollbacks to previous checkpoints when critical errors are detected.

When should I suggest a project rollback instead of fixing individual type errors?

You should suggest a project rollback instead of fixing individual type errors when critical errors are detected during debugging or when the user expresses an intent to undo recent changes entirely.