.github/skills/dotnet-agent-harness-recommender/SKILL.md
AI-powered skill recommendation engine for dotnet-agent-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.
npx skillsauth add rudironsoni/sharpclaw dotnet-agent-harness-recommenderInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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-agent-harness:recommend
dotnet agent-harness recommend --format json
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-agent-harness:recommend --platform codexcli
/dotnet-agent-harness:recommend --category data
/dotnet-agent-harness:recommend --category testing
/dotnet-agent-harness:recommend --category security
dotnet agent-harness recommend --platform codexcli --category data --format json
Use --platform when you need only artifacts that map cleanly to a specific runtime surface. For example,
--platform codexcli excludes command-only content, while --platform geminicli excludes subagent-only content.
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-agent-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"
development
Design patterns and architectural guidance for .NET applications. Navigation skill covering vertical slices, domain modeling, messaging patterns, resilience, caching, and system design. For building scalable, maintainable applications. Keywords: architecture, patterns, vertical slices, domain modeling, messaging, resilience, caching, design patterns
development
Comprehensive testing framework for skills
data-ai
Offline mode with local caching for air-gapped environments
tools
Skill manifest management for dotnet-agent-harness. Tracks skill dependencies, conflicts, version compatibility, and provides validation and resolution tools. Triggers on: skill manifest, dependency resolution, skill compatibility, version conflicts, build manifest, validate dependencies.