npx skills add ...
npx skills add volc-iga-pages/iga-pages-skills --skill iga-pages
Deploy frontend, full-stack, and AI agent projects to IGA Pages. Use for deployments or IGA Pages development with Pages Functions, logs, @iga-pages/agent, or @iga-pages/blob. Do not use for unrelated backend work.
npx skills add volc-iga-pages/iga-pages-skills --skill iga-pages
Two areas: CLI (iga tool for auth, project creation, dev, build, deploy, inspection, env, and integrations) and Project development (functions, API routes, Agent, and Blob SDKs).
Run iga <command> -h for full flag details.
The @iga-pages/cli version must be >= 1.1.9, and Node.js must be >= 20. Check with iga --version; if the CLI is missing or older, install or upgrade the public package before using other iga commands:
Supported public frameworks: Next.js, Vite, Vue CLI, Create React App, Angular, Hexo, Docusaurus, VitePress, VuePress, Astro, and Nuxt. Frameworks outside this list (for example Remix) are unsupported; inform the user before proceeding.
Pure static assets (plain HTML/JS/CSS) can also be deployed — the project root is used as the output directory by default.
Before remote operations (init, link, list, deploy, preview, inspect, logs, env, and integration), run iga whoami. Reuse the existing login when it succeeds. Run iga login only when credentials are missing, expired, or rejected; diagnose network and service errors instead of treating every failure as a reason to log in again.
When login is actually needed, the method depends on the environment:
Local IDE (VS Code, TRAE desktop, etc.) → browser login:
Wait for the user to complete browser auth. The CLI prints a success message when done.
Remote interactive terminal (SSH, Cowork, cloud dev container, etc.) → Device Code login:
The CLI prints a verification URL and short code, then polls while the user completes authorization in any browser.
Unattended automation (CI/CD or another environment where no person can complete authorization) → AK/SK login:
Obtain AK/SK from the Volcengine IAM console.
To determine the method: use --remote when the terminal cannot open a local browser but a person can complete authorization elsewhere; use AK/SK only for unattended automation. Otherwise, prefer the default browser login. --remote and AK/SK are mutually exclusive.
Run project-scoped commands such as pages link, dev, build, and deploy inside the project root. Scaffolding tools (create-next-app, npm create vite, hugo new site, etc.) create a subdirectory — you must cd into it before those commands:
Tag every iga command executed by this skill so its usage can be attributed.
The tag identifies only the skill and its version; it carries no user data.
Prefix every iga invocation, whatever the subcommand, with the process-scoped
VE_SKILL_ID. Set it inline on each command because shell state may not persist
between commands:
pages dev, pages build, and pages deploy workflow as other full-stack projects; there is no separate Agent deploy command.?iga_token=...&iga_time=..., share that full URL (query included); omitting it can break access.env list/add/update/remove/pull): read references/env.md.integration list/link/unlink) and the deploy orchestration order (link → integration → deploy), plus when to hand off to the byted-supabase skill: read references/integration.md.CLI
iga commands outside the project directory → always cd into the scaffolded subdirectory firstiga whoami first; only fall back to iga login if it fails.iga/ -> keep it out of source control; link/deploy normally add .iga/ to .gitignore, but that update is best-effortnpm run dev / vite / next dev / npm start when api/ exists → use iga pages dev so serverless functions are servedpackage.json "scripts.dev" to iga pages dev → infinite loop, since iga pages dev itself invokes the dev script from package.json. Keep "scripts.dev" as the framework's own dev command (e.g. next dev, vite)env / integration commands before linking → they require a linked project; run iga pages link firstenv add/update/remove to change local files or take effect immediately → they edit remote project config and apply on the next deploy; run iga pages env pull to refresh .env.localenv update/env remove a Supabase-managed variable → it's read-only; manage it via iga pages integration link/unlinkenv add when an integration is available → use iga pages integration link supabase so connection vars sync automatically@iga-pages/agent or @iga-pages/blob in browser code or arbitrary Node.js processes → use them only in IGA Pages Functions or full-stack framework server handlers