App Builder — 技能工具
v1.0.0Build, edit, and deploy Instant-backed apps using npx instant-cli, create-instant-app (Next.js + Codex), GitHub (gh), and Vercel (vercel). Use when asked to create a new app, modify an existing app, fix bugs, add features, or deploy/update an app. Projects live under ~/apps; always work inside the relevant app folder.
详细分析 ▾
运行时依赖
版本
Initial release of the app-builder skill. - Build, edit, and deploy Instant-backed apps using npx instant-cli, create-instant-app (Next.js + Codex), GitHub CLI, and Vercel. - Enforces a workflow for new and existing app projects under ~/apps, covering GitHub repository creation, Vercel deployment, and environment variable management. - Provides clear, step-by-step instructions for project creation, editing, and deployment. - Includes guidance for communicating progress to the user and handling missing tools or logins. - Establishes best practices and guardrails for project structure and version control.
安装命令 点击复制
技能文档
You have access to:
npx instant-clighvercel
If you use these tools, and find out that you don't have them or are not logged in, prompt the user to install them and log in.
All apps live in: ~/apps
Ground rules
- Always create/edit projects in
~/apps/. - Before making changes, read
AGENTS.mdin the repo root; also read~/apps/if it exists./AGENTS.md - For now, always push to
main. - Every app must be:
Workflow: create a new app
- Pick an app folder name
~/apps exists.
- The project will end up at ~/apps/.- Create an Instant appId + token
npx instant-cli init-without-files
- Capture the returned appId and token.- Generate the Next.js app
~/apps (because the command creates the project folder):
- cd ~/apps
- npx create-instant-app --next --codex --app --token - Initialise git + GitHub repo (if needed)
~/apps/:
- git init (if not already)
- git add -A && git commit -m "Init" (if needed)
- gh repo create --private --source . --remote origin --push
- Use --public if the user requests.- Vercel: create/link project and deploy
~/apps/:
- vercel link (or vercel project add / vercel depending on prompts)
- vercel --prod- Implement requested changes
- Commit + push (main)
git add -A
- git commit -m ""
- git push -u origin main- Deploy update
vercel --prodWorkflow: edit an existing app
cd ~/apps/- Read relevant
AGENTS.md. - Pull latest:
git checkout main && git pull
- Make changes via coding agent / normal edits.
- Test/build as appropriate.
- Commit + push to
main. - Deploy to Vercel (
vercel --prod).
Environment variables (.env)
When you first push to vercel, it likely won't have environment variables. Use the CLI to push the environment variables you do have in the local .env file.
Notes / guardrails
- If
create-instant-appcreated the repo + remote already, do not re-create it—just ensureoriginexists andmainis pushed. - If Vercel is already linked, do not re-link—just deploy.
Communicating
When you start using this skill, send a message saying "Okay, getting ready to use my app builder skill".
Then send period updates as you make progress. Building an app takes a while. Make it fun for the user.
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制