impl-reuse-scan

Scan codebases for reusable API routes, DTOs, and UI components.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/hb9397/ai-agent-harness-docs --skill impl-reuse-scan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: impl-reuse-scan
Source: https://github.com/hb9397/ai-agent-harness-docs/tree/main/plugins/ai-agent-harness/runtime/claude/skills/impl-reuse-scan
Command: npx skills add https://github.com/hb9397/ai-agent-harness-docs --skill impl-reuse-scan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill solves the problem of redundant code implementation by identifying existing common assets like components, DTOs, and utilities before a developer starts a new task.

Core Features & Use Cases

  • Automated Discovery: Scans the codebase for existing API routes, DTOs, entities, and UI components based on task descriptions.
  • Decision Support: Provides a structured report with matching strength (identical, similar, or reference) and facilitates a decision-making interview.
  • Use Case: Before implementing a new User Profile component, use this skill to check if a similar component or DTO already exists in the shared library, ensuring consistency and reducing technical debt.

Quick Start

Use the impl-reuse-scan skill to analyze the current task description and report any existing common assets that could be reused.

Frequently Asked Questions about impl-reuse-scan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a codebase for reusable assets before implementing new features?

Scanning for reusable assets identifies existing API routes, DTOs, and UI components within a codebase by analyzing task descriptions, preventing redundant implementation before starting new feature development.

What is codebase reuse scanning and when do I need it?

Codebase reuse scanning identifies existing common assets like components and utilities before development. You need it during phase-based workflows to verify existing infrastructure, ensuring code consistency and reducing technical debt.

How do I prevent duplicate code and redundant implementation in my codebase?

Prevent duplicate code by running automated discovery scans that check for existing API routes, DTOs, and UI components matching your task description, providing decision-making support to reuse rather than rebuild.

Can I check if a UI component or DTO already exists in my shared library before building it?

Yes, you can check for existing UI components and DTOs by scanning the codebase against your task description. The scan reports matching strength as identical, similar, or reference to support reuse decisions.

How does automated discovery report matching strength for existing code assets?

Automated discovery reports matching strength by categorizing existing code assets as identical, similar, or reference matches. This structured report facilitates a decision-making interview to determine reuse viability.

What are the limitations of codebase reuse scanning for technical debt reduction?

Codebase reuse scanning is limited to phase-based development workflows and depends on accurate task descriptions. It focuses on discovering existing API routes, DTOs, and UI components rather than automatically refactoring or modifying the identified redundant code.