dotnet-build-optimization
>-
dotnet-harness-recommender
AI-powered skill recommendation engine for dotnet-harness. Analyzes project context and recommends relevant skills based on detected frameworks, packages, and patterns. Triggers on: recommend skill, suggest skills, what skill should I use, skill suggestion, project analysis recommendation.
Full skill instructions
AI-powered skill recommendation engine that analyzes .NET project context and suggests relevant skills.
Load this skill when:
Analyzes:
.csproj, .sln, global.jsonnet8.0, netstandard2.0)Maps detected technologies to skill tags:
| Detected | Suggested Skills |
|---|---|
| Microsoft.AspNetCore.* | dotnet-minimal-apis, dotnet-api-security, dotnet-middleware-patterns |
| Microsoft.EntityFrameworkCore.* | dotnet-efcore-patterns, dotnet-efcore-architecture |
| Microsoft.Maui.* | dotnet-maui-development, dotnet-maui-aot |
| Microsoft.NET.Sdk.BlazorWebAssembly | dotnet-blazor-components, dotnet-blazor-testing |
| Azure.* | dotnet-cloud-specialist, dotnet-resilience |
| xunit, nunit, mstest | dotnet-xunit, dotnet-testing-strategy |
Scoring factors:
/dotnet-harness:recommend
Analyzes current project and outputs:
Recommended Skills (based on project analysis):
1. dotnet-efcore-patterns (95/100)
Detected: Microsoft.EntityFrameworkCore 8.0.0
Why: Core EF patterns for data access layer
2. dotnet-api-security (80/100)
Detected: Microsoft.AspNetCore.Authentication.JwtBearer
Why: JWT auth and API security patterns
3. dotnet-resilience (75/100)
Detected: Polly package
Why: Retry, circuit breaker patterns
/dotnet-harness:recommend --category data
/dotnet-harness:recommend --category testing
/dotnet-harness:recommend --category security
/dotnet-harness:recommend --interactive
Guides through:
Session start hook automatically runs recommendation when:
.csproj detected in workspaceSee .rulesync/hooks.json for implementation.
<Project Sdk="Microsoft.NET.Sdk.Web">
<PackageReference Include="Microsoft.AspNetCore.OpenApi" />
</Project>
Triggers: dotnet-minimal-apis, dotnet-api-versioning, dotnet-openapi
<Project Sdk="Microsoft.NET.Sdk">
<TargetFramework>netstandard2.0</TargetFramework>
</Project>
Triggers: dotnet-library-api-compat, dotnet-nuget-authoring
<Project Sdk="Microsoft.NET.Sdk">
<UseMaui>true</UseMaui>
</Project>
Triggers: dotnet-maui-development, dotnet-maui-aot, dotnet-uno-platform
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" />
</Project>
Triggers: dotnet-blazor-components, dotnet-blazor-testing, dotnet-aot-wasm
<Project Sdk="Microsoft.NET.Sdk">
<OutputType>Exe</OutputType>
</Project>
Triggers: dotnet-system-commandline, dotnet-cli-architecture
{
"project_type": "Web API",
"detected_frameworks": ["ASP.NET Core 8.0", "EF Core 8.0"],
"recommendations": [
{
"skill": "dotnet-efcore-patterns",
"confidence": 95,
"reason": "Microsoft.EntityFrameworkCore detected",
"priority": "high"
}
],
"alternatives": [
{
"skill": "dotnet-dapper-patterns",
"reason": "Alternative to EF Core for performance"
}
]
}
All analysis happens client-side:
.dotnet-harness/recommendations.jsonPrimary approach: Use Serena symbol operations for efficient code navigation:
serena_find_symbol instead of text searchserena_get_symbols_overview for file organizationserena_find_referencing_symbols for impact analysisserena_replace_symbol_body for clean modificationsWhen to use Serena vs traditional tools:
Example workflow:
# Instead of:
Read: src/Services/OrderService.cs
Grep: "public void ProcessOrder"
# Use:
serena_find_symbol: "OrderService/ProcessOrder"
serena_get_symbols_overview: "src/Services/OrderService.cs"
>-
>-
Analyzes .NET solution layout and build config -- .sln, .csproj, CPM.
>-
>-
Generates AGENTS.md files for coding agent context
Analyzes repos and generates structured catalogues
EF Core, DbContext, AsNoTracking, query splitting.
>-
>-
>-
>-
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience