idemcp
$
npx mdskill add liby/dotfiles/idemcpFix code issues using IDE language server tools via MCP
- Resolves TypeScript/linting errors and organizes imports with IDE precision
- Uses MCP to access IDE diagnostics, rename, references, and formatting commands
- Prioritizes IDE tools over CLI when they offer better accuracy or scope
- Applies fixes and reports results directly in the code or to the user
SKILL.md
.github/skills/idemcpView on GitHub ↗
--- name: idemcp description: Use IDE language server via MCP to fix diagnostics, rename symbols, find references, and organize imports. Use proactively when there are TypeScript/linting errors, or when IDE tools are more accurate than CLI equivalents. context: fork allowed-tools: - mcp__ide__* - Edit - Read - Write --- ## Tools Prefer IDE MCP tools over CLI equivalents. - **`getDiagnostics`**: Errors, warnings, info from the language server. Prefer over `tsc --noEmit`. - **`rename_symbol`**: Scope-aware rename across the codebase. Reach for this when the default reflex would be `rg` + Edit, which misses shadowed locals and renames inside strings or comments. - **`get_references`**: All usages of a symbol. Run before a rename or cross-cutting refactor to see the blast radius. - **`execute_command`**: Run IDE commands. - `editor.action.fixAll`: auto-fix all issues (ESLint, TS quick fixes, unused imports). Prefer over `eslint --fix` / `biome check --fix`. - `editor.action.organizeImports`: sort and remove unused imports - `editor.action.formatDocument`: format according to project settings ## Workflow Run `getDiagnostics` to see the count and severity. Try `editor.action.fixAll` first, then fix remaining issues file by file, root causes first. Re-run `getDiagnostics` to confirm the count dropped with no new errors; iterate until zero. If diagnostics point to configuration issues (missing deps, broken `tsconfig`, eslint config), report to the user instead of guessing.
More from liby/dotfiles
- deslopClosing-pass cleanup after AI edits. Removes generated code slop and catches type-driven refactors that broke runtime behavior. Closing step in the /review -> /simplify -> /deslop chain. Use when the user says "/deslop" or "deslop".
- glabAnalyze GitLab merge requests, issues, pipelines, and repos via `glab` CLI. Use when user mentions GitLab URLs, MR/issue numbers, or asks about GitLab content.
- set-goalTurn a brief task description into an outcome-based, verifiable goal, then hand it off to `/goal`. Use when the user says "set goal", "/set-goal", "goal-driven", or asks to set up a goal for a long-running task. Replaces direct `/goal "fix the bug"` style invocations.
- switchCreate a new git branch with proper prefix and naming conventions. Use when the user says "new branch", "/switch", or asks to create a branch.