Skip to main content

semantic-scan

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 (git-diff-based) after the first scan. Produces a structured duplicate report with file:line references and canonical location suggestions.

소스 정보

저장소
bdfinst/agentic-dev-team
최근 소스 활동
2026년 7월 31일 12:40
감지된 SKILL.md 언어
영어
스타
299
포크
36

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
semantic-scan
description
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 (git-diff-based) after the first scan. Produces a structured duplicate report with file:line references and canonical location suggestions.
argument-hint
[path] [--full] [--no-opus]
user-invocable
true
# 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 [`knowledge/codegraph-vs-graphify.md`](../../knowledge/codegraph-vs-graphify.md) 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 - `[path]` — Optional subdirectory to scope the scan. Only files under this path are re-annotated; out-of-scope register entries are preserved. - `--full` — Force full-scan mode regardless of whether a register exists. Bypasses the shallow-clone pre-flight check. Use when `lastScanCommit` is stale or after a major restructuring. - `--no-opus` — Skip Opus canonical resolution for ambiguous clusters. Ambiguous clusters are reported as `canonical: ambiguous — human review required` instead of triggering an Opus call. Use in cost-sensitive environments (CI, personal accounts). Apply this skill to: $ARGUMENTS
GitHub에서 보기