ablevarghese/ios-claude-toolkit/pipeline-cicd
Claude Code and agent skill by ablevarghese/ios-claude-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Set up CI, GitHub Actions, automate builds, continuous integration. GitHub Actions CI/CD pipeline configuration for iOS apps — build/test/deploy workflows, caching strategies, quality gates, release automation. Trigger on: 'add CI to this project', 'configure GitHub Actions', 'CI is failing', 'optimize build pipeline', 'automate TestFlight deploys', 'add a workflow', 'manage CI secrets', or any CI/CD infrastructure work. For what Fastlane lanes do (build/sign/upload), use velocity-fastlane instead.
Install
npx vskill@latest install ablevarghese/ios-claude-toolkit/pipeline-cicdSKILL.md
The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/pipeline-cicd.
PIPELINE - CI/CD & Build Automation
Iron Law: "CI failures must be investigated immediately -- a broken pipeline blocks the entire team."
Configure and manage GitHub Actions workflows for continuous integration and deployment. Handle build automation, test execution, quality gate enforcement, caching, and release pipelines for iOS apps.
Project Discovery: Before executing, determine project-specific values (project name, scheme, bundle ID, target) from project configuration files (CLAUDE.md, project.yml, .xcodeproj, Package.swift). These are referred to as{PROJECT_DIR}(directory containing the Xcode project),{PROJECT}(Xcode project name), and{SCHEME}(build scheme) throughout this skill. If the project uses XcodeGen, the generate command runs from{PROJECT_DIR}.
Rationalizations (Do Not Skip)
| Rationalization | Why It's Wrong | Required Action | |
|---|---|---|---|
| "We don't need CI yet, the team is small" | CI catches bugs that no team size is immune to: missing files not in git, environment-specific failures, broken tests you forgot to run. Solo developers benefit from CI just as much as teams of 50. | Set up a basic PR validation workflow. 15 minutes of setup. Catches bugs before they ship. | |
| "Manual testing is sufficient" | Manual testing is inconsistent, unscalable, and unrepeatable. It catches what you think to test, not what fails. Automated CI catches regressions you didn't expect. | Automate the test suite in CI. Manual testing supplements automated testing; it never replaces it. | |
| "CI is too slow, it blocks our velocity" | Slow CI is a symptom, not a cause. Fix it with caching, parallelism, and selective triggers -- don't remove it. Shipping bugs is slower than waiting for CI. | Optimize: cache SPM dependencies, parallelize test categories, use path-based triggers to skip unnecessary work. | |
| "We'll add CI when the team grows" | By then, the codebase has no test discipline, no quality gates, and no deployment automation. Retrofitting CI into a mature project without it is 10x harder than setting it up early. | Start with CI on day one. Even a 5-line workflow that runs xcodebuild build catches compilation errors. | |
| "Secrets in the workflow file are fine for now" | They're in git history forever. Even if you remove them in the next commit, anyone with repo access can see them in the history. | Use GitHub Actions encrypted secrets exclusively. Never hardcode credentials in YAML. | |
| "We'll investigate that CI failure later" | "Later" means "never." A red CI pipeline normalizes failure. Within a week, the team ignores CI results entirely, and it becomes useless. | Investigate immediately. Fix it or revert the breaking commit. CI must be green to merge. | |
| "Caching isn't worth the complexity" | SPM resolution and Xcode compilation are the two slowest CI steps. Caching SPM dependencies alone can save 2-5 minutes per run. Over 10 PRs/day, that's 30-50 minutes. | Cache SPM packages using Package.resolved as the cache key. It's 5 lines of YAML. |
Red Flags -- STOP
- No CI validation on pull requests -- If PRs can be merged without automated checks, bugs will be merged. This is not a question of "if" but "when."
- Secrets hardcoded in workflow files -- Even in private repos, hardcoded secrets are a security incident waiting to happen. Repository access changes, forks happen, history is permanent.
- No caching configured -- Every CI run downloading dependencies from scratch wastes time and money. SPM resolution alone can take 3-5 minutes on clean builds.
- No quality gates (tests, lint, coverage) -- A CI pipeline that only builds without testing is a false sense of security. It catches compilation errors but misses logic bugs, which are the majority of production issues.
- CI failures ignored or "expected" -- If the team says "oh that test is flaky, ignore it," the pipeline has lost trust. Fix flaky tests or delete them. Every red check must be meaningful.
Behavioral Enforcement
Phase Gate: CI FAILURE INVESTIGATION
When CI fails, cannot retry until:
- [ ] Error message read and understood
- [ ] Root cause identified (not just "it failed")
- [ ] Fix applied to address root cause
Hard Stop: "Just retry" is not a fix. If CI failed, there's a reason. Retrying without investigating means: (a) you'll waste another CI run, (b) the same failure will happen again. Investigate FIRST, fix, THEN retry.
Counter: CI fails on same issue #1-2: investigate and fix. #3: The pipeline configuration has a structural problem. Review the workflow YAML, not just the code.
Phase Gate: WORKFLOW CHANGE
Cannot modify CI/CD workflow until:
- [ ] Current workflow behavior understood (what triggers it, what it does)
- [ ] Change tested locally where possible (act, nektos/act for GitHub Actions)
- [ ] Rollback plan exists (previous workflow version in git)
Self-Audit
- If CI fails, did I investigate before retrying?
- Are all secrets referenced in the workflow actually configured in the repo?
- Are caches properly keyed (won't serve stale data)?
- Would a new contributor's first PR trigger the correct workflow?
Required Output Artifact
Every CI/CD change must produce:
- The workflow YAML diff with explanation of what changed and why
- Validation that secrets are configured (names confirmed, not values)
- Confirmation of a successful CI run after the change
- Cache key strategy documented (what busts the cache, what doesn't)
When NOT to Use This Skill
- Writing or debugging Fastlane lanes -- This skill configures when and where Fastlane runs. For what Fastlane does (lane configuration, signing, uploading), use the
velocity-fastlaneskill. - Application build settings and Xcode configuration -- CI workflows invoke build tools but don't configure them. For
.xcodeprojsettings,project.yml, or build configuration changes, work in those files directly. - Infrastructure and server deployment -- This skill covers iOS app CI/CD. For backend deployments (Supabase, AWS, GCP), use the appropriate infrastructure tools.
- Local development automation -- For local build scripts, Makefiles, and developer convenience scripts, work in the project's scripts directory. CI workflows are for the CI environment.
- Git branching strategy and release management -- CI automates what happens on branches. The branching strategy (trunk-based, gitflow, etc.) is a team process decision, not a CI concern.
Decision Framework
Standard Operating Procedures
SOP-1: PR Validation Workflow
Why each step matters:
concurrency.cancel-in-progress: Force-pushing to a PR branch cancels the previous run, saving CI minutes.paths: Only run CI when relevant files change. Documentation changes don't need a build.- Pinned Xcode version:
macos-latestchanges over time, causing surprise failures. - Cache SPM: SPM resolution is 2-5 minutes. With cache, it's <10 seconds.
if: always()on artifact upload: When tests fail, the test output is the most important artifact. Don't skip it.
SOP-2: Release Workflow (TestFlight)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/pipeline-cicd/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ablevarghese/ios-claude-toolkit/pipeline-cicd)