Ci workflow
Skill gaelic-ghost/socket/plugins/dotnet-skills/skills/ci-workflow
Design and maintain .NET CI workflows for F#, C#, and mixed solutions with SDK setup, restore, build, test, format checks, package checks, caching, and matrix decisions.From its SKILL.md
npx -y skills add gaelic-ghost/socket --skill ci-workflowAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 6 stars6 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.0 KB, 836 tokens by cl100k_base, as published. Nobody here has run it
.NET CI Workflow
Purpose
Make .NET CI prove the same behavior maintainers care about locally.
The practical job is to choose SDK setup, restore/build/test commands, optional format/package checks, path filters, and matrix scope without making CI broader or noisier than the project needs.
When To Use
- Use this skill when adding or changing CI for a .NET repository.
- Use this skill when local validation and CI disagree.
- Use this skill when adding F# or C# projects to an existing CI workflow.
- Use this skill before package or release workflows depend on CI results.
Source Check
Use repo-local files, checked-out dependency sources, Dash MCP or Dash HTTP for installed docsets, and then official project documentation when Dash/local coverage is missing or stale:
- GitHub Actions and .NET
- Create a .NET test validation GitHub workflow
actions/setup-dotnetdotnet restoredocumentationdotnet builddocumentationdotnet testdocumentation
CI Planning Workflow
- Inspect local validation commands.
- Inspect existing workflow files:
rg --files .github/workflows -g '*.yml' -g '*.yaml' - Check SDK source:
global.json- workflow
dotnet-version - repository docs
- Decide job scope:
- restore
- build
- test
- format check
- pack check
- Decide matrix scope:
- one OS for library CI unless cross-platform behavior matters
- multiple OSes for filesystem, process, path, native dependency, or user-facing CLI differences
- Keep local and CI commands aligned.
Baseline Command Order
Prefer a simple shape:
dotnet restore
dotnet build --configuration Release --no-restore
dotnet test --configuration Release --no-build
Add package validation only for package surfaces:
dotnet pack --configuration Release --no-build
Add formatting verification only when the repo has .editorconfig and expects it:
dotnet format --verify-no-changes
F# And C# Notes
For F#:
- make sure CI builds the projects that prove
.fsprojordering - do not path-filter only
**.cswhen F# files exist
For C#:
- keep nullable/analyzer failures visible
- respect warnings-as-errors behavior already used by the repo
For mixed solutions:
- include
**.fs,**.fsproj,**.cs, and**.csprojin path filters when filters are used - run solution-level validation when project references cross language boundaries
Output Shape
Return:
CI scope: restore, build, test, format, pack.SDK source:global.json, workflow version, or repo docs.Matrix: OS and SDK versions.Commands: local and CI command match.Path filters: F#, C#, project, props, and workflow files.Residual risk: what CI intentionally does not cover.
Guardrails
- Do not make CI publish packages unless the user asks for a release workflow.
- Do not filter out F# paths in a plugin that promises F# parity.
- Do not add large OS matrices without naming the cross-platform behavior they protect.
- Do not hide build warnings if the repo treats warnings as errors locally.
- Do not make CI commands differ from documented local validation without explaining why.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.