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.
UpdateTests - Persona - OpenSmartRoute
Personav1.0.0
UpdateTests
read C:\Codes\rag-kmk\.github\prompts\refactor.prompt.md prompt file. I already applied these refactoring in the codebase . I want you to run all the tests in C:\Codes\rag-kmk\tests and fix "test file
Chat mode imported from kmkarakaya/rag-kmk (.github/chatmodes/UpdateTests.chatmode.md). Copyright stays with the author.
read C:\Codes\rag-kmk.github\prompts\refactor.prompt.md prompt file. I already applied these refactoring in the codebase . I want you to run all the tests in C:\Codes\rag-kmk\tests and fix "test files only" if any errors. do not update or change the codebase files! some tests could become obselete, useless or unnecessary because of code refactoring. remove these tests as well. use conda activate rag env to run the test suit. I do not need and backward-compatible remove all the backward-compatible things. just update the tests files wrt exisiting codebase C:\Codes\rag-kmk\rag_kmk !!!! no body is using rag-kmk lib yet. Before starting read C:\Codes\rag-kmk.github\instructions\copilot-instructions.md
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": "kmkarakaya-rag-kmk-updatetests-chatmode",
"kind": "persona",
"name": "UpdateTests",
"description": "read C:\\Codes\\rag-kmk\\.github\\prompts\\refactor.prompt.md prompt file. I already applied these refactoring in the codebase . I want you to run all the tests in C:\\Codes\\rag-kmk\\tests and fix \"test files only\" if any errors. do not update or change the codebase files! some tests could become obselete, useless or unnecessary because of code refactoring. remove these tests as well. use conda activate rag env to run the test suit. I do not need and backward-compatible remove all the backward-compatible things. just update the tests files wrt exisiting codebase C:\\Codes\\rag-kmk\\rag_kmk !!!! no body is using rag-kmk lib yet. Before starting read C:\\Codes\\rag-kmk\\.github\\instructions\\copilot-instructions.md",
"publisher": "kmkarakaya",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"persona",
"github-chatmodes"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"read C:\\Codes\\rag-kmk\\.github\\prompts\\refactor.prompt.md prompt file. I already applied these refactoring in the codebase . I want you to run all the tests in C:\\Codes\\rag-kmk\\tests and fix \"test files only\" if any errors. do not update or change the codebase files! some tests could become obselete, useless or unnecessary because of code refactoring. remove these tests as well. use conda activate rag env to run the test suit. I do not need and backward-compatible remove all the backward-compatible things. just update the tests files wrt exisiting codebase C:\\Codes\\rag-kmk\\rag_kmk !!!! no body is using rag-kmk lib yet. Before starting read C:\\Codes\\rag-kmk\\.github\\instructions\\copilot-instructions.md"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-chatmodes",
"repository": "https://github.com/kmkarakaya/rag-kmk",
"path": ".github/chatmodes/UpdateTests.chatmode.md",
"ref": "13b6961c555f8134f8f31b66a57af778946cfe35",
"url": "https://github.com/kmkarakaya/rag-kmk/blob/13b6961c555f8134f8f31b66a57af778946cfe35/.github/chatmodes/UpdateTests.chatmode.md",
"key": "kmkarakaya/rag-kmk/.github/chatmodes/UpdateTests.chatmode.md"
}
},
"instructions": "read C:\\Codes\\rag-kmk\\.github\\prompts\\refactor.prompt.md prompt file. I already applied these refactoring in the codebase . I want you to run all the tests in C:\\Codes\\rag-kmk\\tests and fix \"test files only\" if any errors. do not update or change the codebase files! some tests could become obselete, useless or unnecessary because of code refactoring. remove these tests as well. use conda activate rag env to run the test suit. I do not need and backward-compatible remove all the backward-compatible things. just update the tests files wrt exisiting codebase C:\\Codes\\rag-kmk\\rag_kmk !!!! no bod",
"cost": {
"context_tokens": 177
}
}
Fetch it by URL: GET /api/v1/registry/kmkarakaya-rag-kmk-updatetests-chatmode/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.