/platform:admin-deployfrom Platform
Deploys an app directly from a local checkout outside CI as an audited exception for platform admins. Handles emergency deployments when CI is down, apps lack CI, or taking over orphaned apps.
Ships in Platform. 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.
Read when SKILL.md points to them; scripts run unread.
Runs the same platform-deploy as CI, with the admin's credentials: their PAT (PLATFORM_TOKEN) when whoami says credential: "pat"; when it says "oauth" (signed in through the browser), a deploy token from create_deploy_token passed as PLATFORM_DEPLOY_TOKEN=<token> ${CLAUDE_PLUGIN_ROOT}/skills/deploy/scripts/platform-deploy ..., a new one for each command. The release is recorded as source = direct, with the reason and the admin, flagged admin_exception when the platform reserves direct deployment to admins, and audited. The app is flagged "deployed outside CI" until its next CI deployment.
Rules: one command per Bash call (no &&, ;, pipes or redirections); do not modify, commit or push anything in the checkout; never print, repeat or write a token. If the platform tools are missing or whoami fails, follow step 0 of the deploy skill (check-connection.sh).
whoami: if role is not admin, refuse and point to the deploy skill (CI). If direct_deploy_setting is everyone, say that no exception is needed and the deploy skill would do, but go on if the admin insists..platform.json for the app slug, then get_app: note github_repo, status (a stopped app refuses deployments: stop) and last_release.${CLAUDE_PLUGIN_ROOT}/skills/admin-deploy/scripts/preflight.sh <github_repo> (without argument if the app has no linked repository; say so in the report). It refuses a dirty working tree, a commit that is not pushed to the remote, and a checkout of another repository. On REFUSED, show the reason and stop: never commit, stash or push on the admin's behalf.${CLAUDE_PLUGIN_ROOT}/skills/deploy/scripts/function-secrets.sh against list_secrets. If one is missing, report it and ask whether to continue (the owner sets secrets; set them only if the admin gives the value).${CLAUDE_PLUGIN_ROOT}/skills/deploy/scripts/platform-deploy check, then show the lints. A blocking lint stops the deployment: accepting it means changing .platform.json through the repository, not here.${CLAUDE_PLUGIN_ROOT}/skills/deploy/scripts/platform-deploy deploy --reason "<reason>".admin_exception, reason, migrations, functions and frontend versions. On failure: get_logs for the service involved, diagnosis, and rollback if the live version is broken.What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/buildCreate or change an app meant to run on the internal platform, following its target architecture (Vite + React + TypeScript single-page app, supabase-js, Postgres migrations with row level security, Supabase edge functions). Use when the user asks to build, create, start or extend an app "for the platform", or an internal tool for their team, and when they want to try it on their computer before it goes online (local preview). The deploy skill then puts it online./deployDeploy the current Vite + Supabase project to the internal platform (database migrations, edge functions, static frontend), through the app's GitHub Actions CI or, when the platform allows it, directly from this machine. Use when the user asks to deploy, publish, ship or put the app online "on the platform", to set up its CI, or to redeploy after changes.npx claudepluginhub marmelab/platform --plugin platformOther plugins' skills for the same job