본문으로 건너뛰기
cccskills
무료GitHub에 공개

prismatic-api

Prismatic API access patterns and GraphQL reference. Covers the two-tier access hierarchy (MCP tools → Prism CLI), CLI usage rules, GraphQL query patterns, pagination, authentication, and managing platform resources programmatically.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(12)

  • SKILL.md7.7 KB
  • references/api-access-methods.md6.1 KB
  • references/authentication.md2.8 KB
  • references/common-patterns.md3.6 KB
  • references/components.md4.1 KB
  • references/config-variables.md3.1 KB
  • references/connections.md5.8 KB
  • references/customers.md2.8 KB
  • references/execution-and-logs.md3.0 KB
  • references/instances.md6.4 KB
  • references/integrations.md5.0 KB
  • references/pagination-and-filtering.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Prismatic API

Reference documentation for Prismatic platform operations and the standardized API access hierarchy.

API Access Method Hierarchy

Prismatic API access follows a two-tier priority system for interactive agents (e.g., Orby). Builder agents (cni-builder, component-builder) use their own script-based pipelines and should not use MCP tools directly — see their agent docs for details.

Priority 1: MCP Tools (Interactive Agents Only)

Use MCP tools when operating within an interactive agent conversation (e.g., Orby). These handle auth, retries, and output formatting automatically.

MCP ToolOperation
mcp__plugin_prismatic-skills_prism__prism_meCheck auth / user profile
mcp__plugin_prismatic-skills_prism__prism_components_listList / search components
mcp__plugin_prismatic-skills_prism__prism_components_initInitialize new component
mcp__plugin_prismatic-skills_prism__prism_components_publishPublish component
mcp__plugin_prismatic-skills_prism__prism_components_generate_manifestGenerate component manifest
mcp__plugin_prismatic-skills_prism__prism_integrations_listList / search integrations
mcp__plugin_prismatic-skills_prism__prism_integrations_initInitialize new CNI
mcp__plugin_prismatic-skills_prism__prism_integrations_importImport / update CNI
mcp__plugin_prismatic-skills_prism__prism_integrations_convertConvert YAML to CNI
mcp__plugin_prismatic-skills_prism__prism_integrations_flows_listList flows for integration
mcp__plugin_prismatic-skills_prism__prism_integrations_flows_testTest a flow
mcp__plugin_prismatic-skills_prism__prism_integrations_flows_listenListen for webhook payloads
mcp__plugin_prismatic-skills_prism__prism_integrations_generate_flowGenerate flow boilerplate
mcp__plugin_prismatic-skills_prism__prism_integrations_generate_config_pageGenerate config page
mcp__plugin_prismatic-skills_prism__prism_integrations_generate_config_varGenerate config variable
mcp__plugin_prismatic-skills_prism__prism_integrations_add_connection_config_varAdd connection config var
mcp__plugin_prismatic-skills_prism__prism_integrations_add_datasource_config_varAdd datasource config var
mcp__plugin_prismatic-skills_prism__prism_install_component_manifestInstall component manifest in CNI
mcp__plugin_prismatic-skills_prism__prism_install_legacy_component_manifestLegacy manifest install

Priority 2: Prism CLI (Scripts + Agents)

For scripts and operations not covered by MCP tools:

Built-in commands (via prism-retry.ts):

prism integrations:list --extended --output json
prism components:publish --directory ./my-component
prism integrations:import --directory ./my-integration

Custom GraphQL queries (via shared/graphql.ts):

import { graphql, GraphQLError } from "./shared/graphql.js";

const data = graphql('query { customers { nodes { id name } } }');

Or directly via CLI:

prism graphql:query 'query { customers { nodes { id name } } }'
prism graphql:query 'query($id: ID!) { customer(id: $id) { name } }' \
  --variables '{"id": "Q3VzdG9tZXI6..."}'

Decision Tree

Agent calling directly?  → Use MCP tool if available, else `prism` via Bash
Script?                  → Use shared/graphql.ts for custom queries,
                           prism-retry.ts for built-in CLI commands

Rule: NEVER create inline GraphQL clients — always use shared/graphql.ts imports.

Common Operations Cheat Sheet

These are the most frequently needed GraphQL operations. Use these exact queries — don't guess the field names.

OperationReference FileQuery/Mutation Name
Find test instance for an integrationreferences/instances.md → "Get Test (System) Instance"instances(integration: $id, isSystem: true)
Get execution result with logsreferences/execution-and-logs.md → "Get Execution Result with Step Results"executionResult(id: $id)
Publish an integration versionreferences/integrations.md → "Mutation: Publish Integration"publishIntegration(input: { id: $id })
Set marketplace availabilityreferences/integrations.md → "Mutation: Set Marketplace Availability"updateIntegrationMarketplaceConfiguration
Clear instance persisted statereferences/instances.md → "Mutation: Clear Instance Persisted State"updateInstance(input: { id: $id, persistedData: "{}" })
Update config variables (safe)references/instances.md → "Mutation: Update Instance Config Variables"updateInstanceConfigVariables (NOT updateInstance)

