deploy

Automate iOS app deployment to TestFlight via script-driven build and upload.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hamza-sahin/pawbalance --skill deploy-hamza-sahin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: deploy
Source: https://github.com/hamza-sahin/pawbalance/tree/main/.claude/skills/deploy
Command: npx skills add https://github.com/hamza-sahin/pawbalance --skill deploy-hamza-sahin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the end-to-end mobile deployment workflow by pushing code to the remote repository and triggering a TestFlight deployment after QA passes, reducing manual handoffs.

Core Features & Use Cases

  • Precondition: QA must pass in the current session. If QA has not been run or did not pass, run QA first before proceeding.
  • Step 1: Push to Remote
  • Step 2: Deploy to TestFlight using the deploy-testflight.sh script which handles:
    • build via npm run build
    • npx cap sync ios
    • xcodebuild archive
    • xcodebuild -exportArchive
    • xcrun altool --upload-app
  • Use Case: After finishing a development branch and QA passes, automatically deploy to TestFlight for tester access.

Quick Start

Trigger the deployment by finishing QA in the development branch or by issuing the /deploy command to start the automatic TestFlight deployment.

Frequently Asked Questions about deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate TestFlight deployment from an iOS development branch?

Automate TestFlight deployment by pushing code changes to the remote repository and running a script-driven workflow that builds the app, syncs Capacitor, archives the Xcode project, exports an IPA, and uploads to App Store Connect.

What is the automated workflow for deploying an iOS app to TestFlight?

The automated workflow for deploying an iOS app to TestFlight involves pushing to remote, running an npm build, syncing Capacitor, creating an Xcode archive, exporting an IPA, and uploading via xcrun altool.

Can I deploy to TestFlight before QA passes in my current session?

No, you cannot deploy to TestFlight before QA passes. The automated deployment workflow requires that QA passes in the current session as a strict precondition before initiating the push and upload process.

How do I trigger an iOS TestFlight upload automatically after development?

Trigger an iOS TestFlight upload automatically by finishing QA in the development branch or by issuing a /deploy command, which starts the deterministic script process to push code and upload the build.

Does the TestFlight deployment script support configurable environment variables?

Yes, the TestFlight deployment script supports configurable environment variables and robust failure handling to manage the end-to-end xcodebuild archive, IPA export, and App Store Connect upload process.

What should I do if the automated Xcode archive and upload to App Store Connect fails?

If the automated Xcode archive and upload fails, the deployment script implements robust failure handling to manage errors during the build, export, or xcrun altool upload phases, allowing you to address the specific environment or configuration issue.