filesystem-testing-abstractions
🎯Skillfrom kevintsengtw/dotnet-testing-agent-skills
filesystem-testing-abstractions skill from kevintsengtw/dotnet-testing-agent-skills
Installation
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill filesystem-testing-abstractionsSkill Details
Overview
# .NET Testing Agent Skills
[](https://opensource.org/licenses/MIT)
[](https://dotnet.microsoft.com/)
[](https://xunit.net/)
[](https://xunit.net/)
> 🏆 基於 2025 iThome 鐵人賽 Software Development 組冠軍作品「老派軟體工程師的測試修練 - 30 天挑戰」提煉而成
專為 .NET 開發者打造的 AI Agent Skills 集合,涵蓋從單元測試到整合測試的完整最佳實踐。讓 GitHub Copilot、Claude 等 AI 助理自動為您提供專業的測試指導!
---
✨ 特色
- 🎯 高度優化的自動觸發:27 個 skills 包含 400-520 個 triggers,AI 根據對話內容自動載入(觸發率提升 150-233%)
- 📚 29 個精煉技能:包含 2 個總覽技能 + 27 個專業技能,涵蓋單元測試、模擬、測試資料生成、整合測試等
- 🔧 即用範本:提供完整的專案結構與程式碼範例
- 🌐 多平台支援:GitHub Copilot、Claude Code、Cursor 等
- 📖 中文友善:完整的繁體中文文件與命名建議
- 📦 標準化結構:符合 Claude Code skills 標準,支援 npx skills install 安裝
- 📊 2026-01-27 全面優化:Triggers、Description、入口導航全面強化
---
🚀 快速開始
方法一:使用 npx skills install(推薦)
```bash
# 從 GitHub 直接安裝到 Claude Code 全域 skills
npx skills install https://github.com/kevintsengtw/dotnet-testing-agent-skills.git
# 或安裝到當前工作區
npx skills install https://github.com/kevintsengtw/dotnet-testing-agent-skills.git --workspace
```
方法二:直接複製
#### 複製到 GitHub Copilot(VS Code)
Linux / macOS (Bash)
```bash
# 1. Clone 此 repo
git clone https://github.com/kevintsengtw/dotnet-testing-agent-skills.git
# 2. 複製到您的專案(GitHub Copilot 使用 .github/skills)
cp -r dotnet-testing-agent-skills/skills /your-project/.github/
# 3. 在 VS Code 中啟用 Agent Skills
# 設定 → 搜尋 "chat.useAgentSkills" → 勾選啟用
```
Windows (PowerShell)
```powershell
# 1. Clone 此 repo
git clone https://github.com/kevintsengtw/dotnet-testing-agent-skills.git
# 2. 複製到您的專案(GitHub Copilot 使用 .github/skills)
Copy-Item -Path "dotnet-testing-agent-skills\skills" -Destination "\your-project\.github\" -Recurse
# 3. 在 VS Code 中啟用 Agent Skills
# 設定 → 搜尋 "chat.useAgentSkills" → 勾選啟用
```
#### 複製到 Claude Code
Linux / macOS (Bash)
```bash
# 複製到 Claude Code 工作區 skills
cp -r dotnet-testing-agent-skills/skills /your-project/.claude/
# 或複製到全域 skills
cp -r dotnet-testing-agent-skills/skills ~/.config/claude/
```
Windows (PowerShell)
```powershell
# 複製到 Claude Code 工作區 skills
Copy-Item -Path "dotnet-testing-agent-skills\skills" -Destination "\your-project\.claude\" -Recurse
# 或複製到全域 skills
Copy-Item -Path "dotnet-testing-agent-skills\skills" -Destination "$env:APPDATA\claude\" -Recurse
```
方法三:Git Submodule
```bash
cd /your-project
# 對 GitHub Copilot:加入 submodule 到 .github/skills
git submodule add https://github.com/kevintsengtw/dotnet-testing-agent-skills .github/skills
cd .github/skills && cp -r skills/* . && cd ../..
# 對 Claude Code:加入 submodule 到 .claude/skills
git submodule add https://github.com/kevintsengtw/dotnet-testing-agent-skills .claude/skills
cd .claude/skills && cp -r skills/* . && cd ../..
```
方法四:選擇性複製
只需要特定技能?
#### Linux / macOS (Bash)
```bash
# 只複製單元測試基礎
cp -r dotnet-testing-agent-skills/skills/dotnet-testing-unit-test-fundamentals /your-project/.github/skills/
# 只複製 AutoFixture 系列
cp -r dotnet-testing-agent-skills/skills/dotnet-testing-autofixture-* /your-project/.github/skills/
# 只複製總覽 skills
cp -r dotnet-testing-agent-skills/skills/dotnet-testing /your-project/.github/skills/
cp -r dotnet-testing-agent-skills/skills/dotnet-testing-advanced /your-project/.github/skills/
```
#### Windows (PowerShell)
```powershell
# 只複製單元測試基礎
Copy-Item -Path "dotnet-testing-agent-skills\skills\dotnet-testing-unit-test-fundamentals" -Destination "\your-project\.github\skills\" -Recurse
# 只複製 AutoFixture 系列
Get-ChildItem -Path "dotnet-testing-agent-skills\skills\dotnet-testing-autofixture-*" | Copy-Item -Destination "\your-project\.github\skills\" -Recurse
# 只複製總覽 skills
Copy-Item -Path "dotnet-testing-agent-skills\skills\dotnet-testing" -Destination "\your-project\.github\skills\" -Recurse
Copy-Item -Path "dotnet-testing-agent-skills\skill
More from this repository10
dotnet-testing-advanced-testcontainers-database skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-xunit-project-setup skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-nsubstitute-mocking skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-fluentvalidation-testing skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-advanced-webapi-integration-testing skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-advanced-aspnet-integration-testing skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-datetime-testing-timeprovider skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-awesome-assertions-guide skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-bogus-fake-data skill from kevintsengtw/dotnet-testing-agent-skills
dotnet-testing-unit-test-fundamentals skill from kevintsengtw/dotnet-testing-agent-skills