← スキル一覧に戻る

upgrade
by zadazorg
⭐ 0🍴 0📅 2026年1月26日
SKILL.md
name: upgrade description: Upgrade project configuration to latest C# standards user-invokable: true allowed-tools: Read, Write, Edit, Bash, Grep, Glob, AskUserQuestion
/upgrade — Project Configuration Upgrade
Upgrades your .NET project to the latest C# standards configuration.
What This Does
Compares your project's configuration files with the latest templates and offers to update them:
| File | Purpose |
|---|---|
Directory.Build.props | Build settings, analyzers, strict mode |
Directory.Packages.props | Central Package Management versions |
.editorconfig | Code style rules (K&R, file-scoped namespaces) |
BannedSymbols.txt | Forbidden APIs (DateTime.Now, etc.) |
Makefile | Standard targets (lint, fix, test, coverage) |
Usage
/upgrade # Check and upgrade all files
/upgrade --check # Only show what's outdated (no changes)
/upgrade --force # Replace all files without asking
Workflow
- Scan — Find existing config files
- Compare — Check against latest templates
- Report — Show what's missing/outdated
- Confirm — Ask what to update
- Apply — Make changes
- Verify — Run
dotnet restore && dotnet build
Example Output
🔍 Checking project against csharp-standards v2.5.0...
┌─────────────────────────┬──────────┬─────────────────────────┐
│ File │ Status │ Action │
├─────────────────────────┼──────────┼─────────────────────────┤
│ Directory.Build.props │ Outdated │ 3 properties missing │
│ Directory.Packages.props│ MISSING │ Create new │
│ .editorconfig │ OK │ Up to date │
│ BannedSymbols.txt │ Outdated │ 2 bans missing │
│ Makefile │ OK │ Up to date │
└─────────────────────────┴──────────┴─────────────────────────┘
Missing features in Directory.Build.props:
• NuGetAudit — Vulnerability scanning (v2.4.0)
• RestorePackagesWithLockFile — Lock files (v2.4.0)
• UseArtifactsOutput — Clean output dir (v2.3.1)
What would you like to update?
○ All files (recommended)
○ Select individually
○ Skip — just show report
After Upgrade
# Verify everything works
dotnet restore
dotnet build
dotnet test
# Review and commit
git diff
git add -A
git commit -m "chore: upgrade to csharp-standards v2.5.0"
See Also
/csharp-standards— Apply coding standards when writing codeconfig-checkagent — Validate configuration without changing files
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です