kodelyth-ecc 1.2.1 → 1.3.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.
package/AGENTS.md CHANGED
@@ -1,209 +1,129 @@
1
- # Kodelyth ECC — Agent Instructions
1
+ # AGENTS.md
2
2
 
3
- A **production-grade AI coding plugin** 50 specialized agents, 183 skills, 79 commands, and automated hook workflows. Enhanced and maintained by **Kodelyth**.
4
-
5
- **Version:** 1.1.0
3
+ This file is read by AI agents (Cascade, Cursor, Codex, etc.) on every session. It tells them how to work in this repo and how to use the 58 specialist agents and 187 skills shipped with Kodelyth ECC.
6
4
 
7
5
  ---
8
6
 
9
- ## Core Principles
7
+ ## Repo Identity
8
+
9
+ **Kodelyth ECC** — a production-grade AI coding toolkit installed into your `~/.claude/`, `.windsurf/`, `.cursor/`, `~/.codex/`, `.agent/`, or `.opencode/` directory by `npx kodelyth-ecc`.
10
10
 
11
- 1. **Agent-First** Route work to the right specialist immediately
12
- 2. **Test-Driven** — Write tests before implementation, 80%+ coverage required
13
- 3. **Security-First** — Never compromise on security; validate all inputs
14
- 4. **Immutability** — Always create new objects, never mutate existing ones
15
- 5. **Plan Before Execute** — Plan complex features before writing code
16
- 6. **Friendly by Default** — Guide clearly, respond to the person not just the problem
17
- 7. **Debug to Root Cause** — Never guess at fixes; trace errors systematically
18
- 8. **SVG Over Emoji** — Never use decorative emoji in responses or docs; use SVG badges and icons in rendered Markdown, plain Unicode symbols (✓ ✗) in terminal output only
19
- 9. **Budget-First** — Default to the lightest model that solves the problem. Never escalate model tier or spawn additional agents unless the lighter option demonstrably fails. Every token costs money.
11
+ This repo is the **source of truth** that ships those files. When working in this repo, you are editing the toolkit itself.
20
12
 
21
13
  ---
22
14
 
23
- ## Kodelyth Exclusive Agents
15
+ ## How to Use the Toolkit (For End Users)
16
+
17
+ The toolkit has two activation paths:
18
+
19
+ ### 1. Explicit invocation
20
+
21
+ ```
22
+ use kodelyth-advisor
23
+ @debug-detective
24
+ invoke security-reviewer
25
+ ```
26
+
27
+ ### 2. Implicit (intent routing)
28
+
29
+ The user describes their problem in plain language. You — the AI — read it, identify the right specialist, **announce the routing**, and **behave as that agent**.
30
+
31
+ The full intent → agent mapping lives in `rules/common/agent-intent-routing.md` and is loaded automatically on every session. Memorize the priority tiers:
32
+
33
+ | Tier | Theme |
34
+ |---|---|
35
+ | 1 | Crisis / emotional state (`kodelyth-advisor`, `pair-programmer`) |
36
+ | 2 | Active pain — broken (`debug-detective`, `build-error-resolver`, `env-debugger`, `silent-failure-hunter`) |
37
+ | 3 | Quality & review (`code-reviewer`, `security-reviewer`, `ux-reviewer`, `api-guardian`) |
38
+ | 4 | Performance (`performance-optimizer`) |
39
+ | 5 | Planning / architecture (`planner`, `architect`, `code-architect`, `migration-guide`) |
40
+ | 6 | Testing (`tdd-guide`, `e2e-runner`, `pr-test-analyzer`, `flake-hunter`) |
41
+ | 7 | Code hygiene (`refactor-cleaner`, `code-simplifier`, `type-design-analyzer`) |
42
+ | 8 | Documentation (`doc-updater`, `docs-lookup`, `comment-analyzer`) |
43
+ | 9 | Specialized (`seo-specialist`, `opensource-*`, `dependency-doctor`, `git-rescue`, `release-captain`) |
44
+ | 10 | Multi-agent handoffs |
45
+
46
+ ### Routing format (mandatory)
47
+
48
+ ```
49
+ → Routing to <agent-name> (<one-line reason>)
50
+
51
+ [response in that agent's persona]
52
+
53
+ Tip: next time you can type "use <agent-name>" to invoke me directly.
54
+ ```
24
55
 
