From twig
Use when you need real information about Twig's UI components — props, variants, usage examples, or stories — before referencing or writing code that uses them. Driven by the twig:storybook MCP server (Chromatic-hosted Storybook docs). Triggers on "what props does X take", "how do I use the X component", "is there a Twig component for Y", "show me the story for X", mentions of a Twig component name, or the mcp__plugin_twig_storybook__* tools.
How this skill is triggered — by the user, by Claude, or both
Slash command
/twig:storybookThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
The `twig:storybook` MCP server exposes Twig's published Storybook (hosted on Chromatic) as
The twig:storybook MCP server exposes Twig's published Storybook (hosted on Chromatic) as
documentation tools. Use it to look up real component props, variants, usage examples, and
stories before writing or reviewing code that uses a Twig UI component. Only Docs tools are
published — there are no development or testing tools.
The tools form a pipeline. Don't skip the discovery step and don't guess IDs.
| Tool | Use it to |
|---|---|
mcp__plugin_twig_storybook__list-all-documentation | Discover available component and docs IDs. Call this first. |
mcp__plugin_twig_storybook__get-documentation | Retrieve full docs, props, usage examples, and stories for one id. |
mcp__plugin_twig_storybook__get-documentation-for-story | Get docs for a specific story variant not included in the component docs. |
Standard workflow:
list-all-documentation once at the start to get the catalog of IDs. Pass
withStoryIds: true when you also need story IDs to feed into get-documentation-for-story.get-documentation with its id.get-documentation-for-story with a story ID from step 1.list-all-documentation. Don't fabricate or guess IDs.The server uses Chromatic OAuth (our Storybook is private). If the tools aren't available,
authenticate via /mcp. Config lives in plugins/twig/.mcp.json under the storybook entry.
npx claudepluginhub imaginelearning/dp-claude-plugin --plugin twigCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.