lsp-safe-edit

Community

Safely vet code edits with live diagnostics.

Authorblackwell-systems
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Wraps code edits with a before/after diagnostic comparison to catch regressions before touching disk. Speculatively previews the change (simulate_edit_atomic), then surfaces code actions for quick fixes if post-edit diagnostics reveal issues.

Core Features & Use Cases

  • Speculative edit previews that measure the error delta before applying.
  • Supports single-file and multi-file edits (simulate_chain) with coordinated apply.
  • Post-edit diagnostics, quick fixes via code actions, and optional formatting checks to ensure a clean result.

Quick Start

Open the target file(s), preview the change with simulate_edit_atomic, and apply the edit only if the diagnostic delta is acceptable.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: lsp-safe-edit
Download link: https://github.com/blackwell-systems/agent-lsp/archive/main.zip#lsp-safe-edit

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.