跳到正文
cccskills
免费在 GitHub 公开

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.

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

查看安装方法

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

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

.NET Application Development

Workflow

  1. Identify whether the change belongs in an app surface, service, manager, MCP tool, DTO/model, CodeGenerator, or Share.
  2. Read the calling surface from CLI or Blazor before changing shared behavior.
  3. Check shared entities and DefaultDbContext before changing persistence.
  4. Preserve dependency direction: app projects depend on CoreMod; CoreMod depends on CodeGenerator and Share; Share stays foundational.

Conventions

  • Put cross-step workflows and external I/O in services.
  • Put MiniDb query/update behavior in managers.
  • Keep app-facing service methods stable when both CLI and Blazor consume them.
  • Use existing DTO patterns and Mapster helpers (MapTo, Merge, Adapt) where nearby code does.
  • Pass CancellationToken through file, HTTP, and long-running async operations.
  • Make HTTP services testable with injectable clients or handlers.
  • Log exceptions with structured logging before wrapping them in localized, user-friendly errors.
  • Keep MCP tools as protocol surfaces: stable parameter names, returned shapes, and no console output.

Tests

  • Add tests under tests/StudioMod.Tests/Services, Managers, or Commands depending on the observable behavior.
  • Stub HTTP and isolate filesystem/MiniDb state.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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日 更新

release

免费

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

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

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 的全部技能

报告此技能的问题