← スキル一覧に戻る

csharp-code-generation
by danielshue
Notebook Automation for Coursera
⭐ 0🍴 1📅 2026年1月25日
SKILL.md
name: csharp-code-generation description: Generate C# code for Notebook Automation that matches repo conventions (file-scoped namespaces, modern C#, clean DI, safe error handling). examples:
- "Add a new service/processor under src/c-sharp that follows repo conventions"
- "Refactor an existing Core tool to reuse shared utilities"
- "Implement a small feature and add/adjust unit tests"
C# Code Generation (Notebook Automation)
When to use
Use this skill when the user asks to:
- Add or refactor C# implementation code under
src/c-sharp/**. - Create new services/processors/commands and keep them consistent with this repo.
Workflow
- Identify the target project (
NotebookAutomation.Core,NotebookAutomation.Cli, etc.). - Search for existing implementations to reuse (especially under
src/c-sharp/NotebookAutomation.Core/Toolsand utilities). - Follow repo conventions:
- Standard license header for new C# files
- File-scoped namespaces
- Prefer primary constructors for simple dependency initialization
- Depend on abstractions (interfaces) and keep code testable
- Add/adjust tests when behavior changes (see the
csharp-test-generationskill).
Examples (input → expected output)
Example: Add a new processor/service
Input: “Add a new processor under Core/Tools that reuses existing utilities.”
Expected output:
- New code placed in the correct project/folder
- Uses existing abstractions/utilities where available
- Small, focused diff with consistent style (file-scoped namespaces, modern C#)
- Unit tests added/updated when behavior changes
Conventions to follow
This repo’s baseline rules are captured in:
Output expectations
- Small, focused diffs; avoid unrelated reformatting.
- Clear exceptions and messages when failing on paths/inputs.
- No hard-coded secrets.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です