api-logic-mapper

Maps API endpoints and edge functions with request/response shapes and authentication.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/BruceTyndall/socelle-global --skill api-logic-mapper
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: api-logic-mapper
Source: https://github.com/BruceTyndall/socelle-global/tree/main/.agents/skills/api-logic-mapper
Command: npx skills add https://github.com/BruceTyndall/socelle-global --skill api-logic-mapper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you understand and document your application's API surface by mapping edge functions, their logic, and how they are called from the frontend.

Core Features & Use Cases

  • Edge Function Inventory: Lists all edge functions with details like HTTP methods, line counts, and authentication requirements.
  • Frontend Call Tracing: Identifies which frontend components invoke specific edge functions.
  • Orphan Function Detection: Finds edge functions that are not called from the frontend, indicating potential dead code.
  • Inline Logic Identification: Flags complex data transformations or direct database mutations within frontend code that might be better suited for edge functions.
  • Use Case: Ensure all your backend logic is properly exposed via documented API endpoints and that no critical functions are left uncalled or are being duplicated in the frontend.

Quick Start

Use the api-logic-mapper skill to generate a map of all API logic and endpoints within the SOCELLE-WEB project.

Frequently Asked Questions about api-logic-mapper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I map edge function endpoints and trace frontend API call sites?▼

To map edge function endpoints and trace frontend API call sites, this Skill scans your project directory to inventory HTTP methods, security configurations, and identifies which frontend components invoke specific backend functions.

How do I find orphan edge functions that are not called from the frontend?▼

To find orphan edge functions, this Skill detects uncalled backend endpoints by cross-referencing your edge function inventory against identified frontend component invocations to highlight potential dead code.

Can I detect inline business logic in frontend code that should be moved to edge functions?▼

Yes, you can detect inline business logic in frontend code. This Skill flags complex data transformations and direct database mutations within frontend components that should be refactored into server-side edge functions.

Does this API logic mapper inventory authentication requirements for edge functions?▼

Yes, this API logic mapper inventories authentication requirements. It scans all edge functions within the specified project directory to document their HTTP methods, line counts, and security configurations.

What is the best way to document an application's API surface and request response shapes?▼

The best way to document an application's API surface and request response shapes is using this Skill to map edge function logic, security configurations, and frontend call sites to ensure backend logic is properly exposed.