·dotnet-testing-complex-object-comparison
</>

dotnet-testing-complex-object-comparison

kevintsengtw/dotnet-testing-agent-skills

處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。

14安裝·1熱度·@kevintsengtw

安裝

$npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison

SKILL.md

此技能專注於 .NET 測試中的複雜物件比對場景,使用 AwesomeAssertions 的 BeEquivalentTo API 處理各種進階比對需求。

| Excluding(x => x.Property) | 排除特定屬性 | 排除時間戳記、自動生成欄位 | | Including(x => x.Property) | 只包含特定屬性 | 關鍵屬性驗證 | | IgnoringCyclicReferences() | 忽略循環參照 | 樹狀結構、雙向關聯 | | WithMaxRecursionDepth(n) | 限制遞迴深度 | 深層巢狀結構 | | WithStrictOrdering() | 嚴格順序比對 | 陣列/集合順序重要時 | | WithoutStrictOrdering() | 寬鬆順序比對 | 陣列/集合順序不重要時 | | WithTracing() | 啟用追蹤 | 除錯複雜比對失敗 |

處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 來源:kevintsengtw/dotnet-testing-agent-skills。

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 dotnet-testing-complex-object-comparison?

處理複雜物件比對與深層驗證的專門技能。 當需要比對深層物件、排除特定屬性、處理循環參照、驗證 DTO/Entity 時使用。 涵蓋 BeEquivalentTo、Excluding、Including、自訂比對規則等。 來源:kevintsengtw/dotnet-testing-agent-skills。

如何安裝 dotnet-testing-complex-object-comparison?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-complex-object-comparison 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/kevintsengtw/dotnet-testing-agent-skills