/cicd-complete:ci-pipeline-designfrom cicd-complete
Design and validate provider-neutral CIPipeline and CIEnvironment contracts with named capabilities, dependencies and gates.
Ships in cicd-complete. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before work, load and obey each rule below with aiwg show rule <name> --body.
If discovery is unavailable, read its canonical source. Stop if a required rule
cannot be loaded. These are mandatory operating instructions; rule-side
bound_to metadata is maintained by the rule owner, not by this component.
human-authorization — @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/human-authorization.mddev-pipeline-safety — @$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.mddev-secret-hygiene — @$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.mddev-idempotent-builds — @$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.mdci-action-pinning — @$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.mdgitea-actions, github-actions and gitlab-ci with ci-architect.
Start from a selected constraint profile. Leave new constraints as
ci-architect proposals until the operator approves adoption.cicd.aiwg.io/v1 CIPipeline with spec.triggers, environments,
stages and render.targets. Jobs require ids and capability names; use
depends_on for stage/job order. Select ci-checkout, ci-cache,
ci-setup-runtime, ci-install-dependencies, ci-build, ci-verify-source,
ci-runner-diagnostics, ci-evidence-trace, ci-lint, ci-test, ci-coverage, ci-sbom, ci-sign,
ci-artifact-upload and ci-deploy-handoff as requirements warrant.docker-build, image-scan and docker-push.
Separate untrusted tests from protected signing, push and deploy jobs.
Draft CIEnvironment resources with runner labels, {name, ref} secrets,
reviewer counts and branch restrictions. Never embed secret values.aiwg:cicd-complete/coverage-floor, aiwg:cicd-complete/build-time-budget and
aiwg:cicd-complete/progressive-rollout-health after explicit stages.
Gate trace verdicts with aiwg:cicd-complete/evidence-verdict, never collection
status. Bind suite reports, prerequisite probes and coverage slices using
$AIWG_ROOT/docs/frameworks/cicd-complete/capability-evidence.md. For rollout,
plan canary, blue-green, rolling or flag steps with exactly one of weight
or percentage, pauses, gates and rollback capability. Explicitly resolve
omitted flag step capability to progressive-rollout in the consumer.flag-check, flag-states-test,
flag-coderefs-scan and flag-cleanup-handoff; apply the boundary below.
Cleanup is a handoff, never permission to retire or remove flags.ci-pipeline.schema.json and ci-environment.schema.json
under ${CLAUDE_PLUGIN_ROOT}/schemas/. Resolve
capability/environment/gate references, validate inputs and reject missing
dependencies and cycles. Schema defaults are annotations, not execution.ci-render; CI file installation still
needs explicit authorization for the actual rendered diff.Prepare the concrete proposed diff, affected paths, validation plan and rollback before applying anything. Require explicit user authorization covering those CI files before writing, replacing or deleting project workflows, builder files or CI scripts. A design, review finding or generated preview grants no permission. Record the approved scope; stop at its boundary. Execution, registry pushes, trigger changes and live delivery require their own explicit authorization.
When flag state matters, read feature_flags.provider from project config.
For a configured provider, discover its skills and use its read-only state checks;
never infer a vendor from credentials or installed tools. With provider none,
produce a manual approval step for each flag-dependent gate. Missing or unknown
configuration is an unresolved prerequisite, never an implicit pass.
Never create, change, toggle, retire or delete flags, including through delegated
execution. Hand lifecycle decisions to sdlc-complete flag planning, referencing
@$AIWG_ROOT/agentic/code/frameworks/sdlc-complete/templates/deployment/feature-toggle-card.md.
Provider operations belong to the provider's skills; lifecycle handoff conveys
no authorization to mutate flags. Pipeline progression may use approved observed
flag state; flag mutations remain outside this component.
Resolve the #4423 templates by these names:
ci-pipeline-spec-templateci-environment-plan-templateCIPipeline and CIEnvironment drafts; provider rationale; reference/acyclicity validation; capability/gate availability; rollout and rollback plan; approval status.
“Design CI pipeline specs for my Go API” produces lint/test/build stages, protected signing and publishing, runner labels and coverage/build-time gates, ready for review before rendering.
Before writing project artifacts, run aiwg artifacts path --json --check-write.
Resolve logical .aiwg/frameworks/cicd-complete/ beneath the returned artifact
root; stop if unavailable. Keep drafts and reports there. Never write literal
secrets or raw credential-bearing logs. Resolve templates by name with discovery;
if a template or capability is absent, record the prerequisite and pending work.
Do not claim execution from schema validation or a proposed procedure.
Follow $AIWG_ROOT/docs/frameworks/cicd-complete/ci-schema-contracts.md for the
additive v1 job forms. Preserve one provider job per source id and one workspace
per matrix leg, all ordered source step ids, commands, names/env and fail-fast.
Run the existing constraint validator with --execution-bindings and use
--workflow to compare the preview's complete step map, matrix scope and runner
binding. Resolve optional typed job.environment or the sole legacy default;
missing/ambiguous selections and unknown registrations block rendering.
Record resolveJobExecution receipt material, local inventory evidence, trust and
runtime; mark live registration unverified. Do not insert CI environment data
into capability inputs. Conditions/timeouts/concurrency extensions are later work.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jmagly/aiwg --plugin cicd-complete12 skills in this plugin
/ci-assessRead-only assessment of current user-project pipelines, delivery risks, reliability baseline and prioritized improvements./ci-builderAdapt the ops dev-ci-builder self-contained builder pattern for a user project, with reviewed previews and authorized CI integration./cicd-intakeCapture user-project CI/CD goals, ownership, provider constraints and lifecycle scope before assessment or design./cicd-quickrefAUTO-INVOKE when user mentions CI/CD, pipeline design, pipeline environments or progressive delivery. CI/CD framework quick reference — assess, design, implement and operate end-user pipelines with governed CIPipeline and CIEnvironment contracts./ci-drift-checkRead-only comparison of pipeline specs, provider-template versions and existing rendered workflows, reporting drift without repair./ci-failure-triageDiagnose a specific failed CI run, preserve its signal and propose a root-cause repair with regression verification.