code-impact-analysis
Analyze code impact before refactors, behavior changes, API changes, and cross-module edits. Use when missing a caller, schema consumer, route, or state dependency could break the product.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- code-impact-analysis
- license
- Apache-2.0
- description
- Analyze code impact before refactors, behavior changes, API changes, and cross-module edits. Use when missing a caller, schema consumer, route, or state dependency could break the product.
- compatibility
- Requires a local code workspace. Uses rg first; Semble, Serena, and CodeGraphContext are optional.
03 SKILL.md 正文
Code Impact Analysis
Build a verified impact set before editing shared behavior or public contracts.
- Locate the definition with an LSP tool or
rg. - Find exact call sites and serialized field names with
rg. - Find type-aware references with Serena or the language server.
- Ask CGC for callers, callees, dependencies, and complexity when indexed.
- Use Semble to find conceptually similar patterns that exact search may miss.
- Read every high-risk caller and decide the minimum edit set.
- Identify focused tests, type checks, migrations, and user-visible verification.
Examples:
rg -n "symbolName\\(" .
uvx --from semble==0.5.4 semble search "similar usage of symbolName" .
cgc analyze callers symbolName --context "$(basename "$PWD")"
cgc analyze calls symbolName --context "$(basename "$PWD")"
When tools disagree, inspect the conflicting results. Generated code, dynamic dispatch, framework conventions, or an incomplete index can explain the gap. Never reduce the impact set solely because a graph or semantic search returned few results.
04 同仓库更多 Skills
cloudflare-one-migrations
Plans migrations from Zscaler ZIA/ZPA, Palo Alto, legacy VPN, SWG, or SASE stacks to Cloudflare One. Use for migration assessments, policy mapping, rollout plans, and parity/gap analysis.
cloudflare-email-service
Send and receive transactional emails with Cloudflare Email Service (Email Sending + Email Routing). Use when building email sending (Workers binding or REST API), email routing, Agents SDK email handling, or integrating email into any app — Workers, Node.js, Python, Go, etc. Also use for email deliverability, SPF/DKIM/DMARC, wrangler email setup, MCP email tools, or when a coding agent needs to send emails. Even for simple requests like "add email to my Worker" — this skill has critical config details.
fixture-skill
Exercises the deterministic pinned-copy bridge fixture.
fixture-skill
Exercises the deterministic pinned-copy bridge fixture.
fixture
Exercise a valid direct-source Agent Plugins package without Directory submission.
campaign-planning
Plan a marketing campaign, content calendar or landing-page launch using an audience brief, existing Notion content, HubSpot CRM insights and Playwright checks.