oscar-oliveira-guess-card-game-c-instructions.ocm.json json Copy{
"ocm": "1",
"id": "oscar-oliveira-guess-card-game-c-instructions",
"kind": "skill",
"name": "c",
"description": "C Coding Standards",
"publisher": "Oscar-Oliveira",
"version": "1.0.0",
"capabilities": {
"domains": [
"general"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"C Coding Standards"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/Oscar-Oliveira/guess_card_game",
"path": ".github/instructions/c.instructions.md",
"ref": "ef9821e93efc7ff14aaa24566e99d17d14438a22",
"url": "https://github.com/Oscar-Oliveira/guess_card_game/blob/ef9821e93efc7ff14aaa24566e99d17d14438a22/.github/instructions/c.instructions.md",
"key": "Oscar-Oliveira/guess_card_game/.github/instructions/c.instructions.md"
},
"applies_to": "**/*.c"
},
"instructions": "# C Coding Standards\n\n- Use snake_case for variables and functions.\n- Indent code with 4 spaces.\n- Place function prototypes at the top of files.\n- Always initialize variables before use.\n- Use comments to explain complex logic.\n- Avoid deprecated or unsafe functions.\n- Handle errors and edge cases explicitly.",
"cost": {
"context_tokens": 77
}
}