lsp-edit-export

Solid

Safe workflow for editing exported symbols or public APIs. Use when changing a function signature, modifying a public type, or altering any symbol used outside its own package — finds all callers first so nothing breaks silently.

AI & Automation 56 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
58
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

> Requires the agent-lsp MCP server. # lsp-edit-export Safe workflow for editing exported symbols. Always discovers all callers before touching any code, then verifies the change is clean. ## When to Use Use this skill whenever you intend to change the signature, name, or behavior of an **exported symbol**: a symbol visible outside its defining package or module. **Language-specific definitions:** | Language | Exported means... | |------------|------------------------------------------------------------------------| | Go | Identifier starts with an uppercase letter (e.g. `MyFunc`, `MyType`) | | TypeScript | Has `export` keyword; or is a public class member (no `private`) | | Python | Not prefixed with `_`; or explicitly listed in `__all__` | | Java/C# | Has `public` or `protected` visibility modifier | | Rust | Has `pub` keyword | If you are unsure whether a symbol is exported, treat it as exported and run this workflow anyway. The cost is a few extra tool calls; the benefit is never breaking a hidden caller. **Do NOT skip this workflow** even when you believe there are zero callers. The confirmation gate in step 3 exists precisely for that case. ## Workflow **If LSP is not yet initialized**, call `mcp__lsp__start_lsp` with the workspace root first. (agent-lsp supports auto-inference from file pa...

Details

Author
blackwell-systems
Repository
blackwell-systems/agent-lsp
Created
2 months ago
Last Updated
today
Language
Go
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category