create-codeql-query-unit-test-swift

Official

Streamline Swift CodeQL test development.

Authoradvanced-security
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides teams in creating comprehensive unit tests for CodeQL queries that analyze Swift code, reducing setup time and ensuring consistent test coverage across projects.

Core Features & Use Cases

  • Structure: provides a tested directory layout including a query reference file, Example1.swift, Example1.swift.expected, and an auto-generated .testproj database.
  • Step-by-step workflow: teaches creating, validating, and expanding Swift test coverage for CodeQL queries across multiple test cases and Swift patterns.
  • Tooling integration: aligns with MCP workflow tools for extracting, running, and validating tests.

Quick Start

Create a Swift test suite for a CodeQL query by following the steps outlined in this guide.

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-swift
Download link: https://github.com/advanced-security/codeql-development-mcp-server/archive/main.zip#create-codeql-query-unit-test-swift

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.