create-codeql-query-unit-test-csharp

Official

Automate C# CodeQL query unit tests.

Authoradvanced-security
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill reduces the effort required to design, implement, and validate CodeQL unit tests for C# queries, accelerating secure query development and maintaining coverage.

Core Features & Use Cases

  • Guided test scaffolding for C# CodeQL queries
  • Structured test layouts for query packs including Example.cs, {QueryName}.qlref, and .expected
  • MCP-aligned testing workflow for extraction, execution, and validation within the MCP server

Quick Start

Create a new C# CodeQL test package under your query pack's test directory following the described structure, then extract and run the tests to validate query behavior.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: create-codeql-query-unit-test-csharp
Download link: https://github.com/advanced-security/codeql-development-mcp-server/archive/main.zip#create-codeql-query-unit-test-csharp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.