configure-ecc by affaan-m/everything-claude-code
npx skills add https://github.com/affaan-m/everything-claude-code --skill configure-ecc一个交互式、分步安装向导,用于 Everything Claude Code 项目。使用 AskUserQuestion 引导用户选择性安装技能和规则,然后验证正确性并提供优化建议。
此技能必须在激活前对 Claude Code 可访问。有两种引导方式:
/plugin install everything-claude-code — 插件会自动加载此技能~/.claude/skills/configure-ecc/SKILL.md,然后通过说"configure ecc"激活在任何安装之前,将最新的 ECC 源代码克隆到 /tmp:
rm -rf /tmp/everything-claude-code
git clone https://github.com/affaan-m/everything-claude-code.git /tmp/everything-claude-code
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
设置 ECC_ROOT=/tmp/everything-claude-code 作为后续所有复制操作的源。
如果克隆失败(网络问题等),使用 AskUserQuestion 要求用户提供现有 ECC 克隆的本地路径。
使用 AskUserQuestion 询问用户安装位置:
Question: "ECC 组件应安装在哪里?"
Options:
- "用户级别 (~/.claude/)" — "适用于您所有的 Claude Code 项目"
- "项目级别 (.claude/)" — "仅适用于当前项目"
- "两者" — "通用/共享项安装到用户级别,项目特定项安装到项目级别"
将选择存储为 INSTALL_LEVEL。设置目标目录:
TARGET=~/.claudeTARGET=.claude (相对于当前项目根目录)TARGET_USER=~/.claude, TARGET_PROJECT=.claude如果目标目录不存在,则创建它们:
mkdir -p $TARGET/skills $TARGET/rules
默认选择 核心(推荐新用户使用) — 复制 .agents/skills/* 加上 skills/search-first/ 用于研究优先的工作流。此捆绑包涵盖工程、评估、验证、安全、战略压缩、前端设计以及 Anthropic 跨职能技能(文章写作、内容引擎、市场研究、前端幻灯片)。
使用 AskUserQuestion (单选):
Question: "仅安装核心技能,还是包含小众/框架包?"
Options:
- "仅核心(推荐)" — "tdd, e2e, evals, verification, research-first, security, frontend patterns, compacting, cross-functional Anthropic skills"
- "核心 + 选定的小众" — "在核心之后添加框架/领域特定技能"
- "仅小众" — "跳过核心,安装特定的框架/领域技能"
Default: Core only
如果用户选择小众或核心+小众,则继续下面的类别选择,并且只包含他们选择的小众技能。
共有 27 项技能,分为 4 个类别。使用 AskUserQuestion 并设置 multiSelect: true:
Question: "您想安装哪些技能类别?"
Options:
- "框架与语言" — "Django, Spring Boot, Go, Python, Java, Frontend, Backend patterns"
- "数据库" — "PostgreSQL, ClickHouse, JPA/Hibernate patterns"
- "工作流与质量" — "TDD, verification, learning, security review, compaction"
- "所有技能" — "安装所有可用技能"
对于每个选定的类别,打印下面的完整技能列表,并要求用户确认或取消选择特定项。如果列表超过 4 项,则以文本形式打印列表,并使用 AskUserQuestion 提供"安装所有列出项"选项以及"其他"选项供用户粘贴特定名称。
类别:框架与语言 (17 项技能)
| 技能 | 描述 |
|---|---|
backend-patterns | 后端架构、API 设计、Node.js/Express/Next.js 的服务器端最佳实践 |
coding-standards | TypeScript、JavaScript、React、Node.js 的通用编码标准 |
django-patterns | Django 架构、使用 DRF 的 REST API、ORM、缓存、信号、中间件 |
django-security | Django 安全:身份验证、CSRF、SQL 注入、XSS 防护 |
django-tdd | 使用 pytest-django、factory_boy、模拟、覆盖率的 Django 测试 |
django-verification | Django 验证循环:迁移、代码检查、测试、安全扫描 |
frontend-patterns | React、Next.js、状态管理、性能、UI 模式 |
frontend-slides | 零依赖的 HTML 演示文稿、样式预览以及 PPTX 到网页的转换 |
golang-patterns | 地道的 Go 模式、稳健 Go 应用程序的约定 |
golang-testing | Go 测试:表驱动测试、子测试、基准测试、模糊测试 |
java-coding-standards | Spring Boot 的 Java 编码标准:命名、不可变性、Optional、流 |
python-patterns | Pythonic 惯用法、PEP 8、类型提示、最佳实践 |
python-testing | 使用 pytest、TDD、夹具、模拟、参数化的 Python 测试 |
springboot-patterns | Spring Boot 架构、REST API、分层服务、缓存、异步 |
springboot-security | Spring Security:身份验证/授权、验证、CSRF、密钥、速率限制 |
springboot-tdd | 使用 JUnit 5、Mockito、MockMvc、Testcontainers 的 Spring Boot TDD |
springboot-verification | Spring Boot 验证:构建、静态分析、测试、安全扫描 |
类别:数据库 (3 项技能)
| 技能 | 描述 |
|---|---|
clickhouse-io | ClickHouse 模式、查询优化、分析、数据工程 |
jpa-patterns | JPA/Hibernate 实体设计、关系、查询优化、事务 |
postgres-patterns | PostgreSQL 查询优化、模式设计、索引、安全 |
类别:工作流与质量 (8 项技能)
| 技能 | 描述 |
|---|---|
continuous-learning | 自动从会话中提取可重用模式作为学习到的技能 |
continuous-learning-v2 | 基于本能的学习,带有置信度评分,演变为技能/命令/代理 |
eval-harness | 用于评估驱动开发 (EDD) 的正式评估框架 |
iterative-retrieval | 用于子代理上下文问题的渐进式上下文细化 |
security-review | 安全检查清单:身份验证、输入、密钥、API、支付功能 |
strategic-compact | 在逻辑间隔处建议手动上下文压缩 |
tdd-workflow | 通过 80%+ 覆盖率强制执行 TDD:单元、集成、E2E |
verification-loop | 验证和质量循环模式 |
类别:业务与内容 (5 项技能)
| 技能 | 描述 |
|---|---|
article-writing | 使用笔记、示例或源文档以指定风格进行长篇写作 |
content-engine | 多平台社交媒体内容、脚本和再利用工作流 |
market-research | 带有来源归属的市场、竞争对手、基金和技术研究 |
investor-materials | 推介演示文稿、一页纸、投资者备忘录和财务模型 |
investor-outreach | 个性化的投资者冷邮件、熟人介绍和后续跟进 |
独立项
| 技能 | 描述 |
|---|---|
project-guidelines-example | 用于创建项目特定技能的模板 |
对于每个选定的技能,复制整个技能目录:
cp -r $ECC_ROOT/skills/<skill-name> $TARGET/skills/
注意:continuous-learning 和 continuous-learning-v2 有额外文件(config.json、hooks、scripts)— 确保复制整个目录,而不仅仅是 SKILL.md。
使用 AskUserQuestion 并设置 multiSelect: true:
Question: "您想安装哪些规则集?"
Options:
- "通用规则(推荐)" — "语言无关原则:编码风格、git 工作流、测试、安全等 (8 个文件)"
- "TypeScript/JavaScript" — "TS/JS 模式、钩子、使用 Playwright 测试 (5 个文件)"
- "Python" — "Python 模式、pytest、black/ruff 格式化 (5 个文件)"
- "Go" — "Go 模式、表驱动测试、gofmt/staticcheck (5 个文件)"
执行安装:
# 通用规则(扁平复制到 rules/)
cp -r $ECC_ROOT/rules/common/* $TARGET/rules/
# 语言特定规则(扁平复制到 rules/)
cp -r $ECC_ROOT/rules/typescript/* $TARGET/rules/ # 如果选中
cp -r $ECC_ROOT/rules/python/* $TARGET/rules/ # 如果选中
cp -r $ECC_ROOT/rules/golang/* $TARGET/rules/ # 如果选中
重要:如果用户选择了任何语言特定规则但没有选择通用规则,则警告他们:
"语言特定规则扩展了通用规则。在没有通用规则的情况下安装可能导致覆盖不完整。是否也安装通用规则?"
安装后,执行以下自动检查:
列出所有已安装的文件,并确认它们存在于目标位置:
ls -la $TARGET/skills/
ls -la $TARGET/rules/
扫描所有已安装的 .md 文件中的路径引用:
grep -rn "~/.claude/" $TARGET/skills/ $TARGET/rules/
grep -rn "../common/" $TARGET/rules/
grep -rn "skills/" $TARGET/skills/
对于项目级别安装,标记任何对 ~/.claude/ 路径的引用:
~/.claude/settings.json — 这通常没问题(设置始终是用户级别的)~/.claude/skills/ 或 ~/.claude/rules/ — 如果仅安装在项目级别,这可能损坏某些技能会引用其他技能。验证这些依赖关系:
django-tdd 可能引用 django-patternsspringboot-tdd 可能引用 springboot-patternscontinuous-learning-v2 引用 ~/.claude/homunculus/ 目录python-testing 可能引用 python-patternsgolang-testing 可能引用 golang-patternscommon/ 对应项对于发现的每个问题,报告:
使用 AskUserQuestion:
Question: "您想为您的项目优化已安装的文件吗?"
Options:
- "优化技能" — "移除无关部分,调整路径,适配您的技术栈"
- "优化规则" — "调整覆盖率目标,添加项目特定模式,自定义工具配置"
- "两者都优化" — "全面优化所有已安装文件"
- "跳过" — "保持原样"
关键:仅修改安装目标 ($TARGET/) 中的文件,绝不修改源 ECC 仓库 ($ECC_ROOT/) 中的文件。
清理 /tmp 中克隆的仓库:
rm -rf /tmp/everything-claude-code
然后打印摘要报告:
## ECC 安装完成
### 安装目标
- 级别: [用户级别 / 项目级别 / 两者]
- 路径: [目标路径]
### 已安装技能 ([数量])
- skill-1, skill-2, skill-3, ...
### 已安装规则 ([数量])
- common (8 个文件)
- typescript (5 个文件)
- ...
### 验证结果
- 发现 [数量] 个问题,已修复 [数量] 个
- [列出任何剩余问题]
### 应用的优化
- [列出所做的更改,或"无"]
SKILL.md 文件(不仅仅是松散的 .md 文件)~/.claude/skills/<skill-name>/SKILL.md 是否存在.claude/skills/<skill-name>/SKILL.md 是否存在$TARGET/rules/coding-style.md (正确) 对比 $TARGET/rules/common/coding-style.md (扁平安装错误)~/.claude/ 路径。运行步骤 4 验证以查找并修复这些问题。continuous-learning-v2,~/.claude/homunculus/ 目录始终是用户级别的 — 这是预期的,不是错误。每周安装次数
684
仓库
GitHub 星标数
72.1K
首次出现
Feb 5, 2026
安全审计
安装于
codex584
opencode582
gemini-cli563
github-copilot536
claude-code509
cursor506
An interactive, step-by-step installation wizard for the Everything Claude Code project. Uses AskUserQuestion to guide users through selective installation of skills and rules, then verifies correctness and offers optimization.
This skill must be accessible to Claude Code before activation. Two ways to bootstrap:
/plugin install everything-claude-code — the plugin loads this skill automatically~/.claude/skills/configure-ecc/SKILL.md, then activate by saying "configure ecc"Before any installation, clone the latest ECC source to /tmp:
rm -rf /tmp/everything-claude-code
git clone https://github.com/affaan-m/everything-claude-code.git /tmp/everything-claude-code
Set ECC_ROOT=/tmp/everything-claude-code as the source for all subsequent copy operations.
If the clone fails (network issues, etc.), use AskUserQuestion to ask the user to provide a local path to an existing ECC clone.
Use AskUserQuestion to ask the user where to install:
Question: "Where should ECC components be installed?"
Options:
- "User-level (~/.claude/)" — "Applies to all your Claude Code projects"
- "Project-level (.claude/)" — "Applies only to the current project"
- "Both" — "Common/shared items user-level, project-specific items project-level"
Store the choice as INSTALL_LEVEL. Set the target directory:
TARGET=~/.claudeTARGET=.claude (relative to current project root)TARGET_USER=~/.claude, TARGET_PROJECT=.claudeCreate the target directories if they don't exist:
mkdir -p $TARGET/skills $TARGET/rules
Default to Core (recommended for new users) — copy .agents/skills/* plus skills/search-first/ for research-first workflows. This bundle covers engineering, evals, verification, security, strategic compaction, frontend design, and Anthropic cross-functional skills (article-writing, content-engine, market-research, frontend-slides).
Use AskUserQuestion (single select):
Question: "Install core skills only, or include niche/framework packs?"
Options:
- "Core only (recommended)" — "tdd, e2e, evals, verification, research-first, security, frontend patterns, compacting, cross-functional Anthropic skills"
- "Core + selected niche" — "Add framework/domain-specific skills after core"
- "Niche only" — "Skip core, install specific framework/domain skills"
Default: Core only
If the user chooses niche or core + niche, continue to category selection below and only include those niche skills they pick.
There are 27 skills organized into 4 categories. Use AskUserQuestion with multiSelect: true:
Question: "Which skill categories do you want to install?"
Options:
- "Framework & Language" — "Django, Spring Boot, Go, Python, Java, Frontend, Backend patterns"
- "Database" — "PostgreSQL, ClickHouse, JPA/Hibernate patterns"
- "Workflow & Quality" — "TDD, verification, learning, security review, compaction"
- "All skills" — "Install every available skill"
For each selected category, print the full list of skills below and ask the user to confirm or deselect specific ones. If the list exceeds 4 items, print the list as text and use AskUserQuestion with an "Install all listed" option plus "Other" for the user to paste specific names.
Category: Framework & Language (17 skills)
| Skill | Description |
|---|---|
backend-patterns | Backend architecture, API design, server-side best practices for Node.js/Express/Next.js |
coding-standards | Universal coding standards for TypeScript, JavaScript, React, Node.js |
django-patterns | Django architecture, REST API with DRF, ORM, caching, signals, middleware |
django-security | Django security: auth, CSRF, SQL injection, XSS prevention |
django-tdd | Django testing with pytest-django, factory_boy, mocking, coverage |
django-verification |
Category: Database (3 skills)
| Skill | Description |
|---|---|
clickhouse-io | ClickHouse patterns, query optimization, analytics, data engineering |
jpa-patterns | JPA/Hibernate entity design, relationships, query optimization, transactions |
postgres-patterns | PostgreSQL query optimization, schema design, indexing, security |
Category: Workflow & Quality (8 skills)
| Skill | Description |
|---|---|
continuous-learning | Auto-extract reusable patterns from sessions as learned skills |
continuous-learning-v2 | Instinct-based learning with confidence scoring, evolves into skills/commands/agents |
eval-harness | Formal evaluation framework for eval-driven development (EDD) |
iterative-retrieval | Progressive context refinement for subagent context problem |
security-review | Security checklist: auth, input, secrets, API, payment features |
strategic-compact |
Category: Business & Content (5 skills)
| Skill | Description |
|---|---|
article-writing | Long-form writing in a supplied voice using notes, examples, or source docs |
content-engine | Multi-platform social content, scripts, and repurposing workflows |
market-research | Source-attributed market, competitor, fund, and technology research |
investor-materials | Pitch decks, one-pagers, investor memos, and financial models |
investor-outreach | Personalized investor cold emails, warm intros, and follow-ups |
Standalone
| Skill | Description |
|---|---|
project-guidelines-example | Template for creating project-specific skills |
For each selected skill, copy the entire skill directory:
cp -r $ECC_ROOT/skills/<skill-name> $TARGET/skills/
Note: continuous-learning and continuous-learning-v2 have extra files (config.json, hooks, scripts) — ensure the entire directory is copied, not just SKILL.md.
Use AskUserQuestion with multiSelect: true:
Question: "Which rule sets do you want to install?"
Options:
- "Common rules (Recommended)" — "Language-agnostic principles: coding style, git workflow, testing, security, etc. (8 files)"
- "TypeScript/JavaScript" — "TS/JS patterns, hooks, testing with Playwright (5 files)"
- "Python" — "Python patterns, pytest, black/ruff formatting (5 files)"
- "Go" — "Go patterns, table-driven tests, gofmt/staticcheck (5 files)"
Execute installation:
# Common rules (flat copy into rules/)
cp -r $ECC_ROOT/rules/common/* $TARGET/rules/
# Language-specific rules (flat copy into rules/)
cp -r $ECC_ROOT/rules/typescript/* $TARGET/rules/ # if selected
cp -r $ECC_ROOT/rules/python/* $TARGET/rules/ # if selected
cp -r $ECC_ROOT/rules/golang/* $TARGET/rules/ # if selected
Important : If the user selects any language-specific rules but NOT common rules, warn them:
"Language-specific rules extend the common rules. Installing without common rules may result in incomplete coverage. Install common rules too?"
After installation, perform these automated checks:
List all installed files and confirm they exist at the target location:
ls -la $TARGET/skills/
ls -la $TARGET/rules/
Scan all installed .md files for path references:
grep -rn "~/.claude/" $TARGET/skills/ $TARGET/rules/
grep -rn "../common/" $TARGET/rules/
grep -rn "skills/" $TARGET/skills/
For project-level installs , flag any references to ~/.claude/ paths:
~/.claude/settings.json — this is usually fine (settings are always user-level)~/.claude/skills/ or ~/.claude/rules/ — this may be broken if installed only at project levelSome skills reference others. Verify these dependencies:
django-tdd may reference django-patternsspringboot-tdd may reference springboot-patternscontinuous-learning-v2 references ~/.claude/homunculus/ directorypython-testing may reference python-patternsgolang-testing may reference golang-patternsFor each issue found, report:
Use AskUserQuestion:
Question: "Would you like to optimize the installed files for your project?"
Options:
- "Optimize skills" — "Remove irrelevant sections, adjust paths, tailor to your tech stack"
- "Optimize rules" — "Adjust coverage targets, add project-specific patterns, customize tool configs"
- "Optimize both" — "Full optimization of all installed files"
- "Skip" — "Keep everything as-is"
Critical : Only modify files in the installation target ($TARGET/), NEVER modify files in the source ECC repository ($ECC_ROOT/).
Clean up the cloned repository from /tmp:
rm -rf /tmp/everything-claude-code
Then print a summary report:
## ECC Installation Complete
### Installation Target
- Level: [user-level / project-level / both]
- Path: [target path]
### Skills Installed ([count])
- skill-1, skill-2, skill-3, ...
### Rules Installed ([count])
- common (8 files)
- typescript (5 files)
- ...
### Verification Results
- [count] issues found, [count] fixed
- [list any remaining issues]
### Optimizations Applied
- [list changes made, or "None"]
SKILL.md file (not just loose .md files)~/.claude/skills/<skill-name>/SKILL.md exists.claude/skills/<skill-name>/SKILL.md exists$TARGET/rules/coding-style.md (correct) vs $TARGET/rules/common/coding-style.md (incorrect for flat install)~/.claude/ paths. Run Step 4 verification to find and fix these.continuous-learning-v2, the ~/.claude/homunculus/ directory is always user-level — this is expected and not an error.Weekly Installs
684
Repository
GitHub Stars
72.1K
First Seen
Feb 5, 2026
Security Audits
Gen Agent Trust HubPassSocketFailSnykWarn
Installed on
codex584
opencode582
gemini-cli563
github-copilot536
claude-code509
cursor506
99,500 周安装
| Django verification loop: migrations, linting, tests, security scans |
frontend-patterns | React, Next.js, state management, performance, UI patterns |
frontend-slides | Zero-dependency HTML presentations, style previews, and PPTX-to-web conversion |
golang-patterns | Idiomatic Go patterns, conventions for robust Go applications |
golang-testing | Go testing: table-driven tests, subtests, benchmarks, fuzzing |
java-coding-standards | Java coding standards for Spring Boot: naming, immutability, Optional, streams |
python-patterns | Pythonic idioms, PEP 8, type hints, best practices |
python-testing | Python testing with pytest, TDD, fixtures, mocking, parametrization |
springboot-patterns | Spring Boot architecture, REST API, layered services, caching, async |
springboot-security | Spring Security: authn/authz, validation, CSRF, secrets, rate limiting |
springboot-tdd | Spring Boot TDD with JUnit 5, Mockito, MockMvc, Testcontainers |
springboot-verification | Spring Boot verification: build, static analysis, tests, security scans |
| Suggests manual context compaction at logical intervals |
tdd-workflow | Enforces TDD with 80%+ coverage: unit, integration, E2E |
verification-loop | Verification and quality loop patterns |
common/