audit-app-router
Installation
SKILL.md
App Router Audit
Audit Next.js 15 App Router patterns across the codebase.
Scan Areas
-
Server vs Client Components
- Find all 'use client' directives
- Verify each is necessary (needs interactivity/hooks/browser APIs)
- Flag unnecessary Client Components
-
Data Fetching
- Locate all useEffect with fetch calls → should be Server Components
- Check fetch() cache configuration
- Verify no waterfalls (sequential awaits)