find-impacted-routes
OfficialTrace and map impacted Next.js routes.
System Documentation
What problem does it solve?
Analyzes git diffs between commits to identify which Next.js App Router routes (pages) are affected by code changes. Traces the full impact chain: service changes → Jotai atoms → components → page files → URL routes. Also detects layout changes (affecting all child routes) and middleware changes (affecting all protected routes). Use when the user asks "what routes changed", "which pages are impacted", "what did my diff affect", "find changed pages", "trace route impact", "what routes need testing", or "what pages were modified". Works with the Next.js App Router + Jotai + shadcn/ui frontend in this project.
Core Features & Use Cases
- Traces impact across the dependency chain from API layer to route pages
- Detects layout and middleware changes that affect multiple routes
- Generates a structured report linking routes to source files and components
- Ideal for code reviews, testing scope, and impact analysis after diffs
Quick Start
Run the tool against a frontend git diff to obtain an impact report detailing direct and transitive route changes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: find-impacted-routes Download link: https://github.com/tonehq/tone/archive/main.zip#find-impacted-routes Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.