Структурный поиск и замена в IntelliJ IDEA

★ 7.9 · vibe-coding

ssr is a Claude Code skill that serves as a guide for using Structural Search and Replace (SSR) in IntelliJ IDEA, covering the creation and modification of SSR inspections and search patterns. It specifies that inspection configurations live in `.idea/inspectionProfiles/idea_default.xml` as `searchConfiguration` and `replaceConfiguration` nodes nested under the `SSBasedInspection` tag. The `.idea` directory must be read with terminal commands (`ls`, `cat`, `grep`) rather than IDE search. The skill also covers scoping inspections via `inspection_tool` entries keyed by the configuration's UUID, and requires running `InspectionProfileConsistencyTest` after every XML change. It is aimed at IntelliJ plugin developers who need to enforce code patterns or automate code inspections for Java or Kotlin projects through structural pattern matching.