← 返回 Skills 市场
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install csharp-developer-jirboy
功能描述
提供专业C#/.NET项目模板生成、代码编写、架构设计和代码审查支持,涵盖多种应用类型和开发场景。
使用说明 (SKILL.md)
⚠️ 已整合 - 请使用 code 统一入口
本技能保留用于向后兼容,功能已整合到
code统一入口技能推荐使用:
code csharp [类型] [任务]或直接使用本技能(自动转发)
C# Developer(兼容层)
专业的 C#/.NET 开发技能,提供从项目模板、代码生成、架构设计到代码审查的完整开发工作流。
迁移指南
新用法:
code csharp WPF 振动台监控界面
code csharp 串口通信
code csharp 异步编程
旧用法(仍然可用):
csharp WPF 振动台监控界面
支持的项目类型
- .NET Core / .NET 6+ - 跨平台控制台应用
- WPF - Windows 桌面应用(推荐用于上位机)
- WinForms - 传统 Windows 应用
- ASP.NET Core - Web API 和服务
- Class Library - 类库项目
核心功能
- ✅ 项目模板生成
- ✅ 代码生成(MVVM/异步/依赖注入)
- ✅ 架构设计
- ✅ 代码审查
安全使用建议
This skill appears to do what it claims (generate and review C#/.NET projects) but it runs shell commands (dotnet) and writes files. Main risk: command injection via the create-project path — dotnetVersion is interpolated into an unquoted shell argument. Before installing or invoking it:
- Review or patch the code to validate/sanitize inputs (allow only numeric version strings like 6, 7, 8 or patterns matching ^\d+(\.\d+)?$).
- Replace exec with a safer call (execFile/spawn with args array) or ensure all arguments are properly escaped/quoted.
- Run the skill in an isolated environment or container when first testing to limit potential damage from injection or unintended filesystem writes.
- Confirm you are comfortable with the skill invoking the dotnet CLI and creating files under the agent's working directory or a specified outputDir.
If you cannot review or patch the code, treat the skill as untrusted and avoid running project-creation operations with untrusted inputs.
功能分析
Type: OpenClaw Skill
Name: csharp-developer-jirboy
Version: 1.0.0
The skill contains a potential shell injection vulnerability in `index.js` within the `createProject` function. User-controlled parameters such as `dotnetVersion` and `outputDir` are concatenated directly into a shell command string (`dotnet new ...`) executed via `child_process.exec` without sanitization. While the skill's stated purpose of C# development and industrial vibration control appears legitimate, the lack of input validation poses a significant security risk for remote code execution.
能力评估
Purpose & Capability
Name/description match the code: provides project templates, code generation, architecture design and review. The dotnet CLI usage and included C# snippets are consistent with a .NET development helper.
Instruction Scope
Runtime code uses child_process.exec to run 'dotnet' commands. The createProject command interpolates user-controllable dotnetVersion into an unquoted shell command argument (e.g. `-f net${dotnetVersion}`), which can lead to shell injection. The skill also creates files/directories in the agent's working dir or a provided outputDir (expected for project creation, but requires caution).
Install Mechanism
No install spec (instruction-only with included code). Nothing is downloaded from external URLs; no third-party packages are installed by the skill itself.
Credentials
The skill requests no environment variables, credentials, or external config paths. The resources accessed (dotnet CLI, filesystem) are appropriate for the stated purpose.
Persistence & Privilege
always: false and no special persistence or modification of other skills. The skill writes project files into the chosen output directory (normal for a generator).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install csharp-developer-jirboy - 安装完成后,直接呼叫该 Skill 的名称或使用
/csharp-developer-jirboy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Version 1.0.0
- Skill functionality has been merged into the unified code entry.
- This skill remains for backward compatibility but now auto-forwards tasks to the new entry.
- Updated usage instructions to recommend using code csharp [type] [task].
- Lists supported project types: .NET Core/.NET 6+, WPF, WinForms, ASP.NET Core, and Class Library.
- Outlines core features including project templating, code generation, architecture design, and code review.
元数据
常见问题
Csharp Developer 是什么?
提供专业C#/.NET项目模板生成、代码编写、架构设计和代码审查支持,涵盖多种应用类型和开发场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。
如何安装 Csharp Developer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install csharp-developer-jirboy」即可一键安装,无需额外配置。
Csharp Developer 是免费的吗?
是的,Csharp Developer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Csharp Developer 支持哪些平台?
Csharp Developer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Csharp Developer?
由 JIRBOY(@jirboy)开发并维护,当前版本 v1.0.0。
推荐 Skills