CI/CD optimization workflow for existing mobile pipelines (Android and Flutter) across Bitbucket, GitHub Actions, GitLab, Jenkins, and Fastlane. Use when auditing current CI/CD setup, reducing build time/flakiness, improving release safety, or planning incremental pipeline upgrades without destabilizing delivery.
Resources
3Install
npx skillscat add envy-7z/mobile-agent-skillpack/mobile-ci-cd-evolution Install via the SkillsCat registry.
SKILL.md
Mobile CI/CD Evolution
Overview
Read current pipeline configuration, identify bottlenecks and risk points, and propose safe incremental CI/CD improvements.
Workflow
- Snapshot current CI/CD
- Run
scripts/ci_cd_snapshot.sh <repo_root>first. - Gather pipeline files, release automation files, and mobile module signals.
- Baseline reliability and speed risks
- Detect missing cache usage, oversized single jobs, and release-critical single points of failure.
- Detect missing test/lint gates or unclear release approval steps.
- Propose safe incremental improvements
- Prioritize low-risk wins first (cache correctness, split long jobs, deterministic test steps, artifact clarity).
- Keep each recommendation reversible and scoped.
- Avoid full pipeline rewrites unless explicitly requested.
- Protect release flow
- Ensure release jobs have clear gate criteria and rollback notes.
- Keep publish paths (Fastlane/store steps) explicit and auditable.
- Publish roadmap
- Provide
Now,Next, andLateractions with risk and expected benefit. - Include exact files and minimal patch scope.
Output Format
Use this structure:
# CI/CD Improvement Report
## Current State
- Pipelines detected:
- Release automation detected:
- Key risks:
## Safe Improvements (Now)
1. [change] - expected benefit - risk
## Next Improvements
1. [change] - expected benefit - risk
## Later Improvements
1. [change] - expected benefit - risk
## Patch Scope
- Files to edit:
- Rollback plan:
## Verification
- Commands/checks:
- Success criteria:Guardrails
- No CI/CD platform migration by default.
- No release flow breaking changes without explicit approval.
- Default to smallest safe change set.
- If confidence is low, recommend
NO-CHANGEand ask for missing evidence.
Resources
scripts/ci_cd_snapshot.shreferences/ci-cd-improvement-checklist.mdreferences/mobile-pipeline-patterns.md