LogoClawIndex
CasesSkillsAbout
LogoClawIndex

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-09

Capabilities

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

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
refactoring
code analysis
branch diff
structural smells
Java
Scala
JavaScript
TypeScript
Derive the branch diff
Inspect changed code
Analyze four structural categories
Count anchored occurrences
Branch diff
Git repository
Parent branch name
Refactor candidate findings
File:line evidence
Occurrence counts