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 rcarmo/go-busybox (.github/instructions/go.instructions.md). Copyright stays with the author.
Go project instructions
Applies when: this repo has go.mod.
Makefile-first workflow
CI should run make deps, make check, and make test.
Put golangci-lint and gosec wiring behind Make targets.
Conventions to implement
make test should run go test ./... (prefer -race and coverage in CI).
Avoid bespoke CI steps when a Make target can encode the same behavior.
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.
rcarmo-go-busybox-go-instructions.ocm.jsonjson
{
"ocm": "1",
"id": "rcarmo-go-busybox-go-instructions",
"kind": "skill",
"name": "go",
"description": "Applies when: this repo has `go.mod`.",
"publisher": "rcarmo",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Applies when: this repo has `go.mod`."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/rcarmo/go-busybox",
"path": ".github/instructions/go.instructions.md",
"ref": "13f3053fa3ddf4589baa610feb268f076a9555ea",
"url": "https://github.com/rcarmo/go-busybox/blob/13f3053fa3ddf4589baa610feb268f076a9555ea/.github/instructions/go.instructions.md",
"key": "rcarmo/go-busybox/.github/instructions/go.instructions.md"
}
},
"instructions": "# Go project instructions\n\nApplies when: this repo has `go.mod`.\n\n## Makefile-first workflow\n- CI should run `make deps`, `make check`, and `make test`.\n- Put `golangci-lint` and `gosec` wiring behind Make targets.\n\n## Conventions to implement\n- `make test` should run `go test ./...` (prefer `-race` and coverage in CI).\n- Avoid bespoke CI steps when a Make target can encode the same behavior.",
"cost": {
"context_tokens": 98
}
}
Fetch it by URL: GET /api/v1/registry/rcarmo-go-busybox-go-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.