You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ROADMAP.md
+13-36Lines changed: 13 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,17 @@
1
1
# Roadmap claude-kit
2
2
3
-
Estado actual: **v2.4.0** (2026-03-21)
3
+
Estado actual: **v2.5.0** (2026-03-21)
4
+
5
+
---
6
+
7
+
## v2.5.0 — Completado
8
+
9
+
-`/forge capture` sin args: auto-detección de contexto de sesión, propone insight pre-formateado, pide confirmación Y/n/edit antes de guardar
10
+
-`/cap`: alias shorthand para `/forge capture` — 4 chars vs 14
11
+
- Regla proactiva de captura en `template/rules/_common.md`: Claude sugiere `/cap` al detectar workaround, bug multi-intento, decisión con trade-offs, o comportamiento no-obvio
12
+
- MCP server templates en `mcp/`: github, postgres, supabase, redis, slack — cada uno con config.json, permissions.json, rules.md
13
+
-`template/rules/model-routing.md`: criterios explícitos para haiku/sonnet/opus por tipo de tarea
14
+
- 7 agents actualizados con modelo explícito (researcher/test-runner=haiku, implementer/code-reviewer/session-reviewer=sonnet, architect/security-auditor=opus)
4
15
5
16
---
6
17
@@ -25,41 +36,7 @@ Estado actual: **v2.4.0** (2026-03-21)
25
36
26
37
---
27
38
28
-
## v2.5.0 — Learning loop + MCP + Model routing
29
-
30
-
Foco: cerrar el loop de aprendizaje automático, cubrir el gap de MCP, y establecer model routing explícito.
31
-
32
-
### `/forge capture` sin args — auto-detección de contexto
33
-
34
-
-`/forge capture` sin argumentos analiza el contexto reciente de la conversación
35
-
- Propone un insight pre-formateado basado en señales de la sesión (workaround, bug multi-intento, decisión con trade-offs)
36
-
- Pide confirmación o edición antes de guardar — nunca escribe sin aprobación del usuario
37
-
- Complementa la regla proactiva de A1 (ya implementada en `template/rules/_common.md`)
38
-
- Complementa el alias `/cap` (ya implementado en `global/commands/cap.md`)
39
-
- Modifica: `skills/capture-practice/SKILL.md` — agregar rama de `$ARGUMENTS` vacío
40
-
41
-
### MCP server templates
42
-
43
-
- Nuevo directorio `mcp/` con templates para servicios comunes
- Cada template: `config.json` (entrada mergeable a mcpServers), `permissions.json` (allow/deny por tool), `rules.md` (reglas Claude-consumed con globs frontmatter)
46
-
-`mcp/README.md`: instrucciones de instalación y composición
47
-
-`mcp/_detect.md`: señales de detección para `/forge bootstrap`
48
-
-`/forge bootstrap` detecta `mcpServers` en `~/.claude/settings.json` y sugiere instalar rules
49
-
- Separación global/proyecto: mcpServers vive en `~/.claude/`, rules en `.claude/rules/mcp-<name>.md`
50
-
51
-
### Model routing rules
52
-
53
-
- Nuevo archivo `template/rules/model-routing.md`
54
-
- Criterios explícitos para haiku / sonnet / opus por tipo de tarea
55
-
- Los 7 agents actualizan su frontmatter `model:` con el modelo óptimo por rol:
56
-
-`researcher`, `test-runner` → haiku (velocidad sobre profundidad)
Copy file name to clipboardExpand all lines: docs/changelog.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,20 @@
4
4
>
5
5
> Historial de versiones. Las entradas usan español/inglés mixto según la evolución del proyecto. Los términos técnicos son universales.
6
6
7
+
## v2.5.0 (2026-03-21)
8
+
9
+
### Learning Loop + MCP Templates + Model Routing
10
+
11
+
- Nuevo: `/forge capture` modo auto-detección — sin args, analiza contexto de sesión, propone insight pre-formateado, pide confirmación Y/n/edit antes de guardar
12
+
- Nuevo: `/cap` — alias shorthand para `/forge capture` (4 chars vs 14)
13
+
- Nuevo: Regla proactiva en `template/rules/_common.md` — Claude sugiere `/cap` al detectar workaround, bug multi-intento, decisión con trade-offs, o comportamiento de API no-obvio
14
+
- Nuevo: `mcp/` — templates de servidores MCP para github, postgres, supabase, redis, slack. Cada uno con config.json (mcpServers entry), permissions.json (allow/deny/prompt por tool), rules.md (reglas Claude-consumed). Auto-detectados por `/forge bootstrap`
15
+
- Nuevo: `template/rules/model-routing.md` — criterios explícitos haiku/sonnet/opus por tipo de tarea, con tabla de escalation y MCP operations
16
+
- Cambio: 7 agents con modelo explícito — researcher/test-runner=haiku, implementer/code-reviewer/session-reviewer=sonnet, architect/security-auditor=opus. Anterior: todos en `model: inherit`
|**When to use**| Your code uses this technology | Claude uses this external service via MCP |
219
+
220
+
Example: A project using Redis locally AND the Redis MCP server would use **both**: the `redis` stack (rules for writing Redis code) and `mcp/redis/` (rules for using Redis tools in Claude sessions).
Copy file name to clipboardExpand all lines: docs/troubleshooting.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -121,3 +121,30 @@ chmod +x .claude/hooks/*.sh
121
121
- El hook evita duplicados por día
122
122
123
123
**Fix:** Instalar manualmente el hook global siguiendo las instrucciones en el script.
124
+
125
+
## MCP server tools not available
126
+
127
+
**Symptom:** Claude can't use GitHub/Postgres/Supabase tools even though the MCP server is configured.
128
+
129
+
**Checklist:**
130
+
1. Is the server registered in `~/.claude/settings.json` under `mcpServers`?
131
+
2. Is the required env var set? (`GITHUB_TOKEN`, `DATABASE_URL`, `SUPABASE_ACCESS_TOKEN`)
132
+
3. Is the npm package installed or accessible via `npx`?
133
+
134
+
**Fix:** Copy the `mcpServers` entry from `mcp/<server>/config.json` into `~/.claude/settings.json`.
135
+
136
+
## MCP tool denied unexpectedly
137
+
138
+
**Symptom:** Claude says a tool is blocked when you expected it to work.
139
+
140
+
**Cause:** The tool appears in the `deny` list in `.claude/settings.json` from the template in `mcp/<server>/permissions.json`.
141
+
142
+
**Fix:** Review `mcp/<server>/permissions.json`. Move the tool from `deny` to `allow` (or remove from deny) in `.claude/settings.json` if appropriate for your project.
143
+
144
+
## /cap or /forge capture auto-detect finds nothing
145
+
146
+
**Symptom:** Running `/cap` returns "No generalizable insight detected in this session."
147
+
148
+
**Cause:** The skill looks for specific signals (workaround, multi-attempt bug, arch decision, non-obvious API behavior). Routine sessions with clean first-attempt solutions won't trigger.
149
+
150
+
**Fix:** Use `/cap "description"` with explicit text. Auto-detect is for non-trivial sessions only.
Copy file name to clipboardExpand all lines: docs/usage-guide.md
+77-6Lines changed: 77 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Usage Guide — claude-kit
2
2
3
-
**Version:** 2.0.0
4
-
**Date:** 2026-03-20
3
+
**Version:** 2.5.0
4
+
**Date:** 2026-03-21
5
5
6
6
claude-kit is a configuration factory for Claude Code. It generates and maintains the `.claude/` folder of your projects: rules, hooks, permissions, agents, and commands. Everything is markdown + shell scripts — no application code.
7
7
@@ -21,6 +21,8 @@ claude-kit is a configuration factory for Claude Code. It generates and maintain
21
21
10.[Generated structure](#10-generated-structure)
22
22
11.[Config validation](#11-config-validation)
23
23
12.[FAQ](#12-faq)
24
+
13.[MCP server templates](#13-mcp-server-templates)
25
+
14.[Model routing](#14-model-routing)
24
26
25
27
---
26
28
@@ -46,7 +48,7 @@ cd ~/Documents/GitHub/claude-kit # or wherever you cloned claude-kit
46
48
| Component | Location | Method |
47
49
|-----------|----------|--------|
48
50
| Skills (15) |`~/.claude/skills/`| Symlinks |
49
-
| Agents (6) |`~/.claude/agents/`| Symlinks |
51
+
| Agents (7) |`~/.claude/agents/`| Symlinks |
50
52
|`/forge` command |`~/.claude/commands/forge.md`| Copy (Claude Code does not follow symlinks for commands) |
51
53
| Global CLAUDE.md |`~/.claude/CLAUDE.md`| Merge with `<!-- forge:custom -->` preservation |
52
54
| Global settings.json |`~/.claude/settings.json`| Merge of deny list + hooks |
@@ -65,7 +67,7 @@ Output:
65
67
CLAUDE.md: OK synced
66
68
settings.json: deny list 9 items (template: 9)
67
69
Skills: 15/15 installed
68
-
Agents: 6/6 installed
70
+
Agents: 7/7 installed
69
71
Commands: forge.md (file)
70
72
```
71
73
@@ -277,7 +279,9 @@ Deletes `.claude/` and re-runs a full bootstrap. But:
277
279
278
280
| Command | Description |
279
281
|---------|-------------|
280
-
|`/forge capture "text"`| Record an insight in inbox |
282
+
|`/forge capture "text"`| Record an insight in inbox (explicit) |
|`/cap`| Shorthand alias for `/forge capture` (auto-detect mode) |
281
285
|`/forge update`| Process inbox -> evaluate -> incorporate |
282
286
|`/forge watch`| Check for updates in Anthropic docs |
283
287
|`/forge scout`| Review curated repos for patterns |
@@ -425,7 +429,7 @@ Last update: 2026-03-20
425
429
| Rules (_common + stack) | Y | Y | Y |
426
430
| Hook lint-on-save | -- | Y | Y |
427
431
| Commands (audit, health, debug, review) | -- | Y | Y |
428
-
| Agents (6) + orchestration | -- | Y | Y |
432
+
| Agents (7) + orchestration | -- | Y | Y |
429
433
| CLAUDE_ERRORS.md | -- | Y (empty) | Y (pre-populated) |
430
434
| Rule memory.md | -- | Y | Y |
431
435
| Hook warn-missing-test | -- | -- | Y |
@@ -617,6 +621,73 @@ No. With the `minimal` profile they are not installed. With `standard` and `full
617
621
618
622
---
619
623
624
+
## 13. MCP server templates
625
+
626
+
MCP servers extend Claude Code with tools for external services. claude-kit provides ready-to-use templates in `mcp/` covering configuration, permissions, and usage rules.
**Step 1 — Register the server globally (once per machine):**
641
+
Copy the `mcpServers` entry from `mcp/<server>/config.json` into `~/.claude/settings.json`. Replace `${ENV_VAR}` with real values or set env vars in your shell profile.
Or let `/forge bootstrap` handle it automatically — it detects configured `mcpServers` in `~/.claude/settings.json` and offers to install matching rule templates.
See [mcp/README.md](../mcp/README.md) for full documentation.
658
+
659
+
---
660
+
661
+
## 14. Model routing
662
+
663
+
claude-kit includes explicit model selection criteria in `template/rules/model-routing.md`. Every bootstrapped project gets this rule, which guides both direct Claude work and subagent instantiation.
| test-runner | haiku | Execute and report — no reasoning needed |
679
+
| implementer | sonnet | Standard implementation work |
680
+
| code-reviewer | sonnet | Focused review, single concern |
681
+
| session-reviewer | sonnet | Pattern analysis, not architecture |
682
+
| architect | opus | Tradeoffs with lasting consequences |
683
+
| security-auditor | opus | Missing a vulnerability has prod consequences |
684
+
685
+
### Escalation rule
686
+
687
+
Start with sonnet. Escalate to opus when: 2+ valid approaches with real consequences for choosing wrong, task touches security/data integrity/production systems, or after 2 attempts the approach is still unclear.
0 commit comments