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.
Instruction file imported from johnsi15/linknote (.github/instructions/server-components.instructions.md). Copyright stays with the author.
Server Components en Next.js 15
Usa Server Components por defecto para data fetching y rendering
No uses hooks de cliente ni APIs del navegador
Usa Suspense para loading granular
Prefiere fetch con opciones de revalidación para caching
Implementa generateStaticParams para rutas dinámicas estáticas
Usa unstable_noStore para rendering dinámico sin cache
Usa Promise.all y React.cache para paralelismo y deduplicación
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 slot
curl -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}'
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.
{
"ocm": "1",
"id": "johnsi15-linknote-server-components-instructions",
"kind": "skill",
"name": "server-components",
"description": "Reglas para Server Components en Next.js 15",
"publisher": "johnsi15",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Reglas para Server Components en Next.js 15"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/johnsi15/linknote",
"path": ".github/instructions/server-components.instructions.md",
"ref": "0d78e5b3c087ad90055b43e8d4f37a54ba4f7c3e",
"url": "https://github.com/johnsi15/linknote/blob/0d78e5b3c087ad90055b43e8d4f37a54ba4f7c3e/.github/instructions/server-components.instructions.md",
"key": "johnsi15/linknote/.github/instructions/server-components.instructions.md"
},
"applies_to": "src/app/**/*.tsx"
},
"instructions": "# Server Components en Next.js 15\n\n- Usa Server Components por defecto para data fetching y rendering\n- No uses hooks de cliente ni APIs del navegador\n- Usa `Suspense` para loading granular\n- Prefiere `fetch` con opciones de revalidación para caching\n- Implementa `generateStaticParams` para rutas dinámicas estáticas\n- Usa `unstable_noStore` para rendering dinámico sin cache\n- Usa `Promise.all` y `React.cache` para paralelismo y deduplicación",
"cost": {
"context_tokens": 111
}
}
Fetch it by URL: GET /api/v1/registry/johnsi15-linknote-server-components-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.