Skill / SKILL.md

Lsp Safe Edit

blackwell-systems/agent-lsp

Wrap any code edit with before/after diagnostic comparison. Speculatively previews the change first (preview_edit), then applies to disk only if the error delta is acceptable. If post-edit errors appear, surfaces code actions for quick fixes. Handles single and multi-file edits.
2 views 188 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Wrap any code edit with before/after diagnostic comparison. Speculatively previews the change first (preview_edit), then applies to disk only if the error delta is acceptable. If post-edit errors appear, surfaces code actions for quick fixes. Handles single and multi-file edits.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/blackwell-systems/agent-lsp' skill-source

Use the complete skill-source/skills/lsp-safe-edit directory with your client’s skill installer.

Source directory skills/lsp-safe-edit

Compatibility & requirements

Declared compatibility

Requires the agent-lsp MCP server (github.com/blackwell-systems/agent-lsp)

Declared tools

mcp__agent-lsp__start_lsp mcp__agent-lsp__open_document mcp__agent-lsp__get_diagnostics mcp__agent-lsp__preview_edit mcp__agent-lsp__simulate_chain mcp__agent-lsp__suggest_fixes mcp__agent-lsp__format_document mcp__agent-lsp__apply_edit Edit Write Bash

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
2a36584e25676d10d2a25d3d182c866aa42b9ca850d9c88838962a7d84a5f74d
Format validation findings
  • Metadata requires string values.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills