Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"name": "ecc",
"source": "./",
"description": "Harness-native ECC operator layer - 67 agents, 281 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"description": "Harness-native ECC operator layer - 67 agents, 282 skills, 94 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses",
"version": "2.1.0",
"author": {
"name": "Affaan Mustafa",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ecc",
"version": "2.1.0",
"description": "Harness-native ECC plugin for engineering teams - 67 agents, 281 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",
"description": "Harness-native ECC plugin for engineering teams - 67 agents, 282 skills, 94 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses",
"author": {
"name": "Affaan Mustafa",
"url": "https://x.com/affaanmustafa"
Expand Down
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Everything Claude Code (ECC) — Agent Instructions

This is a **production-ready AI coding plugin** providing 67 specialized agents, 281 skills, 94 commands, and automated hook workflows for software development.
This is a **production-ready AI coding plugin** providing 67 specialized agents, 282 skills, 94 commands, and automated hook workflows for software development.

**Version:** 2.1.0

Expand Down Expand Up @@ -152,7 +152,7 @@ Troubleshoot failures: check test isolation → verify mocks → fix implementat

```
agents/ — 67 specialized subagents
skills/ — 281 workflow skills and domain knowledge
skills/ — 282 workflow skills and domain knowledge
commands/ — 94 slash commands
hooks/ — Trigger-based automations
rules/ — Always-follow guidelines (common + per-language)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,12 @@ Instead of rebuilding that process in every prompt, you install it once and make

ECC is MIT-licensed open source. It works best with Claude Code today, with first-class Codex support and adapters for Cursor, OpenCode, Gemini, Zed, GitHub Copilot, Antigravity, Qwen, and other harnesses.

Access to 67 agents, 281 skills, and 94 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.
Access to 67 agents, 282 skills, and 94 legacy command shims, plus hooks, rules, memory, continuous learning, and AgentShield security scanning. The agents are specialized for planning, review, build repair, security, architecture, and domain work.

| Included | Count | What it gives you |
| ---------------- | ----------: | ------------------------------------------------------------------------------------ |
| Agents | 67 agents | Planning, review, build repair, security, architecture, and domain work |
| Skills | 281 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |
| Skills | 282 skills | TDD, research, security, docs, frontend, data, ML, operations, and more |
| Commands | 94 commands | Convenient entry points while ECC moves to a skills-first surface |
| Hooks and memory | Runtime | Enforcement, session summaries, continuous learning, instincts, and context controls |
| Rules | Selective | Always-loaded standards you choose by language or project |
Expand Down Expand Up @@ -1414,7 +1414,7 @@ See [affaan-m/ECC#2065](https://github.com/affaan-m/ECC/issues/2065).
|---------|-----------------------|------------|-----------|----------|----------------|
| **Agents** | 67 | Shared (AGENTS.md) | Shared (AGENTS.md) | 12 | N/A |
| **Commands** | 94 | Shared | Instruction-based | 35 | 5 prompts |
| **Skills** | 281 | Shared | 10 (native format) | 37 | Via instructions |
| **Skills** | 282 | Shared | 10 (native format) | 37 | Via instructions |
| **Hook Events** | 8 types | 15 types | None yet | 11 types | None |
| **Hook Scripts** | 20+ scripts | 16 scripts (DRY adapter) | N/A | Plugin hooks | N/A |
| **Rules** | 34 (common + lang) | 34 (YAML frontmatter) | Instruction-based | 13 instructions | 1 always-on file |
Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
/plugin list ecc@ecc
```

**完成!** 你现在可以使用 67 个代理、281 个技能和 94 个命令。
**完成!** 你现在可以使用 67 个代理、282 个技能和 94 个命令。

### multi-* 命令需要额外配置

Expand Down
4 changes: 2 additions & 2 deletions docs/zh-CN/AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Everything Claude Code (ECC) — 智能体指令

这是一个**生产就绪的 AI 编码插件**,提供 67 个专业代理、281 项技能、94 条命令以及自动化钩子工作流,用于软件开发。
这是一个**生产就绪的 AI 编码插件**,提供 67 个专业代理、282 项技能、94 条命令以及自动化钩子工作流,用于软件开发。

**版本:** 2.1.0

Expand Down Expand Up @@ -147,7 +147,7 @@

```
agents/ — 67 个专业子代理
skills/ — 281 个工作流技能和领域知识
skills/ — 282 个工作流技能和领域知识
commands/ — 94 个斜杠命令
hooks/ — 基于触发的自动化
rules/ — 始终遵循的指导方针(通用 + 每种语言)
Expand Down
6 changes: 3 additions & 3 deletions docs/zh-CN/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ Copy-Item -Recurse rules/typescript "$HOME/.claude/rules/"
/plugin list ecc@ecc
```

**搞定!** 你现在可以使用 67 个智能体、281 项技能和 94 个命令了。
**搞定!** 你现在可以使用 67 个智能体、282 项技能和 94 个命令了。

***

Expand Down Expand Up @@ -1170,7 +1170,7 @@ opencode
|---------|---------------|----------|--------|
| 智能体 | PASS: 67 个 | PASS: 12 个 | **Claude Code 领先** |
| 命令 | PASS: 94 个 | PASS: 35 个 | **Claude Code 领先** |
| 技能 | PASS: 281 项 | PASS: 37 项 | **Claude Code 领先** |
| 技能 | PASS: 282 项 | PASS: 37 项 | **Claude Code 领先** |
| 钩子 | PASS: 8 种事件类型 | PASS: 11 种事件 | **OpenCode 更多!** |
| 规则 | PASS: 29 条 | PASS: 13 条指令 | **Claude Code 领先** |
| MCP 服务器 | PASS: 14 个 | PASS: 完整 | **完全对等** |
Expand Down Expand Up @@ -1278,7 +1278,7 @@ ECC 是**第一个最大化利用每个主要 AI 编码工具的插件**。以
|---------|-----------------------|------------|-----------|----------|
| **智能体** | 67 | 共享 (AGENTS.md) | 共享 (AGENTS.md) | 12 |
| **命令** | 94 | 共享 | 基于指令 | 35 |
| **技能** | 281 | 共享 | 10 (原生格式) | 37 |
| **技能** | 282 | 共享 | 10 (原生格式) | 37 |
| **钩子事件** | 8 种类型 | 15 种类型 | 暂无 | 11 种类型 |
| **钩子脚本** | 20+ 个脚本 | 16 个脚本 (DRY 适配器) | N/A | 插件钩子 |
| **规则** | 34 (通用 + 语言) | 34 (YAML 前页) | 基于指令 | 13 条指令 |
Expand Down
1 change: 1 addition & 0 deletions manifests/install-modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@
"skills/growth-log",
"skills/inherit-legacy-style",
"skills/intent-driven-development",
"skills/living-docs-governance",
"skills/loop-design-check",
"skills/product-lens",
"skills/repo-scan",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@
"skills/intent-driven-development/",
"skills/ios-icon-gen/",
"skills/kubernetes-patterns/",
"skills/living-docs-governance/",
"skills/loop-design-check/",
"skills/mailtrap-email-integration/",
"skills/marketing-campaign/",
Expand Down
103 changes: 103 additions & 0 deletions skills/living-docs-governance/SKILL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
---
name: living-docs-governance
description: "Keep a long-lived project's documentation from rotting by running it as a small system of role-specific governance files (constitution, map, status dashboard, append-only log) with a fixed session read order. Use in the maintain phase, after a project is up and running and docs start drifting from code or agents lose context between sessions. Complements one-time onboarding (codebase-onboarding); this is the ongoing discipline that keeps the picture true over months. 中文触发:文档治理、活文档、项目状态追踪、防文档漂移、项目地图、健康仪表盘、流水账、进会话读序、长期项目治理"
metadata:
origin: ECC
---
Comment thread
greptile-apps[bot] marked this conversation as resolved.
Resolved

# Living Docs Governance

Long-lived projects rot at the documentation layer first: the README lies, the architecture notes describe a refactor that never shipped, and every new session an agent re-derives context it should have been able to read. **Living Docs Governance** treats project documentation as a small, role-specific *system* rather than a pile of files: four interlinked documents, each with exactly one job, plus a fixed order an agent reads them in when it enters a session.

This is a **maintain-phase** practice. For the one-time "I just cloned an unfamiliar repo" problem, use `codebase-onboarding`. This skill is what keeps that onboarding picture *true* after months of change.

## When to Activate

Activate when any of these are true:

- A project has grown past a few modules and the docs are drifting from the code.
- An agent or teammate loses context between sessions and keeps re-discovering the same structure.
- Nobody can answer "what is the current health of this project?" or "what changed last week?" from a single place.
- Dead files and abandoned experiments pile up and occasionally get recreated by mistake.
- You want a durable, low-overhead governance layer for a solo or small-team project, without the heavy CI machinery a large multi-contributor repo would use.

Do **not** reach for this on a throwaway script or a repo that will not outlive the week.

## How It Works

The system is **four documents** with strictly separated roles, a **session read order**, and **update rules** that keep them current.

### The four documents and their jobs

| Document | One job | What goes in | What must NOT go in |
|---|---|---|---|
| `CLAUDE.md` | Constitution: the always-on hard rules and signposts | Non-negotiable conventions, the read order, pointers to the other docs | Long explanations (link out instead), live state, history |
| `CLAUDE_MAP.md` | Map: what exists and where to find it | Top-level structure, one-line role per directory/key file, a "to find X go here" jump table, dependency direction | Health metrics (belong in STATUS), event history (belongs in LOG) |
| `PROJECT_STATUS.md` | Health dashboard: the current state at a glance | Metrics vs thresholds, the delete-zone (files removed on purpose, not to be recreated), open violations, P0 actions | What the project *is* (belongs in MAP), the narrative of what happened (belongs in LOG) |
| `PROJECT_LOG.md` | Ledger: append-only history | One line per meaningful event (`[date] type \| summary`), newest appended at the bottom | Current state (belongs in STATUS), structure (belongs in MAP); never edit or delete past lines |

The discipline that makes it work is **non-overlap**: every fact lives in exactly one document. "Where is the auth module?" goes to the MAP. "Is coverage healthy right now?" goes to STATUS. "When did we delete the old parser and why?" goes to the LOG. When each document has one job, none of them rot together.

### The session read order

At the start of a session, read in this order:

1. `CLAUDE.md` for the rules to obey.
2. `CLAUDE_MAP.md` for where everything is.
3. `PROJECT_STATUS.md` for the current state and what is off-limits or scheduled for deletion.
4. `PROJECT_LOG.md` (tail) for what happened recently.

Four short reads reconstruct the full working context, instead of re-deriving it by grepping the tree every time.

### Update rules that keep it from rotting

- Change the structure (add or remove a module or top-level directory) -> update `CLAUDE_MAP.md` in the same change.
- A metric crosses a threshold, or you intentionally delete a file -> update `PROJECT_STATUS.md`, and add the path to the delete-zone so it is not recreated.
- Anything meaningful happens (commit, fix, refactor, cleanup, audit) -> append one line to `PROJECT_LOG.md`.
- Keep `CLAUDE.md` short: if it grows past a page, move detail into the doc that owns it and leave a signpost.

## Document Templates

Drop these at the project root and fill the bracketed parts.

`CLAUDE.md` (constitution; keep it short and link out for detail):

| Section | Contents |
|---|---|
| Read order | `CLAUDE.md` -> `CLAUDE_MAP.md` -> `PROJECT_STATUS.md` -> `PROJECT_LOG.md` (tail) |
| Hard rules | The few non-negotiable conventions (naming, imports, no new files) |
| Signposts | One line each pointing to where detail lives (specs, governance, status) |

Keep it under a page; when a section grows, move the detail into the document that owns it.

`CLAUDE_MAP.md`:

| Path | One line | Who touches it |
|---|---|---|
| `src/` | main code | features |
| `docs/` | rules and specs | rule changes |

Plus a "find X -> go here" jump table and a per-module status table.

`PROJECT_STATUS.md`:

Comment thread
greptile-apps[bot] marked this conversation as resolved.
Resolved
| Metric | Now | Threshold | State |
|---|---|---|---|
| main entrypoint LOC | - | <600 green / 600-800 amber / >800 red | - |
| test coverage | - | >80% green | - |

Plus a delete-zone table (path, why removed, date, replacement) and an open-violations / P0 list.

`PROJECT_LOG.md` (append-only):

| Field | Convention |
|---|---|
| Heading | `## [YYYY-MM-DD] type \| one line` |
| Types | init / commit / fix / refactor / cleanup / audit |
| Rule | Append only; never edit or delete past entries |

## Examples

- **Docs drifted from code:** A six-month-old data tool's README still describes the v1 pipeline. Adopt the four documents; the MAP now states the real module layout, STATUS flags the README as stale, and from then on every structure change updates the MAP in the same commit.
- **Agent keeps losing context:** Every session the agent re-greps to learn the layout. After adopting the read order, four short reads at session start reconstruct context and the agent stops rediscovering.
- **A deleted file keeps coming back:** A dead `legacy_parser.py` was removed twice and recreated twice. Logging it in the STATUS delete-zone, with the reason and the replacement, breaks the loop.