Build a custom Prismatic connector for an internal API
언제 쓸까: You have an internal API that your Prismatic flows need to talk to.
사전 조건
- Prismatic account + SDK — npm i -g @prismatic-io/prism; prism login
- Skill installed — git clone https://github.com/prismatic-io/prismatic-skills ~/.claude/skills/prismatic-skills
흐름
-
Scaffold the connectorUse prismatic-skills. Scaffold a connector for our Orders API — base URL, bearer auth, actions for list, get, create.✓ 복사됨→ Connector directory with TS entry points, manifest, test files
-
Implement actionsFill in the listOrders action with pagination and error handling.✓ 복사됨→ TS implementation with types and Prismatic input/output conventions
-
Test locallyRun the test harness with a mock response.✓ 복사됨→ prism tests output; green
결과: A deployable connector with actions your flows can use.
함정
- Missing input validation — Prismatic validates at the platform boundary; still use Zod or similar for runtime safety