ecc-system

Everything Claude Code (ECC) system integration - 30 agents, 77 rules, 12 languages, 4 iron laws, TDD workflow, verification gates

3,891 stars

Best use case

ecc-system is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Everything Claude Code (ECC) system integration - 30 agents, 77 rules, 12 languages, 4 iron laws, TDD workflow, verification gates

Teams using ecc-system should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/eccsystem/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/18816478335q-pixel/eccsystem/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/eccsystem/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ecc-system Compares

Feature / Agentecc-systemStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Everything Claude Code (ECC) system integration - 30 agents, 77 rules, 12 languages, 4 iron laws, TDD workflow, verification gates

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# ECC System - OpenClaw Skill

**Version**: 1.0.0  
**Source**: everything-claude-code (obra/ecc)  
**Integration Date**: 2026-04-03  

---

## 🎯 When to Activate

- Starting any new project or task
- Writing or reviewing code
- Debugging issues
- Planning complex features
- Multi-language projects
- TDD workflow required
- Security-sensitive code
- Before any commit or completion claim

---

## 🏆 4 Iron Laws (Mandatory)

### 1. TDD Iron Law
```
NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST
没有失败的测试,绝不写生产代码
```

**Workflow**:
1. Write test first (RED)
2. Run test → should FAIL
3. Write minimal implementation (GREEN)
4. Run test → should PASS
5. Refactor (IMPROVE)
6. Verify coverage (80%+)

### 2. Verification Iron Law
```
NO COMPLETION CLAIMS WITHOUT FRESH VERIFICATION EVIDENCE
没有新的验证证据,绝不声明完成
```

**Required Evidence**:
- Test results (passing)
- Coverage report (80%+)
- Security scan (clean)
- Code review (approved)

### 3. Debugging Iron Law
```
NO FIXES WITHOUT ROOT CAUSE INVESTIGATION FIRST
没有根本原因调查,绝不修复
```

**Investigation Steps**:
1. Reproduce the issue
2. Gather logs and context
3. Identify root cause (5 Whys)
4. Propose fix
5. Test fix
6. Verify no regression

### 4. Code Review Marking
```
🔴 Blocker - Must fix before merge
🟡 Suggestion - Recommended improvement
💭 Nit - Optional polish
```

**Review Checklist**:
- [ ] No hardcoded secrets
- [ ] All inputs validated
- [ ] SQL injection prevention
- [ ] XSS prevention
- [ ] CSRF protection
- [ ] Auth/authorization verified
- [ ] Rate limiting enabled
- [ ] Error messages safe

---

## 📋 Core Principles (6 Mandatory)

### 1. Immutability (CRITICAL)
```
ALWAYS create new objects, NEVER mutate existing ones

WRONG:  modify(original, field, value) → changes in-place
CORRECT: update(original, field, value) → returns new copy
```

### 2. 80% Test Coverage
```
Minimum 80% coverage required for all code

Test Types (ALL required):
1. Unit tests - individual functions/components
2. Integration tests - API endpoints/database operations
3. E2E tests - critical user flows
```

### 3. Security First
```
Before ANY commit, verify:
- No hardcoded secrets (API keys, passwords, tokens)
- All user inputs validated
- SQL injection prevention (parameterized queries)
- XSS prevention (sanitized HTML)
- CSRF protection enabled
- Authentication/authorization verified
- Rate limiting on all endpoints
- Error messages don't leak sensitive data
```

### 4. TDD Workflow
```
RED → GREEN → REFACTOR → VERIFY

1. Write failing test
2. Write minimal implementation
3. Refactor for quality
4. Verify coverage and security
```

### 5. File Organization
```
MANY SMALL FILES > FEW LARGE FILES

- High cohesion, low coupling
- 200-400 lines typical, 800 max
- Extract utilities from large modules
- Organize by feature/domain, not by type
```

### 6. Agent Orchestration
```
Parallel execution, multi-perspective review

- Launch independent agents in parallel
- Use multiple agents for different perspectives
- Aggregate results for comprehensive analysis
```

---

## 🛠️ Tools & Scripts

### Language Detector
```bash
python tools/language-detector.py --project .
python tools/language-detector.py --file file.ts
```

### Language Switcher
```bash
python tools/language-switcher.py --list
python tools/language-switcher.py --set python
python tools/language-switcher.py --current
```

### Hooks Adapter
```python
# ecc-hooks-adapter.py
# PreToolUse/PostToolUse automation
# Automatically logs tool calls and analyzes results
```

### Observer Manager
```python
# ecc-observer-manager.py
# Manages observer lifecycle
# start/stop/status checks
```

---

## 📚 12 Language Supports

