cicd-pipeline-generator

cicd-pipeline-generator is a skill for Claude Code from StefanTheCode/dotnet-ai-toolkit. It costs 112 tokens per session (743 once invoked), scanned A, original, MIT.

A guide for generating CI/CD pipelines for .NET applications. CI/CD means automatically building, testing, checking, packaging, and deploying software when code changes.

In plain words
What is it for?
Use it to create GitHub Actions or Azure DevOps workflows with builds, tests, coverage, vulnerability checks, containers, and deployment.
Why use it?
It reduces the manual work needed to set up repeatable delivery and validation for a .NET project.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dotnet-ai-toolkit plugin — 49 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/stefanthecode/dotnet-ai-toolkit/cicd-pipeline-generator
Any agent
npx skills add StefanTheCode/dotnet-ai-toolkit --skill cicd-pipeline-generator
Clone the repo
git clone --depth 1 https://github.com/StefanTheCode/dotnet-ai-toolkit

Made for: Claude Code.

Or install dotnet-ai-toolkit, the plugin that ships this one along with the rest of its 49 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cicd-pipeline-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/stefanthecode/dotnet-ai-toolkit/cicd-pipeline-generator.svg)](https://agentmods.dev/skills/stefanthecode/dotnet-ai-toolkit/cicd-pipeline-generator)
Your own site
<a href="https://agentmods.dev/skills/stefanthecode/dotnet-ai-toolkit/cicd-pipeline-generator"><img src="https://agentmods.dev/badge/skills/stefanthecode/dotnet-ai-toolkit/cicd-pipeline-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 743 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00112 $0.00743
Opus 5 $0.00056 $0.00371
Sonnet 5 $0.00022 $0.00149
Haiku 4.5 $0.00011 $0.00074

Measured 6d ago against content hash 1f0d460fa03e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cicd-pipeline-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/cicd-pipeline-generator/SKILL.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CI/CD Pipeline Generator

Generate a complete CI/CD pipeline for a .NET app — GitHub Actions or Azure DevOps — covering build, test, coverage, security scan, container image, and deploy.

Input — point it at your project

Works on a target: a repo or GitHub URL. Detect platform (existing .github/workflows or azure-pipelines.yml), TFM, test projects, and whether there's a Dockerfile: find <target> -name "*.csproj" -o -name "Dockerfile" -o -name "*.sln".

GitHub Actions (CI)

name: ci
on:
  push: { branches: [main] }
  pull_request: { branches: [main] }
jobs:
  build-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-dotnet@v4
        with: { dotnet-version: '9.0.x' }
      - run: dotnet restore
      - run: dotnet build --no-restore -c Release
      - run: dotnet test --no-build -c Release --collect:"XPlat Code Coverage" --logger trx
      - run: dotnet list package --vulnerable --include-transitive   # fail the build on CVEs
      - uses: actions/upload-artifact@v4
        with: { name: coverage, path: '**/coverage.cobertura.xml' }

Add a container job (build + push to a registry) and a deploy job (environment-gated) when a Dockerfile/target exists.

Azure DevOps variant

Equivalent stages in azure-pipelines.yml (DotNetCoreCLI@2 tasks for restore/build/test/publish, Docker@2 for image, environments for approvals).

What it wires

  • Restore → build → test (with coverage) → vulnerability scan → publish/container → deploy.
  • PR triggers for fast feedback; main for release.
  • Secrets via the platform's secret store (never inline).
  • Caching for ~/.nuget/packages to speed restores.

Principles

  • Fail fast on quality + security — tests and --vulnerable should break the build.
  • Keep CI fast (cache NuGet, --no-restore/--no-build between steps).
  • Secrets come from the platform, never YAML literals.
  • Gate deploys with environments/approvals; don't auto-ship to prod on every commit unless that's intended.

Read the full file on GitHub · 54 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 54 lines · 112 tokens per session scan A 1f0d460fa03e

Subscribe to this mod's changes

cicd-pipeline-generator is a skill published in the GitHub repository StefanTheCode/dotnet-ai-toolkit (19 stars, last pushed 27d ago), licensed MIT. It adds 112 tokens to every session and 743 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

migrate-dotnet9-to-dotnet10

Migrate a .NET 9 project or solution to .NET 10 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net9.0 to net10.0, fixing build errors after updating the .NET 10 SDK, resolving source and behavioral changes in .NET 10 / C# 14 / ASP.NET Core 10 / EF Core 10, updating Dockerfiles for…

managedcode/dotnet-skills · 266 tokens

migrate-dotnet10-to-dotnet11

Migrate a .NET 10 project or solution to .NET 11 and resolve all breaking changes. This is a MIGRATION skill — use it when upgrading from .NET 10 to .NET 11, NOT for writing new programs. USE FOR: upgrading TargetFramework from net10.0 to net11.0, fixing build errors after updating the .NET 11 SDK, resolving…

managedcode/dotnet-skills · 199 tokens

migrate-dotnet8-to-dotnet9

Migrate a .NET 8 project to .NET 9 and resolve all breaking changes. USE FOR: upgrading TargetFramework from net8.0 to net9.0, fixing build errors after updating the .NET 9 SDK, resolving behavioral changes in .NET 9 / C# 13 / ASP.NET Core 9 / EF Core 9, replacing BinaryFormatter (now always throws), resolving…

managedcode/dotnet-skills · 176 tokens

dotnet-local-tools

Managing local .NET tools with dotnet-tools.json for consistent tooling across development environments and CI/CD pipelines.

F-U-S-E-E/FuseDevelopmentGroup · 26 tokens

dotnet-ado-publish

Publishing .NET artifacts from Azure DevOps. NuGet push, containers to ACR, pipeline artifacts.

wshaddix/dotnet-skills · 28 tokens

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering /…

zhaoxuya520/reverse-skill · 144 tokens