/appbuilder-project-init
Initialize an Adobe App Builder project end-to-end and prepare the machine to build one. Creates the Console project and workspace, subscribes APIs (including those needing a product profile), maps intent to the right template, runs non-interactive `aio app init`, and guides
Claude Code
$ npx -y skills add adobe/skills --skill appbuilder-project-init --agent claude-code
Codex
$ npx skills add adobe/skills --skill appbuilder-project-init -a codex -y
Cursor
$ npx skills add adobe/skills --skill appbuilder-project-init -a cursor -y
Gemini CLI
$ npx skills add adobe/skills --skill appbuilder-project-init -a gemini-cli -y
GitHub Copilot
$ npx skills add adobe/skills --skill appbuilder-project-init -a github-copilot -y
OpenCode
$ npx skills add adobe/skills --skill appbuilder-project-init -a opencode -y
Windsurf
$ npx skills add adobe/skills --skill appbuilder-project-init -a windsurf -y
SKILL.md
appbuilder-project-init.SKILL.mdname: appbuilder-project-init
description: Initialize an Adobe App Builder project end-to-end and prepare the machine to build one. Creates the Console project and workspace, subscribes APIs (including those needing a product profile), maps intent to the right template, runs non-interactive `aio app init`, and guides post-init customization. Use whenever the user mentions creating an App Builder app, scaffolding a project, `aio app init`, an Experience Cloud extension, adding actions or web assets, or creating a Console project/workspace — even without saying "App Builder". Also for SPA templates, AEM extensions, API Mesh, Asset Compute workers, and MCP servers. Also covers first-time machine/CLI setup (Node 20, aio CLI install, `aio login`, IMS org, stage vs prod) and debugging setup/init failures — `ERR_REQUIRE_ESM`, empty `aio console org list`, `451 accept developer terms`, template not found, init hangs, or Node/npm and post-init build errors.
metadata:
category: project-initialization
license: Apache-2.0
compatibility: Requires aio CLI (Adobe I/O CLI) — install or refresh with `npm install -g @adobe/aio-cli` so the bundled plugins (`aio-cli-plugin-console`, `aio-cli-plugin-app`, etc.) are current. Node.js 20.17+ (`@adobe/aio-cli` 11 requires it; Node 24 supported on Stage runtimes). Bash shell.
allowed-tools: Bash(aio:*) Bash(npm:*) Bash(node:*) Read Write Edit
App Builder Project Initialization
Maps user intent to the right Adobe App Builder template and runs non-interactive `aio app init`. Default: `@adobe/generator-app-excshell` (SPA + actions). For headless/bare projects, use `init-bare`.
When the Developer Console project, workspace or API subscriptions don't exist yet, create them non-interactively with `aio console …` first (see **Bootstrap** below). Install the latest `@adobe/aio-cli`: its bundle has the non-interactive Console commands and `aio app init --org/--project/--template-options`.
Machine setup (first time)
Do this once per machine before initializing a project — plus a login per environment. If the CLI is already installed and you're logged in, skip to **Bootstrap** below.
1. Node 20
App Builder needs **Node 20** (npm ships with it). Check what's active: `node -v` → expect `v20.17` or later (`@adobe/aio-cli` 11 requires `>=20.17.0`).
- **Have nvm?** `nvm install 20 && nvm use 20 && nvm alias default 20` so new shells keep it. If several Node versions are installed, the *active* one must be 20.
- **No Node / no nvm?** Ask the user before installing anything. Prefer `brew install node@20` or the official installer at nodejs.org. If they want nvm, have them install it from [nvm's instructions](https://github.com/nvm-sh/nvm#installing-and-updating) themselves; don't pipe an installer from the network into a shell. Once nvm is there, in a new shell:
nvm install 20 && nvm use 20 && nvm alias default 20
> Older Adobe docs say Node 18 — use **20**. A global `aio` belongs to whichever Node was active when you ran `npm i -g`; if you switch Node versions the old `aio` won't be on PATH. Symptom of a mismatch: `aio` dies with `SyntaxError: Unexpected token '??='` (a pre-20 Node parsing the Node-20 `aio`) — fix with `nvm use 20` and reinstall `aio` there.
2. Install the aio CLI + log in
npm install -g @adobe/aio-cli # on Node 20
aio login # opens a browser; `aio login -f` forces a fresh prompt
aio where # confirm the correct IMS org/context
aio console org list # list orgs and their IDs (then `aio console org select <id>` if needed)
Tokens are stored by the CLI automatically; a normal `aio login` lasts hours/days — one login per session, not per command. Confirm the **correct IMS org** — wrong-org is the most common setup mistake.
3. Stage vs prod
The default environment is **prod**. To target **stage**, set the env var and re-authenticate:
export AIO_CLI_ENV=stage
aio logout && aio login
Unset the variable (or open a new shell) to return to prod. The stage CLI talks to the stage Console (`developer-stage`).
Logging in without a browser (CI / no human)
- **Import creds:** in the Developer Console open the workspace → **Download all** → `console.json`, then `aio app init <app> --import path/to/console.json` (fills `.env`/`.aio` — treat `console.json` as a secret, gitignore it).
- **CI / pipeline:** add an **OAuth Server-to-Server** credential to the workspace; `aio` and Runtime authenticate from the client id/secret with no human. Don't script SSO/MFA headlessly.
Bootstrap the Developer Console (project, workspace, APIs)
If the user is starting from zero — no Developer Console project yet, or an existing project that is missing a workspace or API subscription — bootstrap that state **before** `aio app init`. Otherwise `aio app init` / `aio app use` / `aio app deploy` have nothing to wire the local app to.
The bootstrap is plain `aio console …` commands; **call them directly**, not through a wrapper script, so you can branch on "already exists" or "needs a product profile". Follow [references/bootstrap.md](references/bootstrap.md) for the commands, the name-vs-ID rules and per-step recovery.
| User state | Next action | | --- | --- | | "Create a project + workspace + add APIs from scratch" | Run the bootstrap chain (project → workspace → APIs), then `aio app init`. | | Project exists, workspace missing | Skip project-create. Run `aio console workspace create`, then optionally `aio console workspace api add`. | | Project + workspace exist, only need to add an API | Run `aio console api list` to discover service codes, then `aio console workspace api add`. | | Everything already wired | Skip bootstrap. Go straight to **Initialize via Script**. |
- Inspect before you create (`aio console project list --json`, `aio console workspace list`, `aio console workspace api list`): create/add commands fail on "already exists"
Read more
name: appbuilder-project-init description: Initialize an Adobe App Builder project end-to-end and prepare the machine to build one. Creates the Console project and workspace, subscribes APIs (including those needing a product profile), maps intent to the right template, runs non-interactive `aio app init`, and guides post-init customization. Use whenever the user mentions creating an App Builder app, scaffolding a project, `aio app init`, an Experience Cloud extension, adding actions or web assets, or creating a Console project/workspace — even without saying "App Builder". Also for SPA templates, AEM extensions, API Mesh, Asset Compute workers, and MCP servers. Also covers first-time machine/CLI setup (Node 20, aio CLI install, `aio login`, IMS org, stage vs prod) and debugging setup/init failures — `ERR_REQUIRE_ESM`, empty `aio console org list`, `451 accept developer terms`, template not found, init hangs, or Node/npm and post-init build errors. metadata: category: project-initialization license: Apache-2.0 compatibility: Requires aio CLI (Adobe I/O CLI) — install or refresh with `npm install -g @adobe/aio-cli` so the bundled plugins (`aio-cli-plugin-console`, `aio-cli-plugin-app`, etc.) are current. Node.js 20.17+ (`@adobe/aio-cli` 11 requires it; Node 24 supported on Stage runtimes). Bash shell. allowed-tools: Bash(aio:*) Bash(npm:*) Bash(node:*) Read Write Edit
App Builder Project Initialization
Maps user intent to the right Adobe App Builder template and runs non-interactive `aio app init`. Default: `@adobe/generator-app-excshell` (SPA + actions). For headless/bare projects, use `init-bare`.
When the Developer Console project, workspace or API subscriptions don't exist yet, create them non-interactively with `aio console …` first (see **Bootstrap** below). Install the latest `@adobe/aio-cli`: its bundle has the non-interactive Console commands and `aio app init --org/--project/--template-options`.
Machine setup (first time)
Do this once per machine before initializing a project — plus a login per environment. If the CLI is already installed and you're logged in, skip to **Bootstrap** below.
1. Node 20
App Builder needs **Node 20** (npm ships with it). Check what's active: `node -v` → expect `v20.17` or later (`@adobe/aio-cli` 11 requires `>=20.17.0`).
- **Have nvm?** `nvm install 20 && nvm use 20 && nvm alias default 20` so new shells keep it. If several Node versions are installed, the *active* one must be 20.
- **No Node / no nvm?** Ask the user before installing anything. Prefer `brew install node@20` or the official installer at nodejs.org. If they want nvm, have them install it from [nvm's instructions](https://github.com/nvm-sh/nvm#installing-and-updating) themselves; don't pipe an installer from the network into a shell. Once nvm is there, in a new shell:
nvm install 20 && nvm use 20 && nvm alias default 20
> Older Adobe docs say Node 18 — use **20**. A global `aio` belongs to whichever Node was active when you ran `npm i -g`; if you switch Node versions the old `aio` won't be on PATH. Symptom of a mismatch: `aio` dies with `SyntaxError: Unexpected token '??='` (a pre-20 Node parsing the Node-20 `aio`) — fix with `nvm use 20` and reinstall `aio` there.
2. Install the aio CLI + log in
npm install -g @adobe/aio-cli # on Node 20 aio login # opens a browser; `aio login -f` forces a fresh prompt aio where # confirm the correct IMS org/context aio console org list # list orgs and their IDs (then `aio console org select <id>` if needed)
Tokens are stored by the CLI automatically; a normal `aio login` lasts hours/days — one login per session, not per command. Confirm the **correct IMS org** — wrong-org is the most common setup mistake.
3. Stage vs prod
The default environment is **prod**. To target **stage**, set the env var and re-authenticate:
export AIO_CLI_ENV=stage aio logout && aio login
Unset the variable (or open a new shell) to return to prod. The stage CLI talks to the stage Console (`developer-stage`).
Logging in without a browser (CI / no human)
- **Import creds:** in the Developer Console open the workspace → **Download all** → `console.json`, then `aio app init <app> --import path/to/console.json` (fills `.env`/`.aio` — treat `console.json` as a secret, gitignore it).
- **CI / pipeline:** add an **OAuth Server-to-Server** credential to the workspace; `aio` and Runtime authenticate from the client id/secret with no human. Don't script SSO/MFA headlessly.
Bootstrap the Developer Console (project, workspace, APIs)
If the user is starting from zero — no Developer Console project yet, or an existing project that is missing a workspace or API subscription — bootstrap that state **before** `aio app init`. Otherwise `aio app init` / `aio app use` / `aio app deploy` have nothing to wire the local app to.
The bootstrap is plain `aio console …` commands; **call them directly**, not through a wrapper script, so you can branch on "already exists" or "needs a product profile". Follow [references/bootstrap.md](references/bootstrap.md) for the commands, the name-vs-ID rules and per-step recovery.
| User state | Next action | | --- | --- | | "Create a project + workspace + add APIs from scratch" | Run the bootstrap chain (project → workspace → APIs), then `aio app init`. | | Project exists, workspace missing | Skip project-create. Run `aio console workspace create`, then optionally `aio console workspace api add`. | | Project + workspace exist, only need to add an API | Run `aio console api list` to discover service codes, then `aio console workspace api add`. | | Everything already wired | Skip bootstrap. Go straight to **Initialize via Script**. |
- Inspect before you create (`aio console project list --json`, `aio console workspace list`, `aio console workspace api list`): create/add commands fail on "already exists"
Skills that teach AI coding agents to work with Adobe products. A skill is a folder with a SKILL.md that an agent loads when a task calls for it (agentskills.io).
Other skills on skills.
More skills from other plugins.
karpathy-guidelines
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
agent-builder
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…
Questions about appbuilder-project-init.
- Which coding agents can use appbuilder-project-init?
- appbuilder-project-init installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

