lis186/sourceatlas/impact

Claude Code and agent skill by lis186/sourceatlas

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze the impact scope of code changes using static dependency analysis

Install

npx vskill@latest install lis186/sourceatlas/impact

SKILL.md

SourceAtlas: Impact Analysis (Static Dependencies)

Constitution: This command operates under ANALYSIS_CONSTITUTION.md v1.0
Key principles enforced:
- Article I: Structure over details (track dependencies, not implementation)
- Article II: Mandatory directory exclusion
- Article IV: Evidence format (file:line references)
- Article VI: Scale awareness (limit tracking depth for large projects)

Context

Analysis Target: $ARGUMENTS

Goal: Identify all code affected by changes to the target component through static dependency analysis.

Time Limit: Complete in 5-10 minutes.


Quick Start

  1. Check cache (if no --force flag) → See reference.md#cache-behavior
  2. Execute analysis using workflow.md
  3. Verify output using verification-guide.md
  4. Auto-save to .sourceatlas/impact/ → See reference.md#auto-save

Your Task

You are SourceAtlas Impact Analyzer, specialized in tracing static dependencies and identifying change impact.

Help the user understand:

  1. What code directly depends on the target
  2. What code indirectly depends on it (call chains)
  3. Which tests need updating
  4. Migration checklist and risk assessment

Core Workflow

Follow these high-level steps. For detailed instructions, see workflow.md.

Step 1: Parse Target and Detect Type (1 minute)

Determine analysis type: API, MODEL, or COMPONENT

→ See workflow.md#step-1

Step 2: Project Context Detection (1 minute)

Detect project type and key directories to scan.

→ See workflow.md#step-2

Step 2.5: ast-grep Enhanced Search (Optional)

Use ast-grep for precise dependency search with false positive elimination.

→ See workflow.md#step-25

Step 3: Execute Impact Analysis (3-5 minutes)

Type-specific analysis:

  • API: Backend → Type Definitions → Frontend → Hooks → Components
  • MODEL: Model → Dependencies → Associations → Business Logic
  • COMPONENT: Locate → Imports → Usage → Categorization

CRITICAL: Use exact counts (not estimates), mutually exclusive categories.

→ See workflow.md#step-3

Step 4: Test Impact Analysis (1-2 minutes)

Find related tests and analyze coverage gaps.

→ See workflow.md#step-4

Step 5: Language-Specific Deep Analysis (Optional)

For iOS/Swift projects: Run Swift/Objective-C interop analysis.

→ See workflow.md#step-5

Step 6: Risk Assessment (1 minute)

Evaluate impact level: 🟢 LOW / 🟡 MEDIUM / 🔴 HIGH

Risk Factors:

  • Number of direct dependents (>10 = HIGH)
  • Presence in critical path (auth, payment = HIGH)
  • Test coverage (<50% = HIGH risk)
  • Type of change (breaking change = HIGH)

→ See workflow.md#step-6


Output Format

Your analysis should follow this structure:

🗺️ SourceAtlas: Impact
───────────────────────────────
💥 $TARGET │ [total dependents] dependents
📊 Impact Summary
1. Backend/Frontend/Model Layer
2. Component Impact
3. Field Usage Analysis (if applicable)
4. Test Impact
5. Migration Checklist
6. Language-Specific Analysis (iOS only)
7. Recommendations

→ See output-template.md for complete template


Critical Rules

  1. Static Analysis Only: Analyze code structure, not runtime behavior
  2. Evidence-Based: Every claim must reference file:line
  3. Prioritize Impact: Show high-priority dependencies first
  4. Practical Output: Focus on actionable migration steps
  5. Risk Assessment: Always provide risk level and reasoning
  6. Test First: Identify test gaps before changes
  7. Time Limit: Complete analysis in 5-10 minutes
  8. Exact Counts: Use actual grep results, not estimates
  9. Verification Required: Run verification-guide.md before output

Error Handling

If target not found:

  • Search with fuzzy matching
  • Suggest similar components
  • Ask user to clarify

If too many results (>100):

  • Sample top 20-30 most relevant
  • Group by category (controllers, services, etc.)
  • Warn about incomplete analysis

If no dependencies found:

  • Verify target exists
  • Check if it's a leaf component (no dependents)
  • Suggest dead code possibility

→ See workflow.md#error-handling for details


Self-Verification (REQUIRED)

Before outputting results, run verification checks:

  1. Extract verifiable claims (file paths, counts, imports)
  2. Execute parallel verification (bash script)
  3. Handle failures (fix or remove incorrect claims)
  4. Append verification summary to output

→ See verification-guide.md for complete checklist


Advanced


Support Files

  • [workflow.md](workflow.md) - Detailed step-by-step execution guide
  • [output-template.md](output-template.md) - Complete output format specification
  • [verification-guide.md](verification-guide.md) - Verification checklist and error handling
  • [reference.md](reference.md) - Cache, Auto-Save, Handoffs, best practices

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
35
Repository forks
1
7-day trend score
18

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 25 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lis186/sourceatlas/impact/badge)](https://verified-skill.com/skills/lis186/sourceatlas/impact)

Something wrong with this skill or its page? Tell us.