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.
Transloco i18n best practices for Angular. Covers runtime translation, lazy-loaded translation files per route, and test mocking. Activates when working with @jsverse/transloco.
Imported from alfredoperez/angular-best-practices (skills/angular-best-practices-transloco/SKILL.md). Install upstream with npx skills add alfredoperez/angular-best-practices --skill angular-best-practices-transloco. Copyright stays with the author (MIT).
Angular Transloco Best Practices
Transloco rules for runtime internationalization, lazy-loaded translations, and testing. Use with the core
angular-best-practices
skill for comprehensive Angular coverage.
Install angular-best-practices-transloco 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.
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}'
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": "alfredoperez-angular-best-practices-angular-best-practic-247016",
"kind": "skill",
"name": "angular-best-practices-transloco",
"description": "Transloco i18n best practices for Angular. Covers runtime translation, lazy-loaded translation files per route, and test mocking. Activates when working with @jsverse/transloco. Do not use for ngx-translate or i18next. Install alongside angular-best-practices for full coverage.",
"publisher": "alfredoperez",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"angular",
"transloco",
"i18n",
"internationalization",
"skills-sh"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Transloco i18n best practices for Angular. Covers runtime translation, lazy-loaded translation files per route, and test mocking. Activates when working with @jsverse/transloco. Do not use for ngx-translate or i18next. Install alongside angular-best-practices for full coverage."
],
"primary": false,
"metadata": {
"source": {
"provider": "skills.sh",
"repository": "https://github.com/alfredoperez/angular-best-practices",
"path": "skills/angular-best-practices-transloco/SKILL.md",
"ref": "HEAD",
"url": "https://github.com/alfredoperez/angular-best-practices/blob/HEAD/skills/angular-best-practices-transloco/SKILL.md",
"key": "alfredoperez/angular-best-practices/skills/angular-best-practices-transloco/SKILL.md"
},
"applies_to": [
"**/*.ts",
"**/*.html",
"**/*.json"
],
"license": "MIT"
},
"instructions": "# Angular Transloco Best Practices\n\nTransloco rules for runtime internationalization, lazy-loaded translations, and testing. Use with the core\n[angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)\nskill for comprehensive Angular coverage.\n\n## Links\n\n- [Core Skill: angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)\n- [Browse All Skills](https://skills.sh/alfredoperez/angular-best-practices)\n- [GitHub Repository](https://github.com/alfredoperez/angular-best-practices)\n\n## When to Apply\n\n- Adding runtime i18n with the `transloco` pipe or directive\n- Lazy-loading translation files per route with scopes\n- Writing tests that use `TranslocoTestingModule`\n\n## Rules\n\n| Rule | Impact | Description |\n|------|--------|-------------|\n| Lazy Load Translation Files per Route | MEDIUM | Load scoped translations only when a route is activated |\n| Mock Translations in Tests | MEDIUM | Fast deterministic tests without HTTP translation loading |\n| Use Transloco for Runtime i18n | MEDIUM | Dynamic language switching without app rebuilds |\n\n## Install\n\nInstall from [skills.sh/alfredoperez/angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices):\n\n- Core skill: [angular-best-practices](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices)\n- This add-on: [angular-best-practices-transloco](https://skills.sh/alfredoperez/angular-best-practices/angular-best-practices-transloco)",
"cost": {
"context_tokens": 379
}
}
Fetch it by URL: GET /api/v1/registry/alfredoperez-angular-best-practices-angular-best-practic-247016/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.