server-actions-vs-api-optimizer

Installation
SKILL.md

Server Actions vs API Routes Optimizer

Analyze existing routes and recommend whether to use Server Actions or traditional API routes based on specific use case patterns, including authentication flows, data revalidation, external API calls, and client requirements.

Core Capabilities

1. Analyze Existing Routes

To analyze current route architecture:

  • Scan app directory for route handlers and Server Actions
  • Identify patterns in request/response handling
  • Detect authentication, revalidation, and external API usage
  • Use scripts/analyze_routes.py for automated analysis

2. Provide Recommendations

Based on analysis, provide recommendations using the decision matrix from references/decision_matrix.md:

Related skills

More from hopeoverture/worldbuilding-app-skills

Installs
10
GitHub Stars
3
First Seen
Jan 26, 2026