katiem0-model-selection-demo-py-instructions.ocm.json json Copy{
"ocm": "1",
"id": "katiem0-model-selection-demo-py-instructions",
"kind": "skill",
"name": "py",
"description": "Python best practices",
"publisher": "katiem0",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Python best practices"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/katiem0/model-selection-demo",
"path": ".github/instructions/py.instructions.md",
"ref": "9a62d2234b9b1fd76036247d2332dd995a254077",
"url": "https://github.com/katiem0/model-selection-demo/blob/9a62d2234b9b1fd76036247d2332dd995a254077/.github/instructions/py.instructions.md",
"key": "katiem0/model-selection-demo/.github/instructions/py.instructions.md"
},
"applies_to": "**/*.py"
},
"instructions": "# General Guidelines\n\n- **Use pytest**, not unittest\n- **Pass `ruff` lint** and **`pytest`** tests before commit\n- **Type hints on public functions** (skip internal helpers)\n- **Comment the why, not the what**\n\n# Core Principles\n\n- Functions over classes (unless state is required)\n- Standard library first\n- Comprehensions over loops\n- Clear, concise names",
"cost": {
"context_tokens": 89
}
}