25
- | Agent | Purpose | When to Use |
26
- |---|---|---|
27
- | kodelyth-advisor | Master guide — picks the right tool for your situation | Not sure where to start |
28
- | debug-detective | Root cause analyst — never guesses, always traces | Bug that resists fixing |
29
- | ux-reviewer | UX + WCAG 2.1 AA reviewer — never touches design | After building any frontend |
30
- | api-guardian | API contract protector — catches breaking changes | Before any PR touching API routes |
31
- | pair-programmer | Live thinking partner — catches wrong approach before coding | Before implementing anything non-trivial |
32
- | migration-guide | Framework/language migration specialist | Upgrading any major dependency |
56
+ Never silently switch personas. Always teach the user the explicit form.
33
57
 
34
58
  ---
35
59
 
36
- ## All Available Agents
37
-
38
- ### Guidance & Planning
39
- | Agent | Purpose | When to Use |
40
- |---|---|---|
41
- | kodelyth-advisor | Master engineering advisor | Any time you need direction |
42
- | planner | Implementation planning | Complex features, refactoring |
43
- | architect | System design and scalability | Architectural decisions |
44
- | code-architect | Feature architecture blueprints | New feature design |
45
- | chief-of-staff | Communication and workflow | Email, Slack, multi-channel ops |
46
-
47
- ### Code Review
48
- | Agent | Purpose | When to Use |
49
- |---|---|---|
50
- | code-reviewer | General code quality | After writing or modifying code |
51
- | typescript-reviewer | TypeScript/JavaScript review | TS/JS projects |
52
- | python-reviewer | Python review | Python projects |
53
- | go-reviewer | Go review | Go projects |
54
- | rust-reviewer | Rust review | Rust projects |
55
- | java-reviewer | Java/Spring Boot review | Java projects |
56
- | kotlin-reviewer | Kotlin/Android/KMP review | Kotlin projects |
57
- | cpp-reviewer | C++ review | C++ projects |
58
- | csharp-reviewer | C#/.NET review | C# projects |
59
- | flutter-reviewer | Flutter/Dart review | Flutter projects |
60
- | database-reviewer | PostgreSQL/Supabase review | Schema and query design |
61
- | healthcare-reviewer | Clinical safety and PHI | Healthcare applications |
62
-
63
- ### Build Error Resolution
64
- | Agent | Purpose | When to Use |
65
- |---|---|---|
66
- | build-error-resolver | General build errors | When build fails |
67
- | go-build-resolver | Go build errors | Go build failures |
68
- | rust-build-resolver | Rust/Cargo errors | Rust build failures |
69
- | java-build-resolver | Java/Maven/Gradle errors | Java build failures |
70
- | kotlin-build-resolver | Kotlin/Gradle errors | Kotlin build failures |
71
- | cpp-build-resolver | C++/CMake errors | C++ build failures |
72
- | dart-build-resolver | Dart/Flutter errors | Dart/Flutter failures |
73
- | pytorch-build-resolver | PyTorch/CUDA errors | ML training crashes |
74
-
75
- ### Debugging
76
- | Agent | Purpose | When to Use |
77
- |---|---|---|
78
- | debug-detective | Root cause analysis | Any hard-to-find bug |
79
- | silent-failure-hunter | Find swallowed errors | Silent bugs, bad fallbacks |
80
-
81
- ### Security
82
- | Agent | Purpose | When to Use |
83
- |---|---|---|
84
- | security-reviewer | Vulnerability detection | Before commits, sensitive code |
85
-
86
- ### UX & Design
87
- | Agent | Purpose | When to Use |
88
- |---|---|---|
89
- | ux-reviewer | UX and accessibility review | After building any UI |
90
-
91
- ### Code Quality
92
- | Agent | Purpose | When to Use |
93
- |---|---|---|
94
- | refactor-cleaner | Dead code cleanup | Code maintenance |
95
- | code-simplifier | Simplify for clarity | After complex changes |
96
- | performance-optimizer | Bottleneck analysis | When something is slow |
97
- | type-design-analyzer | Type design review | Type safety improvements |
98
- | comment-analyzer | Comment quality review | Documentation hygiene |
99
- | code-explorer | Codebase exploration | Understanding unfamiliar code |
100
-
101
- ### Testing
102
- | Agent | Purpose | When to Use |
103
- |---|---|---|
104
- | tdd-guide | Test-driven development | New features, bug fixes |
105
- | e2e-runner | End-to-end Playwright tests | Critical user flows |
106
- | pr-test-analyzer | PR test coverage review | Before merging PRs |
107
-
108
- ### Documentation
109
- | Agent | Purpose | When to Use |
110
- |---|---|---|
111
- | doc-updater | Documentation updates | Updating READMEs, codemaps |
112
- | docs-lookup | API docs via Context7 | Library/API questions |
113
- | seo-specialist | SEO audit and optimization | Web content and metadata |
114
-
115
- ### Open Source
116
- | Agent | Purpose | When to Use |
117
- |---|---|---|
118
- | opensource-forker | Fork for open-sourcing | Strip secrets, clean history |
119
- | opensource-packager | Package for public release | README, setup, license |
120
- | opensource-sanitizer | Verify sanitization | Before public release |
121
-
122
- ### Advanced Orchestration
123
- | Agent | Purpose | When to Use |
124
- |---|---|---|
125
- | loop-operator | Manage autonomous agent loops | Long-running agent tasks |
126
- | harness-optimizer | Tune harness config | Reliability and cost |
127
- | conversation-analyzer | Analyze transcripts for hooks | Hook configuration |
128
- | gan-planner | GAN spec expansion | GAN harness workflows |
129
- | gan-generator | GAN feature implementation | GAN harness workflows |
130
- | gan-evaluator | GAN evaluation via Playwright | GAN harness workflows |
60
+ ## Multi-Agent Chains
61
+
62
+ Standard chains documented in `skills/agent-handoff/SKILL.md`:
63
+
64
+ | Workflow | Chain |
65
+ |---|---|
66
+ | New feature | `pair-programmer` `tdd-guide` impl `code-reviewer` → `security-reviewer` (if sensitive) |
67
+ | Bug fix | `debug-detective` `tdd-guide` (regression test) `refactor-cleaner` (optional) |
68
+ | Refactor | `code-explorer` `refactor-cleaner` `tdd-guide` `code-reviewer` |
69
+ | API change | `api-guardian` `pair-programmer` `tdd-guide` `doc-updater` |
70
+ | Migration | `migration-guide` → `pair-programmer` (per phase) → `pr-test-analyzer` |
71
+ | Build broken | `build-error-resolver` → `dependency-doctor` (if dep) or `env-debugger` (if env) |
72
+ | Flaky CI | `flake-hunter` `tdd-guide` `release-captain` (if it gates a release) |
73
+ | Open-source | `opensource-forker` → `opensource-sanitizer` → `opensource-packager` → `release-captain` |
74
+ | Git crisis | `git-rescue` `release-captain` (if a release was midway) |
131
75
 
