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 webern/mx (.github/instructions/cpp.instructions.md). Copyright stays with the author.
Repo-wide C++ rules (see AGENTS.md):
No new anonymous namespaces (namespace { }) -- they break unity builds. File-local helpers
get named functions (tokenIsNameChar); file-local constants get a per-type prefix
(kYesNoWire). Existing anonymous namespaces are being retired as touched; do not demand
drive-by fixes.
Formatting is enforced by clang-format (make fmt / make fmt-check); do not comment on layout
the formatter controls.
Keep source ASCII.
Comments should state constraints and effects hard to ascertain from the code.
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/webern-mx-cpp-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.
webern-mx-cpp-instructions.ocm.jsonjson
{
"ocm": "1",
"id": "webern-mx-cpp-instructions",
"kind": "skill",
"name": "cpp",
"description": "Repo-wide C++ rules (see AGENTS.md):",
"publisher": "webern",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Repo-wide C++ rules (see AGENTS.md):"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/webern/mx",
"path": ".github/instructions/cpp.instructions.md",
"ref": "5973bfa8a7e8347ecdaf7b947b424494edb33388",
"url": "https://github.com/webern/mx/blob/5973bfa8a7e8347ecdaf7b947b424494edb33388/.github/instructions/cpp.instructions.md",
"key": "webern/mx/.github/instructions/cpp.instructions.md"
},
"applies_to": "src/**/*.cpp,src/**/*.h"
},
"instructions": "Repo-wide C++ rules (see AGENTS.md):\n\n- No new anonymous namespaces (`namespace { }`) -- they break unity builds. File-local helpers\n get named functions (`tokenIsNameChar`); file-local constants get a per-type prefix\n (`kYesNoWire`). Existing anonymous namespaces are being retired as touched; do not demand\n drive-by fixes.\n- Formatting is enforced by clang-format (`make fmt` / `make fmt-check`); do not comment on layout\n the formatter controls.\n- Keep source ASCII.\n- Comments should state constraints and effects hard to ascertain from the code.",
"cost": {
"context_tokens": 138
}
}
Fetch it by URL: GET /api/v1/registry/webern-mx-cpp-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.