build-backend

Use this skill to validate that all backend C# projects compile successfully without errors.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "build-backend" with this command: npx skills add marcelmichau/fake-survey-generator/marcelmichau-fake-survey-generator-build-backend

Build Backend Skill

Use this skill to validate that all backend C# projects compile successfully without errors.

What This Skill Does

  • Runs dotnet build to compile all .NET projects in the solution

  • Captures and parses compilation errors

  • Reports errors with file and line number references

  • Exits with failure status if any compilation errors are found

When to Use

  • After implementing backend features in the Api project, Application project, or Worker project

  • To validate that dependencies and package versions are correct

  • Before running tests or other downstream validation steps

  • To catch syntax errors or type mismatches early

How the Agent Should Use This Skill

  • Prepare: Ensure you are in the repository root directory

  • Invoke: Run the backend build helper script from the repository root: dotnet .github/skills/build-backend/build-backend.cs

  • Parse Output: Monitor stdout for success message and stderr for errors

  • Handle Errors: If exit code is non-zero, the build failed. Review the error messages to identify:

  • File paths and line numbers from error output

  • Type errors, syntax errors, or missing references

  • Package version conflicts

  • Report: If any errors occur, halt further validation and report the compilation error details to the user

Success Criteria

  • Exit code: 0

  • Stdout contains: [BUILD] Backend build completed successfully

Failure Indicators

  • Exit code: 1

  • Stderr contains compilation errors (e.g., error CS0103: The name 'xyz' does not exist )

  • Stdout/stderr may contain file paths and line numbers of errors

Notes

  • The build script automatically finds the repository root by searching for FakeSurveyGenerator.slnx or FakeSurveyGenerator.sln

  • Full build output is captured; review stderr for detailed error messages

  • Backend projects are: Api, Application, Application.Tests, Api.Tests.Integration, Worker, ServiceDefaults, Proxy

Next Steps After Success

Once backend build succeeds, typically invoke:

  • Frontend Build Skill - to compile TypeScript

  • Test Backend Units Skill - to run unit and integration tests

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

test-backend-units

No summary provided by upstream source.

Repository SourceNeeds Review
General

implement-feature

No summary provided by upstream source.

Repository SourceNeeds Review
General

fake-survey-gen-foundation

No summary provided by upstream source.

Repository SourceNeeds Review
General

build-frontend

No summary provided by upstream source.

Repository SourceNeeds Review