debug-fe-be-integration

debug-fe-be-integration is a skill for Claude Code from kensaurus/cursor-kenji. It costs 61 tokens per session (3,405 once invoked), scanned A, original, MIT.

A troubleshooting guide for failures between a frontend and its backend, such as mismatched request data, validation errors, authentication failures, or incorrect responses.

In plain words
What is it for?
Use it to investigate API 4xx and 5xx responses, missing fields, schema mismatches, CORS problems, and frontend-backend contract errors.
Why use it?
It checks both sides of the connection so the fix addresses the actual disagreement instead of hiding the visible symptom.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions Claude Code.

Part of the cursor-kenji plugin — 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers shipped together

Good fit Use it to investigate API 4xx and 5xx responses, missing fields, schema mismatches, CORS problems, and frontend-backend contract errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kensaurus/cursor-kenji/debug-fe-be-integration
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kensaurus/cursor-kenji --skill debug-fe-be-integration
Clone the repo
git clone --depth 1 https://github.com/kensaurus/cursor-kenji

Made for: Claude Code.

Or install cursor-kenji, the plugin that ships this one along with the rest of its 132 skills, 63 commands, 6 agents, 1 hook, 3 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for debug-fe-be-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/debug-fe-be-integration/github.svg)](https://agentmods.dev/skills/kensaurus/cursor-kenji/debug-fe-be-integration)
Your own site
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/debug-fe-be-integration"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/debug-fe-be-integration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for debug-fe-be-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/kensaurus/cursor-kenji/debug-fe-be-integration"><img src="https://agentmods.dev/badge/skills/kensaurus/cursor-kenji/debug-fe-be-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,405 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00061 $0.03405
Opus 5.5 $0.00024 $0.01362
Sonnet 5.5 $0.00012 $0.00681
Haiku 4.5 $0.00006 $0.00341

Measured 1mo ago against content hash ff4562f67c3a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

debug-fe-be-integration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/debug-fe-be-integration/SKILL.md · 460 lines

How it starts

The opening of the file, as written. The whole thing — 460 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend-Backend Integration Debug Skill

Degree of freedom: MIXED. Which side is wrong [HIGH freedom]; trace-both-sides probes [LOW freedom — run exactly].

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.

How to reason

  1. Observe — status, payload, validation error, both logs
  2. Interpret — FE omitted a field vs BE schema drifted vs auth/CORS
  3. Classify — missing-param / type / 404 / 401 / 500 / CORS
  4. Severity — 500 on a write path outranks a cosmetic 422 message

Worked example

Observe: FE GET /api/reports → 500; BE log ZodError: expected string, received undefined on year. Interpret: FE omitted year; BE schema required it with no default. Classify: missing-param — fix FE call and add a clear BE 422/default. Verify: same request returns 200 with the year bound; both sides updated.

Self-critique before reporting

  • Both sides read — FE call and BE schema/logs, not one side guessed
  • Contract named — status + payload field, not "they disagree"
  • Fix matches class — 404 is not patched as a Zod default
  • Right owner — single-layer crash → debug-error; proactive contract audit → audit-fe-api

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

Read the full file on GitHub · 460 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -2 lines · -5 tokens per session ff4562f67c3a
  2. 1mo ago First seen · 462 lines · 66 tokens per session scan A 31056c9de48b

Subscribe to this mod's changes

debug-fe-be-integration is a skill published in the GitHub repository kensaurus/cursor-kenji (9 stars, last pushed 26d ago), licensed MIT. It adds 61 tokens to every session and 3,405 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

error-handling-standardizer

Creates consistent error handling with custom error classes, HTTP status mapping, structured logging, safe client messages, and error taxonomy. Use when standardizing "error handling", "logging", "error responses", or "exception management".

patricio0312rev/skills · 50 tokens

backend-latency-profiler-helper

Identifies API latency hotspots and bottlenecks with profiling tools, slow endpoint detection, suspected causes, and fix roadmap. Use for "latency profiling", "performance bottlenecks", "slow APIs", or "backend performance".

patricio0312rev/skills · 54 tokens

python-dev

Python backend conventions for this project. Use when implementing or modifying API endpoints, database models/migrations, services, schemas, or backend tests.

jaansokk/cursor_tools · 31 tokens

systematic-debugging

Use when encountering bugs, test failures, unexpected behavior, or any technical issue before proposing fixes.

luisabwk/kraken · 18 tokens

diagnose-backend-bug

Diagnose a bounded backend or multi-service failure from GitHub Issues, Jira, Aone, user-provided exports, logs, traces, responses, stack traces, or job records. Use when a service, API, RPC, worker, queue, CLI, or scheduled job bug needs correlation through the project's existing observability route before repair; do…

QoderAI/better-harness · 87 tokens

developing-genkit-dart

Use when building AI agents in Dart, implementing Genkit flows or tools, integrating LLMs into Dart or Flutter applications, or using Genkit Dart plugins.

evanca/flutter-ai-rules · 39 tokens