bykevintsengtw· 30 skills
使用 TimeProvider 測試時間相依邏輯的專門技能。當需要測試 DateTime、控制時間流逝、處理時區轉換、測試過期邏輯時使用。涵蓋 TimeProvider 抽象化、FakeTimeProvider 時間控制、時間凍結與快轉等。 Make sure to use this skill whenever the user mentions DateTime testing, TimeProvider, FakeTimeProvider, time-dependent logic, cache expiration, or token expiration testing, even if they don't explicitly ask for time testing guidance. Keywords: datetime, time testing, 時間測試, TimeProvider, FakeTimeProvider, DateTime.Now, 時間相依, 快取過期, token 過期, Microsoft.Bcl.TimeProvider, GetUtcNow, SetUtcNow, Advance, time freeze, 時間凍結, 時間快轉
$npx -y skills add kevintsengtw/dotnet-testing-agent-skills --skill dotnet-testing-datetime-testing-timeproviderInstalls into the current project.
Run `npx skills use "https://github.com/kevintsengtw/dotnet-testing-agent-skills" --skill "kevintsengtw/dotnet-testing-agent-skills/dotnet-testing-datetime-testing-timeprovider"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/kevintsengtw/dotnet-testing-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/kevintsengtw/dotnet-testing-agent-skills"` and select the relevant skills, then follow their instructions.