132
76
  ---
133
77
 
134
- ## Key Skills (load with /skill-name)
135
-
136
- ### Kodelyth Skills
137
- - `/kodelyth-quickstart` — Plain-language getting-started guide (**read this first**)
138
- - `/smart-debug`5-step systematic debugging framework
139
-
140
- ### Language Patterns
141
- - `/typescript-patterns`TypeScript + React + Next.js
142
- - `/python-patterns` Python best practices
143
- - `/golang-patterns` — Go best practices
144
- - `/rust-patterns` — Rust best practices
145
- - `/kotlin-patterns` — Kotlin/Android patterns
146
- - `/springboot-patterns` — Java Spring Boot
147
-
148
- ### Architecture & Backend
149
- - `/backend-patterns` — Service and repository layers
150
- - `/api-design` — REST API conventions
151
- - `/hexagonal-architecture` — Ports and adapters
152
- - `/postgres-patterns` — Database design and queries
153
- - `/docker-patterns` — Container patterns
154
- - `/deployment-patterns` — CI/CD and deployment
155
-
156
- ### Testing
157
- - `/tdd-workflow` — TDD step by step
158
- - `/python-testing` — Python test patterns
159
- - `/golang-testing` — Go test patterns
160
- - `/e2e-testing` — End-to-end test patterns
161
-
162
- ### Security
163
- - `/security-review` — Security audit guide
164
- - `/security-scan` — AgentShield vulnerability scan
165
-
166
- ### Frontend
167
- - `/frontend-patterns` — React component patterns
168
- - `/nextjs-turbopack` — Next.js App Router patterns
169
- - `/coding-standards` — Universal baseline
78
+ ## When Working IN This Repo (Toolkit Development)
79
+
80
+ When the user is editing this repo (the toolkit source itself):
81
+
82
+ 1. **Adding a new agent** create `agents/<name>.md` AND update `rules/common/agent-intent-routing.md` with trigger patterns. Also update `README.md` agent count and category table.
83
+ 2. **Adding a new skill** — create `skills/<name>/SKILL.md`. If it's a routing/handoff/meta skill, link it from `skills/intent-routing/SKILL.md` or `skills/agent-handoff/SKILL.md`.
84
+ 3. **Changing install behavior** — update BOTH `install.sh` (mac/linux) AND `install.ps1` (Windows). Verify with `npm test`.
85
+ 4. **Bumping versions** update BOTH `package.json` AND `VERSION`. Update `CHANGELOG.md`. Tag with `vX.Y.Z`.
86
+ 5. **Cross-platform changes** — test `node bin/kodelyth-ecc.js --help` and the install scripts on at least one platform.
170
87
 
