بنقرة واحدة
impact-analysis
Analyzes the impact of changing a file or function - what else would break
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Analyzes the impact of changing a file or function - what else would break
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Analyzes the current session's token usage, pinpoints where tokens were wasted, and produces concrete optimization actions
Generates API documentation from route definitions (Express, Fastify, Hono, etc.)
Adds caching to expensive operations - Redis, in-memory, HTTP cache headers
Staged değişiklikleri analiz edip Conventional Commits formatında commit mesajı oluşturur
Reports cyclomatic complexity hotspots and refactoring suggestions
Finds unused functions, variables, exports, and dependencies across the codebase
| name | impact-analysis |
| description | Analyzes the impact of changing a file or function - what else would break |
| argument-hint | <file-path> [function-name] |
| user-invocable | true |
| allowed-tools | Grep Read Glob Bash |
| effort | medium |
Target: $1 $2
grep -rn "from.*$1\|require.*$1\|import.*$1" src/ --include="*.ts" --include="*.tsx" | grep -v "node_modules"
# For each file found above, repeat the grep
Check for indirect usage:
import()export * fromCheck test coverage of the target:
grep -rn "$2\|$(basename $1 .ts)" src/ --include="*.test.*" --include="*.spec.*"
src/auth/token.ts → changing this affects:
DIRECT (3 files):
src/middleware/auth.ts ← critical path
src/api/users.ts ← medium risk
src/utils/session.ts ← low risk
INDIRECT (7 files via middleware/auth.ts):
src/api/*.ts ← all protected routes
TESTS (2 files):
src/auth/token.test.ts
src/middleware/auth.test.ts