返回顶部
a

app-builder应用构建器

Build, 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.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
2,741
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

app-builder

App Builder

你可以使用以下工具:

  • - npx instant-cli
  • gh
  • vercel

如果你使用这些工具时发现尚未安装或未登录,请提示用户进行安装和登录。

所有应用都存放在:~/apps

基本规则

  • - 始终在 ~/apps/<应用名称> 中创建/编辑项目。
  • 在进行更改之前,请阅读仓库根目录下的 AGENTS.md;如果存在 ~/apps/<应用名称>/AGENTS.md,也请一并阅读。
  • 目前,始终推送到 main 分支。
  • 每个应用必须:
1) 推送到 GitHub 2) 部署到 Vercel

工作流程:创建新应用

  1. 1. 选择应用文件夹名称
- 确保 ~/apps 目录存在。 - 项目最终将位于 ~/apps/<应用名称>。
  1. 2. 创建 Instant appId 和 token
- 运行: - npx instant-cli init-without-files - 记录返回的 appId 和 token。
  1. 3. 生成 Next.js 应用
- 在 ~/apps 目录内运行(因为该命令会创建项目文件夹): - cd ~/apps - npx create-instant-app <应用名称> --next --codex --app --token
  1. 4. 初始化 git 和 GitHub 仓库(如需要)
- 在 ~/apps/<应用名称> 目录中: - git init(如果尚未初始化) - git add -A && git commit -m Init(如需要) - gh repo create <仓库名称> --private --source . --remote origin --push - 如果用户要求,可使用 --public。
  1. 5. Vercel:创建/关联项目并部署
- 在 ~/apps/<应用名称> 目录中: - vercel link(或根据提示使用 vercel project add / vercel) - vercel --prod
  1. 6. 实现所需更改
- 在应用目录内使用编码代理(Codex CLI 或类似工具)进行更改。 - 优先进行小型、可审查的提交。
  1. 7. 提交并推送(main 分支)
- git add -A - git commit -m <清晰的信息> - git push -u origin main
  1. 8. 部署更新
- vercel --prod

工作流程:编辑现有应用

  1. 1. cd ~/apps/<应用名称>
  2. 阅读相关的 AGENTS.md。
  3. 拉取最新代码:
- git checkout main && git pull
  1. 4. 通过编码代理/常规编辑进行更改。
  2. 适当进行测试/构建。
  3. 提交并推送到 main 分支。
  4. 部署到 Vercel(vercel --prod)。

环境变量(.env)

当你首次推送到 Vercel 时,它可能没有环境变量。请使用 CLI 将本地 .env 文件中已有的环境变量推送过去。

注意事项/防护措施

  • - 如果 create-instant-app 已经创建了仓库和远程仓库,请勿重复创建——只需确保 origin 存在且 main 分支已推送即可。
  • 如果 Vercel 已经关联,请勿重新关联——只需部署即可。

沟通

当你开始使用此技能时,请发送一条消息:好的,准备使用我的应用构建技能。

然后在进展过程中定期发送更新。构建应用需要一些时间。让用户感到有趣。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 app-builder-1776369056 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 app-builder-1776369056 技能

通过命令行安装

skillhub install app-builder-1776369056

下载

⬇ 下载 app-builder v1.0.0(免费)

文件大小: 2.01 KB | 发布时间: 2026-4-17 16:27

v1.0.0 最新 2026-4-17 16:27
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.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部