171
88
  ---
172
89
 
173
- ## Key Commands (/command)
90
+ ## Code Style for This Repo
174
91
 
175
- | Command | What it does |
176
- |---|---|
177
- | `/kodelyth-quickstart` | Getting started guide |
178
- | `/smart-debug` | Load debugging framework |
179
- | `/tdd` | Test-driven development workflow |
180
- | `/plan` | Implementation planning |
181
- | `/code-review` | Quality review |
182
- | `/build-fix` | Fix build errors |
183
- | `/e2e` | Generate and run E2E tests |
184
- | `/learn` | Extract patterns from session |
185
- | `/security-scan` | Run AgentShield security scan |
92
+ - **Markdown** sentence case, fenced code blocks with language tag, no emojis unless in social SVGs
93
+ - **Bash** — POSIX-compatible where possible; macOS bash 3.2 is the floor
94
+ - **PowerShell** match feature parity with `install.sh`
95
+ - **Node** ES modules, Node 18+, no external runtime deps in `bin/` (use built-ins only)
186
96
 
187
97
  ---
188
98
 
189
- ## Hooks (automatic — no action needed)
99
+ ## Tests
190
100
 
191
- | Hook | What it does |
192
- |---|---|
193
- | Session start | Loads previous context |
194
- | Pre-commit | Catches console.log, secrets, bad commit messages |
195
- | Quality gate | Runs type checks + formatting after edits |
196
- | Config protection | Blocks weakening linter/formatter configs |
197
- | Git push reminder | Prompts review before push |
198
- | MCP health check | Validates MCP servers before calling |
199
- | Cost tracker | Logs token usage per session |
200
- | Desktop notify | macOS notification on task complete |
101
+ Run before any commit:
102
+
103
+ ```bash
104
+ npm test
105
+ ```
106
+
107
+ There are 38 tests covering hooks logic, file detection, and intent matching. Never weaken or skip tests; if behavior must change, update the test first.
201
108
 
202
109
  ---
203
110
 
204
- ## Credits
111
+ ## What This Repo Does NOT Have
112
+
113
+ - ❌ Cloud telemetry, analytics, dashboards (Lens was removed in v1.3.0 — it gave inaccurate cross-platform data)
114
+ - ❌ Background daemons or auto-running servers
115
+ - ❌ Required external services or accounts
116
+
117
+ This is markdown + shell + a thin Node wrapper. Keep it that way.
118
+
119
+ ---
205
120
 
