clankerguru/openspec-gradle/srcx-extract

Claude Code and agent skill by clankerguru/openspec-gradle

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Extract code into a new function or class. Use when the user says 'extract this' or wants to refactor by pulling out code.

Install

npx vskill@latest install clankerguru/openspec-gradle/srcx-extract

SKILL.md

The same SKILL.md was published earlier as clankerguru/openspec-gradle/srcx-extract.

Extract a block of code into a new function or class.

Steps

  1. Identify the code to extract (file path, start line, end line)
  2. Run: ./gradlew srcx-extract -PsourceFile=path/File.kt -PstartLine=10 -PendLine=25 -PnewName=doSomething
  3. Review .opsx/extract.md — it shows:
  • The extracted code block
  • Detected free variables (potential parameters)
  • Suggested function signature
  • Call site replacement
  1. Adjust the suggestion: fix parameter types, return type, visibility
  2. Apply the refactoring manually based on the suggestion
  3. Run ./gradlew srcx-usages -Psymbol=doSomething to verify

Notes

  • The task suggests but does NOT auto-apply (extraction needs human judgment)
  • Free variable detection is heuristic — review the parameter list
  • Works best with Kotlin; Java support is basic

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/clankerguru/openspec-gradle/srcx-extract/badge)](https://verified-skill.com/skills/clankerguru/openspec-gradle/srcx-extract)

Something wrong with this skill or its page? Tell us.