baba2712-project-template-python-instructions.ocm.json json Copy{
"ocm": "1",
"id": "baba2712-project-template-python-instructions",
"kind": "skill",
"name": "python",
"description": "Python Instructions",
"publisher": "baba2712",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"Python Instructions"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/baba2712/project-template",
"path": ".github/instructions/python.instructions.md",
"ref": "6ca567a300da52debeacd9d0a33c345771f29e4e",
"url": "https://github.com/baba2712/project-template/blob/6ca567a300da52debeacd9d0a33c345771f29e4e/.github/instructions/python.instructions.md",
"key": "baba2712/project-template/.github/instructions/python.instructions.md"
}
},
"instructions": "# Python Instructions\n\n## Style\n- Follow PEP 8.\n- Prefer type hints for public functions.\n- Keep functions short and focused.\n- Use descriptive variable and function names.\n\n## Project conventions\n- Put application code under `src/`.\n- Avoid side effects at import time.\n- Prefer dependency injection over hidden globals.\n- Raise explicit exceptions with actionable messages.\n\n## Testing\n- Add or update tests when changing behavior.\n- Prefer small unit tests with clear arrange/act/assert structure.\n\n## Documentation\n- Add docstrings to modules, classes, and public functions where helpful.",
"cost": {
"context_tokens": 148
}
}