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.
golang - Skill - OpenSmartRoute
Skillv1.0.0
golang
golang - a general purpose programming language focused on web backend and infrastructure
Imported from cloudsftp/dotfiles (opencode/.agents/skills/go/SKILL.md). Install upstream with npx skills add cloudsftp/dotfiles --skill go. Copyright stays with the author.
Golang
Project Setup
Use go for managing dependencies.
Tools
You can use go to execute tools.
For formatting, use go fmt ./...
For testing, use go test ./...
For static analysis, use go vet ./...
For linting, use golangci-lint run
After making changes, make sure all the above tools pass.
Executing
For executing a command, use go run ./cmd/<name>
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.
cloudsftp-dotfiles-go.ocm.jsonjson
{
"ocm": "1",
"id": "cloudsftp-dotfiles-go",
"kind": "skill",
"name": "golang",
"description": "golang - a general purpose programming language focused on web backend and infrastructure",
"publisher": "cloudsftp",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"golang - a general purpose programming language focused on web backend and infrastructure"
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/cloudsftp/dotfiles",
"path": "opencode/.agents/skills/go/SKILL.md",
"ref": "00989542ed0cde1bd199a51031800ee95a37c575",
"url": "https://github.com/cloudsftp/dotfiles/blob/00989542ed0cde1bd199a51031800ee95a37c575/opencode/.agents/skills/go/SKILL.md",
"key": "cloudsftp/dotfiles/opencode/.agents/skills/go/SKILL.md"
}
},
"instructions": "# Golang\n\n## Project Setup\n\nUse `go` for managing dependencies.\n\n### Tools\n\nYou can use `go` to execute tools.\n\nFor formatting, use `go fmt ./...`\nFor testing, use `go test ./...`\nFor static analysis, use `go vet ./...`\nFor linting, use `golangci-lint run`\n\nAfter making changes, make sure all the above tools pass.\n\n### Executing\n\nFor executing a command, use `go run ./cmd/<name>`",
"cost": {
"context_tokens": 95
}
}
Fetch it by URL: GET /api/v1/registry/cloudsftp-dotfiles-go/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.