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.
typescript - Skill - OpenSmartRoute
Skillv1.0.0
typescript
Prefer arrow function syntax for defining functions. Avoid using the `function` keyword. Prefer using `const` or `let` for variable declarations instead of `var`. Prefer using `const` for variables th
Instruction file imported from patrob/ai-instructions (.github/instructions/typescript.instructions.md). Copyright stays with the author.
Prefer arrow function syntax for defining functions. Avoid using the function keyword.
Prefer using const or let for variable declarations instead of var.
Prefer using const for variables that are not reassigned and let for variables that are reassigned.
Prefer using async/await for handling asynchronous code instead of using .then() and .catch().
Prefer using template literals (`) for string interpolation instead of string concatenation with +.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/patrob-ai-instructions-typescript-instructions/manifest # or paste the manifest below
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": "patrob-ai-instructions-typescript-instructions",
"kind": "skill",
"name": "typescript",
"description": "Prefer arrow function syntax for defining functions. Avoid using the `function` keyword. Prefer using `const` or `let` for variable declarations instead of `var`. Prefer using `const` for variables that are not reassigned and `let` for variables that are reassigned. Prefer using `async/await` for handling asynchronous code instead of using `.then()` and `.catch()`. Prefer using template literals (\\`) for string interpolation instead of string concatenation with `+`.",
"publisher": "patrob",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Prefer arrow function syntax for defining functions. Avoid using the `function` keyword. Prefer using `const` or `let` for variable declarations instead of `var`. Prefer using `const` for variables that are not reassigned and `let` for variables that are reassigned. Prefer using `async/await` for handling asynchronous code instead of using `.then()` and `.catch()`. Prefer using template literals (\\`) for string interpolation instead of string concatenation with `+`."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/patrob/ai-instructions",
"path": ".github/instructions/typescript.instructions.md",
"ref": "34ac0613817b32cdb7b097d240beef2a29645e10",
"url": "https://github.com/patrob/ai-instructions/blob/34ac0613817b32cdb7b097d240beef2a29645e10/.github/instructions/typescript.instructions.md",
"key": "patrob/ai-instructions/.github/instructions/typescript.instructions.md"
},
"applies_to": "**.{ts,tsx,js,jsx}"
},
"instructions": "Prefer arrow function syntax for defining functions. Avoid using the `function` keyword.\nPrefer using `const` or `let` for variable declarations instead of `var`.\nPrefer using `const` for variables that are not reassigned and `let` for variables that are reassigned.\nPrefer using `async/await` for handling asynchronous code instead of using `.then()` and `.catch()`.\nPrefer using template literals (\\`) for string interpolation instead of string concatenation with `+`.",
"cost": {
"context_tokens": 117
}
}
Fetch it by URL: GET /api/v1/registry/patrob-ai-instructions-typescript-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.