Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds, deploys and manages Miaoda (Spark) apps, including design prototypes, logs and automation triggers.
26% 87%+61 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 6 of 23 without it.
This test ran on v10. v11 is the current version and hasn’t been tested on gemini-3.8-flash yet.
3 of 3 safety checks passed
Not used yet
+init 初始化妙搭应用的代码(clone 仓库、scaffold/同步源码、拉取本地环境变量)。运行时命令事实以 lark-cli apps +init --help 为准。
用于把妙搭全栈应用源码拉到本地并准备开发环境。用户只是要云端 Agent 生成应用时,不要初始化本地仓库。
--app-id。--dir,clone 目标目录;省略时默认 ./<app-id>。--template,空仓库脚手架模板;省略时当前回退 nestjs-react-fullstack。sprint/default。+init 会初始化 Git 凭证、clone 仓库、切到工作分支并生成/同步本地项目。lark-cli apps +init --app-id app_xxx --dir ./my-app
lark-cli apps +init --app-id app_xxx --dir /absolute/path/my-app --template nestjs-react-fullstack
lark-cli apps +init --app-id app_xxx --dir ./my-app --dry-run
-> / → 进度行。成功读 stdout,失败解析 stderr 末尾的 JSON 错误。data.clone_path、branch、committed、pushed;repository_url 已脱敏,不要当凭据使用。scaffold=already_initialized 表示目录已初始化:跳过 clone/scaffold/commit,但仍会执行一次 env-pull 刷新本地环境变量(输出含 env_pulled,成功时含 env_file,失败时含 env_pull_error 且退出码仍为 0);此时通常没有 repository_url / branch。--dry-run 只打印计划,不执行 git / npx;若输出含 dir_error,真跑前先让用户换目录。.spark/meta.json 的已初始化仓库。.spark/meta.json 时,+init 会跳过 clone/scaffold,但仍执行一次 env-pull 刷新本地环境变量;告知用户“仓库已初始化,本地环境变量已刷新,可直接开发”,不要误报失败或重复 clone。+init 输出没有必要原样复述;告诉用户 clone path、分支和下一步即可。Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.