datacosmos-br/agents/dry-refactoring

Claude Code and agent skill by datacosmos-br/agents

Trust tier 3
  • community
Source check pending

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

jscpd clones, copy-paste duplication, extract function, refactoring workflow

Install

npx vskill@latest install datacosmos-br/agents/dry-refactoring

SKILL.md

The same SKILL.md was published earlier as datacosmos-br/agents/dry-refactoring.

dry-refactoring

Guided workflow to eliminate copy-paste duplication detected by jscpd.

Detect clones

bash
make duplication

Eight lines is the comparison floor. A project may change flags only through its canonical gate and selected executable. Zero reported clones is mandatory; there is no baseline suppression contract.

Workflow

  1. Resolve the writable worktree, integration base, and gate owner.
  2. Parse each clone line into its two locations (file + line range).
  3. Read both fragments; classify semantic duplication, canonical projection,

generated/historical evidence, distinct fixture, or tokenizer false positive. Textual similarity alone authorizes no edit.

  1. Remediate only confirmed semantic duplication (references/procedure.md).
  2. Require zero clones, then prove the merged integration commit, command, working

directory, exit code, before/after counts, and runtime.

Cross-format clones usually mean a port kept both implementations; consolidate at one owner. Test clones often need a helper; unrelated-module clones often need a shared utility.

Never infer flags from another version: correct and execute the selector-free root Make owner when its contract is under change.

Security

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

Quality evaluation

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

Source

Popularity

7-day trend score
5

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/datacosmos-br/agents/dry-refactoring/badge)](https://verified-skill.com/skills/datacosmos-br/agents/dry-refactoring)

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