인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
데이터 및 연구 · SKILL.md

impact

impact

Analyzes the blast radius and risk level before modifying any file. Run this skill before touching production code, before refactoring, and before changing core logic. It is mandatory for files under payment, auth, billing, and security paths. Triggers on /impact, "impact analysis", or "what does changing this file affect?"

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: impact description: Analyzes the blast radius and risk level before modifying any file. Run this skill before touching production code, before refactoring, and before changing core logic. It is mandatory for files under payment, auth, billing, and security paths. Triggers on /impact, "impact analysis", or "what does changing this file affect?" version: 1.1.0 updated: 2026-02-11

Impact Analyzer

Analyzes impact scope, risk level, and related tests before modifying a file to support safe changes.


Trigger Conditions

  • /impact <file-path>
  • /impact analyze <file-path>
  • "What does changing this file affect?"
  • "Run an impact analysis"

Absolute Prohibitions

  1. Do not modify code directly — this skill is analysis-only.
  2. Do not guess dependencies — always parse actual import/require statements.
  3. Do not assert risk level without analysis — verify both file path patterns and actual dependencies.

Execution Steps

Receive /impact <file-path>
    |
    v
[1] Validate target file
    |
    v
[2] Risk classification
    |
    v
[3] Direct dependents analysis
    |
    v
[4] Indirect dependents analysis
    |
    v
[5] Identify affected domains
    |
    v
[6] Locate related tests
    |
    v
[7] Determine recommended reviewers
    |
    v
[8] Output impact report

Step 1: Validate Target File

Confirm file existence and type (supported: .py, .js, .ts, .jsx, .tsx, .vue, .svelte)

Step 2: Risk Classification

Classify risk based on file path patterns.

Risk LevelPatternRequired Action
CRITICALpayment, billing, auth, security, crypto, jwt, passwordFull test suite + mandatory review
HIGHservices/*, core/, middleware/, shared/Run related test suite
MEDIUMapi/, routes/, models/, schemas/Verify contract compatibility
LOWtests/, utils/, config/, docs/Standard review

Custom configuration: If .claude/risk-areas.yaml exists, it takes priority.

Step 3: Direct Dependents Analysis

Find all files that import or require the target file.

# Python
grep -rn "from.*<module-name>|import.*<module-name>" --include="*.py" .

# JS/TS
grep -rn "from.*<module-name>|require.*<module-name>" --include="*.ts" --include="*.js" .

Step 4: Indirect Dependents Analysis

If the target file defines API endpoints, find files that call those APIs.

TypeDescriptionDiscovery Method
API callsClients calling the endpointgrep for API path strings
Event subscriptionsFiles publishing/subscribing to eventsgrep for event names

Step 5: Identify Affected Domains

Identify affected domains from dependency analysis results.

  • Based on directory structure: domains/<domain-name>/, src/<domain-name>/
  • Domain definitions in .claude/project-team.yaml take priority if present

Step 6: Locate Related Tests

Source FileSearch Targets
user_service.pytest_user_service.py, user_service_test.py
userService.tsuserService.test.ts, userService.spec.ts

Step 7: Determine Recommended Reviewers

Risk LevelRecommended Reviewer
CRITICALQA Manager + Chief Architect
HIGHPart Leader (relevant domain)
MEDIUMDomain Developer
LOWStandard code review

Cross-domain impact: Add the Part Leader of every affected domain.

Step 8: Output Impact Report

See references/output-formats.md for detailed output format.


Hook Integration

Hook (pre-edit-impact-check.js)Skill (/impact)
TimingAuto-runs on EditOn user request
ScopeSingle file summaryDetailed analysis + recommendations
PurposeReal-time warningPre-change planning

Related Skill Integration

SkillWhen to UsePurpose
/deps <domain>When cross-domain impact is foundVisualize domain dependencies
/coverage <file>After reviewing related testsDetailed test coverage check
/changelog <domain>After change is completeReview change history record

Reference Documents

  • references/output-formats.md — detailed output format
  • references/examples.md — usage examples
저장한 Skills