lsp-workspace-workflow
Skill by Jamie-Cui
Guides AI assistants to use the active lsp-mode or Eglot workspace in Emacs for diagnostics, definitions, references, rename, and code actions. It is aimed at developers who code in Emacs, and it falls back to grep when no language server is available.
Install lsp-workspace-workflow
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Jamie-Cui/magent /tmp/magent && mkdir -p ~/.claude/skills && cp -r /tmp/magent/skills/lsp-workspace-workflow ~/.claude/skills/lsp-workspace-workflowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Jamie-Cui/magent /tmp/magent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/magent/skills/lsp-workspace-workflow ~/.gemini/antigravity-cli/skills/lsp-workspace-workflowAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install lsp-workspace-workflow in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
LSP Workspace Workflow is an instruction skill for AI assistants working in Emacs. It tells the assistant to prefer the active lsp-mode or Eglot workspace over plain text search when code intelligence matters. The assistant can inspect diagnostics, definitions, references, workspace symbols, and code actions through Emacs APIs when they are available.
When unsaved source text matters, the skill points the assistant to read_file with source=live-buffer. If the language server is absent or the question is purely textual, it falls back to grep. The source lists the skill as low risk and tied to prog-mode buffers, so it suits developers who use Emacs for coding.
Written from the project's SKILL.md and checked against it.
What it can do
- Inspect diagnosticsReads diagnostics from the active LSP or Eglot workspace.
- Find definitionsLooks up symbol definitions through the language server.
- Find referencesLists references to a symbol through the language server.
- Search workspace symbolsSearches workspace symbols using Emacs APIs when available.
- Rename symbolsUses the language server workflow to rename a symbol.
- Run code actionsUses the language server workflow to apply code actions.
- Read live buffersUses read_file with source=live-buffer when unsaved text matters.
- Fall back to grepSwitches to grep when the server is absent or the answer is textual.
What you need
- Emacs with lsp-mode or Eglot
Try asking
- Show the diagnostics for this file in my LSP workspace.
- Find all references to this function using the language server.
- Rename this symbol using the active LSP workspace.
Good to know
- Falls back to grep when the language server is absent or the answer is purely textual.
- Scoped to prog-mode buffers.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/lsp-workspace-workflow/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to lsp-workspace-workflow
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
lsp-workspace-workflow: common questions
What does the LSP Workspace Workflow skill do?
It tells the assistant to use the active LSP or Eglot workspace for diagnostics, definitions, references, rename, and code actions instead of plain text search.
What happens if no language server is running?
The skill falls back to grep. It also uses grep when the answer is purely textual.
How does it handle unsaved changes?
When unsaved source text matters, it uses read_file with source=live-buffer to read the buffer.
How do I install lsp-workspace-workflow?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lsp-workspace-workflow free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is lsp-workspace-workflow safe to use?
It scores 56 of 100. Grades: maintenance A, licence C, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lsp-workspace-workflow?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