| Language | Rules | Skills |
|----------|-------|--------|
| TypeScript | coding-style, hooks, patterns, security, testing | typescript-reviewer |
| JavaScript | coding-style, hooks, patterns, security, testing | - |
| Python | coding-style, hooks, patterns, security, testing | python-reviewer |
| Java | coding-style, hooks, patterns, security, testing | java-reviewer |
| Kotlin | coding-style, hooks, patterns, security, testing | kotlin-reviewer |
| Go | coding-style, hooks, patterns, security, testing | go-reviewer |
| Rust | coding-style, hooks, patterns, security, testing | rust-reviewer |
| C++ | coding-style, hooks, patterns, security, testing | cpp-reviewer |
| C# | coding-style, hooks, patterns, security, testing | - |
| PHP | coding-style, hooks, patterns, security, testing | - |
| Perl | coding-style, hooks, patterns, security, testing | perl-reviewer |
| Swift | coding-style, hooks, patterns, security, testing | - |

---

## 🤝 30 ECC Agents

### Engineering (22 agents)
- architect - System architecture design
- build-error-resolver - Build error resolution
- code-reviewer - Code quality review
- cpp-build-resolver / cpp-reviewer - C++ support
- go-build-resolver / go-reviewer - Go support
- java-build-resolver / java-reviewer - Java support
- kotlin-build-resolver / kotlin-reviewer - Kotlin support
- python-reviewer - Python code review
- rust-build-resolver / rust-reviewer - Rust support
- typescript-reviewer - TypeScript review
- flutter-reviewer - Flutter review
- database-reviewer - Database review
- doc-updater / docs-lookup - Documentation
- performance-optimizer - Performance optimization
- refactor-cleaner - Code cleanup
- pytorch-build-resolver - PyTorch support
- harness-optimizer - Harness optimization
- healthcare-reviewer - Healthcare domain review

### Testing (2 agents)
- e2e-runner - E2E test execution
- tdd-guide - TDD workflow guidance

### Project Management (2 agents)
- chief-of-staff - Communication triage
- loop-operator - Autonomous loop execution

### Specialized (1 agent)
- planner - Implementation planning

---

## 📖 Documentation

### Design Documents
- `docs/superpowers/specs/2026-04-03-neural-network-system-design.md`
- `ECC-FINAL-REPORT.md`
- `ECC-USER-GUIDE.md`

### Integration Reports
- `ECC-VERIFICATION-COMPLETE.md`
- `ECC-TEST-REPORT.md`
- `ECC-AGENTS-VERIFICATION-TODO.md`

### Rules Directory
- `~/.agents/rules/` (77 rule files)
- common/ (10 files)
- typescript/python/java/kotlin/go/rust/cpp/csharp/php/perl/swift/ (5 files each)
- zh/ (11 files - Chinese translation)

---

## 🚀 Quick Start

### 1. Check Available Agents
```bash
openclaw agents list
```

### 2. Check Available Skills
```bash
openclaw skills list
```

### 3. Detect Project Language
```bash
python tools/language-detector.py --project .
```

### 4. Set Language Mode
```bash
python tools/language-switcher.py --set python
```

### 5. Start TDD Workflow
```
1. Call tdd-guide agent
2. Write failing test
3. Call engineering-python-reviewer (or language-specific)
4. Write minimal implementation
5. Run tests
6. Refactor
7. Call verification-before-completion
```

---

## ✅ Quality Gates

### Before Commit
- [ ] Tests passing
- [ ] Coverage 80%+
- [ ] Security scan clean
- [ ] Code review approved
- [ ] No hardcoded secrets
- [ ] All inputs validated

### Before Completion Claim
- [ ] Fresh verification evidence
- [ ] Test results attached
- [ ] Coverage report attached
- [ ] Security scan attached
- [ ] Code review approved

### Before Bug Fix
- [ ] Root cause identified
- [ ] 5 Whys completed
- [ ] Fix tested
- [ ] No regression verified

---

## 📊 Metrics

| Metric | Target | Status |
|--------|--------|--------|
| Agents | 30 ECC + existing | ✅ 211 total |
| Skills | 77 rules + existing | ✅ 164 total |
| Languages | 12 | ✅ Activated |
| Iron Laws | 4 | ✅ Embedded |
| Core Principles | 6 | ✅ Embedded |
| Test Coverage | 80%+ | ⭐ Required |
| Security Scan | Clean | ⭐ Required |

---

## 🔧 Installation

ECC system already integrated into OpenClaw v3.4 - ECC Edition.

**Files Location**:
- Agents: `~/.agents/skills/agency-agents/ecc-agents/` (30 files)
- Rules: `~/.agents/rules/` (77 files)
- Tools: `tools/` and `workspace/`
- Docs: `workspace/` and `docs/superpowers/`

**No additional installation required!**

---

## 📝 Usage Examples

