init: common-skills v1
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"skill_name": "testing",
|
||||
"evals": [
|
||||
{
|
||||
"id": 1,
|
||||
"prompt": "How should I write a pytest test for a function that returns game state?",
|
||||
"expected_output": "Shows AAA pattern (Arrange/Act/Assert), uses pytest assertions, and demonstrates clear test structure."
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"prompt": "Show me how to use pytest fixtures for shared test setup",
|
||||
"expected_output": "Demonstrates @pytest.fixture decorator, fixture injection into test functions, and explains reuse across multiple tests."
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"prompt": "What should I test in a unit test? What should I avoid testing?",
|
||||
"expected_output": "Recommends testing behavior/outputs not implementation details, covering happy path and edge cases, avoiding testing private internals."
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user