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 chan-jui-huang/go-backend-framework (.github/instructions/testability.instructions.md). Copyright stays with the author.
Write contract or integration tests before implementation for critical flows
Every critical user or business flow MUST have at least one integration or end-to-end test without mocking core infrastructure
Mock or stub only external systems and side-effect boundaries such as network calls, messaging systems, file systems, time, randomness, OS services, or repository/gateway-backed datastores
Do NOT mock internal domain logic such as entities, value objects, or pure domain services
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/chan-jui-huang-go-backend-framework-testability-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.
{
"ocm": "1",
"id": "chan-jui-huang-go-backend-framework-testability-instructions",
"kind": "skill",
"name": "testability",
"description": "Core Principles",
"publisher": "chan-jui-huang",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Core Principles"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/chan-jui-huang/go-backend-framework",
"path": ".github/instructions/testability.instructions.md",
"ref": "6d0ba28e55c0edf47fb742f68811c937fbfbe572",
"url": "https://github.com/chan-jui-huang/go-backend-framework/blob/6d0ba28e55c0edf47fb742f68811c937fbfbe572/.github/instructions/testability.instructions.md",
"key": "chan-jui-huang/go-backend-framework/.github/instructions/testability.instructions.md"
},
"applies_to": "**/*.go"
},
"instructions": "## Core Principles\n\n### Integration-First Testing (Test-Driven Development)\n\n- Write contract or integration tests before implementation for critical flows\n- Every critical user or business flow MUST have at least one integration or end-to-end test without mocking core infrastructure\n- Mock or stub only external systems and side-effect boundaries such as network calls, messaging systems, file systems, time, randomness, OS services, or repository/gateway-backed datastores\n- Do NOT mock internal domain logic such as entities, value objects, or pure domain services",
"cost": {
"context_tokens": 142
}
}
Fetch it by URL: GET /api/v1/registry/chan-jui-huang-go-backend-framework-testability-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.