Skip to main content
Manus에서 모든 스킬 실행
원클릭으로

knowject-api-to-types

스타69
포크5
업데이트2026년 5월 24일 07:16

Use when the user wants to generate TypeScript types from an OpenAPI document and wire them into the typed client produced by knowject-read-api. Triggers on phrases like "/knowject types", "把 openapi 转成 types", "给 read-api client 补类型", "生成 typed client 的类型", "rewrite the unknown placeholders", "wire types into the generated client". Day-1 input is OpenAPI 3 only — non-OpenAPI inputs (Express routes, Mongoose, Zod, Pydantic, Spring DTOs, Nest decorators, markdown specs, etc.) are refused with framework-specific recommendations for exposing OpenAPI. Two output modes: (1) primary — emit a sibling <module>.types.ts and rewrite request<unknown>(...) in the read-api client to request<X>(...); (2) fallback — emit types-only when no read-api client file is found. Both modes use the diff-first / confirm-before-write safety gate established in Phase 2.

설치

Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.

파일 탐색기
15 개 파일
SKILL.md
readonly