Skip to content

Commit d834bbf

Browse files
luiseimanclaude
andcommitted
docs: OpenClaw integration across all documentation
- forge-export.md: added openclaw to dispatch options - README: added integrations/ to architecture diagram (EN + ES) - architecture-components.md: new Integrations section with OpenClaw bridge skill and export mechanisms - changelog: v2.2.0 entry updated with OpenClaw features - CLAUDE.md: Integrations subsection in Architecture Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 4512f1c commit d834bbf

5 files changed

Lines changed: 41 additions & 5 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ Six subagent definitions in `agents/`: researcher (read-only exploration), archi
6969

7070
`audit/checklist.md` defines 12 items (5 obligatory scored 0-2, 7 recommended scored 0-1). `audit/scoring.md` normalizes to a 10-point scale. Security-critical items (settings.json, block-destructive hook) cap the score at 6.0 if missing. Registry in `registry/projects.yml` tracks scores across managed projects.
7171

72+
### Integrations
73+
74+
`integrations/` contains cross-tool bridges. Currently: OpenClaw (`integrations/openclaw/`) with a bridge skill for operating `/forge` from messaging channels, and `/forge export openclaw` for generating project-specific OpenClaw workspace skills.
75+
7276
## Conventions
7377

7478
- Rules files: markdown with `globs:` frontmatter for auto-load

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ claude-kit/
7979
├── global/ # Global ~/.claude/ management (CLAUDE.md, settings, sync.sh)
8080
├── registry/ # Project tracking with scores and history
8181
├── hooks/ # Global post-session change detection hook
82+
├── integrations/ # Cross-tool bridges (OpenClaw)
8283
├── docs/ # Guides, patterns, security checklist
83-
└── tests/ # Hook test suite
84+
└── tests/ # Hook test suite + benchmark tasks
8485
```
8586

8687
## Stacks
@@ -278,8 +279,9 @@ claude-kit/
278279
├── global/ # Gestión global de ~/.claude/ (CLAUDE.md, settings, sync.sh)
279280
├── registry/ # Seguimiento de proyectos con puntajes e historial
280281
├── hooks/ # Hook global post-sesión para detección de cambios
282+
├── integrations/ # Bridges cross-tool (OpenClaw)
281283
├── docs/ # Guías, patrones, checklist de seguridad
282-
└── tests/ # Suite de tests para hooks
284+
└── tests/ # Suite de tests para hooks + benchmark tasks
283285
```
284286

285287
## Stacks

docs/changelog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,12 @@
66
77
## v2.2.0 (2026-03-20)
88

9-
### CI/CD + Quality
9+
### CI/CD + Quality + OpenClaw Integration
1010
- Nuevo: GitHub Actions CI workflow — validates hooks (bash -n + permissions), YAML files, rules frontmatter, stack completeness, skill completeness, benchmark tasks, version consistency
1111
- Nuevo: `tests/lint-rules.sh` — validates all rule .md files have `globs:` frontmatter
12+
- Nuevo: `integrations/openclaw/` — bridge skill que permite operar `/forge` desde WhatsApp, Telegram, Slack, Discord via OpenClaw
13+
- Nuevo: `/forge export openclaw` — genera un workspace skill de OpenClaw por proyecto con contexto, reglas, deny list, y bridge CLI
14+
- Cambio: `forge-export.md` y export-config skill actualizados con OpenClaw como cuarto target
1215
- Fix: plugin.json version synced to VERSION file (CI catches mismatches)
1316

1417
---

docs/internal/architecture-components.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ Internal reference for claude-kit contributors. Maps all components and their in
1414
│ global/ │
1515
│ (~/.claude/ management via sync.sh) │
1616
├─────────────────────────────────────────────────────────────────┤
17+
│ integrations/ │
18+
│ (cross-tool bridges: OpenClaw) │
19+
├─────────────────────────────────────────────────────────────────┤
1720
│ registry/ │
1821
│ (cross-project tracking) │
1922
└─────────────────────────────────────────────────────────────────┘
@@ -158,3 +161,27 @@ See `docs/config-validation.md` for full documentation. Four layers:
158161
| Behavioral | `session-report.sh` | Session metrics (blocks, coverage, errors) |
159162
| Coverage | `/forge rule-check` | Rule match rate against git history |
160163
| Comparative | `/forge benchmark` | Full config vs minimal config on standard tasks |
164+
165+
## Integrations
166+
167+
`integrations/` contains cross-tool bridges that let other platforms use claude-kit.
168+
169+
### OpenClaw (`integrations/openclaw/`)
170+
171+
Two mechanisms:
172+
173+
1. **Bridge skill** (`integrations/openclaw/SKILL.md`) — standalone OpenClaw skill that proxies all `/forge` commands via `claude --print`. Install with `bash integrations/openclaw/install.sh` → symlinks into `~/.openclaw/skills/forge/`.
174+
175+
2. **Export** (`/forge export openclaw`) — generates a project-specific OpenClaw workspace skill at `~/.openclaw/skills/{project}/SKILL.md` with project context, rules, deny list, and claude CLI bridge. Part of the standard export-config skill.
176+
177+
| Mechanism | Scope | Content |
178+
|-----------|-------|---------|
179+
| Bridge skill | All projects | Proxies `/forge` commands, resolves project from registry |
180+
| Export | Single project | Project-specific context, rules as instructions, CLI bridge |
181+
182+
### Adding new integrations
183+
184+
Each integration lives in `integrations/<tool>/` with:
185+
- `SKILL.md` or equivalent config in the target tool's format
186+
- `install.sh` for automated setup
187+
- Documentation of what's preserved vs lost in the conversion

global/commands/forge-export.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: forge-export
3-
description: Export config to Cursor (.cursorrules), Codex (AGENTS.md), or Windsurf (.windsurfrules)
3+
description: Export config to Cursor (.cursorrules), Codex (AGENTS.md), Windsurf (.windsurfrules), or OpenClaw (SKILL.md)
44
---
55

6-
Run `/forge export` with target from $ARGUMENTS (cursor|codex|windsurf). Converts the project's claude-kit configuration to the target editor's format.
6+
Run `/forge export` with target from $ARGUMENTS (cursor|codex|windsurf|openclaw). Converts the project's claude-kit configuration to the target editor's format.

0 commit comments

Comments
 (0)