codeql
Use the open-source CodeQL ecosystem for .NET security analysis. Use when a repo needs CodeQL query packs, CLI-based analysis on open source codebases, or GitHub Action setup with explicit licensing caveats. USE FOR: the repo uses or wants CodeQL for .NET security analysis; GitHub code scanning is part of the CI plan. DO NOT USE FOR: teams that need a tool with no private-repo licensing caveat. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 515
- Forks
- 41
01 前言 Front Matter
- name
- codeql
- description
- Use the open-source CodeQL ecosystem for .NET security analysis. Use when a repo needs CodeQL query packs, CLI-based analysis on open source codebases, or GitHub Action setup with explicit licensing caveats. USE FOR: the repo uses or wants CodeQL for .NET security analysis; GitHub code scanning is part of the CI plan. DO NOT USE FOR: teams that need a tool with no private-repo licensing caveat. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
- compatibility
- Requires a GitHub-based or CLI-based CodeQL workflow; respects the repo's `AGENTS.md` commands first.
02 资源文件 43
- 参考文档csharp/claude-api.md14.1 KB
- 参考文档curl/examples.md6.3 KB
- 参考文档curl/managed-agents.md7.2 KB
- 参考文档go/claude-api.md13.5 KB
- 参考文档go/managed-agents/README.md18.0 KB
- 参考文档java/claude-api.md14.7 KB
- 参考文档java/managed-agents/README.md16.2 KB
- 许可证LICENSE.txt11.1 KB
- 参考文档manifest.json50 B
- 参考文档php/claude-api.md10.9 KB
- 参考文档php/managed-agents/README.md12.9 KB
- 参考文档python/claude-api/batches.md5.0 KB
- 参考文档python/claude-api/files-api.md3.9 KB
- 参考文档python/claude-api/README.md11.9 KB
- 参考文档python/claude-api/streaming.md5.1 KB
- 参考文档python/claude-api/tool-use.md16.5 KB
- 参考文档python/managed-agents/README.md9.6 KB
- 参考文档references/codeql.md1.4 KB
- 参考文档references/queries.md5.2 KB
- 参考文档references/workflow.md6.3 KB
- 参考文档ruby/claude-api.md2.9 KB
- 参考文档ruby/managed-agents/README.md9.9 KB
- 参考文档shared/agent-design.md8.1 KB
- 参考文档shared/error-codes.md7.5 KB
- 参考文档shared/live-sources.md16.0 KB
- 参考文档shared/managed-agents-api-reference.md16.4 KB
- 参考文档shared/managed-agents-client-patterns.md9.2 KB
- 参考文档shared/managed-agents-core.md12.4 KB
- 参考文档shared/managed-agents-environments.md10.3 KB
- 参考文档shared/managed-agents-events.md8.4 KB
- 参考文档shared/managed-agents-onboarding.md7.9 KB
- 参考文档shared/managed-agents-overview.md8.2 KB
- 参考文档shared/managed-agents-tools.md13.2 KB
- 参考文档shared/model-migration.md64.0 KB
- 参考文档shared/models.md7.4 KB
- 参考文档shared/prompt-caching.md9.6 KB
- 参考文档shared/tool-use-concepts.md16.4 KB
- 参考文档typescript/claude-api/batches.md2.5 KB
- 参考文档typescript/claude-api/files-api.md2.2 KB
- 参考文档typescript/claude-api/README.md9.7 KB
- 参考文档typescript/claude-api/streaming.md5.5 KB
- 参考文档typescript/claude-api/tool-use.md15.0 KB
- 参考文档typescript/managed-agents/README.md9.2 KB
03 SKILL.md 正文
CodeQL for .NET
Trigger On
- the repo uses or wants CodeQL for .NET security analysis
- GitHub code scanning is part of the CI plan
Value
- produce a concrete project delta: code, docs, config, tests, CI, or review artifact
- reduce ambiguity through explicit planning, verification, and final validation skills
- leave reusable project context so future tasks are faster and safer
Do Not Use For
- teams that need a tool with no private-repo licensing caveat
Inputs
- the nearest
AGENTS.md - hosting model: open-source repo, private repo, or manual CLI workflow
- current GitHub Actions workflow
Quick Start
- Read the nearest
AGENTS.mdand confirm scope and constraints. - Run this skill's
Workflowthrough theRalph Loopuntil outcomes are acceptable. - Return the
Required Result Formatwith concrete artifacts and verification evidence.
Workflow
- Treat CodeQL as a security-analysis tool, not as a style checker.
- Make the licensing and hosting model explicit before proposing it as the default gate.
- Prefer manual build mode for compiled .NET projects when precision matters.
Bootstrap When Missing
If CodeQL is not configured yet:
- Detect current state:
rg -n "codeql-action|security-events|CodeQL" .github/workflowscommand -v codeql
- Prefer CI-first setup for repository scanning using
github/codeql-action/initandgithub/codeql-action/analyze. - Configure explicit .NET build mode in workflow (
manualwhen precision matters). - Add local CLI usage only when the task requires local query work.
- Run the workflow or local analyze path and return
status: configuredorstatus: improved. - If licensing or hosting constraints reject CodeQL for this repo, return
status: not_applicablewith caveat documented.
Deliver
- explicit CodeQL setup or an explicit rejection with caveat documented
- reproducible CI or local commands for running CodeQL in this repo
Validate
- the chosen CodeQL path is allowed for the repo type
- build mode is documented and reproducible
Ralph Loop
Use the Ralph Loop for every task, including docs, architecture, testing, and tooling work.
- Plan first (mandatory):
- analyze current state
- define target outcome, constraints, and risks
- write a detailed execution plan
- list final validation skills to run at the end, with order and reason
- Execute one planned step and produce a concrete delta.
- Review the result and capture findings with actionable next fixes.
- Apply fixes in small batches and rerun the relevant checks or review steps.
- Update the plan after each iteration.
- Repeat until outcomes are acceptable or only explicit exceptions remain.
- If a dependency is missing, bootstrap it or return
status: not_applicablewith explicit reason and fallback path.
Required Result Format
status:complete|clean|improved|configured|not_applicable|blockedplan: concise plan and current iteration stepactions_taken: concrete changes madevalidation_skills: final skills run, or skipped with reasonsverification: commands, checks, or review evidence summaryremaining: top unresolved items ornone
For setup-only requests with no execution, return status: configured and exact next commands.
Load References
Example Requests
- "Set up CodeQL for this public .NET repo."
- "Explain the CodeQL caveat for private repos."
04 同仓库更多 Skills
xtwitter-scraper
Use XTwitterScraper when a .NET application needs typed access to Xquik's X automation REST API for tweet search, user lookup, posting workflows, extraction jobs, monitors, webhooks, or giveaway draws. USE FOR: integrating the XTwitterScraper NuGet package; reviewing Xquik API client usage; modeling API-key configuration, pagination, binary exports, raw responses, retries, and webhook/event flows in .NET. DO NOT USE FOR: unrelated stacks; direct browser automation; generic social-media strategy; or code that does not call Xquik. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
sep
Use Sep for high-performance separated-value parsing and writing in .NET, including delimiter inference, explicit parser/writer options, and low-allocation row/column workflows. USE FOR: delimited data needs are performance-sensitive and allocation-aware; project needs explicit control over separator inference, escaping, trimming, and header behavior;. DO NOT USE FOR: unrelated stacks; generic tasks that do not need this specific guidance. INVOKES: inspect the repository context, edit targeted files, and run relevant build, test, lint, or validation commands when changes are made.
webgpu-threejs-tsl
Comprehensive guide for developing WebGPU-enabled Three.js applications using TSL (Three.js Shading Language). Covers WebGPU renderer setup, TSL syntax and node materials, compute shaders, post-processing effects, and WGSL integration. Use this skill when working with Three.js WebGPU, TSL shaders, node materials, or GPU compute in Three.js.
roslynk
Use Roslynk for semantic inspection and edits of *.cs, *.razor and *.cshtml solution files.
system-text-json-net11
Imperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed generic `JsonSerializerOptions.GetTypeInfo` and `JsonSerializerOptions.TryGetTypeInfo` metadata accessors (generic overloads that return a typed `JsonTypeInfo`). USE ONLY when the user is targeting net11.0 or later and needs PascalCase JSON property or dictionary-key names without writing a custom naming policy, a strongly-typed generic `JsonTypeInfo` instead of the non-generic `JsonTypeInfo`, or a no-throw way to probe whether a type's serialization metadata is resolved. DO NOT USE when the target is earlier than net11.0, the requested behavior uses an established pre-net11 naming policy, or the user explicitly selected another JSON library.
process-api-net11
Provides guidance on the new System.Diagnostics.Process APIs introduced in .NET 11: Process.Run, Process.RunAndCaptureText, Process.StartAndForget, Process.ReadAllText/Bytes/Lines, KillOnParentExit, InheritedHandles, and StartDetached. USE FOR: starting, orchestrating, or capturing output from external processes in applications targeting net11.0 or later. DO NOT USE FOR: applications targeting .NET 10 or earlier, or basic pre-.NET 11 Process.Start usage without new APIs.