ops-nuke-cicd
Design, implement, and troubleshoot NUKE-based CI/CD pipelines for .NET services with fast local-to-CI feedback loops. Use when creating or refactoring `nuke/Build.cs` target graphs, tuning `DependsOn`/`After`/`Triggers`/`OnlyWhenDynamic` behavior, orchestrating unit/API/DB test categories, merging and publishing coverage and test reports, building and pushing Docker images with traceable tags and digests, producing artifact contracts such as `deploy.env`, and diagnosing flaky or slow pipeline execution. For service code changes use $software-csharp-backend, for NUnit fixture design use $qa-testing-nunit, and for safe logging rewrites use $dev-structured-logs.
What this skill does
# NUKE CI/CD ## Quick Reference - Start from existing `nuke/Build.cs` targets and preserve output contracts before refactoring. - Keep target graph intent explicit: use `DependsOn` for hard prerequisites, `After` for ordering, `Triggers` for composed flows, and `OnlyWhenDynamic` for runtime gates. - Use this skill for pipeline orchestration and build contracts, not for application-service refactors or NUnit fixture internals. - Separate fast local feedback (`build + filtered tests`) from full CI validation (`unit + api + db + merged coverage`). - Use the iterative loop `code -> build -> run tests -> fix -> repeat` for both feature work and test hardening. - Run preflight checks before expensive targets: SDK version, Docker availability (when required), and expected file paths. - Use wrapper commands (when available): `./build.sh BuildAll`, `./build.sh LocalUnitTest`, `./build.sh ApiTest`, `./build.sh TestAll`. - Use category filters intentionally, including exclusion filter patterns such as `TestCategory!=ComponentTests&TestCategory!=DbTests&TestCategory!=ApiTest`. - Keep `UnitTest` scoped to non-API categories and create a dedicated `ApiTest` target for `TestCategory=ApiTest`. - Keep `TestAll` composed from `UnitTest + ApiTest (+ DbTest)` and coverage merge. - When migrating from legacy docker-compose/SpecFlow orchestration, decommission compose-first test flow and keep pipeline focused on NUnit API categories. - Avoid running parallel `dotnet test` invocations against the same project output path in one job to prevent file-lock/MSBuild manifest failures. - Keep shell commands robust for `zsh`: avoid unquoted globs in direct shell commands and validate paths before `sed/cat/ls`. - Emit coverage and test artifacts deterministically (`coverage.cobertura.xml`, HTML summary, JUnit XML). - Build one or more Docker images with traceable tags (`build id`, `commit sha`), then publish digest-pinned deploy variables into `deploy.env` (image count is repository-specific). - Branch behavior on `IsLocalBuild` only for performance and environment-output concerns, not correctness. - If the task shifts into service implementation details, switch to `$software-csharp-backend`. - If the task shifts into fixture design, WireMock/Testcontainers setup, or anti-flake test structure, switch to `$qa-testing-nunit`. ## Workflow 1. Model or review target graph sequencing and execution constraints. Load `references/nuke-target-graph-design.md`. 2. Design the build-test loop for early failures and rapid signal. Load `references/build-test-feedback-loop.md`. 3. Define and verify test category filters for unit/API/DB/component separation. Load `references/test-categories-and-filters.md`. 4. Implement coverage and test reporting with merge/publish outputs. Load `references/coverage-and-reporting.md`. 5. Implement Docker build/push with tag + digest capture and deployment outputs. Load `references/docker-build-push-patterns.md`. 6. Enforce stable artifact contracts and environment outputs. Load `references/artifacts-and-output-contracts.md`. 7. Tune local vs CI behavior without hiding pipeline defects. Load `references/local-vs-ci-behavior.md`. 8. Harden reliability, logs, and diagnostics for CI incident response. Load `references/pipeline-reliability-and-observability.md`. 9. Run command hygiene and environment preflight checks before final run. Load `references/execution-preflight-and-command-hygiene.md`. 10. Run anti-pattern review before finalizing. Load `references/nuke-pipeline-antipatterns.md`. ## Decision Tree - If target ordering is incorrect or unexpected targets run, use `references/nuke-target-graph-design.md`. - If feedback loop is too slow or flaky, use `references/build-test-feedback-loop.md`. - If test scope is wrong in CI or local runs, use `references/test-categories-and-filters.md`. - If coverage or JUnit artifacts are missing/partial, use `references/coverage-and-reporting.md`. - If Docker outputs are not traceable or digest pinning is missing, use `references/docker-build-push-patterns.md`. - If downstream jobs cannot consume artifacts or env outputs, use `references/artifacts-and-output-contracts.md`. - If local and CI behavior diverge unexpectedly, use `references/local-vs-ci-behavior.md`. - If failures are hard to debug from logs, use `references/pipeline-reliability-and-observability.md`. - If failures come from shell quoting, glob expansion, missing files, or environment prerequisites, use `references/execution-preflight-and-command-hygiene.md`. - If pipeline quality regresses during refactors, use `references/nuke-pipeline-antipatterns.md`. ## Do / Avoid **Do** - Keep targets deterministic and side effects explicit. - Keep test stages isolated by category and risk profile. - Keep coverage/report merge as a first-class target in the graph. - Keep Docker outputs traceable through tag, digest, and exported env variables. - Keep artifact paths and names stable across branches and CI systems. **Avoid** - Mixing orchestration and hidden side effects inside unrelated targets. - Running expensive integration tests before compile/unit gates. - Changing output file names without updating consumer jobs. - Using local-only shortcuts that invalidate CI parity. - Ignoring digest capture and shipping mutable image references. ## Resources - [NUKE Target Graph Design](references/nuke-target-graph-design.md) - [Build-Test Feedback Loop](references/build-test-feedback-loop.md) - [Test Categories and Filters](references/test-categories-and-filters.md) - [Coverage and Reporting](references/coverage-and-reporting.md) - [Docker Build Push Patterns](references/docker-build-push-patterns.md) - [Artifacts and Output Contracts](references/artifacts-and-output-contracts.md) - [Local vs CI Behavior](references/local-vs-ci-behavior.md) - [Pipeline Reliability and Observability](references/pipeline-reliability-and-observability.md) - [Execution Preflight and Command Hygiene](references/execution-preflight-and-command-hygiene.md) - [NUKE Pipeline Antipatterns](references/nuke-pipeline-antipatterns.md) - [Skill Data](Data/data.json): curated Microsoft and .NET CI/CD references for this skill. ## Templates - [NUKE Target Template Build and Test](assets/nuke-target-template-build-test.cs) - [NUKE Target Template Docker Build Push Digest](assets/nuke-target-template-docker-push-digest.cs) - [Test Result and Coverage Publishing Checklist](assets/test-result-coverage-publishing-checklist.md) - [CI Troubleshooting Checklist](assets/ci-troubleshooting-checklist.md) - [PR Pipeline Quality Checklist](assets/pr-pipeline-quality-checklist.md)
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.