kodelyth-ecc 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,106 +1,186 @@
1
1
  # Platform Support
2
2
 
3
- Kodelyth ECC works across 5 AI coding platforms.
3
+ Kodelyth ECC works across 6 AI coding platforms. Feature availability varies by platform.
4
4
 
5
5
  ---
6
6
 
7
- ## Supported Platforms
8
-
9
- | Platform | Status | Install target |
10
- |----------|--------|----------------|
11
- | Claude Code | Full support | `--target claude-home` (default) |
12
- | Google Antigravity | Full support | `--target antigravity` |
13
- | Cursor | Full support | `--target cursor-project` |
14
- | Codex CLI | Full support | `--target codex-home` |
15
- | OpenCode | Full support | `--target opencode` |
7
+ ## Feature Matrix
8
+
9
+ | Feature | Claude Code | Windsurf | Cursor | Codex CLI | Antigravity | OpenCode |
10
+ |---|---|---|---|---|---|---|
11
+ | Agents (59) | Full | Full | Full | Full | Full | Full |
12
+ | Skills (188) | Full | Full | Full | Full | Full | Full |
13
+ | Commands (80) | Full | Full | Full | Full | Full | Full |
14
+ | Intent routing | Full | Full | Full | Full | Full | Full |
15
+ | Rules (16) | Full | Full | Full | Full | Flattened | Full |
16
+ | Memory inject (session start) | Full | Full | Full | Full | Full | Full |
17
+ | Memory auto-recall (per prompt) | Full | — | — | — | — | — |
18
+ | Memory capture (session JSONL) | Full | Partial | Partial | Partial | — | Partial |
19
+ | Manual `/memory` commands | Full | Full | Full | Full | Full | Full |
20
+ | Hook automation | Full | Limited | Limited | Limited | — | Limited |
16
21
 
17
22
  ---
18
23
 
19
24
  ## Claude Code
20
25
 
21
- **Full feature set.** All 53 agents, all 185 skills, all 79 commands, all 18+ hooks.
26
+ **Install target:** `claude-home`
22
27
 
23
- Agents install to `~/.claude/agents/` and are available globally across all projects.
28
+ ```bash
29
+ npx kodelyth-ecc --target claude-home
30
+ ```
24
31
 
25
- **Recommended model stack:**
32
+ **Full feature set.** All 59 agents, 188 skills, 80 commands, all hooks including `UserPromptSubmit` auto-recall, full session JSONL access for memory capture, and complete rules.
26
33
 
27
- | Task complexity | Model |
28
- |----------------|-------|
29
- | Simple edits, docs, single-file fixes | Haiku |
30
- | Standard development, code review, features | Sonnet 4.6 |
31
- | Architectural decisions, complex debugging | Opus 4.6 |
34
+ **Memory:** All three memory hooks fully operational. Auto-recall fires on every meaningful prompt.
32
35
 
33
- ---
36
+ **Hooks:** All hooks including `UserPromptSubmit`, `PreToolUse`, `PostToolUse`, `SessionStart`, and `Stop` are supported.
34
37
 
35
- ## Google Antigravity
38
+ ---
36
39
 
37
- **Full agent + command + always-on rules support.** No hook execution engine (hooks approximated via always-on rules).
40
+ ## Windsurf
38
41
 
39
- Installs into `.agent/` inside your project directory.
42
+ **Install targets:** `windsurf-project` (per-project) or `windsurf-home` (global)
40
43
 
41
- **Approved model stack (Antigravity):**
44
+ ```bash
45
+ npx kodelyth-ecc --target windsurf-project
46
+ npx kodelyth-ecc --target windsurf-home
47
+ ```
42
48
 
43
- | Task | Model |
44
- |------|-------|
45
- | Code edits, formatting, simple tasks | Gemini 3.1 Pro (Low) |
46
- | Complex features, multi-file refactoring | Gemini 3.1 Pro (High) |
47
- | Agent behavior, reasoning-heavy tasks | Claude Sonnet 4.6 Thinking |
48
- | Maximum reasoning, architecture | Claude Opus 4.6 Thinking |
49
+ The installer generates a `.windsurfrules` file that Cascade loads automatically.
49
50
 
