OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add microsoft/semantic-link-labs --skill write-tests
Guide for writing unit tests. Use this when creating tests to verify Python logic.
npx skills add microsoft/semantic-link-labs --skill write-tests
This skill covers how to write tests for the Semantic Link Labs project.
Use this skill when you need to:
| Component | Details |
|---|---|
| Framework | pytest |
| Location | tests/ directory |
| Assertions | Standard pytest assertions |
test_*.py or *_test.pytest_<function_name>_<scenario>Test<ClassName>Before committing new tests:
Run the tests locally:
Verify tests pass consistently (run multiple times)
Check test coverage for the new code
Ensure tests are independent and don't rely on each other