refactor-identification - Identify structural refactor candidates in branch diffs
Finds refactor candidates in the current branch diff for Java, Scala, JS, and TS, with file:line evidence.
Tags
Updated: 2026-11-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Derive the branch diff
- Inspect changed code
- Analyze four structural categories
- Count anchored occurrences
- Anchor findings to file lines
- Mark unresolved evidence gaps
Inputs
- Branch diff
- Git repository
- Parent branch name
- Changed source files
Outputs
- Refactor candidate findings
- File:line evidence
- Occurrence counts
- Unresolved lookup requests
Requirements
- Git repository access
- Java, Scala, JS, or TS source
- Current branch context
