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 ncosentino/pitcrew-dashboard (.github/instructions/genesis/file-type-isolation.instructions.md). Copyright stays with the author.
File and type isolation
Every public or internal top-level type has its own file named exactly after the
type. Do not co-locate an interface and implementation.
Private nested types are allowed only when they never escape the defining class.
Private external-response DTOs may stay inside one HTTP client; private row-mapping
DTOs may stay inside one repository.
Small request/response records may share the Carter module that exclusively owns
them.
If a type appears in a public/internal member signature or is reused elsewhere,
extract it to its own file.
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": "ncosentino-pitcrew-dashboard-file-type-isolation-instructions",
"kind": "skill",
"name": "file-type-isolation",
"description": "File and type isolation",
"publisher": "ncosentino",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"File and type isolation"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/ncosentino/pitcrew-dashboard",
"path": ".github/instructions/genesis/file-type-isolation.instructions.md",
"ref": "29fe87a70378ef77fedcfb1eec62958976cb145e",
"url": "https://github.com/ncosentino/pitcrew-dashboard/blob/29fe87a70378ef77fedcfb1eec62958976cb145e/.github/instructions/genesis/file-type-isolation.instructions.md",
"key": "ncosentino/pitcrew-dashboard/.github/instructions/genesis/file-type-isolation.instructions.md"
},
"applies_to": "**/*.cs"
},
"instructions": "# File and type isolation\n\n- Every public or internal top-level type has its own file named exactly after the\n type. Do not co-locate an interface and implementation.\n- Private nested types are allowed only when they never escape the defining class.\n- Private external-response DTOs may stay inside one HTTP client; private row-mapping\n DTOs may stay inside one repository.\n- Small request/response records may share the Carter module that exclusively owns\n them.\n- If a type appears in a public/internal member signature or is reused elsewhere,\n extract it to its own file.",
"cost": {
"context_tokens": 144
}
}
Fetch it by URL: GET /api/v1/registry/ncosentino-pitcrew-dashboard-file-type-isolation-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.