# 深度透视档案：affaan-m/ECC

> **分类**：Agent Harness & 运行时 | **总 Star 数**：316,933 ★ | **增长动能**：+539.0★/天（快照折算） | **破局指数**：89.8/100

---

## 📌 一句话定位
**全能型 Agent Harness 性能调优框架，统一跨 Claude Code、Codex、Cursor、Gemini 的技能、本能记忆与安全护栏。**

## 🚀 为什么突然爆火 (Breakout Catalyst)
解决了各家 AI 编程工具（Claude Code、Codex、Cursor、Zed 等）配置文件碎片化的致命痛点。一套 ECC 规范自动适配 7+ 运行时，且内置本能记忆（Instincts）与安全扫描器（AgentShield），深受重度 AI 全栈开发者追捧。

## 🏗️ 架构与生态特性
| 维度 | 特征与配置 |
| :--- | :--- |
| **架构类型** | `Cross-Harness Universal Orchestrator` |
| **支持运行时** | Agents Standard (.agents), Antigravity / Gemini, Claude Code, Codex, Cursor, WorkBuddy / CodeBuddy |
| **内置技能 (Skills)** | agent-introspection-debugging, agent-sort, api-design, article-writing, backend-patterns, benchmark-methodology, brand-discovery, brand-voice, bun-runtime, change-impact, coding-standards, competitive-platform-analysis, competitive-report-structure, content-engine, context-and-decisions |
| **行为规则 (Rules)** | AGENTS.md, CLAUDE.md, SOUL.md, rules/README.md, rules/angular, rules/angular/coding-style.md, rules/angular/hooks.md, rules/angular/patterns.md, rules/angular/security.md, rules/angular/testing.md |
| **主要技术栈** | JavaScript, Python, Rust, TypeScript/Node.js |
| **开源协议** | MIT / 开源 |
| **项目主页** | [affaan-m/ECC](https://github.com/affaan-m/ECC) |

## ⚖️ 核心优势与权衡分析
### 核心优势 (Core Strengths)
- **优势 1**：统一架构：一套技能体系抹平 Claude Code、Cursor、Gemini CLI 等端差异
- **优势 2**：自适应本能机制：基于执行反馈自动提炼工作流模式
- **优势 3**：企业级安全门禁：内置 AgentShield 拦截敏感凭证泄露与破坏性操作

### 潜在局限与权衡 (Trade-offs)
- **局限 1**：功能庞大，初学者配置需要熟悉其目录规范
- **局限 2**：部分高级协同能力依赖生态插件支持

### 横向竞品对比 (Competitive Landscape)
相比单端配置（如单一 .cursorrules 或 CLAUDE.md），ECC 提供了工业级的一站式 Harness 抽象，更适合跨端团队协作与复杂项目交付。

## 🎛️ 推荐调优参数与规则配置 (Tuning & Rules)
### 关键参数建议
- `插件集成模式：推荐以 plugin 方式轻量挂载，避免双重安装`
- `规则置信度阈值：建议开启 security_guardrail 严格拦截`

### 调优实战技巧
- 💡 善用其提供的 hooks 机制，在 Agent 执行前/后插入格式化与安全检查
- 💡 定期审查 .adal 与本能记忆日志，剔除过期的局部先验

## 📖 核心代码/指令预览
```markdown
# ECC — Agent Instructions

This is a **production-ready AI coding plugin** providing 72 specialized agents, 328 skills, 99 commands, and automated hook workflows for software development.

**Version:** 2.2.3

## Core Principles

1. **Agent-First** — Delegate to specialized agents for domain tasks
2. **Test-Driven** — Write tests before implementation, 80%+ coverage required
3. **Security-First** — Never compromise on security; validate all inputs
4. **Immutability** — Always create new objects, never mutate existing ones
5. **Plan Before Execute** — Plan complex features before writing code

## Available Agents

| Agent | Purpose | When to Use |
|-------|---------|-------------|
| planner | Implementation planning | Complex features, refactoring |
| architect | System design and scalability | Architectural decisions |
| tdd-guide | Test-driven development | New features, bug fixes |
| code-reviewer | Code quality and maintainability | After writing/modifying code |
| bengali-reviewer | Bengali text review | Unicode, normalization, grapheme, search, and locale correctness |
| security-reviewer | Vulnerability detection | Before commits, sensitive code |
| spec-miner | Brownfield sp
```

---
*档案归档于 GitHub Trend Seeker 实体流情报中枢*
