Create New Static Website
Workflow
- Collect inputs (ask first)
- Project folder name (for
npx gitpick instructa/astro-website-starter <name>) - GitHub owner/org + repo name
- Visibility: public or private
- Whether to push immediately after init (default: yes)
- Scaffold from template
- From
~/projects, run:npx gitpick instructa/astro-website-starter <project-name>cd <project-name>
- If folder exists, ask to rename or delete (use
trash).
- Initialize git + create GitHub repo
git initgit add -Agit commit -m "feat: init"gh repo create <owner>/<repo> --public|--private --source . --remote origin --push- If user says no push: omit
--pushand inform them how to push later.
- If user says no push: omit
- Alchemy config (ask after repo creation)
- Ask if they want to configure Alchemy now.
- If yes:
cp .env.example .env- Set
ALCHEMY_PASSWORDin.env(ask for value or instruct user to set). pnpm exec alchemy login- Confirm any Cloudflare/Alchemy prompts and ensure
pnpm run devworks.
Notes
- Keep commands non-interactive when possible.
- Use
ghfor repo creation. - Don’t delete without confirmation (use
trash).