Skill code-testing-extensions
✓ VerifiedMenyediakan katalog referensi berisi file panduan spesifik bahasa untuk pipeline pengujian kode.
- Bintang GitHub
- 5.942
- File
- 22
- Commit terakhir
- 11 Nov 2026
- Lisensi
- MIT
- Tool yang diizinkan
- —
Apa fungsi skill code-testing-extensions?
code-testing-extensions adalah agent skill. Menyediakan katalog referensi berisi file panduan spesifik bahasa untuk pipeline pengujian kode.
Ringkasan dibuat dari SKILL.md skill ini.
Tentang skill code-testing-extensions
Fungsi utama dari katalog referensi ini adalah untuk mengakses panduan spesifik bahasa untuk pipeline pengujian otomatis. Developer menggunakan sumber daya ini untuk memberikan perintah build, test runner, dan pola mocking yang presisi kepada agent sesuai dengan lingkungan pemrograman yang digunakan. Alih-alih mengandalkan pengetahuan umum, agent dapat memuat file spesifik seperti dotnet.md atau python.md untuk memahami deteksi layout proyek, perintah yang adaptif terhadap framework, dan kode error umum.
Katalog ini berfungsi sebagai direktori berisi kumpulan file yang dibaca langsung oleh agent, bukan melalui pemanggilan tool. Katalog ini mencakup dokumentasi khusus untuk bahasa seperti Rust, Go, Java, dan Swift, yang mencakup segalanya mulai dari perintah cargo test hingga pola XCTest. Ketika sebuah repositori tidak memiliki pola tes yang sudah ada, agent juga dapat mengakses file contoh spesifik bahasa untuk mengamati siklus lengkap yang melibatkan riset, perencanaan, hingga laporan akhir.
Apa yang bisa dilakukan agent dengannya
- 1Konfigurasi lingkungan pengujian PythonAgent dapat mengambil perintah test yang adaptif terhadap framework dan panduan mocking untuk proyek Python.
- 2Implementasi internal pengujian C++Developer dapat menginstruksikan agent untuk menggunakan panduan spesifik guna menguji internal C++ menggunakan deklarasi friend.
- 3Generate suite pengujian JavaClient AI dapat menggunakan perintah Maven atau Gradle serta pola Mockito untuk membangun test Java.
- 4Belajar dari workflow pengujianKetika sebuah repositori tidak memiliki tes yang sudah ada, agent dapat memuat file contoh untuk melihat siklus riset dan perbaikan yang lengkap.
Ditulis dari SKILL.md milik skill tersebut. Setiap use case diverifikasi dengan kutipan darinya.
Cara install skill code-testing-extensions
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill code-testing-extensions di Plugin
/plugin marketplace add dotnet/skills /plugin install dotnet-test@dotnet-agent-skills
Install skill code-testing-extensions di Claude Code
~/.claude/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.claude/skills/code-testing-extensionsInstall skill code-testing-extensions di Claude Code (project)
.claude/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions .claude/skills/code-testing-extensionsInstall skill code-testing-extensions di Codex
~/.agents/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.agents/skills/code-testing-extensionsInstall skill code-testing-extensions di Gemini CLI
~/.gemini/skills/code-testing-extensions/SKILL.md
$ npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.gemini/skills/code-testing-extensionsInstall skill code-testing-extensions di Claude.ai
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
Pengecekan otomatis
Berjalan 14 Nov 2026Laporan lengkap →Lolos cek otomatis kami. Ini bukan audit keamanan: baca skripnya sebelum membiarkan agent menjalankannya. Cara kerja checks
- Source repository terhubung dan dapat dijangkaudotnet/skills/plugins/dotnet-test/skills/code-testing-extensions is public and reachablegithub.com/dotnet/skills/tree/HEAD/plugins/dotnet-test/skill ↗Lolos
- Lisensi open source (OSI)MITspdx.org/licenses/MIT.html ↗Lolos
- Ada commit atau release dalam satu tahun terakhirLast commit 2026-11-11github.com/dotnet/skills/commits ↗Lolos
- Skrip tanpa unduh-lalu-jalankan atau pencurian kredensialNo scripts in the skill folderLolos
- Tidak ada instruksi tersembunyi di SKILL.mdNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/dotnet/skills/blob/HEAD/plugins/dotnet-test/skill ↗Lolos
- Tool yang diizinkan otomatis dibatasiNo pre-approved tools; the agent asks before using onegithub.com/dotnet/skills/blob/HEAD/plugins/dotnet-test/skill ↗Lolos
SKILL.md
Lihat di GitHubCode 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.
Berkas dalam skill ini
22Pertanyaan seputar skill code-testing-extensions
Bagaimana cara install skill code-testing-extensions di Claude Code?
Jalankan npx degit dotnet/skills/plugins/dotnet-test/skills/code-testing-extensions ~/.claude/skills/code-testing-extensions. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill code-testing-extensions?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.
Bagaimana cara saya menggunakan katalog ini?
Ini adalah katalog khusus referensi; Anda sebaiknya membaca file bahasa yang spesifik secara langsung daripada memanggil katalog ini sebagai sebuah skill.
Kapan saya harus memuat file contoh?
Muat file contoh spesifik bahasa hanya jika repositori tidak memiliki tes yang representatif dan file ekstensi dasar tidak mencukupi.
Informasi apa saja yang ada di dalam file ekstensi?
File-file tersebut berisi perintah build dan test, deteksi framework, panduan mocking, dan kode error umum untuk berbagai bahasa pemrograman.