What problem does it solve? Manually reading YApi interface documentation and translating it into TypeScript types and business code is repetitive and error-prone. This Skill automates fetching YApi docs, generating type definitions, and synchronizing code with the documented interface contract. ## Core Features & Use Cases - Open API Docs: Look up an interface by path in the local docs index and open its YApi page in the browser. - Generate Type Definitions: Parse a YApi interface URL, download the raw spec into docs/api/content, and produce a type.ts file with exported interfaces, extracting the result field when present. - Code Generation & Sync: Generate or modify business code to match the documented fields exactly, update shared/api.js endpoints and types/index.ts, remove stale mock.json files, and add JSDoc @file comments linking back to the YApi page. - Use Case: Given a YApi URL like http://192.168.0.107:3000/project/1386/interface/api/97271, the Skill fetches the spec, creates the interface types, and updates the module's API call code with correct field names and doc-link comments. ## Quick Start Parse this YApi interface documentation and generate the type definitions and API call code for it: http://192.168.0.107:3000/project/1386/interface/api/97271