/local:flow-devicefrom local
Run a develop build on a physical iPhone or Android phone against the backend on this Mac - the Mac's network name (iOS) or adb reverse (Android), and a device build that stops without it. Use when the app must run on a real phone against the local backend ("run it on my iPhone", "on the physical device", "on my phone", "try it with localhost on the device"), or a device build says offline while the simulator works ("You are offline").
Ships in local. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
On a phone, localhost is the phone. The iOS simulator shares the Mac's network and the Android emulator reaches
it at 10.0.2.2; a phone does neither, so a develop build pointed there can only say it is offline.
The person runs the app on the phone (Xcode's or Android Studio's Run). You set the build up, prove it, and tell them what they will see.
xcodebuild -project <p> -scheme <develop> -sdk iphoneos -showBuildSettings, Android the develop flavor's URL property. Done when you can name each platform's device URL.curl -s -o /dev/null -w "%{http_code}" "http://$(scutil --get LocalHostName).local:<port>/<health>". A server bound to 127.0.0.1 never answers a phone
(lsof -iTCP:<port> -sTCP:LISTEN or docker port <container> shows the bind), and the firewall
(/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate) must let it in. Done when the name answers as
localhost does.adb reverse run (Android), and sign-in codes in the local mail catcher, not their inbox. The phone reaching the
Mac is a waiver in tasks/waivers.md: their run is the check. Done when your reply names each.localhost:
API_BASE_URL[sdk=iphoneos*] = http:/$()/$(DEVELOP_MAC_HOST):<port>/ in the develop xcconfig.DEVELOP_MAC_HOST comes from a gitignored per-Mac xcconfig, included last with #include? "<file>" (the ? makes
it optional) and written once: echo "DEVELOP_MAC_HOST = $(scutil --get LocalHostName).local" > <file>.fileGroups): there it lands in the committed project as a
file no other checkout has.iphoneos without DEVELOP_MAC_HOST and prints the line to write, this
Mac's name filled in from scutil --get LocalHostName.NSAllowsLocalNetworking (ATS lets plain HTTP reach .local names, unqualified names
and IP addresses; since iOS 17 IP addresses need it) and NSLocalNetworkUsageDescription. iOS asks once, at the
first connection: allowed, try again; denied, Settings → Privacy & Security → Local Network.adb reverse: the phone reaches the Mac over a network that lets devices talk to each other, and an
office Wi-Fi can isolate them. Other devices' Bonjour names there (dns-sd -B _apple-mobdev2._tcp local., stopped
after a few seconds) mean .local names resolve; where they don't, the Mac's IP (ipconfig getifaddr en0) does for
the session.adb reverse tcp:<port> tcp:<port> makes the phone's localhost:<port> the Mac's, over USB, whatever the network.
It lasts until the phone disconnects or adb restarts.http://localhost:<port>/ for that run: -P<property>=…, or the property in
~/.gradle/gradle.properties (the emulator then needs adb reverse too).localhost as well as 10.0.2.2.xcodebuild … -destination 'generic/platform=iOS' -derivedDataPath <scratch> CODE_SIGNING_ALLOWED=NO build, then
plutil -extract <URL key> raw <scratch>/Build/Products/<Configuration>-iphoneos/<App>.app/Info.plist.-clonedSourcePackagesDirPath <resolved>/SourcePackages -skipPackageUpdates.xcrun devicectl list devices, then
xcrun devicectl device info details --device <udid> (transport wired or the network); adb devices on Android.git status: Xcode can rewrite a generated project and its plists
(seen: a develop-only plist key moved into every configuration's build settings, the store build's included).
Regenerate from the project spec instead of keeping that edit.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub fractalx-technologies/claude-config --plugin local9 skills in this plugin
/flow-handoffWrite the session handoff to tasks/handoff.md so a fresh session can continue. Use when the user says they're starting a new session or leaving ("new session", "I'm leaving", "handoff"), even mid-task./flow-pipelinesPut a mobile (Kotlin Multiplatform), Electron desktop or native macOS app on the shared client app pipelines, or move its pin to a newer release - follow the template's own runbook (docs/adopting.md at the release tag), set up what gh can, hand the owner the names of what only they provide, and prove it with runs read from the API. Use when the user asks for CI/CD, pipelines, releases, a release ladder, TestFlight, Firebase or Play distribution for an app, or to upgrade the template ("set up the pipelines", "pin to vX")./flow-resetEmpty a sample environment's database (dev, staging, local) so the app can be tried from nothing — by the project's own runbook, never production — then bring back the owner's access. Use when the user asks to wipe or reset a non-production database ("empty the dev database", "reset dev", "start from scratch")./flow-shipShip changes to production — a migration, a web deploy, an app build to the stores — by the project's own runbook, forward-only, with every outward step confirmed. Use when the user asks to deploy, publish or release ("deploy to prod", "apply the migration to prod", "publish the app", "submit it for store review", "release 1.3.4"). Not for wiping or resetting anything, which is `flow-reset`./flow-slicesCareful mode - plan the work as short slices and deliver them one by one, each built, tested and reviewed, then held for the user's OK before its commit and before the next slice. Use when the user picks careful mode at the start of a task, or asks to go step by step ("careful mode", "I want to review each change")./flow-sweet-dreamsNight mode - plan tonight's work with the user before they leave, then work alone until morning in automatic mode, one branch with a tested commit per phase, and a morning report in tasks/night.md that says how to try each change. Use when the user wants work done overnight or while they sleep ("sweet dreams", "leave it working tonight").