code-analyze

Analyze .NET solutions for code quality, security, and dependency issues.

4|Updated Dec 7, 2025
One-click install
npx skills add https://github.com/icartsh/icartsh_plugin --skill code-analyze-icartsh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-analyze
Source: https://github.com/icartsh/icartsh_plugin/tree/main/icartsh-plugin/skills/code-analyze
Command: npx skills add https://github.com/icartsh/icartsh_plugin --skill code-analyze-icartsh

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill guides automated, non-intrusive analysis of .NET projects to reveal code quality issues, security vulnerabilities, and dependency risks.

Core Features & Use Cases

  • Static Analysis: Roslyn analyzers, StyleCop checks to enforce code quality.
  • Security Scanning: Secret detection and vulnerability scanning for the codebase.
  • Dependency Checks: Identify vulnerable or outdated NuGet packages.

Quick Start

Run the analysis on your .NET solution using the included CLI tooling; for example, run the Quick Start: analyze the dotnet/PigeonPea.sln for static issues and vulnerabilities.

Frequently Asked Questions about code-analyze

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

FAQPage Schema
How do I run static analysis on my .NET solution to find code quality issues?

Static analysis on .NET solutions uses Roslyn analyzers and StyleCop to automatically detect code quality violations. This Skill runs these tools across your project, applies security and dependency checks, and generates a report without modifying source code, suitable for pre-commit checks and CI pipelines.

Can I automate security scanning and dependency vulnerability checks for .NET projects?

Yes. This Skill automates secret detection, vulnerability scanning, and NuGet dependency checks on .NET solutions. It identifies exposed secrets, vulnerable packages, and outdated dependencies, producing an analysis report with metrics and exit codes for integration into automated workflows.

What's the difference between Roslyn analyzers and StyleCop for code analysis?

Roslyn analyzers are compiler-based tools that catch errors and code issues at compile time; StyleCop enforces style and consistency rules. This Skill runs both together to surface code quality issues comprehensively—Roslyn catches functional problems, StyleCop enforces standards.

How do I integrate code analysis into my CI pipeline without modifying source code?

This Skill performs non-intrusive analysis: it restores, builds, and scans your .NET solution with analyzers, security tools, and dependency checks, then generates a report and exit code. No source changes occur, making it ideal for automated code review gates in CI systems.

Do I need to manually check dependencies for vulnerabilities in .NET projects?

No. Dependency checks automatically scan NuGet packages for known vulnerabilities and outdated versions, surfacing risks in your project's dependency graph. This Skill integrates those checks into your analysis workflow to ensure dependency hygiene without manual effort.

What output does .NET code analysis generate for reporting and metrics?

Analysis produces an analysis_report document, exit codes for CI integration, and metrics summarizing code quality, security findings, and vulnerable dependencies. This structured output enables downstream tooling, notifications, and dashboards to act on discovered issues.