| name | build-fix-from-log |
| description | Triage build failures from logs and apply the smallest correct fix at the first meaningful error. |
Skill: build-fix-from-log
Use when:
dotnet build fails
- compile errors are pasted
- startup errors clearly originate from a build/runtime compile issue
Goal
Find the first meaningful failure and fix only that scope.
Workflow
- Read only the first real error, not all downstream noise.
- Identify:
- project
- file
- symbol/member/type involved
- Inspect only nearby code first.
- Propose or apply the smallest correct fix.
- Verify with the smallest affected build command.
Preferred commands
dotnet build <project.csproj> -c Debug -v minimal
- if solution-level failure is required, keep output narrow and focus on first real error
Do not
- fix warnings unless required by the task
- refactor unrelated files
- chase secondary errors before the primary one is resolved
- paste giant logs back to the user
Output contract
- first real error
- root cause
- files to change
- minimal fix
- verification result
Token discipline
- summarize logs, do not echo them
- inspect the touched project first
- keep the answer under 10 bullets unless asked for detail