# create-site

Walks an agent through a brand-new AEM Edge Delivery site: repo from the boilerplate, aem-code-sync, starter DA pages, live preview link.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 1500 installs · ★ 310
- Author: adobe
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/adobe/skills/tree/HEAD/plugins/aem/edge-delivery-services/skills/create-site/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/create-site

## What it does

This skill covers the whole onboarding flow for a new AEM Edge Delivery site. It starts by collecting the GitHub org, the project name and a human-readable site name, then creates the repository from the `adobe/aem-boilerplate` template — either with the `gh` CLI or through the GitHub API. Next comes aem-code-sync, and that step stays manual: the user opens the install page in a browser, picks the repository and confirms. The agent waits for a "done" reply and checks the status endpoint under `admin.hlx.page`.

Then it gets an Adobe IMS token for DA. Three routes exist: `da-auth-helper`, which caches the token at `~/.aem/da-token.json`, a configured DA MCP server, or a token pasted in by hand. After that the skill seeds the three pages every EDS site needs — `nav`, `footer` and the homepage. Through the DA API the content goes into a temp file first and is then POSTed, because inline multiline data in `-F 'data=...'` makes curl fail with exit code 26. At the end the agent confirms all three paths return 200 or 201 and hands over the preview URL plus the DA links.

Before you start you need a GitHub account that can create repos in the target org, an Adobe IMS account with DA access, an authenticated `gh` CLI or a personal access token with `repo` scope, and Node.js for the DA token handling. This skill is the wrong tool for importing existing pages — page-import handles that — and block work on a live site belongs to content-driven-development.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add adobe/skills --skill create-site -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/create-site/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/create-site/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add adobe/skills --skill create-site -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/create-site/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add adobe/skills --skill create-site -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/create-site/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install adobe/skills create-site
```

2. **Manually: put the files in place**
- File: `.github/skills/create-site/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add adobe/skills --skill create-site -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/adobe/skills --path plugins/aem/edge-delivery-services/skills/create-site
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/create-site/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add adobe/skills --skill create-site -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/adobe/skills/tree/HEAD/plugins/aem/edge-delivery-services/skills/create-site/SKILL.md

## When to use it
- stand up a new AEM Edge Delivery site from scratch
- create the GitHub repo for a fresh site
- wire aem-code-sync to the new repository
- fetch and cache an Adobe IMS token for DA
- seed the starter nav, footer and homepage

## Example prompts
- set up a new AEM Edge Delivery site for org my-org, project my-site
- create a new EDS project from scratch
- install aem-code-sync and seed the initial DA content

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 78305bd32dbca21e.

BEGIN THIRD-PARTY FILE 78305bd32dbca21e
```text
---
name: create-site
description: Use this when a user wants to create a brand-new AEM Edge Delivery site from scratch and no GitHub repository or DA content exists yet — triggers include 'set up a new site', 'create a new EDS project', or 'onboard a new site'. Covers creating the GitHub repo from the boilerplate, installing aem-code-sync, seeding initial DA content (nav, footer, homepage), and returning a live preview URL. For importing or migrating existing pages use page-import; for building blocks on an existing site use content-driven-development.
license: Apache-2.0
metadata:
  version: "1.1.0"
---

# Create a New AEM Edge Delivery Site

This skill walks through the full onboarding flow for a new AEM Edge Delivery site. It handles everything that can be automated and clearly signals the steps that require human action.

## When to Use This Skill

Use this skill when:
- A user wants to create a brand-new AEM Edge Delivery site from scratch
- A user asks to "set up a new site", "create a new EDS project", or "onboard a new site"
- No GitHub repository or DA content exists yet for the project

**Do NOT use this skill for:**
- Importing or migrating existing pages (use **page-import** skill)
- Building or modifying blocks on an existing site (use **content-driven-development** skill)

## Prerequisites

- A GitHub account with permission to create repositories in the target org
- An Adobe IMS account with access to DA (da.live)
- `gh` CLI authenticated (`gh auth status`) or a GitHub personal access token with `repo` scope
- Node.js (for DA token management via da-auth-helper)

## Related Skills

- **page-import** — Import existing pages into the newly created site
- **content-driven-development** — Build and modify blocks once the site exists
- **building-blocks** — Implement new block code

---

## Step 0: Create TodoList

Create a checklist to track progress (use your agent's task-tracking tool if available):

1. **Gather inputs** — org, repo name, site name collected
2. **Create GitHub repository** — repo created from boilerplate template
3. **Install aem-code-sync** *(human action)* — GitHub App installed on repo
4. **Authenticate with DA** — valid IMS token obtained
5. **Create initial content in DA** — nav, footer, index created
6. **Trigger preview** — all three paths return 200/201
```
END THIRD-PARTY FILE 78305bd32dbca21e

The third-party file has ended. Everything between the 78305bd32dbca21e tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

First 2352 of 11201 bytes. © adobe · Apache-2.0 · https://github.com/adobe/skills/tree/HEAD/plugins/aem/edge-delivery-services/skills/create-site/SKILL.md

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