50
- **Not recommended:** Gemini Flash (too weak for production coding tasks), GPT-OSS (not in approved stack).
51
+ **Agents, skills, and commands:** Full.
51
52
 
52
- **After install:**
53
- ```
54
- your-project/
55
- └── .agent/
56
- ├── rules/kodelyth-always-on.md ← auto-loaded every session
57
- ├── rules/soul.md ← 9 core principles
58
- ├── rules/agents.md ← full agent roster
59
- ├── skills/ ← all 53 agents
60
- └── workflows/ ← all 79 commands
61
- ```
53
+ **Memory:** Session-start injection works. Manual `/memory` commands work. `UserPromptSubmit` auto-recall is not available — Windsurf does not expose a pre-prompt hook. Memory capture from session files works if session data is stored locally.
62
54
 
63
- The `kodelyth-always-on.md` file ensures ECC behavior loads automatically every session without any user prompt.
55
+ **Hooks:** Windsurf's hook system is more limited than Claude Code's. Quality gate hooks (test-reminder, smart-suggest, branch-name-check) may not fire depending on Windsurf version.
64
56
 
65
57
  ---
66
58
 
67
59
  ## Cursor
68
60
 
69
- Installs rules and agents into `.cursorrules` / `.cursor/` in your project.
61
+ **Install target:** `cursor-project`
70
62
 
71
63
  ```bash
72
- ./install.sh --target cursor-project
64
+ npx kodelyth-ecc --target cursor-project
73
65
  ```
74
66
 
67
+ Installs to `.cursor/` in the current project directory.
68
+
69
+ **Agents, skills, and commands:** Full.
70
+
71
+ **Memory:** Session-start injection works. Manual `/memory` commands work. Auto-recall not available. Memory capture from local session files works.
72
+
73
+ **Hooks:** Limited hook support. Check Cursor documentation for supported hook types.
74
+
75
75
  ---
76
76
 
77
77
  ## Codex CLI
78
78
 
79
- Installs to `~/.codex/` for global availability.
79
+ **Install target:** `codex-home`
80
80
 
81
81
  ```bash
82
- ./install.sh --target codex-home
82
+ npx kodelyth-ecc --target codex-home
83
+ ```
84
+
85
+ **Agents, skills, and commands:** Full.
86
+
87
+ **Memory:** Session-start injection works. Manual memory commands work. Auto-recall not available. Memory capture from JSONL session logs works if Codex stores them locally.
88
+
89
+ ---
90
+
91
+ ## Google Antigravity
92
+
93
+ **Install target:** `antigravity`
94
+
95
+ ```bash
96
+ npx kodelyth-ecc --target antigravity
97
+ ```
98
+
99
+ Antigravity requires flat rule directories (no subdirectories). The installer automatically flattens the rules structure.
100
+
101
+ **Layout:**
102
+ ```
103
+ .agent/rules/ → 16 rule files (flattened, no subdirs)
104
+ .agent/workflows/ → 80 command workflows
105
+ .agent/skills/ → 59 agent definitions
106
+ ```
107
+
108
+ **Agents, skills, and commands:** Full.
109
+
110
+ **Memory:** Session-start injection works (manual inject via `/memory inject`). Manual memory commands work. Antigravity stores sessions server-side — auto-extract from past sessions is not available. `UserPromptSubmit` auto-recall is not available.
111
+
112
+ **Hooks:** Antigravity does not expose a hook system that ECC can use. Hook features are not available.
113
+
114
+ **Environment variable:**
115
+ ```bash
116
+ export ANTIGRAVITY_DIR=/path/to/.agent/
83
117
  ```
84
118
 
85
119
  ---
86
120
 
87
121
  ## OpenCode
88
122
 
89
- Installs to OpenCode's config directory.
123
+ **Install target:** `opencode`
90
124
 
91
125
  ```bash
92
- ./install.sh --target opencode
126
+ npx kodelyth-ecc --target opencode
93
127
  ```
