Semantic scan

From bdfinst/agentic-dev-team · View interactive version

Semantic scan is an AI agent skill from the GitHub repository bdfinst/agentic-dev-team. Build a computation register and detect semantic duplicates across architectural layers. Finds business logic reimplemented multiple times in different layers — the same domain calculation independently appearing in domain services, client adapters, and presentation components. Runs incrementally (g

How to use this skill

Skill file

Semantic Scan

Role: worker.

Worker constraints

  1. Detect and report duplicates; do not refactor.
  2. Run incrementally (git-diff based) after the first scan.
  3. Be concise. Report the duplicate table with file:line refs, no narration.

Steps

1. Parse arguments

Capture the optional path and flags from $ARGUMENTS.

2. Delegate

Invoke the semantic-duplication-scan skill.

Graph-assisted discovery. Prefer CodeGraph/Repowise over raw Grep/Read

when locating and comparing candidate implementations — Repowise's semantic

search is especially well suited to finding duplicate implementations across

layers. See

CODE0

for tool selection and the fallback contract.

3. Report

Output the duplicate report.

Apply the guidelines defined in skills/semantic-duplication-scan/SKILL.md to the current task. Read the skill file and follow its process flow, pre-filter rules, annotation procedure, clustering strategy, and report format.

Flags

Apply this skill to: $ARGUMENTS

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.