pierceboggan-dropped-tests-instructions.ocm.json json Copy{
"ocm": "1",
"id": "pierceboggan-dropped-tests-instructions",
"kind": "skill",
"name": "tests",
"description": "RULES:",
"publisher": "pierceboggan",
"version": "1.0.0",
"capabilities": {
"domains": [
"coding"
],
"tags": [
"skill-md",
"github-instructions"
],
"languages": [
"en"
]
},
"quality_prior": 0.6,
"examples": [
"RULES:"
],
"primary": false,
"metadata": {
"source": {
"provider": "github-instructions",
"repository": "https://github.com/pierceboggan/Dropped",
"path": ".github/instructions/tests.instructions.md",
"ref": "3bb9dcb7431d85095170947c2193de674e612ce5",
"url": "https://github.com/pierceboggan/Dropped/blob/3bb9dcb7431d85095170947c2193de674e612ce5/.github/instructions/tests.instructions.md",
"key": "pierceboggan/Dropped/.github/instructions/tests.instructions.md"
},
"applies_to": "**/*.swift"
},
"instructions": "### Creating Tests\n\nRULES:\n\n- Create a unit test (if appropriate) to ensure the user acceptance criteria is met\n- Create a UI test (if appropriate) to ensure the user acceptance criteria is met\n- Keep tests simple\n- Test boundary conditions\n\n### Running Tests\n\nRULES:\n\n- Always run the tests after making changes to the code\n- Fix any broken tests",
"cost": {
"context_tokens": 86
}
}