# ECC for oh-my-pi (omp)

This is an **oh-my-pi** harness adaptation of Everything Claude Code (ECC).

ECC is a cross-harness coding system providing specialized agents, skills, commands, safety hooks, and MCP conventions for agent-assisted software development.

## Core Principles

1. **Safety-First** — Safety hooks block destructive commands, scrub secrets from output, and warn on agent config modification
2. **Test-Driven** — Write tests before implementation, 80%+ coverage required
3. **Immutability** — Always create new objects, never mutate existing ones
4. **Plan Before Execute** — Plan complex features before writing code
5. **Skills Auto-Discovery** — 237+ skills under `skills/` are auto-discovered by omp's plugin provider

## Slash Commands (Registered)

| Command | Description |
|---------|-------------|
| `/code-review` | Review local changes or a GitHub PR |
| `/plan` | Create implementation plan (waits for confirmation) |
| `/tdd` | Test-driven development cycle |
| `/security-scan` | Security audit of agent configuration |
| `/e2e` | E2E testing workflow |
| `/build-fix` | Incremental build error resolution |
| `/refactor-clean` | Dead code cleanup with verification |
| `/pr` | Create GitHub Pull Request |
| `/learn` | Extract reusable patterns from session |

## Custom Tools (LLM-callable)

| Tool | Description |
|------|-------------|
| `ecc_security_audit` | Security audit on agent configuration |
| `ecc_run_tests` | Detect project type and run tests |
| `ecc_quality_checklist` | Return code quality checklist |

## Safety Hooks

- **bash rm-rf guard** — Blocks or warns on destructive commands
- **Secret scrubbing** — Redacts API keys, tokens from tool output
- **Config file warn** — Warns before modifying agent configuration files
- **Remote execution guard** — Blocks `curl/wget | bash` without confirmation
- **dd block device guard** — Warns on dd block device writes

## MCP Servers

24 MCP server configs available in `.omp/mcp.json`. Enable only those you need to conserve context window.

## Skills

237+ skills in `skills/` are auto-discovered by omp. Use `skill://<name>` to access any skill.

## Related

- Root `AGENTS.md` — Full ECC agent instructions and workflow surface policy
- `.omp/rules/` — Coding standards, security, testing, git workflow
- `.omp/commands/` — Slash command definitions
- `.omp/prompts/agents/` — Agent prompt templates
