Home / nelson820125 / iforgeai · zh-CN/copilot/skills/dotnet-engineer/SKILL.md · GitHub

dotnet-engineer skillA

dotnet-engineer is agent-read markdown (skill) from nelson820125/iforgeai: .NET后端工程师角色技能。当需要实现.NET/C#后端功能、API接口、数据库操作、服务层、Repository层实现时使用。关键词:.NET、C#、ASP.NET Core、Entity Framework、Dapper、SqlSugar、后端开发、API实现、数据库、服务实现、Blazor。.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

## 数据库方案规则

在开始任何数据库相关实现前,先从 `.ai/context/workflow-config.md` 读取 `db_approach` 字段:

- **`database-first`**(未设置时的默认值):权威 Schema 由 DBA 产出的 `.ai/temp/db-init.sql` 定义。你必须严格按照此脚本实现 ORM 实体类和 Repository 代码。**禁止使用 `dotnet ef migrations add` 初始化数据库**——数据库由 DBA 的 SQL 脚本初始化。
- **`code-first`**:你负责通过 ORM Migration 驱动 Schema。工作流程:
  1. 读取 `.ai/temp/db-design.md`(DBA 设计文档)作为字段类型、约束、索引和默认值的参考
  2. 严格按照设计文档实现实体类
  3. 执行 `dotnet ef migrations add {MigrationName}` 生成 Migration
  4. 执行 `dotnet ef database update`(或等价命令)应用 Migration——此步骤替代 `db-init.sql`
  5. 在 WBS 和工作日志中记录每个 Migration 任务,注明 Migration 名称和目的

## 角色

你是一名资深 .NET 后端工程师,严格按照上游角色(PM、Architect、Project Manager)的产出实现具体功能,不参与产品决策、不发散需求、不重构架构。

**技术栈**:.NET 8 / .NET 9 / .NET 10 · C# 12 / C# 14 · ASP.NET Core · Blazor · SQL Server · PostgreSQL · MongoDB · Redis · Entity Framework Core · Dapper · SqlSugar · CI/CD pipelines

代码注释语言:中文

## 工作目录约定

> 所有文件路径均相对于**当前项目工作区根目录**,`.ai/` 目录属于项目级,不跨项目共享。

```
{项目根目录}/
└── .ai/
    ├── context/     # 项目级约束与上下文(长期稳定,手动维护)
    ├── temp/        # 本次迭代中间产物(各 Agent 写入,可覆盖)
    ├── records/     # 各角色工作日志(追加归档)
    └── reports/     # 评审与测试报告(按版本归档)
```

## 输入

- `.ai/temp/requirement.md`(Product Manager 输出)
…

Read the whole file at its exact version.

How to install

Latest version
mdr add nelson820125/iforgeai/dotnet-engineer@git:20260326.b820307
Exact content
mdr add nelson820125/iforgeai/dotnet-engineer@sha256:042d521a121af7c7

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_laeeahqzxzwect5n.svg)](https://markdownregistry.com/a/art_laeeahqzxzwect5n)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260326.b820307 latest2026-03-26 b820307 5,657 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (5657 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nelson820125/iforgeai · 8 stars · license MIT · pushed 2026-09-24 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_laeeahqzxzwect5n
GET https://markdownregistry.com/api/v1/resolve?ref=nelson820125/iforgeai/dotnet-engineer
GET https://markdownregistry.com/api/v1/blob/042d521a121af7c78bdffabeaeaef52f29cbd73897c790aa3bed9e2855fd2e3a

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from nelson820125/iforgeai

CLAUDE.md@claude-code claude
nelson820125/iforgeai · claude-code/CLAUDE.md
git:20260410.f993f6d · audit B · 8 stars
AGENTS.md@codex agents
nelson820125/iforgeai · codex/AGENTS.md
git:20260410.f993f6d · audit B · 8 stars
architect skill
nelson820125/iforgeai · copilot/skills/architect/SKILL.md · Software Architect role skill. Use when you need to design architecture, evaluate technical solutions, analyse…
git:20260326.b820307 · audit A · 8 stars
dba-designer skill
nelson820125/iforgeai · copilot/skills/dba-designer/SKILL.md · Database Architect / DBA role skill. Use when you need to design database schemas, performance strategies, security…
git:20260326.b820307 · audit A · 8 stars
devops-engineer skill
nelson820125/iforgeai · copilot/skills/devops-engineer/SKILL.md · DevOps Engineer role skill. Use when you need to produce a deployment guide, define release runbooks, plan…
git:20260327.83462bd · audit A · 8 stars
dotnet-engineer skill
nelson820125/iforgeai · copilot/skills/dotnet-engineer/SKILL.md · .NET Backend Engineer role skill. Use when you need to implement .NET/C# backend features, API endpoints, database…
git:20260326.b820307 · audit A · 8 stars
frontend-engineer skill
nelson820125/iforgeai · copilot/skills/frontend-engineer/SKILL.md · Frontend Engineer role skill. Use when you need to implement frontend features based on product requirements, UI design…
git:20260410.f993f6d · audit A · 8 stars
java-engineer skill
nelson820125/iforgeai · copilot/skills/java-engineer/SKILL.md · Java Backend Engineer role skill. Use when you need to implement Java/Spring Boot backend features, REST APIs…
git:20260410.f993f6d · audit A · 8 stars
plan skill
nelson820125/iforgeai · copilot/skills/plan/SKILL.md · Technical Plan role skill (P5b). Use when you need to produce a concrete, file-level implementation plan that bridges…
git:20260410.f993f6d · audit A · 8 stars
product-manager skill
nelson820125/iforgeai · copilot/skills/product-manager/SKILL.md · Product Manager / Requirements Analyst role skill. Use when you need to model requirements, produce structured output…
git:20260326.b820307 · audit A · 8 stars
project-manager skill
nelson820125/iforgeai · copilot/skills/project-manager/SKILL.md · Project Manager role skill. Use when you need to break down tasks, define a WBS, manage dependencies, control delivery…
git:20260326.b820307 · audit A · 8 stars
python-engineer skill
nelson820125/iforgeai · copilot/skills/python-engineer/SKILL.md · Python Backend Engineer role skill. Use when you need to implement Python backend features, async REST APIs, data…
git:20260410.f993f6d · audit A · 8 stars

Every file in nelson820125/iforgeai

Other files named dotnet-engineer

dotnet-engineer skill
nelson820125/iforgeai · copilot/skills/dotnet-engineer/SKILL.md · .NET Backend Engineer role skill. Use when you need to implement .NET/C# backend features, API endpoints, database…
git:20260326.b820307 · audit A · 8 stars

Browse by kind, by grade A, or by owner.