Replit Extension

Build and submit a Replit Extension (a React tool panel under integrations/<name>/ built on the Replit Extensions API) and list it in the Replit Extensions store. Use when creating a Replit extension, building a workspace tool panel, calling an external API from the extension, or fixing type errors where a typed API-result wrapper doesn't match the SDK's actual return. Covers the whole path plus the traps: the extension is a React panel in the Replit workspace (@replit/extensions), and a hand-rolled `unwrap`/`ApiResult` helper that over-specifies the shape of a client method's return (e.g. asserting `data: T[]` when the client returns `{ data?: T[] }`) produces cascading TS2352/TS2345 errors — narrow at the call site instead. Sibling of the other integration skills (raycast-extension, browser-extension). Triggers: 'build a Replit extension', 'Replit Extensions API', '@replit/extensions', 'Replit extensions store', 'my API-result type does not match the SDK return'.

pooriaarab df08b36 3.2 KB Updated

File contents

pooriaarab/skills/tree/main/replit-extension commit df08b362dd

Frequently asked questions

npx skillmds@latest add pooriaarab/replit-extension