Skip to content
Back to skills

Ci Render

ASecurity

Render reviewed pipeline and environment specs through installed provider-extension templates, preview the diff and authorize workflow installation.

  • 233 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsrustgitsecurity

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add jmagly/aiwg --skill ci-render --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ci Render?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ci Render
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jmagly-ci-render/badge)](https://www.skillsdirectory.com/skills/jmagly-ci-render)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ci-render
namespace: aiwg
platforms: [all]
description: Render reviewed pipeline and environment specs through installed provider-extension templates, preview the diff and authorize workflow installation.
triggers:
  - "ci-render"
  - "render my CI pipeline"
  - "generate workflows from CI specs"
---

# CI Render

## Bound rules

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.md`
- `dev-pipeline-safety` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-pipeline-safety.md`
- `dev-secret-hygiene` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-secret-hygiene.md`
- `dev-idempotent-builds` — `@$AIWG_ROOT/agentic/code/extensions/dev/rules/dev-idempotent-builds.md`
- `ci-action-pinning` — `@$AIWG_ROOT/agentic/code/frameworks/security-engineering/rules/ci-action-pinning.md`

## Process

1. Load reviewed specs with `ci-renderer`; validate schemas, references, cycles,
   capability inputs and gate parameters. Resolve provider targets explicitly.
   Before any provider template projection, run the local preflight at
   `@$AIWG_ROOT/agentic/code/frameworks/cicd-complete/validators/constraints.mjs`
   with the pipeline, all bound CIEnvironments, selected profile files and installed
   extension roots. Follow the contract at
   `@$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md`.
   A blocking violation stops rendering; surface advisory warnings naming the
   constraint ID and affected job or pool. Off skips checks. Unknown references,
   invalid parameters and unavailable checkers are unresolved prerequisites.
   Programmatic template consumers must use `renderWithConstraints` before projection.
2. Locate the installed provider WorkflowExtension extending `cicd-complete`
   and its rendering templates. Record identity/version and compatibility.
   First-wave sources: `@$AIWG_ROOT/agentic/code/extensions/cicd-gitea-actions/`
   and `@$AIWG_ROOT/agentic/code/extensions/cicd-github-actions/`. Discover
   `cicd-gitea-actions-workflow` or `cicd-github-actions-workflow`; read their
   README, provider rule and template. If missing, report the prerequisite and stop.
   Do not fabricate templates or claim a working render from a design alone.
3. Render through those templates into an artifact preview, never directly into
   live workflow paths. Record input/template/output digests, versions, exact
   target mapping and repeat-render determinism.
4. Compare against current workflow files; preserve manual edits as findings.
   Validate preview syntax and provider semantics using available extension
   validators. Flag trust, secret, pinning or unsupported mapping failures.
5. Present the concrete diff, target paths and rollback copy for explicit user
   authorization. Only after that approval install the scoped files and run
   authorized validation. Pipeline dispatch is a separate approval boundary.
6. Record results and unresolved prerequisites. Hand read-only drift monitoring
   to `ci-drift-check`; do not schedule or run it without a user request.

## Authorization checkpoint

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.

## Feature-flag boundary

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.

## Output template

Resolve the #4423 templates by these names:

- `ci-pipeline-runbook-template`

Source/spec references; extension and template versions; deterministic render receipt; source/output mapping and digests; reviewed diff; validation; approval and installation status; rollback.

## Example

“Render my CI pipeline for GitHub Actions” yields a preview and scoped installation checkpoint when the provider extension is available, or a missing-template report when the extension is absent.

## Artifact handling

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.

## Pipeline-shape preview (#4527)

For this selected family, use the GitHub Actions template's pipeline-shape
section and the reviewed project `CI_BINDINGS` plan. Prepare an inert preview,
then check those exact bytes through the existing validator with `--workflow`
and `--shape-bindings` before offering installation. Programmatic consumers pass
`workflows` and `shapeBindings` to `renderWithConstraints` and return only that
validated preview from the projection callback. Follow the binding contract at
`$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md#pipeline-shape-4527`.
Do not claim adapter execution or recovery readiness from the static check.

## Red-main recovery projection (#4528)

The shared preflight includes built-in `recovery.*` hooks for selected profiles.
Preserve optional `ci-test` and `ci-deploy-handoff` recovery inputs in `CI_INPUTS`
and all explicit test -> build -> migration -> deploy job dependencies. Resolve
each project-owned implementation and its required inputs using the existing
capability binding plan. Do not render a repair deploy behind a main-green guard
that would prevent its authorized red-main path. Record the provider-specific
repair trigger/guard in the binding plan and verify it against provider settings;
retain normal environment approvals, branch restrictions and secret protections.
Audit evidence is separate from a successful render. See
`$AIWG_ROOT/docs/frameworks/cicd-complete/constraint-profiles.md`.

## Ordered job, matrix and environment contract

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.

## Versioned binding and repeatability preflight (#4479/#4482)

Use the existing constraint registry's `validateBindings` and the versioned
CIRuntimeBindings schema for ordered-actions/v1. Call `lowerJobExecution` only
through `renderWithConstraints`; use `renderRepeatably` with isolated project
inputs and exact template/pin bytes, preferably a fresh process per render. Audit
both results against the existing source, job, matrix and gate checks. Equality
alone cannot detect a repeatable interpretation error. Retain receipt digests and
explicitly mark live registration/provider acceptance unverified. Read both provider
README contracts for unsupported controls and runtime preflight. Missing reviewed
implementations or actual capability evidence keep installation HOLD.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.