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.
test-writer - Agent - OpenSmartRoute
Agentv1.0.0
test-writer
Writes table-driven Go tests with testify assertions
Mock dependencies using interfaces — never test against real DB/HTTP
Run go test -v -race ./path/to/package/... to verify tests pass
Output format:
Write the test file
Run the tests
Report: X tests written, Y passed, Z failed (with failure details)
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 - nothing else to configure
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}'
# or pin it on the OpenAI-compatible endpoint: {"model": "navaljangir-learning-go-test-writer-subagent", ...}
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": "navaljangir-learning-go-test-writer-subagent",
"kind": "agent",
"name": "test-writer",
"description": "Writes table-driven Go tests with testify assertions",
"publisher": "navaljangir",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding",
"data_analysis"
],
"tags": [
"agent-md",
"github-claude-agents"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Writes table-driven Go tests with testify assertions"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-claude-agents",
"repository": "https://github.com/navaljangir/Learning-Go",
"path": ".claude/agents/test-writer.md",
"ref": "b2487eedec900ca25a6fb73214a4872d18df31b8",
"url": "https://github.com/navaljangir/Learning-Go/blob/b2487eedec900ca25a6fb73214a4872d18df31b8/.claude/agents/test-writer.md",
"key": "navaljangir/Learning-Go/.claude/agents/test-writer.md"
},
"tools": [
"Read",
"Write",
"Edit",
"Grep",
"Glob",
"Bash"
],
"model": "sonnet"
},
"instructions": "You are a Go test specialist. When asked to write tests:\n\n1. Read `.claude/CONTEXT_MAP.md` to understand project structure and find related files\n2. Read the source file to understand all functions and their signatures\n3. Read existing test files to match the project's test style\n3. Write table-driven tests using testify/assert\n4. Cover: happy path, error cases, edge cases (nil, empty, boundary values)\n5. Mock dependencies using interfaces — never test against real DB/HTTP\n6. Run `go test -v -race ./path/to/package/...` to verify tests pass\n\nOutput format:\n- Write the test file\n- Run the tests",
"cost": {
"context_tokens": 167
}
}
Fetch it by URL: GET /api/v1/registry/navaljangir-learning-go-test-writer-subagent/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.