Skip to main content

code-impact-analysis

Safely analyze code impact before refactors, behavior changes, API changes, and cross-module edits.

설치로 이동

소스 정보

저장소
777genius/universal-plugins-for-ai-agents
최근 소스 활동
2026년 5월 22일 15:02
감지된 SKILL.md 언어
영어
스타
6
포크
1

설치 방법

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

소스 파일 검토

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

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
code-impact-analysis
description
Safely analyze code impact before refactors, behavior changes, API changes, and cross-module edits.
execution_mode
docs_only
supported_agents
["codex","claude"]
# Code Impact Analysis ## What it does Builds a verified impact set before changing shared behavior, public interfaces, state stores, routes, API DTOs, database models, feature flags, or memory/transcription flows. ## When to use Use this before any refactor or behavior change where missing one caller could break the product. ## How to run 1. Locate the definition with Serena or `rg`. 2. Find exact callsites with `rg`. 3. Find type-aware references with Serena. 4. Ask CGC for callers, callees, and complexity. 5. Use Semble to find similar patterns that exact search may miss. 6. Decide the minimum edit set. 7. Run focused tests, typecheck, or app verification. Useful commands: ```bash rg -n "symbolName\\(" . uvx --from semble==0.2.0 semble search "similar usage of symbolName" . cgc analyze callers symbolName --context "$(basename "$PWD")" cgc analyze calls symbolName --context "$(basename "$PWD")" cgc analyze complexity --limit 20 --context "$(basename "$PWD")" ``` ## Constraints - If `rg` and Serena disagree, inspect both results. Generated code, dynamic dispatch, and framework magic can explain the difference. - If CGC disagrees with `rg` or Serena, treat CGC as incomplete until verified. - If Semble finds a pattern outside exact symbol search, inspect it before concluding the impact set is small. - If a change crosses modules or user-facing workflows, add or update tests near the affected behavior. - Stop and ask for direction only when unrelated dirty user changes block a safe edit, the change requires a product decision, or no reasonable verification is possible.
GitHub에서 보기