Component Patterns (Prismatic)
Prismatic custom component conventions for the spectral TypeScript SDK
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Aug 7, 2026
- Environment
- Claude Code 2.x (agent harness)
Graded by compiling, not reading: installed the real @prismatic-io/spectral 10.25.0 from npm and type-checked two versions of the same Canny connector. The no-skill baseline failed tsc because connection() takes a display object rather than a bare label; the skill-guided version compiled with zero errors and additionally carried the six things the baseline omitted entirely — connection-type validation that throws ConnectionError, the spectral HttpClient factory instead of raw axios, debug wiring through context.debug.enabled, clean functions on inputs, an examplePayload per action, and the required rawRequest action. Caveat for standalone use: the skill is a component of the Prismatic plugin, is marked user-invocable:false, and points at a templates directory under the plugin root that does not travel with a plain skills-folder copy. One reference file also still shows a class-based client that the skill's own body lists as an anti-pattern.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 4/5
- Triggers reliably 5/5
- Output vs. baseline 7/10
- Docs & honesty 4/5
What Component Patterns (Prismatic) does
Reference documentation for building Prismatic custom components with the @prismatic-io/spectral SDK: connection definitions, the function-based HTTP client factory, action and trigger structure, data sources, example payloads and build/publish troubleshooting. Loads when you are scaffolding or writing a Prismatic connector or utility component in TypeScript.
How to install Component Patterns (Prismatic)
git clone https://github.com/prismatic-io/prismatic-skills.git
mkdir -p ~/.claude/skills
cd prismatic-skills && cp -r plugin/skills/component-patterns ~/.claude/skills/component-patterns
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Component Patterns (Prismatic)
-
/component-patternsPrismatic custom component conventions for the spectral TypeScript SDK
It also activates on plain-language prompts like these:
-
Write a Prismatic custom component connection for the Canny API -
Scaffold a Prismatic action using the spectral HTTP client factory -
Build a Prismatic trigger and data source for this REST API
Frequently asked questions
- Is the Component Patterns (Prismatic) skill free?
- Yes. The skill itself is free from prismatic-io/prismatic-skills. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Component Patterns (Prismatic) work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Aug 7, 2026. Verdict: Tested · Works. Graded by compiling, not reading: installed the real @prismatic-io/spectral 10.25.0 from npm and type-checked two versions of the same Canny connector. The no-skill baseline failed tsc because connection() takes a display object rather than a bare label; the skill-guided version compiled with zero errors and additionally carried the six things the baseline omitted entirely — connection-type validation that throws ConnectionError, the spectral HttpClient factory instead of raw axios, debug wiring through context.debug.enabled, clean functions on inputs, an examplePayload per action, and the required rawRequest action. Caveat for standalone use: the skill is a component of the Prismatic plugin, is marked user-invocable:false, and points at a templates directory under the plugin root that does not travel with a plain skills-folder copy. One reference file also still shows a class-based client that the skill's own body lists as an anti-pattern.
- What is the Component Patterns (Prismatic) SkillProof Score?
- 8.0/10 — installs cleanly 4/5, triggers reliably 5/5, output vs. baseline 7/10, docs & honesty 4/5.
- How do I install Component Patterns (Prismatic)?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Component Patterns (Prismatic) with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.