aditya-deokar/agent-factory/reuse-check
Claude Code and agent skill by aditya-deokar/agent-factory
- community
Checking that the SKILL.md file is still in the repository.
Check whether code you are about to create already exists in this repository. Use before creating any new class, service, repository, hook, component, module, helper or dependency; when a name you are about to write ends in Service, Manager, Helper, Util, Repository, Store, Client or Validator; and when a plan lists "New Abstractions". Skip for edits inside existing files that add no new symbol.
Install
npx vskill@latest install aditya-deokar/agent-factory/reuse-checkSKILL.md
The same SKILL.md was published earlier as aditya-deokar/agent-factory/reuse-check.
Reuse check
Duplicate abstractions are how codebases drift: a second token service, a second mailer, a second repository for the same table. Before you create something new, prove it does not exist.
Steps
- For each new abstraction in your plan, call
find_reusablewith its name, a one-line
description, and the methods you intend it to have. CLI fallback:
``bash agent-factory reuse InvitationTokenService --desc "create, validate and expire invitation tokens" --methods create,validate,expire --json ``
- Read the verdict of the top candidate:
reuse: use the existing symbol. If you need to change its signature, callimpact_ofon it
first and include every dependent in your plan.
extend: extend the existing symbol (a parameter, a purpose, a strategy, a method) instead of
writing a sibling next to it.
new_ok: nothing fits. Proceed, and write one sentence in the plan saying why nothing existing fits.
- Record the decision for every proposal in the plan's reuse decisions (
record_plan, or
agent-factory feature plan).
- Never overrule a
reuseverdict silently. If you disagree, say why in the plan and to the
developer. The developer decides.
What the evidence means
The report explains its score: vector (meaning), name (naming), methods (does it already do what you proposed), maturity (how many places already reuse it) and pattern (does it follow a validated pattern). A high maturity symbol is a shared building block: extending it is usually right, forking it is usually wrong.
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
- SKILL.md in the repositoryCheckingskills/reuse-check/SKILL.md
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
[](https://verified-skill.com/skills/aditya-deokar/agent-factory/reuse-check)