godofthedark-java-netty-core-go-instructions.ocm.json json Copy{
"ocm": "1",
"id": "godofthedark-java-netty-core-go-instructions",
"kind": "skill",
"name": "go",
"description": "Apply the [repository-wide instructions](../copilot-instructions.md).",
"publisher": "godofthedark",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Apply the [repository-wide instructions](../copilot-instructions.md)."
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/godofthedark/java-netty-core",
"path": ".github/instructions/go.instructions.md",
"ref": "d85d47b08545dd43e75de76e7dc10db174d79f14",
"url": "https://github.com/godofthedark/java-netty-core/blob/d85d47b08545dd43e75de76e7dc10db174d79f14/.github/instructions/go.instructions.md",
"key": "godofthedark/java-netty-core/.github/instructions/go.instructions.md"
},
"applies_to": "**/*.go"
},
"instructions": "# Go rules\n\nApply the [repository-wide instructions](../copilot-instructions.md).\n\n- Accept context.Context as the first parameter for request-scoped work.\n- Wrap errors with useful context.\n- Avoid panics in library/service code.\n- Prefer small packages with clear responsibilities.\n- Be explicit about goroutine lifecycle, cancellation, and channel ownership.\n- Prefer table-driven tests for logic-heavy code.\n- Preserve module boundaries and avoid magical helpers.",
"cost": {
"context_tokens": 116
}
}