AgentSkillsCN

dotnet-change

适用于任何C#/.NET项目的变更。切勿仅针对前端工作进行触发。在完成开发之前,务必更新或新增测试,并运行标准测试命令。

SKILL.md
--- frontmatter
name: dotnet-change
description: Use for any change in C#/.NET projects. Do NOT trigger for frontend-only work. Always update or add tests and run the standard test command before finishing.

Workflow:

  1. Identify impacted projects and test projects.
  2. Make minimal code changes consistent with existing patterns.
  3. Add/adjust tests (xUnit/NUnit/etc. as used in repo).
  4. Run: dotnet test (and dotnet format if repo uses it).
  5. Summarize changes + list tests run + any follow-ups.