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.
Instruction file imported from raimondskrauklis/revy (.cursor/rules/testing.mdc). Copyright stays with the author.
Testing
Backend (pytest)
Location: backend/tests/unit/ only
Service-layer tests with mocks; no new tests/api/ or tests/service/
Env: TEST_DATABASE_URL for integration-style fixtures
Run: pipenv run pytest tests/unit/ (from backend/)
Frontend (Vitest + Testing Library)
Colocate: *.test.ts(x) next to source
Run: npm test (from frontend/)
When to write tests
✅ New services/hooks, validation, bug fixes (regression)
❌ Styling-only changes
backend/scripts/seed_test_data.py is a no-op stub — unit tests use mocks, not KP seed patterns.
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.
raimondskrauklis-revy-testing-rule.ocm.jsonjson
{
"ocm": "1",
"id": "raimondskrauklis-revy-testing-rule",
"kind": "skill",
"name": "testing",
"description": "Testing conventions — pytest and Vitest",
"publisher": "raimondskrauklis",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-cursor-rules"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Testing conventions — pytest and Vitest"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-cursor-rules",
"repository": "https://github.com/raimondskrauklis/revy",
"path": ".cursor/rules/testing.mdc",
"ref": "e4b4aba91b8498f0516dc674e3034d72a73d2773",
"url": "https://github.com/raimondskrauklis/revy/blob/e4b4aba91b8498f0516dc674e3034d72a73d2773/.cursor/rules/testing.mdc",
"key": "raimondskrauklis/revy/.cursor/rules/testing.mdc"
},
"applies_to": "**/tests/**,**/*.test.*,**/*.spec.*"
},
"instructions": "# Testing\n\n## Backend (pytest)\n\n- Location: `backend/tests/unit/` only\n- Service-layer tests with mocks; no new `tests/api/` or `tests/service/`\n- Env: `TEST_DATABASE_URL` for integration-style fixtures\n- Run: `pipenv run pytest tests/unit/` (from `backend/`)\n\n## Frontend (Vitest + Testing Library)\n\n- Colocate: `*.test.ts(x)` next to source\n- Run: `npm test` (from `frontend/`)\n\n## When to write tests\n\n- ✅ New services/hooks, validation, bug fixes (regression)\n- ❌ Styling-only changes\n\n`backend/scripts/seed_test_data.py` is a no-op stub — unit tests use mocks, not KP seed patterns.",
"cost": {
"context_tokens": 146
}
}
Fetch it by URL: GET /api/v1/registry/raimondskrauklis-revy-testing-rule/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.