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.
Imported from hu-qi/learn-codex (use-codex/examples/u03/skill-test-gen/SKILL.md). Install upstream with npx skills add hu-qi/learn-codex --skill skill-test-gen. Copyright stays with the author.
Test Generation Skill
When generating tests:
Read the target source file
Identify all public functions and classes
For each function, generate test cases covering:
Happy path with valid inputs
Edge cases (empty, None, boundary values)
Error cases with invalid inputs
Use pytest fixtures for shared setup
Add descriptive test names following test_<function>_<scenario> pattern
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.
hu-qi-learn-codex-skill-test-gen.ocm.jsonjson
{
"ocm": "1",
"id": "hu-qi-learn-codex-skill-test-gen",
"kind": "skill",
"name": "test-gen",
"description": "Generate unit tests for specified code",
"publisher": "hu-qi",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Generate unit tests for specified code"
],
"primary": false,
"metadata": {
"source": {
"provider": "github",
"repository": "https://github.com/hu-qi/learn-codex",
"path": "use-codex/examples/u03/skill-test-gen/SKILL.md",
"ref": "57ebfe6815eb55859416242ec84cf8b458f095d2",
"url": "https://github.com/hu-qi/learn-codex/blob/57ebfe6815eb55859416242ec84cf8b458f095d2/use-codex/examples/u03/skill-test-gen/SKILL.md",
"key": "hu-qi/learn-codex/use-codex/examples/u03/skill-test-gen/SKILL.md"
}
},
"instructions": "# Test Generation Skill\n\nWhen generating tests:\n\n1. Read the target source file\n2. Identify all public functions and classes\n3. For each function, generate test cases covering:\n - Happy path with valid inputs\n - Edge cases (empty, None, boundary values)\n - Error cases with invalid inputs\n4. Use pytest fixtures for shared setup\n5. Add descriptive test names following `test_<function>_<scenario>` pattern",
"cost": {
"context_tokens": 102
}
}
Fetch it by URL: GET /api/v1/registry/hu-qi-learn-codex-skill-test-gen/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.