Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 18:46:46 +08:00
commit c47723919d
6 changed files with 1339 additions and 0 deletions

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
# server-actions-vs-api-optimizer
Analyze routes and recommend whether to use Server Actions or API routes based on use case patterns including authentication, revalidation, external API calls, and client requirements. Use this skill when deciding between Server Actions and API routes, optimizing Next.js data fetching, refactoring routes, analyzing route architecture, or choosing the right data mutation pattern. Trigger terms include Server Actions, API routes, route handler, data mutation, revalidation, authentication flow, ext