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/NexusLabs.Framework (.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.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/ncosentino-nexuslabs-framework-file-type-isolation-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": "ncosentino-nexuslabs-framework-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/NexusLabs.Framework",
"path": ".github/instructions/genesis/file-type-isolation.instructions.md",
"ref": "1dc309c07643c0be95c202b4cf135487ce9a17d4",
"url": "https://github.com/ncosentino/NexusLabs.Framework/blob/1dc309c07643c0be95c202b4cf135487ce9a17d4/.github/instructions/genesis/file-type-isolation.instructions.md",
"key": "ncosentino/NexusLabs.Framework/.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-nexuslabs-framework-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.