debug-fe-be-integration

Solid

Debug frontend-backend integration issues for any project by analyzing backend logs, identifying incorrect API calls, and fixing both sides. Auto-detects FE/BE frameworks, API style (REST/GraphQL/tRPC), and validation library. Uses Sentry MCP for production error context, Firecrawl for debugging pattern research, and Supabase MCP for data verification. Replaces hardcoded paths with auto-detected patterns. Use when diagnosing API errors, mismatched requests, integration issues between frontend and backend, or when the user mentions API 4xx/5xx errors, validation failures, or FE-BE contract mismatches.

Web & Frontend 6 stars 0 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
28
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Frontend-Backend Integration Debug Skill Systematic approach to debugging frontend-backend integration issues by analyzing backend logs, production errors, and source code to identify root causes and fix both sides. --- ## Step 0: Auto-Detect Stack Before debugging, discover the project's architecture. ### 0a. Detect Frontend Framework Read `package.json` and look for: | Signal | Framework | |--------|-----------| | `next` | Next.js | | `nuxt` | Nuxt | | `@remix-run/react` | Remix | | `@sveltejs/kit` | SvelteKit | | `vite` + `react` | Vite React SPA | | `@angular/core` | Angular | ### 0b. Detect Backend Framework ``` Glob: **/app/api/**/route.ts → Next.js App Router Glob: **/pages/api/**/*.ts → Next.js Pages Router Glob: **/server/api/**/*.ts → Nuxt server Glob: **/src/routes/**/*.ts → Express/Hono/Fastify Glob: **/src/app.ts or **/src/index.ts → Node backend entry Glob: **/main.py or **/app.py → Python backend Glob: **/main.go → Go backend ``` ### 0c. Detect API Style and Validation | Signal | Technology | |--------|-----------| | `@trpc/server` | tRPC (type-safe, no REST audit needed) | | `graphql` or `@apollo/server` | GraphQL | | `zod` in BE dependencies | Zod validation | | `joi` in BE dependencies | Joi validation | | `yup` in BE dependencies | Yup validation | | `class-validator` | NestJS-style validation | | `pydantic` | Python Pydantic validation | ### 0d. Find Route and Controller Patterns ``` Grep: pattern "router\.(get|post|patch|put|delete)" glob "...

Details

Author
kensaurus
Repository
kensaurus/cursor-kenji
Created
5 months ago
Last Updated
3 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category