Detect a project's stack and produce a dry-run ECC onboarding plan using the repository's install manifests and stack mappings.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-ecc-1310e6cddd20 ,按照其中的说明把「project-init」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Create a safe, reviewable ECC onboarding plan for the current project. This command should start in dry-run mode and only write files after explicit user approval.
/project-init
/project-init --dry-run
/project-init --target claude
/project-init --target cursor
/project-init --skills continuous-learning-v2,security-review
/project-init --config ecc-install.json
CLAUDE.md, settings files, rules, skills, or install state until the user approves the concrete plan.CLAUDE.md, .claude/settings.local.json, .cursor/, .codex/, .gemini/, .opencode/, .codebuddy/, .joycode/, or .qwen/ already exists, inspect it and propose a merge/append plan instead of overwriting.Read the current project root and detect stack signals from:
package.json, package-lock.json, pnpm-lock.yaml, yarn.lock, bun.lockbpyproject.toml, requirements.txt, go.mod, Cargo.toml, pom.xml, build.gradle, build.gradle.ktsnext.config.*, vite.config.*, tailwind.config.*, Dockerfile, docker-compose.ymlecc-install.jsonconfig/project-stack-mappings.json in the ECC repoWhen the ECC checkout is available, use config/project-stack-mappings.json as the stack-to-rules/skills reference. If the file is unavailable, fall back to the installed ECC manifests and explicit user choices.
claude unless the user asks for cursor, codex, gemini, opencode, codebuddy, joycode, or qwen.ecc-install.json: node scripts/install-plan.js --config ecc-install.json --jsonnode scripts/install-plan.js --profile <profile> --target <target> --jsonnode scripts/install-plan.js --skills <skill-ids> --target <target> --jsonnode scripts/install-apply.js --target <target> --dry-run --json <language-or-profile-args>
Return:
If the user wants a CLAUDE.md starter, generate it separately from the installer plan and keep it minimal:
Never replace an existing CLAUDE.md without showing a diff and receiving approval.
config/project-stack-mappings.json for stack-to-surface hintsscripts/install-plan.js for deterministic plan resolutionscripts/install-apply.js for dry-run and apply operations/ecc-guide for interactive feature discovery before installing