スキル一覧に戻る
GiantCroissant-Lunar

dotnet-build

by GiantCroissant-Lunar

0🍴 0📅 2026年1月11日
GitHubで見るManusで実行

SKILL.md


name: dotnet-build version: 0.2.0 kind: cli description: Build .NET solution/projects using dotnet CLI. Use when task involves compiling, restoring dependencies, or building artifacts. inputs: target: [solution, project, all] configuration: [Debug, Release] project_path: string contracts: success: 'Build completes with zero errors; artifacts in bin/' failure: 'Non-zero exit code or compilation errors'

.NET Build Skill (Entry Map)

Goal: Guide agent to the exact build procedure needed.

Quick Start (Pick One)

  • Build entire solutionreferences/build-solution.md
  • Restore dependencies onlyreferences/restore-deps.md

When to Use

  • Compile .NET code (.csproj, .sln files)
  • Restore NuGet packages and dependencies
  • Build Debug/Release configurations
  • Generate build artifacts (binaries, assemblies)

NOT for: tests (dotnet-test), formatting (code-format), or analysis (code-analyze)

Inputs & Outputs

Inputs: target (solution/project/all), configuration (Debug/Release), project_path (default: ./dotnet/PigeonPea.sln)

Outputs: artifact_path (bin/ directory), build_log, exit code (0=success)

Guardrails: Operate in ./dotnet only, never commit bin/obj/, idempotent builds

1. Build Entire Solutionreferences/build-solution.md

  • First build after cloning, building before tests, creating release artifacts

2. Restore Dependencies Onlyreferences/restore-deps.md

  • Setup dev environment, fix missing packages, troubleshoot NuGet

Common Patterns

Quick Build (Debug)

cd ./dotnet
dotnet build PigeonPea.sln

Quick Build (Release)

cd ./dotnet
dotnet build PigeonPea.sln --configuration Release

Restore then Build

cd ./dotnet
dotnet restore PigeonPea.sln
dotnet build PigeonPea.sln --no-restore

Clean and Rebuild

cd ./dotnet
dotnet clean PigeonPea.sln
dotnet build PigeonPea.sln

Build Specific Project

cd ./dotnet
dotnet build console-app/PigeonPea.Console.csproj

Verbose Build for Debugging

cd ./dotnet
dotnet build PigeonPea.sln --verbosity detailed

Troubleshooting

Build fails: Check error messages. See references/build-solution.md for detailed error handling.

Missing dependencies: Run dotnet restore. See references/restore-deps.md.

NU1301 (service index): NuGet unreachable. Check references/restore-deps.md.

Slow builds: Use --no-restore, -m (parallel), or /p:RunAnalyzers=false. See references/build-solution.md.

Stale artifacts: Run dotnet clean then rebuild.

Success Indicators

Build succeeded.
    0 Warning(s)
    0 Error(s)

Artifacts in: ./dotnet/{ProjectName}/bin/{Configuration}/net9.0/

Integration

After build: dotnet-test (tests), code-analyze (static analysis) Before build: code-format (style fixes)

スコア

総合スコア

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

レビュー

💬

レビュー機能は近日公開予定です