94
128
 
129
+ **Agents, skills, and commands:** Full.
130
+
131
+ **Memory:** Session-start injection works. Manual commands work. Auto-recall depends on whether OpenCode exposes a pre-prompt hook (check OpenCode version).
132
+
133
+ ---
134
+
135
+ ## Memory Capabilities By Platform
136
+
137
+ | Capability | Claude Code | Others |
138
+ |---|---|---|
139
+ | Session-start inject | Full | Full |
140
+ | Auto-recall per prompt | Yes (`UserPromptSubmit` hook) | No (hook not exposed) |
141
+ | Manual recall | Yes (`/memory recall`) | Yes (`/memory recall`) |
142
+ | Manual store | Yes (`/memory remember`) | Yes (`/memory remember`) |
143
+ | Auto-extract from sessions | Yes (local JSONL) | Varies |
144
+ | Pending review workflow | Yes | Yes (manual only) |
145
+ | `KODELYTH_MEMORY_DIR` override | Yes | Yes |
146
+
147
+ ---
148
+
149
+ ## Multi-Platform Install
150
+
151
+ You can install to multiple platforms simultaneously:
152
+
153
+ ```bash
154
+ # Claude Code (primary)
155
+ npx kodelyth-ecc --target claude-home
156
+
157
+ # Windsurf (project)
158
+ npx kodelyth-ecc --target windsurf-project
159
+
160
+ # Cursor (project)
161
+ npx kodelyth-ecc --target cursor-project
162
+ ```
163
+
164
+ Memory is stored globally at `~/.kodelyth/memory/` and is shared across all platforms.
165
+
166
+ ---
167
+
168
+ ## Platform Detection
169
+
170
+ The installer auto-detects installed platforms and suggests targets:
171
+
172
+ - Claude Code: `~/.claude/` exists
173
+ - Windsurf: `~/.codeium/windsurf/` or `.windsurf/` exists
174
+ - Cursor: `~/.config/Cursor/` (Linux), `~/Library/Application Support/Cursor/` (macOS), or `%APPDATA%\Cursor\` (Windows)
175
+ - Codex: `~/.codex/` exists
176
+ - Antigravity: `ANTIGRAVITY_DIR` env var or `~/.config/google-gemini/` exists
177
+ - OpenCode: `~/.opencode/` exists
178
+
95
179
  ---
96
180
 
97
- ## Platform Comparison
181
+ ## Known Limitations
98
182
 
99
- | Feature | Claude Code | Antigravity | Cursor | Codex | OpenCode |
100
- |---------|------------|------------|--------|-------|---------|
101
- | Agents | 53 | 53 | 53 | 53 | 53 |
102
- | Skills | 185 | 185 (as rules) | 185 | 185 | 185 |
103
- | Commands | 79 | 79 | 79 | 79 | 79 |
104
- | Hooks | 18+ | Via rules | Partial | Partial | Partial |
105
- | Global install | Yes | Per-project | Per-project | Yes | Yes |
106
- | Always-on rules | Yes | Yes | Yes | Yes | Yes |
183
+ - **Antigravity auto-recall:** Not available. Sessions are server-side.
184
+ - **Windsurf `UserPromptSubmit`:** Not available in current Windsurf hook API.
185
+ - **Cloud session extraction:** Platforms that store sessions server-side cannot be scraped for auto-extract. Use manual `/memory remember` instead.
186
+ - **Hook consistency:** Hook behavior (test-reminder, smart-suggest, branch-name-check) is only fully reliable in Claude Code. Other platforms have varying hook support.
@@ -1,103 +1,210 @@
1
1
  # Skill Reference
2
2
 
3
- Skills are domain knowledge loaded into your session with a slash command. 185 skills total.
3
+ Skills are domain knowledge and workflow definitions loaded into your session with a slash command. 188 skills total.
4
4
 
5
5
  ---
6
6
 
7
- ## How to Load a Skill
7
+ ## How Skills Work
8
8
 
9
- ```
10
- /skill-name
11
- ```
9
+ Skills are markdown files in `~/.claude/skills/`. When you invoke a slash command, the corresponding skill file is loaded into your session context. The AI then has access to the patterns, checklists, and domain knowledge defined in that skill.
12
10
 
13
- Example:
14
11
  ```
