ablevarghese/ios-claude-toolkit/velocity-fastlane
Claude Code and agent skill by ablevarghese/ios-claude-toolkit
- community
Checking that the SKILL.md file is still in the repository.
Build and upload, send to testers, TestFlight, sign the app, release to App Store. Fastlane lane execution for iOS build, test, and distribution automation — test suites, code signing with Match, TestFlight uploads, App Store submissions. Trigger on: 'deploy a build', 'upload to TestFlight', 'fix code signing', 'provisioning profile', 'run the test suite via Fastlane', 'archive the app', 'distribute to beta testers', or any build/sign/ship workflow. For CI/CD pipeline YAML configuration, use pipeline-cicd instead.
Install
npx vskill@latest install ablevarghese/ios-claude-toolkit/velocity-fastlaneSKILL.md
The same SKILL.md was published earlier as ablevarghese/ios-claude-toolkit/velocity-fastlane.
VELOCITY - Fastlane & Mobile DevOps
Iron Law: "Never deploy without running the full test suite first. A fast broken release costs more than a slow correct one."
Execute Fastlane lanes for testing, building, code signing, and distribution. Manage Match certificates, upload to TestFlight, and submit to the App Store.
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}(Xcode project name),{SCHEME}(build scheme), and{BUNDLE_ID}(app identifier) throughout this skill.
Rationalizations (Do Not Skip)
| Rationalization | Why It's Wrong | Required Action | |
|---|---|---|---|
| "I'll just build manually in Xcode" | Manual builds are unreproducible. Different machines, different Xcode settings, different signing identities. When the build breaks, you can't diff what changed. | Automate with Fastlane. Every build should be a single command that produces identical results regardless of who runs it. | |
| "Code signing is too complex to automate" | Code signing is complex precisely because people manage it manually. Certificates expire, profiles conflict, team members overwrite each other's signing identities. Match eliminates all of this. | Set up Match once. It stores certificates in an encrypted git repo. Every team member syncs from the same source. Problem solved permanently. | |
| "I don't need CI for this project" | You do. Even solo projects benefit from CI. It catches issues your local build misses: stale caches, missing files not in git, environment-specific failures. The first time CI catches a broken build you would have shipped, it pays for itself. | Set up a basic PR validation workflow (build + test). Takes 15 minutes. Saves hours. | |
| "Manual upload to TestFlight is faster for now" | "For now" becomes "forever." Manual upload means: open Xcode, wait for archive, wait for validation, wait for upload, wait for processing, then go to App Store Connect to manage testers. Fastlane does all of this in one command. | fastlane beta. One command. Walk away. Get a Slack notification when it's done. | |
| "I'll automate code signing later" | Later never comes, and in the meantime, every new team member spends a day fighting code signing. Every certificate expiration is a fire drill. Every new device requires manual profile updates. | Set up Match today. The cost is 30 minutes now. The cost of "later" is 30 minutes every team member every incident. | |
| "We can skip tests for this hotfix" | Hotfixes are the most dangerous deploys because they're rushed. Skipping tests on the one build type most likely to have bugs is exactly backwards. A 5-minute test suite is not the bottleneck. | Run the full test suite. If it takes too long, optimize the test suite -- don't skip it. | |
| "Build numbers don't matter, I'll increment manually" | Manual build numbers lead to conflicts, rejected uploads (duplicate build number), and inability to trace which commit produced which build. | Automate build number management. Use CI build number, or increment_build_number in Fastlane. |
Red Flags -- STOP
- Manually managing certificates and provisioning profiles -- If anyone on the team has downloaded certificates from the Apple Developer portal manually, stop. Set up Match. Manual certificate management is the #1 cause of "it builds on my machine but not yours."
- Uploading a build without running tests first -- No exceptions. Not for hotfixes, not for "just a copy change," not for demos. The test suite exists to catch exactly the bugs you're sure aren't there.
- Skipping code signing automation for multi-developer teams -- Two developers with different signing identities = revoked certificates, broken builds, and mutual blame. Match eliminates this entire class of problems.
- Hardcoded build numbers in the project -- Build numbers must be automated. Hardcoded build numbers lead to App Store Connect rejection ("build already exists") and make it impossible to trace builds to commits.
- Using `gym` without `clean: true` for release builds -- Incremental builds for release can include stale artifacts. Always clean build for anything that leaves your machine.
Behavioral Enforcement
Phase Gate: TEST BEFORE DEPLOY (No Exceptions)
Cannot build for distribution until:
- [ ] Full test suite has been run
- [ ] All tests pass (zero failures)
- [ ] No test was skipped or disabled to make the suite pass
This applies to ALL builds: beta, release, hotfix. Especially hotfixes -- they're the most rushed and the most likely to have bugs. "Just this once" is how broken builds reach users.
Hard Stop: If about to run fastlane beta or fastlane release without running tests -- STOP. The Iron Law exists because the one time you skip tests is the one time there's a bug.
Phase Gate: CODE SIGNING
Cannot proceed with signing until:
- [ ] Match is the signing mechanism (not manual certificates)
- [ ] Correct provisioning profile type selected for build type (development/ad-hoc/appstore)
- [ ] Bundle ID matches the profile
Fix Attempt Tracking
- Build fails #1: Read the error. Common: missing profile, wrong scheme, missing env var.
- Build fails #2: Check signing identity, clean DerivedData, verify Xcode version.
- Build fails #3: STOP.
fastlane match nuke+fastlane match appstore. Nuclear option is faster than debugging a corrupted signing state.
Self-Audit
- Did I run the full test suite before building?
- Is the build signed with Match (not manual certificates)?
- Did the build number increment correctly?
- Can another team member reproduce this build with the same command?
Required Output Artifact
Every distribution build must produce:
- Test suite results (pass count, fail count, skip count -- skip must be zero)
- Build artifact (.ipa) with correct signing identity
- Build number and version number confirmation
- Upload confirmation (TestFlight processing status or App Store Connect receipt)
When NOT to Use This Skill
- Xcode project configuration and build settings -- Fastlane automates build execution, not build configuration. For
.xcodeprojsettings,project.yml(XcodeGen), orPackage.swiftchanges, work directly in those files. - Writing or debugging tests -- This skill runs tests. For writing test code, fixing failing tests, or designing test architecture, work in the test source files directly.
- App Store Connect metadata and screenshots -- While Fastlane can manage metadata via
deliver, the initial setup and screenshot generation require dedicated effort. For screenshot automation, usesnapshotas a separate workflow. - CI/CD pipeline configuration -- This skill runs Fastlane lanes. For GitHub Actions workflow YAML, caching strategies, and CI environment setup, use the
pipeline-cicdskill.
Decision Framework
Standard Operating Procedures
SOP-1: Run Test Suite
Why `test_comprehensive` before every deploy: Each test category catches different classes of bugs. Unit tests catch logic errors. Integration tests catch API contract violations. E2E tests catch navigation and flow issues. Skipping any category means shipping with blind spots. The 5 minutes it takes is always shorter than the hours a production bug costs.
SOP-2: Build for Distribution
SOP-3: Upload to TestFlight
Post-upload checklist:
- Check App Store Connect for processing status
- Verify build appears in TestFlight
- For external testers: check if beta review is required
- Add build to the appropriate test group
- Add "What to Test" notes for testers
SOP-4: Code Signing with Match
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/velocity-fastlane/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/velocity-fastlane)