### Example 1: Code Review
```
User: Review this Python code

Flow:
1. Call engineering-python-reviewer
2. Apply python-coding-standards rules
3. Check 4 iron laws compliance
4. Mark issues with 🔴🟡💭
5. Provide fix suggestions
```

### Example 2: New Project
```
User: Create a new project

Flow:
1. language-detector.py detects language
2. Call planner agent for project structure
3. Call architect agent for architecture
4. Call tdd-guide agent for test setup
5. Apply language-specific rules
```

### Example 3: Bug Fix
```
User: This feature has a bug

Flow:
1. Follow debugging iron law (investigate first)
2. Call debugging agent for analysis
3. Call language-specific reviewer for fix
4. Call testing agent for verification
5. Check test coverage
```

### Example 4: Multi-language Project
```
User: This is a multi-language project

Flow:
1. language-detector.py detects all languages
2. language-switcher.py switches current language
3. Apply language-specific rules
4. Call language-specific reviewer
5. Check cross-language interfaces
```

---

## 🎯 Success Criteria

- [x] 30 ECC agents available
- [x] 77 rule files available
- [x] 12 language supports activated
- [x] 4 iron laws embedded
- [x] 6 core principles embedded
- [x] Language tools working
- [x] Hooks system running
- [x] New session test passed
- [x] All verifications complete

**Status**: ✅ **PRODUCTION READY**

---

## 📞 Support

**Documentation**:
- `ECC-FINAL-REPORT.md` - Final integration report
- `ECC-USER-GUIDE.md` - User guide
- `ECC-VERIFICATION-COMPLETE.md` - Verification report

**Version**: OpenClaw v3.4 - ECC Edition  
**Integration Date**: 2026-04-03  
**Integration Time**: 2 hours 21 minutes  
**Test Pass Rate**: 100%

Related Skills

filesystem

3891
from openclaw/skills

Advanced filesystem operations for listing files, searching content, batch processing, and directory analysis. Supports recursive search, file type filtering, size analysis, and batch operations like copy/move/delete. Use when you need to: list directory contents, search for files by name or content, analyze directory structures, perform batch file operations, or analyze file sizes and distribution.

General Utilities

Productivity Operating System

3891
from openclaw/skills

You are a personal productivity architect. Your job: help the user design, execute, and optimize their daily system so they consistently ship high-impact work while protecting energy and avoiding burnout.

Workflow & Productivity

Presentation Mastery — Complete Slide Design & Delivery System

3891
from openclaw/skills

You are a Presentation Architect. You help build presentations that persuade, inform, and move people to action. You cover the full lifecycle: audience analysis → narrative structure → slide design → delivery coaching → post-presentation follow-up.

Content & Documentation

OpenClaw Mastery — The Complete Agent Engineering & Operations System

3891
from openclaw/skills

> Built by AfrexAI — the team that runs 9+ production agents 24/7 on OpenClaw.

DevOps & Infrastructure

n8n Workflow Mastery — Complete Automation Engineering System

3891
from openclaw/skills

You are an expert n8n workflow architect. You design, build, debug, optimize, and scale n8n automations following production-grade methodology. Every workflow you create is complete, functional, and follows the patterns in this guide.

Workflow & Productivity

ML & AI Engineering System

3891
from openclaw/skills

Complete methodology for building, deploying, and operating production ML/AI systems — from experiment to scale.

MCP Engineering — Complete Model Context Protocol System

3891
from openclaw/skills

Build, integrate, secure, and scale MCP servers and clients. From first server to production multi-tool architecture.

AI Infrastructure & Integrations

Legacy System Modernization Engine

3891
from openclaw/skills

Complete methodology for assessing, planning, and executing legacy system modernization — from monolith decomposition to cloud migration. Works for any tech stack, any scale.

DevOps & Infrastructure

Knowledge Management System

3891
from openclaw/skills

> Turn tribal knowledge into searchable, maintained organizational intelligence. Stop losing expertise when people leave.

Decision Engine — Complete Decision-Making System

3891
from openclaw/skills

You are an expert decision architect. Help users make better decisions using structured frameworks, reduce cognitive bias, and build organizational decision-making muscle. Every recommendation must be specific, actionable, and tied to the user's actual context.

Workflow & Productivity

Client Success & Revenue Expansion — The Complete Retention Operating System

3891
from openclaw/skills

Turn clients into long-term revenue engines. This isn't advice — it's a complete operating system with scoring models, templates, playbooks, and automation patterns that work for any B2B or B2C subscription business.

Customer Success & Retention

system-architect

3891
from openclaw/skills

Acts as a Senior System Architect to design robust, scalable, and maintainable software architectures. Enforces industry standards (PEP 8 for Python, ESLint for JS/TS), modular design, and security best practices. Use this skill when the user wants to start a new project, refactor an existing one, or discusses high-level system design.

Software Design & Architecture