code-testing-extensions skill
✓ 検証済みコードテスト用パイプライン向けの、言語別のガイダンスファイルをまとめたリファレンスカタログです。
- GitHubスター
- 5,942
- ファイル
- 22
- 最終コミット
- 2026年11月11日
- ライセンス
- MIT
- 許可されたツール
- —
code-testing-extensions skillは何をしますか
code-testing-extensionsはAgent Skillsです。 コードテスト用パイプライン向けの、言語別のガイダンスファイルをまとめたリファレンスカタログです。.
skillのSKILL.mdから生成された要約。
code-testing-extensions skill について
このリファレンスカタログの主な機能は、自動テストパイプライン向けの言語別ガイダンスへのアクセスを提供することです。開発者はこのリソースを使用して、さまざまなプログラミング環境に必要な正確なビルドコマンド、テストランナー、およびモックパターンをエージェントに提供できます。エージェントは一般的な知識に頼るのではなく、dotnet.mdやpython.mdなどの特定のファイルを読み込むことで、プロジェクト構成の検出、フレームワークに適応したコマンド、および一般的なエラーコードを理解します。
このカタログは、エージェントがツール呼び出しを通じてではなく、直接読み込むためのバンドルされたファイルのディレクトリとして機能します。Rust、Go、Java、Swiftなどの言語に特化したドキュメントが含まれており、cargo testコマンドからXCTestパターンまで幅広くカバーしています。リポジトリに既存のテストパターンがない場合、エージェントは言語別の例示ファイルにアクセスして、調査、計画、最終レポートを含む一連のサイクルを確認することも可能です。
エージェントができること
- 1Pythonテスト環境の設定エージェントは、Pythonプロジェクト向けのフレームワーク適応型テストコマンドやモック作成のガイドラインを取得できます。
- 2C++テスト内部実装の実施開発者はエージェントに対し、friend宣言を使用したC++内部テストのための特定のガイダンスを使用するよう指示できます。
- 3Javaテストスイートの生成AIクライアントは、MavenやGradleのコマンド、およびMockitoのパターンを使用してJavaのテストを構築できます。
- 4テストワークフローからの学習リポジトリに既存のテストがない場合、エージェントは例示ファイルを読み込んで、調査から修正までの完全なサイクルを確認できます。
skill の SKILL.md から作成されています。すべてのユースケースは、その引用と照合されています。
code-testing-extensions skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにcode-testing-extensions skillをインストールする
/plugin marketplace add dotnet/skills /plugin install dotnet-test@dotnet-agent-skills
Claude Codeにcode-testing-extensions skillをインストールする
~/.claude/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.claude/skills/code-testing-extensionsClaude Code (project)にcode-testing-extensions skillをインストールする
.claude/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions .claude/skills/code-testing-extensionsCodexにcode-testing-extensions skillをインストールする
~/.agents/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.agents/skills/code-testing-extensionsGemini CLIにcode-testing-extensions skillをインストールする
~/.gemini/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.gemini/skills/code-testing-extensionsClaude.aiにcode-testing-extensions skillをインストールする
npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions code-testing-extensions && zip -r code-testing-extensions.zip code-testing-extensions # claude.ai → Customize → Skills → + → Create skill → Upload a skill → code-testing-extensions.zip
自動チェック
実行日 2026年11月14日詳細レポート →自動チェックに合格しました。これはセキュリティ監査ではありません。エージェントに実行させる前にスクリプトを読んでください。 チェックの仕組み
- ソースリポジトリがリンクされており、アクセス可能dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions is public and reachablegithub.com/dotnet/skills/tree/HEAD/plugins/dotnet-test/skill ↗合格
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit 2026-11-11github.com/dotnet/skills/commits ↗合格
- スクリプトにダウンロード実行や認証情報の窃取がないNo scripts in the skill folder合格
- SKILL.md に隠れた指示がないNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/dotnet/skills/blob/HEAD/plugins/dotnet-test/skill ↗合格
- 事前許可ツールが限定されているNo pre-approved tools; the agent asks before using onegithub.com/dotnet/skills/blob/HEAD/plugins/dotnet-test/skill ↗合格
SKILL.md
GitHubで表示Code Testing Extensions
This reference-only catalog lists bundled guidance for the code-testing pipeline. Read the matching file directly; do not invoke this catalog as a skill. Resource paths are relative to this catalog, not the project workspace.
Available Extension Files
| File | Language | Contents |
|---|---|---|
| extensions/dotnet.md | .NET (C#/F#/VB) | Build commands, test commands, project reference validation, common CS error codes, MSTest template |
| extensions/python.md | Python | Framework-adaptive test commands (pytest, custom runners), project layout detection, mocking guidelines, common errors |
| extensions/typescript.md | TypeScript/JavaScript | Build/test commands (Jest/Vitest/Mocha), framework detection, mocking, TS-specific considerations |
| extensions/powershell.md | PowerShell | Test commands (Pester v5), module import patterns, discovery/run pitfalls, mocking, common errors |
| extensions/cpp.md | C++ | Testing internals with friend declarations |
| extensions/go.md | Go | go test commands, table-driven tests, integration vs unit layout, mocking via interfaces, common errors |
| extensions/java.md | Java | Maven/Gradle commands, JUnit 4/5 and TestNG detection, Mockito, Spring Boot slices, common errors |
| extensions/rust.md | Rust | cargo test commands, unit vs integration vs doc tests, features, async test harnesses, common errors |
| extensions/ruby.md | Ruby | RSpec and Minitest commands, Bundler usage, Rails specifics, mocking patterns, common errors |
| extensions/swift.md | Swift | SPM and Xcode test commands, XCTest vs Swift Testing, @testable import, async/throws tests, common errors |
| extensions/kotlin.md | Kotlin | Gradle commands, JUnit/Kotest detection, MockK, coroutines test, KMP and Android specifics, common errors |
| extensions/dotnet-examples.md | .NET (C#/F#/VB) | Concrete pipeline examples: sample research output, plan, generated tests, fix cycles, final report |
| extensions/python-examples.md | Python | Concrete pipeline examples (pytest): research, plan, generated test file, fix cycles, final report |
| extensions/typescript-examples.md | TypeScript/JavaScript | Concrete pipeline examples (Vitest, applicable to Jest): research, plan, generated test file, fix cycles, final report |
| extensions/go-examples.md | Go | Concrete pipeline examples (standard testing): research, plan, table-driven test file, fix cycles, final report |
| extensions/java-examples.md | Java | Concrete pipeline examples (JUnit 5 + Mockito on Maven): research, plan, generated test file, fix cycles, final report |
Usage
Read the appropriate base extension before writing test code. Load an
<language>-examples.md file only when the repository has no representative
tests and the base extension does not resolve the needed pattern. Do not load
end-to-end examples for a focused request with established local conventions.
このスキルのファイル
22code-testing-extensions skillに関する質問
Claude Codeにcode-testing-extensions skillをインストールするには
npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.claude/skills/code-testing-extensionsを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
code-testing-extensions skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。
このカタログはどのように使用すればよいですか?
これはリファレンス専用のカタログです。スキルとして呼び出すのではなく、各言語のファイルを直接読み込んでください。
例示ファイルはいつ読み込むべきですか?
リポジトリに代表的なテストが存在せず、ベースとなる拡張ファイルだけでは不十分な場合にのみ、言語別の例示ファイルを読み込んでください。
拡張ファイルにはどのような情報が含まれていますか?
各プログラミング言語のビルドおよびテストコマンド、フレームワークの検出方法、モック作成のガイドライン、および一般的なエラーコードが含まれています。