Use this guide when someone points an agent at github/replica and asks it to set up a prototyping repository. The first milestone is an independent starter app with a verified local preview. Product guidance, reference components, a shared team baseline, and Hub publishing are separate milestones.
This guide uses the existing installer and starter workflows. It does not change /setup-skills, which drafts the full shared context library on plain setup.
Reuse the repository name, destination, references, and decisions already supplied. Ask only for missing information needed for the next action.
A local repository needs no GitHub credentials or Hub. If the user also requests a GitHub repository, resolve its owner and visibility before creating it. Follow the host's authorization rules for repository creation, commits, and pushes; local setup alone does not authorize them.
When a reference app is supplied, retain it for the guidance and component work in step 4. A request to create the repository does not require a design-system questionnaire before copying the starter.
Without a local Replica checkout, download the installer:
curl -fLSs https://raw.githubusercontent.com/github/replica/main/scripts/install-starter.sh -o install-starter.shRead the downloaded script before running it. Use a destination that does not exist and whose parent directory exists:
bash install-starter.sh my-prototypeFrom a local Replica checkout, use the checked-out script instead:
bash scripts/create-prototype-repo.sh ../my-prototypeBoth paths create an independent, uncommitted Git repository with no remote. They copy the starter without Replica's source history, require no GitHub credentials, and publish nothing. The installer does not install Node.js or app dependencies.
Before asking the user to accept the copied repository's Copilot app configuration, review .github/github-app.yml and the startup details in the copied README.md. Explain that session startup can install Copilot CLI globally when missing, install or enable the Replica plugin, and will run npm ci.
Add the new directory to the Copilot app using Projects → + → Local folder or repository, then start a fresh session there. The session in the Replica checkout cannot discover the copied local skills.
Before ending the originating session, provide a paste-ready kickoff message headed Prompt 1: Continue prototype repository setup. Tell the user to paste it into the fresh session; a new session does not inherit the previous conversation. Include the user's goal, repository path, supplied references, requested milestone, settled decisions and approvals, completed actions, blockers, and next step.
The kickoff must tell the new session to follow the copied repository's AGENTS.md and resume this guide at step 3. Include the absolute guide URL, since this guide is not copied into the starter. If that version is not yet available at the URL, include steps 3 through 5 inline instead. The new session reuses settled answers and checks which actions and approvals remain applicable.
Check node --version against engines.node in the copied package.json. Reuse a compatible installed runtime. On macOS or Linux, obtain approval before installing Node.js, nodenv, or node-build, or changing shell configuration.
The fresh session does not receive the setup output, so ask the user to inspect it and report any failures before repeating setup. Dependency installation success does not prove that the current session loaded the canvas.
Follow the copied README's Connect the Replica canvas and Canvas preflight sections for plugin activation and recovery. Complete that preflight before starting a preview. Use its Run it commands, reuse an existing responsive server when appropriate, and open the actual printed URL. Verify that the included app renders; a successful dependency install or HTTP response alone is not a rendered check.
This milestone checks the existing starter page without building product UI. Report a missing runtime, unavailable canvas, or failed preview with its specific recovery step. Hub connection is not required for local preview.
Guidance drafts are not active guidance. Installed tokens or packages are not proof that reference components are usable or that a shell resembles the reference. Keep those outcomes distinct.
After reviewing the starter files, guidance, and starting pages, use the intended empty GitHub repository or create one with the agreed owner and visibility. Connect it as a remote named origin, make the initial commit, and push the intended default branch only when authorized. For an existing shared repository, follow its contribution process to merge the reviewed changes instead of replacing its remote or history. Ask an engineer for help with these Git steps if needed.
Verify the repository's actual default branch contains the intended baseline before calling it ready for teammates or continuing to Hub repository connection. A local preview is not evidence of a published Hub Build.
Finish with a short status summary based on observed results. Distinguish verified, blocked, not checked, and not requested rather than saying only "setup complete."
Cover the runtime and dependencies, current-session canvas availability, rendered preview and URL, guidance activation, reference components or shell, default-branch baseline, and Hub publishing only as applicable. Name the next blocker and its recovery action. Preserve this summary across a required session handoff.
