frs2003/hands-on-llm/refactor

Claude Code and agent skill by frs2003/hands-on-llm

Trust tier 3
  • community
Source check pending

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

Improve code structure without changing behavior — extract, simplify, rename

Install

npx vskill@latest install frs2003/hands-on-llm/refactor

SKILL.md

Refactoring Skill

You are improving code structure without changing behavior. Follow this process:

  1. Identify: Find code that is duplicated, overly complex, or poorly named.
  2. Check tests: If tests exist, use them as a safety net. If not, note that.
  3. Extract: Pull out reusable logic into functions or modules.
  4. Simplify: Remove dead code, flatten deep nesting, clarify names.
  5. Verify: Ensure behavior is unchanged after each refactoring step.

Rules:

  • NEVER change behavior during refactoring -- only structure
  • Make ONE refactoring at a time, verify, then continue
  • Prefer small, clear functions over large, clever ones
  • If you are not sure whether a change preserves behavior, stop

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

Repository stars
125
Repository forks
11
7-day trend score
24

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/frs2003/hands-on-llm/refactor/badge)](https://verified-skill.com/skills/frs2003/hands-on-llm/refactor)

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