AI Agent Guide
Use the Hot Updater skill with AI coding agents and ask for OTA operations in natural language.
Attach the Skill
Agent skills are packaged capabilities that give AI coding agents structured instructions for a production workflow. Attach the Hot Updater skill from its GitHub location:
You can also install it with npx skills:
npx skills add gronxb/hot-updater --skill hot-updaterAsk With $hot-updater
After attaching the skill, ask your agent in natural language:
$hot-updater deploy using the current app version
$hot-updater deploy the current iOS app version to production
$hot-updater roll back the most recently deployed bundle
$hot-updater list iOS bundles on the production channel
$hot-updater run doctor with server URL https://updates.example.com/api/check-updateThe skill gives the agent enough CLI context to translate those requests into
safe npx hot-updater ... flows.
Safety Rules
- The agent should not run
npx hot-updater initfor you.initis interactive and asks for project-specific provider and build choices, so run it directly in your terminal. - The agent should ask for the update server URL before running
npx hot-updater doctorunless you already provided it or it is obvious from local configuration. - The agent should not edit provider credentials unless you explicitly ask it
to. Credentials are commonly stored in
.env.hotupdater, but projects may use a different environment-loading setup. - If a deploy fails, the agent should not keep trying fixes or mutate project setup automatically. It should summarize the failed command, the likely cause, and the next checks for you to decide.
- For state-changing operations such as deploy, rollback, enable, disable, or database migration, the agent should identify the target first and verify the result afterward.
Console (Rollback & Force Update)
Opens a localhost server based on plugins configured in `hot-updater.config.ts`. For security reasons, only localhost server is supported at the moment.
Simulate Test
Since hot-updater does not work in dev environment, you need to test it in Release mode as shown below.