← スキル一覧に戻る

testing
by mandersogit
LLM tool harness
⭐ 0🍴 0📅 2026年1月13日
SKILL.md
name: testing description: Best practices for writing Python tests - use when creating or improving test coverage license: MIT allowed-tools:
- bash
- read_file
- write_file metadata: framework: pytest
Testing Skill
[TEST-PLUGIN-SKILL: testing]
When to Use This Skill
Use this skill when:
- Writing new tests
- Improving test coverage
- Refactoring test code
- Setting up test infrastructure
Test Structure
class TestFeatureName:
"""Tests for specific feature."""
def test_specific_behavior(self) -> None:
"""One test, one assertion pattern."""
# Arrange
input_data = create_test_data()
# Act
result = function_under_test(input_data)
# Assert
assert result == expected_value
Best Practices
- Naming:
test_<behavior>_<condition>_<expected> - Isolation: Each test independent, use fixtures
- Coverage: Test happy path, edge cases, errors
- Speed: Keep unit tests fast (<100ms each)
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です