Team code quality checklist - use for checking Python code quality, bugs, security issues, and best practices
日本語の概要は準備中です。原文の説明を表示しています。
github/copilot-cli-for-beginners2,8792026年10月6日 更新
Generate comprehensive pytest tests - use when generating tests, creating test suites, or testing Python code
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
When generating tests, follow this structure.
@pytest.mark.parametrize for multiple inputsimport pytest
from module_under_test import function_to_test
@pytest.fixture
def sample_data():
"""Provide shared test data."""
return {"key": "value"}
class TestFunctionName:
"""Tests for function_name."""
def test_happy_path(self, sample_data):
result = function_to_test(valid_input)
assert result == expected_output
def test_empty_input(self):
result = function_to_test("")
assert result == expected_for_empty
@pytest.mark.parametrize("input_val,expected", [
("valid", True),
("", False),
(None, False),
])
def test_various_inputs(self, input_val, expected):
assert function_to_test(input_val) == expected
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Team code quality checklist - use for checking Python code quality, bugs, security issues, and best practices
日本語の概要は準備中です。原文の説明を表示しています。
Generate conventional commit messages - use when creating commits, writing commit messages, or asking for git commit help
日本語の概要は準備中です。原文の説明を表示しています。
A minimal skill example - use when learning the skill format
日本語の概要は準備中です。原文の説明を表示しています。