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.
---applyTo: "src/Backend/**/*.*"---# Hướng dẫn cho Backend API- Controllers chỉ gọi **Service** qua DI, không chứa business logic.- Business logic nằm trong **Service layer**.- Data access qua **Repository pattern**.- Mọi class Repository và Service phải có interface (IService, IRepository).- API phải trả về **DTO** theo thiết kế, không trả trực tiếp entity DB.- Validate dữ liệu đầu vào (DataAnnotation hoặc FluentValidation).- Logging request/response và exception bằng **Serilog**.- Khi thay đổi DB schema, Copilot phải gợi ý **EF Core migration**.- Viết **unit test** cho Service, **integration test** cho API.
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/thanhnvbk92-machine-management-system-api-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": "thanhnvbk92-machine-management-system-api-instructions",
"kind": "skill",
"name": "api",
"description": "```instructions --- applyTo: \"src/Backend/**/*.*\" ---",
"publisher": "thanhnvbk92",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"```instructions --- applyTo: \"src/Backend/**/*.*\" ---"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/thanhnvbk92/machine-management-system",
"path": ".github/instructions/api.instructions.md",
"ref": "58523445fd60f657f5d86d290e8ec46e6495df5c",
"url": "https://github.com/thanhnvbk92/machine-management-system/blob/58523445fd60f657f5d86d290e8ec46e6495df5c/.github/instructions/api.instructions.md",
"key": "thanhnvbk92/machine-management-system/.github/instructions/api.instructions.md"
}
},
"instructions": "```instructions\n---\napplyTo: \"src/Backend/**/*.*\"\n---\n\n# Hướng dẫn cho Backend API\n\n- Controllers chỉ gọi **Service** qua DI, không chứa business logic.\n- Business logic nằm trong **Service layer**.\n- Data access qua **Repository pattern**.\n- Mọi class Repository và Service phải có interface (IService, IRepository).\n- API phải trả về **DTO** theo thiết kế, không trả trực tiếp entity DB.\n- Validate dữ liệu đầu vào (DataAnnotation hoặc FluentValidation).\n- Logging request/response và exception bằng **Serilog**.\n- Khi thay đổi DB schema, Copilot phải gợi ý **EF Core migration**.\n- Viết **unit tes",
"cost": {
"context_tokens": 162
}
}
Fetch it by URL: GET /api/v1/registry/thanhnvbk92-machine-management-system-api-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.