跳到正文
cccskills
免费在 GitHub 公开

release

Prepare and publish Perigon.CLI patch releases, including versioning, release notes, bilingual docs, validation, and the nuget-branch CI handoff.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md2.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Perigon.CLI Release Workflow

Use this skill when releasing Perigon.CLI or when the user asks to package and publish a version. The NuGet publishing workflow runs automatically when origin/nuget receives a push.

Before editing

  • Inspect git status in both Perigon.CLI and Perigon.docs repositories.
  • Preserve unrelated user changes. Stage only files belonging to the release.
  • Confirm the exact current version from src/Apps/CommandLine/CommandLine.csproj.

Release contents

  • Unless the user specifies a version, increment only the patch component of <Version> in src/Apps/CommandLine/CommandLine.csproj.
  • Keep src/Apps/Dashboard/Dashboard.csproj on the same version.
  • Update <PackageReleaseNotes> with only the changes being released.
  • Update the matching Chinese and English pages under Perigon.docs/Content/docs/Perigon, normally the command-line page and the version update notes. Keep their structure and meaning aligned.
  • Add or update reusable release guidance in this skill and Contribution.md when the workflow changes.

Validation

Run the focused tests for the changed feature, then the full test project:

dotnet test tests/StudioMod.Tests/CoreMod.Tests.csproj --configuration Release --verbosity minimal

The CI-equivalent package/studio build is:

pwsh ./scripts/PublishToLocal.ps1 -withStudio:$true

PublishToLocal.ps1 reads the tracked src/Apps/CommandLine/ShareDlls.txt when packaging Studio and removes the listed duplicate DLLs. If project dependencies change, run scripts/CheckSharedDlls.ps1 to refresh the list and commit the updated file.

Run it only after tests pass; it creates local publish/package artifacts and may install the package locally.

Branch handoff

  1. Commit the Perigon.CLI release changes on the current development branch with a conventional emoji-prefixed message such as 🚀 release: prepare Perigon.CLI 10.1.12.
  2. Push that branch if it is the requested source branch.
  3. Fetch origin/nuget, verify it has no unexpected divergence, merge the release commit into a local nuget branch, and push nuget without force-pushing.
  4. add git tag v<version> to the release commit and push the tag.

If the nuget branch has unrelated commits or conflicts, stop before merging and report the exact divergence. Do not reset, discard, or force-push user work.

Docs repository

Commit and push only the release-related files in Perigon.docs; leave any pre-existing uncommitted documentation changes untouched. Verify both zh-CN and en-US pages before handing off.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

blazor

免费

Use for Blazor Server development with Fluent UI Blazor, Razor components, layouts, pages, scoped UI services, culture switching, localization, forms, loading/empty/error states, and Studio-style dashboard workflows.

中文简介正在准备中。当前显示原文说明。

AterDev/Perigon.CLI542026年9月10日 更新

cli

免费

Use for .NET command-line tool development with Spectre.Console/Spectre.Console.Cli, Microsoft.Extensions.Hosting, dependency injection, localized help text, command settings, aliases, examples, terminal output, exit codes, and stdio-safe command paths.

中文简介正在准备中。当前显示原文说明。

AterDev/Perigon.CLI542026年9月10日 更新

codegen

免费

Use for .NET code generation work with Roslyn, Microsoft.OpenApi, Razor templates, DTO/manager/controller generation, REST API generation, C# HttpClient generation, Angular/Axios TypeScript request clients, generated formatting, and deterministic output.

中文简介正在准备中。当前显示原文说明。

AterDev/Perigon.CLI542026年9月10日 更新

docs

免费

Use for Perigon documentation work across this workspace, especially Perigon.docs/Content/docs/Perigon bilingual and versioned docs, syncing zh-CN and en-US content, updating docs from Perigon.CLI, Perigon.template, and Perigon.Modules changes, and deciding whether to revise existing pages or add new documentation.

中文简介正在准备中。当前显示原文说明。

AterDev/Perigon.CLI542026年9月10日 更新

dotnet

免费

Use for .NET application development involving services, managers, dependency injection, Microsoft.Extensions.Hosting, dependency direction, MiniDb persistence, DTOs, Mapster mapping, shared entities/helpers, MCP tools, module workflows, solution analysis, cancellation, logging, and logic shared by CLI and Blazor.

中文简介正在准备中。当前显示原文说明。

AterDev/Perigon.CLI542026年9月10日 更新

test

免费

Use for .NET test design and validation with xUnit v3, Moq, focused regression tests, command tests, service/manager tests, code generation tests, Roslyn helper tests, MiniDb isolation, HTTP stubs, temp directories, and deciding whether to run targeted tests or builds.

中文简介正在准备中。当前显示原文说明。

AterDev/Perigon.CLI542026年9月10日 更新

查看 AterDev 的全部技能

报告此技能的问题