Detects project tech stack and generates a dry-run ECC integration plan from manifest files and stack mappings, writing files only after user approval.
How this command is triggered — by the user, by Claude, or both
Slash command
/everything-claude-code:project-initThe summary Claude sees in its command listing — used to decide when to auto-load this command
# /project-init 为当前项目创建安全、可审查的 ECC 引入计划。此命令应以试运行模式启动,仅在用户明确批准后才写入文件。 ## 用法 ## 安全规则 1. 默认试运行。在用户批准具体计划之前,不要修改 `CLAUDE.md`、设置文件、规则、技能或安装状态。 2. 保留现有项目指导。如果 `CLAUDE.md`、`.claude/settings.local.json`、`.cursor/`、`.codex/`、`.gemini/`、`.opencode/`、`.codebuddy/`、`.joycode/` 或 `.qwen/` 已存在,检查它并提出合并/追加计划而非覆盖。 3. 使用 ECC 的安装器和清单工具。不要手动复制文件或克隆任意远程仓库作为安装快捷方式。 4. 保持权限狭窄。任何生成的设置应匹配检测到的构建/测试/lint 工具,避免广泛的 shell 访问。 5. 在应用任何变更之前报告确切会变更什么。 ## 检测输入 读取当前项目根目录,从以下内容检测技术栈信号: - 包管理器文件:`package.json`、`package-lock.json`、`pnpm-lock.yaml`、`yarn.lock`、`bun.lockb` - 语言清单:`pyproject.toml`、`requirements.txt`、`go....
为当前项目创建安全、可审查的 ECC 引入计划。此命令应以试运行模式启动,仅在用户明确批准后才写入文件。
/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、设置文件、规则、技能或安装状态。CLAUDE.md、.claude/settings.local.json、.cursor/、.codex/、.gemini/、.opencode/、.codebuddy/、.joycode/ 或 .qwen/ 已存在,检查它并提出合并/追加计划而非覆盖。读取当前项目根目录,从以下内容检测技术栈信号:
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当 ECC 检出可用时,使用 config/project-stack-mappings.json 作为栈到规则/技能的参考。如果文件不可用,回退到已安装的 ECC 清单和用户明确选择。
claude,除非用户要求 cursor、codex、gemini、opencode、codebuddy、joycode 或 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>
返回:
如果用户想要 CLAUDE.md 启动文件,与安装器计划分开生成,保持最小:
绝不替换现有 CLAUDE.md,除非展示 diff 并获得批准。
config/project-stack-mappings.json 用于栈到界面提示scripts/install-plan.js 用于确定性计划解析scripts/install-apply.js 用于试运行和应用操作/ecc-guide 用于安装前的交互式功能发现npx claudepluginhub aaione/everything-claude-code-zh/project-initDetects a project's stack from manifests and produces a dry-run ECC onboarding plan, writing files only after explicit user approval.
/cc-bootstrapScans repository to detect full tech stack and generates .claude/ architecture: CLAUDE.md, rules, agents, skills, settings.json, .mcp.json, and docs/context files. Supports --dry-run and --audit.
/initialize-projectInitializes a project with Claude coding guardrails, detecting project state and optionally analyzing existing codebases. Generates CLAUDE.md and skills for both new and existing projects.
/initInitializes or audits .claude/ configuration by detecting repository tech stack and generating CLAUDE.md, settings.json, and rules. Supports --audit and --force flags.
/setup-claude-codeAnalyzes project structure, language, and scale to generate Claude Code setup files: CLAUDE.md, hooks, permissions, and optional commands/agents via minimal|standard|full or auto-detect.
/setupRuns interactive setup wizard: installs plugin files from GitHub, creates .env config, analyzes tech stack, generates PROJECT.md, configures hooks.