dotnet-repo-workflow
在 .NET(C#/F#)仓库中构建、门禁校验并交付变更:shell 前置条件、使用仓库自带的门禁测试框架而非手工编写的 `dotnet test`、包/锁文件机制、Roslyn 内存编译陷阱,以及 PR 合并就绪检查清单。适用于 .NET 构建/测试失败、添加 NuGet 包,或 .NET 变更已准备好提交并作为 PR 打开时。不适用于仓库的代码风格(由其自身的 AGENTS.md 规定)或编排器安装维护。
机器翻译查看英文原文
Build, gate and ship a change in a .NET (C#/F#) repo: shell prerequisites, the repo's own gate harness instead of a hand-rolled `dotnet test`, package/lock-file mechanics, Roslyn in-memory compilation traps, and the PR merge-ready checklist. Use when a .NET build/test fails, when adding a NuGet package, or when a .NET change is ready to commit and open as a PR. Do not use for the repo's code style (its own AGENTS.md) or for orchestrator install maintenance.
适用对象:软件开发与测试。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- .NET repo workflow
- When to Use
- Shell prerequisites
- Gates: run the repo's own harness
- Repo-specific knowledge
- Packages and lock files
- In-memory compilation harnesses
- Shipping
Building, gating and shipping changes in .NET (C#/F#) repositories: shell prerequisites, the repo's own gate harness, package/lock mechanics, and the in-memory compilation harness trap. | You hear / see | Do | |---|---| | "build/test this .NET repo", dotnet test / dotnet build failing | shell prerequisites → the repo's own gate harness | | adding a NuGet package, packages.lock.json diff appears | packages and lock files | | analyzer / code-fix / example-cleanliness tests fail with CS1061 | in-memory compilation harnesses | | "commit and open a PR" for a .NET change | shipping | Not for: writing style → the repo's own AGENTS.md; orchestrator maintenance → its operations skill. Non-login shells do not read /.bashrc, so dotnet can be "command not found" while the SDK is installed: Export once per session. Read command not found as a PATH gap and check /.dotnet/dotnet (or dotnet --list-sdks) before concluding the SDK is missing. Read the repo AGENTS.md / README first. Mature .NET repos route every gate through a build script, e.g. dotnet fsi build.fsx -- -p test|format|verify-docs-snippets|release; use those, not a hand-rolled subset of dotnet test, and note that PR CI often runs only
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- wxxb789/hoa
- 源文件
- skills/dotnet-repo-workflow/SKILL.md
- 固定版本
- beb1eca66d8fed7c3942dc3ef50990bf37837706
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:wxxb789/hoa · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T20:02:15.341Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。