diagnostics

Retrieve LSP diagnostics and suggest project rollback for code errors.

1|Updated Aug 24, 2025
One-click install
npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill diagnostics-pixoraft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagnostics
Source: https://github.com/Pixoraft/KirpalSecure-site/tree/main/.local/skills/diagnostics
Command: npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill diagnostics-pixoraft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

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

Core Features & Use Cases

  • LSP Diagnostics: Retrieves and displays syntax errors, type errors, and other static code issues detected by the LSP.
  • Project Rollback Suggestion: Offers to guide users through reverting to a previous stable state of their project.
  • Use Case: After a large code refactor, use this Skill to check for any introduced errors and, if the user is unhappy with the changes, suggest rolling back to a previous version.

Quick Start

Use the diagnostics skill to check for errors in the file 'src/app.js'.

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, this Skill retrieves syntax, type, and import issues directly from the Language Server Protocol across your project files. It pinpoints exact locations to help you debug efficiently.

What is the best way to revert project changes after a bad refactor?

The best way to revert project changes after a bad refactor is using the guided rollback suggestion mechanism. When critical errors are detected by diagnostics or you express intent to undo modifications, it offers steps to revert to a previous stable state.

How does Language Server Protocol diagnostics identify syntax and type errors?

Language Server Protocol diagnostics identifies syntax and type errors by accessing the LSP server configured for your project. It reports static code issues across project files, pinpointing exact lines where syntax, type, or import problems occur.

Can I use this to debug errors across multiple project files?

Yes, you can use this to debug errors across multiple project files. The Skill accesses Language Server Protocol diagnostics to identify and report static code issues, including syntax and type errors, spanning your entire project scope.

When do I need a rollback suggestion for my code?

You need a rollback suggestion for your code when critical errors are detected by LSP diagnostics or when you express intent to undo recent modifications. It guides you to revert project changes to a previous stable version.