206
- Built on [Kodelyth ECC](https://github.com/sifxprime/kodelyth-ecc) by [@sifxprime](https://github.com/sifxprime).
207
- Enhanced by **Kodelyth** — v1.0.0.
121
+ ## Useful Slash Commands When Editing This Repo
208
122
 
209
- > Powered by Kodelyth
123
+ ```
124
+ /kodelyth-quickstart Read first if new
125
+ /intent-routing Understand the routing rule
126
+ /agent-handoff Understand chain protocol
127
+ /skill-create Generate a new skill
128
+ /code-review Review your changes before commit
129
+ ```
package/CHANGELOG.md CHANGED
@@ -2,6 +2,38 @@
2
2
 
3
3
  All notable changes to Kodelyth ECC are documented here.
4
4
 
5
+ ## v1.3.0 — God-Tier Intent Routing + 5 New Agents (May 2026)
6
+
7
+ ### Removed
8
+ - **Kodelyth Lens dashboard** — bundled local dashboard removed. Cloud-AI platforms (Windsurf, Antigravity, parts of Cursor) don't expose token/cost data locally, which led to inaccurate or hardcoded zeros. The toolkit is now leaner and only does what it can do honestly.
9
+ - `dashboard/` folder, `scripts/agent-tracker-hook.js`, Lens auto-start logic in `install.sh`, Lens social SVGs
10
+
11
+ ### Added — God-Tier Intent Routing Rule
12
+ - New `rules/common/agent-intent-routing.md` — auto-loaded on every session
13
+ - 10 priority tiers (crisis → multi-agent chains)
14
+ - 50+ trigger pattern groups across emotional state, error keywords, language hints, framework signals
15
+ - Mandatory routing format: `→ Routing to <agent>` + persona switch + explicit-form teaching
16
+ - Counter-patterns (when NOT to route) baked in
17
+ - Documents standard chains for new feature, bug fix, refactor, migration, OSS prep, git crisis
18
+
19
+ ### Added — 5 New Specialist Agents
20
+ - `dependency-doctor` — npm/pip/cargo/maven dep hell, CVE triage, lockfile diagnosis, safe upgrade plans
21
+ - `git-rescue` — recovers broken git states (lost commits, bad rebases, force-pushes) without destroying history
22
+ - `release-captain` — owns the release ritual (semver, changelog, tagging, publishing, rollback rehearsal)
23
+ - `env-debugger` — "works on my machine" hunter (env vars, config layers, secrets, build-time vs runtime)
24
+ - `flake-hunter` — flaky test stabilization with 6-class taxonomy and real fixes (never adds blind retries)
25
+
26
+ ### Added — 2 New Meta Skills
27
+ - `skills/intent-routing/SKILL.md` — documents the routing system, priority tiers, trigger design rules
28
+ - `skills/agent-handoff/SKILL.md` — standard multi-agent chain protocol with 10 documented chains
29
+
30
+ ### Updated
31
+ - `README.md` — full rewrite emphasizing intent routing as the differentiator
32
+ - `KODELYTH.md` — reflects v1.3.0 changes
33
+ - `CLAUDE.md`, `AGENTS.md` — updated agent counts, intent routing guidance
34
+ - `install.sh` — removed all Lens install/auto-start blocks
35
+ - Counts: 58 agents (was 53), 187 skills (was 185), 79 commands, 15 rules (was 14)
36
+
5
37
  ## v1.2.0 — Lens Dashboard + Windsurf + npx (May 2026)
6
38
 
7
39
  ### Kodelyth Lens — AI Usage Dashboard
package/CLAUDE.md CHANGED
@@ -1,90 +1,99 @@
1
1
  # CLAUDE.md
2
2
 
3
- This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
3
+ Guidance for Claude Code when working with this repository.
4
4
 
5
5
  ## Project Overview
6
6
 
7
- This is a **Claude Code plugin** - a collection of production-ready agents, skills, hooks, commands, rules, and MCP configurations. The project provides battle-tested workflows for software development using Claude Code.
7
+ **Kodelyth ECC** a production-grade AI coding toolkit:
8
8
 
9
- ## Running Tests
10
-
11
- ```bash
12
- # Run all tests
13
- node tests/run-all.js
9
+ - **58 specialist agents** — debug-detective, code-reviewer, security-reviewer, etc.
10
+ - **187 skills** — domain knowledge, patterns, testing, security, intent routing
11
+ - **79 commands** — slash workflows (`/tdd`, `/plan`, `/code-review`, ...)
12
+ - **15+ hooks** — automated quality gates and session memory
13
+ - **15 rules** — always-on coding standards + the **god-tier intent routing rule**
14
14
 
15
- # Run individual test files
16
- node tests/lib/utils.test.js
17
- node tests/lib/package-manager.test.js
18
- node tests/hooks/hooks.test.js
19
- ```
15
+ Works with Claude Code, Windsurf, Cursor, Codex CLI, Antigravity, and OpenCode.
20
16
 
21
17
  ## Architecture
22
18
 
23
- The project is organized into several core components:
19
+ ```
20
+ agents/ → Specialist subagents (planner, code-reviewer, debug-detective, ...)
21
+ skills/ → Workflow + domain knowledge files (loadable via slash commands)
22
+ commands/ → Slash commands users invoke directly
23
+ hooks/ → Trigger-based automations (pre-commit, session memory, etc.)
24
+ rules/ → Always-on guidelines including agent-intent-routing.md
25
+ scripts/ → Cross-platform Node.js utilities for hooks and setup
26
+ tests/ → Test suite for scripts and hooks
27
+ ```
28
+
29
+ ## Running Tests
24
30
 
25
- - **agents/** - Specialized subagents for delegation (planner, code-reviewer, tdd-guide, etc.)
26
- - **skills/** - Workflow definitions and domain knowledge (coding standards, patterns, testing)
27
- - **commands/** - Slash commands invoked by users (/tdd, /plan, /e2e, etc.)
28
- - **hooks/** - Trigger-based automations (session persistence, pre/post-tool hooks)
29
- - **rules/** - Always-follow guidelines (security, coding style, testing requirements)
30
- - **mcp-configs/** - MCP server configurations for external integrations
31
- - **scripts/** - Cross-platform Node.js utilities for hooks and setup
32
- - **tests/** - Test suite for scripts and utilities
31
+ ```bash
32
+ npm test
33
+ # or directly
34
+ node tests/run-all.js
35
+ ```
33
36
 
34
- ## Key Commands
37
+ ## Intent Routing (v1.3.0+)
35
38
 
36
- - `/tdd` - Test-driven development workflow
37
- - `/plan` - Implementation planning
38
- - `/e2e` - Generate and run E2E tests
39
- - `/code-review` - Quality review
40
- - `/build-fix` - Fix build errors
41
- - `/learn` - Extract patterns from sessions
42
- - `/skill-create` - Generate skills from git history
43
- - `/kodelyth-quickstart` - Friendly plain-language getting-started guide (Kodelyth)
44
- - `/smart-debug` - Systematic debugging methodology (Kodelyth)
39
+ The toolkit ships with a god-tier intent routing rule (`rules/common/agent-intent-routing.md`) that auto-loads on every session. It maps user intent → specialist agent across 10 priority tiers.
45
40
 
46
- ## Kodelyth Additions
41
+ When a user message matches a routing pattern, you MUST:
47
42
 
48
- This is the **Kodelyth Enhanced Edition**. The following agents and skills were added:
43
+ 1. Acknowledge with `→ Routing to <agent>` (one line)
44
+ 2. Behave as that agent for the response
45
+ 3. Suggest the explicit form: `Tip: type "use <agent>"`
46
+ 4. Never silently route — transparency is mandatory
49
47
 
50
- | Type | Name | Purpose |
51
- |---|---|---|
52
- | Agent | `kodelyth-advisor` | Guides users to the right agent/skill for their task |
53
- | Agent | `debug-detective` | Traces bugs to root cause systematically, never guesses |
54
- | Agent | `ux-reviewer` | Reviews frontend for UX quality and WCAG 2.1 accessibility |
55
- | Skill | `kodelyth-quickstart` | Plain-language intro for new users |
56
- | Skill | `smart-debug` | Structured 5-step debugging framework |
48
+ ## Key Commands
57
49
 
58
- See [KODELYTH.md](KODELYTH.md) for full details.
50
+ - `/kodelyth-quickstart` friendly onboarding guide
51
+ - `/smart-debug` — systematic debugging
52
+ - `/tdd` — test-driven development workflow
53
+ - `/plan` — implementation planning
54
+ - `/code-review` — quality review
55
+ - `/git-mastery` — git workflows + recovery patterns
56
+ - `/observability` — logging, metrics, OpenTelemetry, SLOs
57
+
58
+ ## Specialist Agents (Pick the Right One)
59
+
60
+ | Use case | Agent |
61
+ |---|---|
62
+ | Lost / overwhelmed | `kodelyth-advisor` |
63
+ | Pre-implementation thinking | `pair-programmer` |
64
+ | Bug with error or stack trace | `debug-detective` |
65
+ | Bug with no error (silent fail) | `silent-failure-hunter` |
66
+ | Build / compile / type errors | `build-error-resolver` (or language-specific build resolver) |
67
+ | Slow code | `performance-optimizer` |
68
+ | Security review | `security-reviewer` |
69
+ | API contract check | `api-guardian` |
70
+ | Frontend / a11y | `ux-reviewer` |
71
+ | Framework upgrade | `migration-guide` |
72
+ | npm/pip/cargo dep hell | `dependency-doctor` |
73
+ | Broken git state | `git-rescue` |
74
+ | Cut a release | `release-captain` |
75
+ | "Works on my machine" | `env-debugger` |
76
+ | Flaky tests | `flake-hunter` |
77
+ | Tests / coverage | `tdd-guide` |
78
+ | Refactor / cleanup | `refactor-cleaner` |
79
+ | Open-source a project | `opensource-forker` (chain start) |
59
80
 
60
81
  ## Development Notes
61
82
 
62
- - Package manager detection: npm, pnpm, yarn, bun (configurable via `CLAUDE_PACKAGE_MANAGER` env var or project config)
63
- - Cross-platform: Windows, macOS, Linux support via Node.js scripts
64
- - Agent format: Markdown with YAML frontmatter (name, description, tools, model)
65
- - Skill format: Markdown with clear sections for when to use, how it works, examples
66
- - Skill placement: Curated in skills/; generated/imported under ~/.claude/skills/. See docs/SKILL-PLACEMENT-POLICY.md
83
+ - Package manager detection: npm, pnpm, yarn, bun
84
+ - Cross-platform: Windows (`install.ps1`), macOS / Linux (`install.sh`), or `npx` anywhere
85
+ - Agent format: Markdown with YAML frontmatter (name, description, tools)
86
+ - Skill format: Markdown with clear sections (description, when to use, how it works)
67
87
  - Hook format: JSON with matcher conditions and command/notification hooks
68
88
 
69
89
  ## Contributing
70
90
 
71
- Follow the formats in CONTRIBUTING.md:
72
- - Agents: Markdown with frontmatter (name, description, tools, model)
73
- - Skills: Clear sections (When to Use, How It Works, Examples)
74
- - Commands: Markdown with description frontmatter
75
- - Hooks: JSON with matcher and hooks array
76
-
77
- File naming: lowercase with hyphens (e.g., `python-reviewer.md`, `tdd-workflow.md`)
78
-
79
- ## Skills
91
+ When adding a new agent:
80
92
 
81
- Use the following skills when working on related files:
93
+ 1. Create `agents/<name>.md` with YAML frontmatter
94
+ 2. Add trigger patterns to `rules/common/agent-intent-routing.md` (so the router knows when to call you)
95
+ 3. If part of a chain, document the handoff in `skills/agent-handoff/SKILL.md`
82
96
 
83
- | File(s) | Skill |
84
- |---------|-------|
85
- | `README.md` | `/readme` |
86
- | `.github/workflows/*.yml` | `/ci-workflow` |
87
- | New users / onboarding | `/kodelyth-quickstart` |
88
- | Any debugging session | `/smart-debug` |
97
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for full templates.
89
98
 
90
- When spawning subagents, always pass conventions from the respective skill into the agent's prompt.
99
+ File naming: lowercase with hyphens (e.g., `dependency-doctor.md`, `flake-hunter.md`).