15
- /typescript-patterns
16
- /smart-debug
17
- /git-mastery
12
+ /tdd → loads skills/tdd-workflow.md
13
+ /memory recall → activates kodelyth-memory skill
14
+ /smart-debug → loads skills/smart-debug.md
18
15
  ```
19
16
 
20
- Skills remain active for the session and guide all agent behavior.
21
-
22
17
  ---
23
18
 
24
- ## Kodelyth Skills (4 exclusive)
19
+ ## Kodelyth Exclusive Skills
20
+
21
+ ### `kodelyth-quickstart`
22
+ **Command:** `/kodelyth-quickstart`
25
23
 
26
- ### `/kodelyth-quickstart`
24
+ Plain-language getting-started guide for new users. Explains agents, skills, commands, and hooks without jargon. Quick-reference card covering every major workflow. Designed to be understood in under 10 minutes.
27
25
 
28
- Plain-language getting-started guide. Explains agents, skills, commands, and hooks in plain English. Read this first as a new user.
26
+ **When to invoke:** First session, onboarding a new team member, after a long break.
29
27
 
30
- ### `/smart-debug`
28
+ ---
29
+
30
+ ### `smart-debug`
31
+ **Command:** `/smart-debug`
31
32
 
32
33
  5-step systematic debugging framework for any language:
34
+ 1. Characterize — what exactly is failing?
35
+ 2. Read the error — what does it actually say?
36
+ 3. Hypothesize — what could cause this?
37
+ 4. Evidence — prove or disprove each hypothesis
38
+ 5. Fix and verify — minimal change, confirm it's gone
39
+
40
+ Includes language-specific tips for TypeScript/JS, Python, Go, SQL. Common bug pattern reference table by symptom. Rubber duck checklist for when you're stuck.
33
41
 
34
- 1. **Characterize** understand the symptom exactly
35
- 2. **Read the error** — full stack trace, not just the last line
36
- 3. **Hypothesize** — form 2-3 specific hypotheses
37
- 4. **Gather evidence** — test hypotheses with minimal reproducers
38
- 5. **Fix and verify** — fix one thing, verify, repeat
42
+ **When to invoke:** Any debugging session, especially when stuck.
39
43
 
40
- Ends guess-and-check debugging permanently.
44
+ ---
41
45
 
42
- ### `/git-mastery`
46
+ ### `kodelyth-memory`
47
+ **Command:** `/memory`
43
48
 
44
- Trunk-based development, gitflow, Ship/Show/Ask decision framework. Interactive rebase, git bisect, worktrees, monorepo patterns, emergency recovery playbooks.
49
+ Full self-learning memory system. Subcommands:
45
50
 
46
- ### `/observability`
51
+ | Command | What it does |
52
+ |---|---|
53
+ | `/memory recall <query>` | Search memory for relevant past solutions |
54
+ | `/memory remember` | Manually capture a solution |
55
+ | `/memory review-pending` | Review auto-extracted candidates |
56
+ | `/memory forget <id>` | Soft-delete a memory entry |
57
+ | `/memory stats` | Show memory counts by language, tag, project |
58
+ | `/memory inject` | Preview what would be injected for current context |
47
59
 
48
- Structured logging (Pino/structlog), Four Golden Signals, OpenTelemetry with custom spans, SLOs/SLIs/error budgets, alerting rules, and correlation ID propagation.
60
+ **When to invoke:** Start of a new session on a recurring problem type, after solving a hard problem worth preserving.
49
61
 
50
62
  ---
51
63
 
52
- ## Language Pattern Skills
53
-
54
- | Command | What it loads |
55
- |---------|--------------|
56
- | `/typescript-patterns` | TypeScript + React + Next.js best practices |
57
- | `/python-patterns` | Python — PEP 8, type hints, async |
58
- | `/golang-patterns` | Go — idiomatic patterns, concurrency |
59
- | `/rust-patterns` | Rust — ownership, error handling, async |
60
- | `/java-patterns` | Java + Spring Boot patterns |
61
- | `/kotlin-patterns` | Kotlin + Coroutines + Compose |
62
- | `/cpp-patterns` | Modern C++ — RAII, smart pointers, templates |
63
- | `/postgres-patterns` | PostgreSQL — queries, indexes, schema |
64
- | `/docker-patterns` | Container patterns, multi-stage builds |
65
- | `/coding-standards` | Universal baseline — works any language |
64
+ ### `intent-routing`
65
+ **Skill file:** `skills/intent-routing/SKILL.md`
66
+
67
+ Documents the intent routing system. Explains the 10 priority tiers, how trigger patterns are evaluated, how to add new routing rules, and when NOT to route. Reference for contributors building new agents.
66
68
 
67
69
  ---
68
70
 
69
- ## Testing Skills
71
+ ### `agent-handoff`
72
+ **Skill file:** `skills/agent-handoff/SKILL.md`
73
+
74
+ Standard multi-agent chain protocol. Documents 10 common chains:
70
75
 
71
- | Command | What it loads |
72
- |---------|--------------|
73
- | `/tdd-workflow` | Red-Green-Refactor, test naming, coverage |
74
- | `/e2e-patterns` | End-to-end test design patterns |
75
- | `/test-data-patterns` | Fixtures, factories, seeds |
76
+ | Chain | Agents involved |
77
+ |---|---|
78
+ | New feature | planner → pair-programmer → tdd-guide code-reviewer security-reviewer |
79
+ | Bug fix | debug-detective → tdd-guide code-reviewer |
80
+ | Refactor | refactor-cleaner code-reviewer → tdd-guide |
81
+ | Migration | migration-guide → tdd-guide → code-reviewer |
82
+ | OSS prep | opensource-forker → opensource-sanitizer → opensource-packager |
83
+ | Git crisis | git-rescue → code-reviewer |
84
+ | Release | release-captain → security-reviewer |
85
+ | Performance | performance-optimizer → code-reviewer |
86
+ | API change | api-guardian → code-reviewer → security-reviewer |
87
+ | Flaky tests | flake-hunter → tdd-guide |
76
88
 
77
89
  ---
78
90
 
79
- ## Architecture Skills
91
+ ## Core Workflow Skills
92
+
93
+ ### `tdd-workflow`
94
+ **Command:** `/tdd`
95
+
96
+ Complete TDD methodology: RED → GREEN → REFACTOR → VERIFY. Framework selection per language. Test naming conventions. Coverage measurement. Integration with the `tdd-guide` agent.
97
+
98
+ ### `plan`
99
+ **Command:** `/plan`
100
+
101
+ Implementation planning workflow. PRD template, architecture template, task breakdown. Integration with the `planner` and `architect` agents.
102
+
103
+ ### `code-review`
104
+ **Command:** `/code-review`
105
+
106
+ Code review checklist and workflow. Severity levels, security triggers, when to block vs. warn. Integration with `code-reviewer` and language-specific reviewer agents.
107
+
108
+ ### `build-fix`
109
+ **Command:** `/build-fix`
110
+
111
+ Build error resolution workflow. Integration with `build-error-resolver` and language-specific build resolver agents.
112
+
113
+ ### `e2e`
114
+ **Command:** `/e2e`
115
+
116
+ End-to-end testing with Playwright. Test generation, test maintenance, quarantine workflow, artifact handling.
117
+
118
+ ### `git-mastery`
119
+ **Command:** `/git-mastery`
80
120
 
81
- | Command | What it loads |
82
- |---------|--------------|
83
- | `/architecture-patterns` | Repository, CQRS, event sourcing |
84
- | `/api-design-patterns` | REST, versioning, error codes |
85
- | `/microservices-patterns` | Service mesh, circuit breaker, sagas |
121
+ Git workflows. Trunk-based development vs gitflow. Interactive rebase. `git bisect`. Worktrees for parallel development. Monorepo patterns. Emergency recovery with reflog.
122
+
123
+ ### `observability`
124
+ **Command:** `/observability`
125
+
126
+ Structured logging (Pino for Node.js, structlog for Python). The three metric types: Counter, Gauge, Histogram. Four Golden Signals: latency, traffic, errors, saturation. OpenTelemetry with custom spans. SLOs, SLIs, error budgets. Health check endpoint patterns.
127
+
128
+ ---
129
+
130
+ ## Language Skills
131
+
132
+ Each language has a dedicated skill covering coding style, testing, patterns, security, and hooks:
133
+
134
+ | Skill | Languages |
135
+ |---|---|
136
+ | `typescript/coding-style` | TypeScript, JavaScript, React |
137
+ | `typescript/testing` | TypeScript test patterns, Playwright |
138
+ | `typescript/patterns` | API response format, Repository pattern, custom hooks |
139
+ | `typescript/security` | Secret management, input validation |
140
+ | `python/coding-style` | PEP 8, type hints, Pythonic idioms |
141
+ | `python/testing` | pytest patterns, fixtures, mocking |
142
+ | `python/patterns` | FastAPI patterns, async patterns |
143
+ | `go/coding-style` | Idiomatic Go, error handling |
144
+ | `go/testing` | Go test patterns, table-driven tests |
145
+ | `rust/coding-style` | Ownership patterns, Result/Option usage |
146
+ | `kotlin/coding-style` | Coroutines, Compose, clean architecture |
147
+ | `java/coding-style` | Spring Boot patterns, JPA, async |
148
+
149
+ ---
150
+
151
+ ## Domain Skills
152
+
153
+ ### Security Skills
154
+ - OWASP Top 10 checklist
155
+ - Secret management patterns
156
+ - Dependency CVE triage
157
+ - Authentication patterns
158
+
159
+ ### Performance Skills
160
+ - Profiling workflow
161
+ - Memory leak detection
162
+ - Bundle size optimization
163
+ - Query optimization patterns
164
+ - Core Web Vitals
165
+
166
+ ### Database Skills
167
+ - Schema design patterns
168
+ - Query optimization
169
+ - Migration strategies
170
+ - Supabase-specific patterns
86
171
 
87
172
  ---
88
173
 
89
- ## Security Skills
174
+ ## Generated Skills
90
175
 
91
- | Command | What it loads |
92
- |---------|--------------|
93
- | `/security-checklist` | OWASP Top 10, secrets, input validation |
94
- | `/auth-patterns` | JWT, OAuth2, session management |
176
+ Skills generated from your codebase or git history are stored in `~/.claude/skills/` (not the curated `skills/` directory). Generate them with:
177
+
178
+ ```bash
179
+ /skill-create → generates a skill from recent git activity
180
+ /learn → extracts patterns from the current session
181
+ ```
95
182
 
96
183
  ---
97
184
 
98
- ## Skill Placement
185
+ ## Skill Placement Policy
186
+
187
+ | Location | Content |
188
+ |---|---|
189
+ | `skills/` (repo) | Curated, versioned, high-quality skills — shipped with ECC |
190
+ | `~/.claude/skills/` | Generated, imported, or personal skills — user's own |
191
+
192
+ See `docs/SKILL-PLACEMENT-POLICY.md` for full guidelines.
193
+
194
+ ---
99
195
 
100
- - **Curated skills** live in `skills/` (committed to repo)
101
- - **Generated/imported skills** live in `~/.claude/skills/` (local only)
196
+ ## Invoking Any Skill
197
+
198
+ ```bash
199
+ # List all available commands (which correspond to skills)
200
+ /help
201
+
202
+ # Invoke a specific skill
203
+ /tdd
204
+ /smart-debug
205
+ /memory recall stripe webhook
206
+ /observability
207
+ /git-mastery
208
+ ```
102
209
 
103
- See `docs/SKILL-PLACEMENT-POLICY.md` for the full policy.
210
+ Skills are markdown. You can read any skill file directly to understand what it teaches before invoking it.