.github/skills/dotnet-agent-harness-test-framework/SKILL.md
Comprehensive testing framework for skills
npx skillsauth add rudironsoni/sharpclaw dotnet-agent-harness-test-frameworkInstall 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.
Validate skill functionality with automated tests.
skill/
├── SKILL.md
└── test-cases/
├── basic.yml
├── edge-cases.yml
└── integration.yml
name: Basic Functionality
description: Test core skill behavior
setup:
- mkdir -p /tmp/test-project
- cd /tmp/test-project
tests:
- name: Should load successfully
input: invoke skill
expected:
status: success
output_contains: 'Skill loaded'
- name: Should reject invalid input
input: invoke skill with "invalid"
expected:
status: error
error_contains: 'Invalid input'
teardown:
- rm -rf /tmp/test-project
dotnet-agent-harness:test <skill> - Run all testsdotnet-agent-harness:test <skill> --filter basic - Filter testsdotnet-agent-harness:test all - Test all skillsdotnet-agent-harness:test all --format junit --output results.xml - Emit CI-friendly reportsstatus: success|erroroutput_contains: "string"output_matches: /regex/file_exists: "path"no_errors - Check stderr empty✓ skill-name
✓ basic functionality (12ms)
✓ edge cases (8ms)
✗ integration test (failed)
Expected: "success"
Got: "error: missing dependency"
Results: 2 passed, 1 failed
- name: Test Skills
run: |
dotnet agent-harness test all --format junit --output results.xml
dotnet-agent-harness:test all --format junit --output results.xml
- name: Upload Results
uses: actions/upload-artifact@v4
with:
name: test-results
path: results.xml
Test fails: Check skill dependencies Timeout: Increase timeout in test config Flaky tests: Use deterministic inputs
Primary 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
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.
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.