Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
component-docs - Skill - OpenSmartRoute
Skillv1.0.0
component-docs
Run this skill yourself when the user asks about a component's props, API, or usage. It looks up the components of a project with Storybook, with their props and usage examples as Storybook documents…
Imported from storybookjs/skills (skills/component-docs/SKILL.md) via skills.sh. Install upstream with npx skills add storybookjs/skills --skill component-docs. Copyright stays with the author.
Prerequisites:
Storybook must be installed in the project. If it is not, read the components' source files instead.
Storybook must be 11.0 or later. An 11.0 prerelease (11.0.0-alpha.x, -beta.x or -rc.x) or a canary build (0.0.0-pr-*) also counts. If it is older, invoke the /storybook-upgrade skill only after the user explicitly approves an upgrade; until then, read the components' source files instead.
Run every Storybook CLI command from the package where Storybook is installed (in a monorepo often a leaf package such as packages/ui).
Run npx storybook skills component-docs in a command of its own before you read any component's source, and follow its output: it lists the commands that show this project's components, props, and usage examples, and when to use them.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
# after Install: the listing is in your workspace's routing pool - a plan picks it for its slotcurl-s-X POST https://api.opensmartroute.ai/api/v1/route -H 'Authorization: Bearer $OSR_API_KEY' -H 'Content-Type: application/json' -d '{"text": "...", "plan": true}'
Installed into a catalogue, chosen by a router
Install component-docs and it becomes one more candidate the router can pick - when it fits.
A listing is a routing target with a manifest: what it does, which domains it covers, what it costs and who publishes it. Once installed it sits beside your own models and tools, is scored like any other candidate for each request, and shows up in the trace when it wins. Ratings come from workspaces that installed it, one per account.
When a provider is down or over quota the request moves on; the trace says it did.
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
storybookjs-skills-component-docs.ocm.jsonjson
{
"ocm": "1",
"id": "storybookjs-skills-component-docs",
"kind": "skill",
"name": "component-docs",
"description": "Run this skill yourself when the user asks about a component's props, API, or usage. It looks up the components of a project with Storybook, with their props and usage examples as Storybook documents them, to answer such a question or to reuse existing components instead of building duplicates.",
"publisher": "storybookjs",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Run this skill yourself when the user asks about a component's props, API, or usage. It looks up the components of a project with Storybook, with their props and usage examples as Storybook documents them, to answer such a question or to reuse existing components instead of building duplicates."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/storybookjs/skills",
"path": "skills/component-docs/SKILL.md",
"ref": "HEAD",
"url": "https://www.skills.sh/storybookjs/skills/component-docs",
"key": "storybookjs/skills/skills/component-docs/SKILL.md"
}
},
"instructions": "Prerequisites:\n\n1. Storybook must be installed in the project. If it is not, read the components' source files instead.\n2. Storybook must be 11.0 or later. An 11.0 prerelease (`11.0.0-alpha.x`, `-beta.x` or `-rc.x`) or a canary build (`0.0.0-pr-*`) also counts. If it is older, invoke the `/storybook-upgrade` skill only after the user explicitly approves an upgrade; until then, read the components' source files instead.\n\nRun every Storybook CLI command from the package where Storybook is installed (in a monorepo often a leaf package such as `packages/ui`).\n\nRun `npx storybook skills component-docs` in a command of its own before you read any component's source, and follow its output: it lists the commands that show this project's components, props, and usage examples, and when to use them.",
"cost": {
"context_tokens": 199
}
}
Fetch it by URL: GET /api/v1/registry/storybookjs-skills-component-docs/manifest?version=1.0.0
Reviews
Star ratings from people who tried it. One review per account; edit yours any time.
No reviews yet. Install it, try it, and be the first to rate it.