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.
openfga - Skill - OpenSmartRoute
Skillv1.0.0
openfga
Coding standards, domain knowledge, and preferences that AI should follow.
Instruction file imported from solmon/openFgaSample (.github/instructions/openfga.instructions.md). Copyright stays with the author.
Coding standards, domain knowledge, and preferences that AI should follow.
OpenFGA Coding Standards and Preferences
Language and Frameworks
Use TypeScript for all new code.
Use Next.js for both frontend and backend development.
User radix-ui for UI components.
Use Tailwind CSS for styling.
use prisma for database interactions.
Postgres is the preferred database.
General Coding Standards
Use clear and descriptive names for variables, functions, and types.
Write code that is easy to read and understand.
Follow consistent indentation and formatting styles.
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": "solmon-openfgasample-openfga-instructions",
"kind": "skill",
"name": "openfga",
"description": "Coding standards, domain knowledge, and preferences that AI should follow.",
"publisher": "solmon",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Coding standards, domain knowledge, and preferences that AI should follow."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/solmon/openFgaSample",
"path": ".github/instructions/openfga.instructions.md",
"ref": "69f814ed7e8f1028f101004c8f41dd812a162eb8",
"url": "https://github.com/solmon/openFgaSample/blob/69f814ed7e8f1028f101004c8f41dd812a162eb8/.github/instructions/openfga.instructions.md",
"key": "solmon/openFgaSample/.github/instructions/openfga.instructions.md"
},
"applies_to": "**"
},
"instructions": "Coding standards, domain knowledge, and preferences that AI should follow.\n\n# OpenFGA Coding Standards and Preferences\n\n## Language and Frameworks\n- Use TypeScript for all new code.\n- Use Next.js for both frontend and backend development.\n- User radix-ui for UI components.\n- Use Tailwind CSS for styling.\n- use prisma for database interactions.\n- Postgres is the preferred database.\n\n## General Coding Standards\n- Use clear and descriptive names for variables, functions, and types.\n- Write code that is easy to read and understand.\n- Follow consistent indentation and formatting styles.",
"cost": {
"context_tokens": 147
}
}
Fetch it by URL: GET /api/v1/registry/solmon-openfgasample-openfga-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.