CI Workflow Authoring
DevOps & Securityci-workflow-authoringCI Workflow Authoring is an Agent Skill for devops & security published in the camunda/camunda repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Authors and refactors GitHub Actions workflows and composite actions for this monorepo using required conventions, minimal permissions, pinned SHAs, and observability steps. Use when creating or restructuring CI workflows.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/camunda/camunda/blob/HEAD/.claude/skills/ci-workflow-authoring/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ci-workflow-authoring, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
CI Workflow Authoring Skill
Check docs/monorepo-docs/ci.md first.
Required Workflow Conventions
- Include metadata comments (
description,test location,type,owner). - Set default shell to bash.
- Start with
permissions: {}and add only required scopes. - Add
timeout-minutesper job. - Pin all external actions to commit SHAs.
- Ensure each job ends with
observe-build-statusstep. - Fail fast: validate cheap preconditions (required secrets, Vault reachability, input/tag contracts) in a preflight step or job before expensive build/test steps.
Unified CI Criteria
- Runtime <= 30 minutes
- Stable and observable
- Vault-based secret handling
- Uses approved cache strategy
Caching Strategy
- Maven:
.github/actions/setup-maven-cache - npm is the default for Node.js workflows in this monorepo
- Yarn (legacy workflows only):
camunda/infra-global-github-actions/setup-yarn-cache - Do not cache Docker layers via GHA cache
- Write caches only from
mainandstable*
Templates
- Workflow template:
references/workflow-template.md - Composite action template:
references/composite-action-template.md