Read the referenced file section for the full query with all fields. Do not reconstruct queries from memory.

CLI Usage Rules

  1. prism must be installed globally (npm install -g @prismatic-io/prism) — never use npx prism
  2. All list commands: always use --extended --output json
  3. --extended and --columns are mutually exclusive — always prefer --extended
  4. For graphql:query: always use --variables flag, never string interpolation
  5. Auth is handled by the CLI — no custom token exchange needed

API Endpoint

  • URL: {PRISMATIC_URL}/api (default: https://app.prismatic.io/api)
  • Method: HTTP POST with JSON body {"query": "...", "variables": {}}
  • Auth: Bearer token in Authorization header
  • Content-Type: application/json

Authentication

Obtain tokens via Prism CLI. See references/authentication.md.

Quick reference:

  • prism me:token - Short-lived access token
  • prism me:token --type refresh - Long-lived refresh token
  • Access tokens valid for 7 days, auto-refreshed 5 minutes before expiry
  • All authenticated requests return HTTP 200, even on errors - always check errors array

Pagination

All collection queries use Relay cursor-based pagination. See references/pagination-and-filtering.md.

query($after: String) {
  resources(after: $after, first: 100) {
    nodes { id name }
    pageInfo { hasNextPage endCursor }
  }
}

Critical Patterns

  1. Enum values are lowercase strings: variableScope: "customer" not "CUSTOMER", managedBy: "org" not "ORG"
  2. Use updateInstanceConfigVariables (partial, safe) not updateInstance (replaces ALL config vars)
  3. Always deploy after config changes: Call deployInstance to activate
  4. Use parameterized variables: Never string-concatenate into queries
  5. Check mutation errors: Mutations return errors { field messages } alongside results

Key References by Resource Type

Core Resources

  • references/customers.md - Customer CRUD, external IDs, labels
  • references/integrations.md - Integration management, publishing, testing
  • references/instances.md - Instance deployment, config variables, lifecycle
  • references/components.md - Component queries, action introspection, search

Connections & Config

  • references/connections.md - Scoped config vars, customer config vars, connection management
  • references/config-variables.md - Instance config updates, deployment patterns

Operational

  • references/execution-and-logs.md - Execution results, step results, log queries, replay
  • references/common-patterns.md - Batch operations, nested queries, aliased mutations, error handling
  • references/api-access-methods.md - Detailed MCP tool reference, CLI patterns, migration notes

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

This skill should be used when the user needs to analyze a Dell Boomi export, parse Boomi Component XML files, migrate from Boomi to Prismatic, convert Boomi processes to CNI flows, map Boomi shapes to Prismatic equivalents, or interpret Boomi connector settings, transform maps, and process properties. Relevant when the user says "analyze this Boomi export", "migrate from Boomi", "parse Boomi XML", "convert Boomi process to Prismatic", or "what does this Boomi shape map to".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

prismatic-io/prismatic-skills282026년 10월 15일 업데이트

Architecture patterns, code generation guides, and reference documentation for building Prismatic custom components.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

prismatic-io/prismatic-skills282026년 10월 15일 업데이트

This skill should be used when the user needs to analyze a Cyclr export, parse Cyclr JSON files, migrate from Cyclr to Prismatic, convert Cyclr cycles to CNI flows, map Cyclr steps to Prismatic equivalents, or interpret Cyclr connector settings, field mappings, and cycle parameters. Relevant when the user says "analyze Cyclr export", "migrate from Cyclr", "parse Cyclr JSON", "convert Cyclr cycle to Prismatic", or "what does this Cyclr step map to".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

prismatic-io/prismatic-skills282026년 10월 15일 업데이트

Reference documentation for embedding Prismatic's integration marketplace and workflow builder in a web application. Covers JWT authentication, the embedded SDK, marketplace and workflow embedding, theming, i18n, additional screens, and custom marketplace UI. Use when the user asks about embedding Prismatic, JWT tokens for embedded apps, marketplace iframes, workflow builder integration, custom marketplace UI, or frontend SDK setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

prismatic-io/prismatic-skills282026년 10월 15일 업데이트

Architecture patterns, manifest usage, code generation guides, and reference documentation for building Prismatic Code Native Integrations.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

prismatic-io/prismatic-skills282026년 10월 15일 업데이트

Core knowledge for migrating integrations from other platforms (Boomi, Cyclr) to Prismatic Code Native Integrations. Provides the standard integration schema, schema-to-spec mapping, confidence scoring, and migration-aware code generation patterns. Use when the user says "migrate", "convert from Boomi/Cyclr", "parse this export".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

prismatic-io/prismatic-skills282026년 10월 15일 업데이트

prismatic-io의 스킬 모두 보기

이 스킬의 문제 신고