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.
react - Skill - OpenSmartRoute
Skillv1.0.0
react
Function components and hooks only; no state library. Shared auth state comes from useAuth(). - Call Supabase only through src/lib/api.ts.
Instruction file imported from tuanluu-agilityio/memorytestllm (.github/instructions/react.instructions.md). Copyright stays with the author.
Function components and hooks only; no state library. Shared auth state comes from useAuth().
Call Supabase only through src/lib/api.ts. Add a wrapper there for each new RPC (map snake_case to camelCase, throw Error on failure).
Styling: reuse the v0 classes in src/index.css (card, btn, chip, chart, …) and Tailwind tokens (bg-card, text-muted, border-line, text-blue, font-heading).
Accessible roles drive the tests: dialogs use role="dialog", tabs use role="tab", errors use role="alert".
Timings come from CFG in src/config.ts; never hardcode delays.
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 react 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.
{
"ocm": "1",
"id": "tuanluu-agilityio-memorytestllm-react-instructions",
"kind": "skill",
"name": "react",
"description": "Function components and hooks only; no state library. Shared auth state comes from `useAuth()`. - Call Supabase only through `src/lib/api.ts`. Add a wrapper there for each new RPC (map snake_case to camelCase, throw `Error` on failure). - Styling: reuse the v0 classes in `src/index.css` (`card`, `btn`, `chip`, `chart`, …) and Tailwind tokens (`bg-card`, `text-muted`, `border-line`, `text-blue`, `font-heading`). - Accessible roles drive the tests: dialogs use `role=\"dialog\"`, tabs use `role=\"tab\"`, errors use `role=\"alert\"`. - Timings come from `CFG` in `src/config.ts`; never hardcode delays.",
"publisher": "tuanluu-agilityio",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"data_analysis"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Function components and hooks only; no state library. Shared auth state comes from `useAuth()`. - Call Supabase only through `src/lib/api.ts`. Add a wrapper there for each new RPC (map snake_case to camelCase, throw `Error` on failure). - Styling: reuse the v0 classes in `src/index.css` (`card`, `btn`, `chip`, `chart`, …) and Tailwind tokens (`bg-card`, `text-muted`, `border-line`, `text-blue`, `font-heading`). - Accessible roles drive the tests: dialogs use `role=\"dialog\"`, tabs use `role=\"tab\"`, errors use `role=\"alert\"`. - Timings come from `CFG` in `src/config.ts`; never hardcode delays."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/tuanluu-agilityio/memorytestllm",
"path": ".github/instructions/react.instructions.md",
"ref": "35fa228504302c8c264d19efc25e2cc85b25cd9b",
"url": "https://github.com/tuanluu-agilityio/memorytestllm/blob/35fa228504302c8c264d19efc25e2cc85b25cd9b/.github/instructions/react.instructions.md",
"key": "tuanluu-agilityio/memorytestllm/.github/instructions/react.instructions.md"
},
"applies_to": "src/**/*.tsx,src/**/*.ts"
},
"instructions": "- Function components and hooks only; no state library. Shared auth state comes from `useAuth()`.\n- Call Supabase only through `src/lib/api.ts`. Add a wrapper there for each new RPC (map snake_case to camelCase, throw `Error` on failure).\n- Styling: reuse the v0 classes in `src/index.css` (`card`, `btn`, `chip`, `chart`, …) and Tailwind tokens (`bg-card`, `text-muted`, `border-line`, `text-blue`, `font-heading`).\n- Accessible roles drive the tests: dialogs use `role=\"dialog\"`, tabs use `role=\"tab\"`, errors use `role=\"alert\"`.\n- Timings come from `CFG` in `src/config.ts`; never hardcode delays.",
"cost": {
"context_tokens": 150
}
}
Fetch it by URL: GET /api/v1/registry/tuanluu-agilityio-memorytestllm-react-instructions/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.