moq-analyzers-proof-toolkit

Validate Moq analyzers against Roslyn APIs version 4.8.0 using dotnet inspect and reflection.

24|4|Updated Nov 25, 2017
One-click install
npx skills add https://github.com/rjmurillo/moq.analyzers --skill moq-analyzers-proof-toolkit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moq-analyzers-proof-toolkit
Source: https://github.com/rjmurillo/moq.analyzers/tree/main/.github/skills/moq-analyzers-proof-toolkit
Command: npx skills add https://github.com/rjmurillo/moq.analyzers --skill moq-analyzers-proof-toolkit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotnet, moq, roslyn, dotnet-inspect, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of empirical recipes for the development and validation of Moq analyzers, ensuring accurate behavior and performance.

Core Features & Use Cases

  • Proof Toolkit Recipes: Empirical recipes to verify Moq API existence, symbol registration, diagnostic spans, Roslyn API behaviors, performance claims, host compatibility, and regression-free fixes.
  • Empirical Validation: Uses real-world examples from the repository's history and verifications against specific Moq and Roslyn versions.
  • Use Case: When developing Moq analyzers, use this Skill to validate changes and ensure accurate diagnostics and performance.

Quick Start

To use the recipes, follow the instructions in the 'SKILL.md' file located in the 'moq-analyzers-proof-toolkit' directory.

Frequently Asked Questions about moq-analyzers-proof-toolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Moq analyzer behavior and ensure accurate diagnostics?

To validate Moq analyzer changes, use empirical recipes to verify API existence, symbol registration, diagnostic spans, and Roslyn API behaviors. The toolkit employs dotnet inspect, reflection, and custom scripts to ensure accurate diagnostics and regression-free fixes.

What is empirical validation for Roslyn analyzer development?

Empirical validation for Roslyn analyzers uses real-world repository examples to verify API behavior, symbol registration, and diagnostic spans. This approach ensures performance claims and host compatibility are accurate for Moq and Roslyn version 4.8.0.

Do I need specific versions of Moq and Roslyn to use this empirical validation toolkit?

Yes, the toolkit focuses on Moq and Roslyn APIs version 4.8.0. You also need the dotnet CLI, the dotnet inspect tool, and other specified dependencies to run the verification scripts and recipes successfully.

How do I test Moq analyzer performance and host compatibility?

You test Moq analyzer performance and host compatibility by applying the toolkit's empirical recipes, which use dotnet inspect and reflection to verify performance claims and ensure the analyzers function correctly across different host environments.

Can I use dotnet inspect to check for regression-free fixes in Moq analyzers?

Yes, the toolkit uses dotnet inspect alongside reflection and custom scripts to verify that fixes for Moq analyzers are regression-free. It validates changes against historical repository examples and specific API versions to ensure stability.