Skip to main content
Run any Skill in Manus
with one click
$pwd:

adopting-generated-api-types

// Use when migrating frontend code from manual API client calls (`api.get`, `api.create`, `api.surveys.get`, `api.dashboards.list`, `new ApiRequest()`) and handwritten TypeScript interfaces to generated API functions and types. Triggers on files importing from `lib/api`, files with `api.get<`, `api.create<`, `api.<entity>.<method>`, manual interface definitions that duplicate backend serializers, or any frontend file that constructs API URLs by hand. Covers the full replacement workflow — finding the generated equivalent, swapping imports, adapting call sites, and removing dead manual types.

$ git log --oneline --stat
stars:34,659
forks:2,753
updated:April 23, 2026 at 10:25
File Explorer
3 files
SKILL.md
readonly