Claude-skill-registry jetbrains-coding
Use when JetBrains MCP tools are available (mcp__jetbrains__*) - enforces IDE-native workflow with problem checking after file completion, and smart refactoring tools instead of grep/sed
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/jetbrains-coding" ~/.claude/skills/majiayu000-claude-skill-registry-jetbrains-coding && rm -rf "$T"
manifest:
skills/data/jetbrains-coding/SKILL.mdsource content
JetBrains IDE-Native Coding
Overview
When JetBrains MCP tools are available, use them instead of Bash/grep/sed. The IDE provides smarter refactoring, real-time error detection, and code formatting that understands your project.
Trigger: MCP tools starting with
mcp__jetbrains__ are available.
Mandatory Workflow
EDIT → FILE COMPLETE → CHECK PROBLEMS → FIX → (repeat until 0 problems)
- After completing a file: Call
get_file_problems - If problems found: Fix them, check again
- Continue until: 0 errors/warnings
Tool Preference
| Instead of... | Use JetBrains Tool |
|---|---|
, , Grep tool | or |
, Glob tool | |
, Read tool | |
, Edit tool | (targeted) |
, | |
| Manual rename + grep | (updates ALL refs) |
| |
| |
When to use standard tools: Non-code files, complex shell pipelines, operations without JetBrains equivalent.
Available Tools (Quick Reference)
Code Intelligence
| Tool | Purpose |
|---|---|
| Find all usages of a symbol across project |
| Get docs, type info, declaration location |
| Smart rename - updates all references |
| IDE inspections (errors, warnings) for a file |
| All problems across entire project |
File Operations
| Tool | Purpose |
|---|---|
| Read file content |
| Targeted text replacement |
| Create file with content |
| Open file in IDE |
Search
| Tool | Purpose |
|---|---|
| Text search across project (indexed) |
| Regex search across project |
| Find files by name substring |
| Find files by glob pattern |
Navigation
| Tool | Purpose |
|---|---|
| Tree view of directory |
| Currently open files in IDE |
Execution
| Tool | Purpose |
|---|---|
| Run shell command in IDE terminal |
| Run IDE run configuration |
| List available run configs |
VCS
| Tool | Purpose |
|---|---|
| Git status via IDE |
| Search commit history |
| List VCS roots |
Debugging
| Tool | Purpose |
|---|---|
| List all breakpoints |
| Add/remove breakpoint |
Renaming Files
When renaming files (e.g.,
task.service.ts → service.ts):
- Check if IDE has file rename: Some JetBrains MCP versions expose file rename that updates imports automatically
- If not available: Use
for rename, then update imports withgit mv
usingreplace_text_in_filereplaceAll: true - After renaming: ALWAYS run type-check to catch missed imports
Key insight:
rename_refactoring is for SYMBOLS (classes, functions, variables), not files. For file renames, you need to update import paths separately.
Common Mistakes
| Mistake | Fix |
|---|---|
| Using Grep to find symbol usages | Use - understands code structure |
| Manual rename + search/replace | Use - updates imports, references |
| Not checking for problems | Call after completing a file |
| Ignoring IDE warnings | Fix ALL problems before moving on |
| Using git mv then manually updating imports one by one | Use with to batch update |
projectPath Parameter
Always pass
projectPath to JetBrains tools:
projectPath: "/absolute/path/to/project"
This avoids ambiguity when multiple projects are open.