Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

coding-lead

БесплатноБез исполняемых скриптовНе проверен

Coding execution skill for any implementation-focused agent. Current production path is claude-only with simple tasks direct, medium tasks preferring ACP run…

lxyeternalот lxyeternal★ 68 звёзд на GitHub

Об этом скилле

Coding Lead

This is a coding execution skill for any agent that owns implementation work. It defines how coding work runs, not who should own the task. In multi-agent teams, routing may be handled elsewhere; in single-agent use, this skill still works directly.

Route by complexity. Current production path is claude-only. Do not depend on ACP session persistence in IM threads; use direct execution, direct acpx, and existing implementation session continuity instead.

Task Classification

Level Criteria Action
Simple Single file, <60 lines, clear local scope Direct: read/write/edit/exec
Medium 2-5 files, clear scope, likely follow-up questions Prefer Claude ACP mode:"run" or direct acpx → fallback direct
Complex Multi-module, architecture, needs continuity Use existing implementation session continuity + context files + direct acpx/direct execution

When in doubt, go one level up.

Practical default rule

  • Simple: stay in the current session; do not open ACP unless clearly beneficial
  • Medium: prefer Claude ACP one-shot (run) when available; otherwise direct acpx
  • Complex: preserve continuity through the existing implementation session, on-disk context files, and serial follow-ups; do not make IM-bound ACP session the default path
  • ACP unavailable: medium/complex fall back to direct acpx or direct execution; simple tasks were already direct by default
  • Never block on ACP availability: ACP is an accelerator, not a hard dependency

Multi-agent dispatch rule (when dispatching to other agents)

  • Dispatch to ACP-configured agents (agents with runtime.type: "acp" in openclaw.json): use sessions_spawn(runtime="acp"), may include streamTo="parent"
  • Dispatch to standard agents (all others): use sessions_spawn(runtime="subagent"), never include streamTo
  • Results from subagent spawns arrive via auto-announce, not polling
  • How to tell which is which: check the target agent's config in openclaw.json — if it has runtime.type: "acp", use ACP; otherwise use subagent

Tech Stack (New Projects)

Layer Preferred Fallback
Backend PHP (Laravel/ThinkPHP) Python
Frontend Vue.js React
Mobile Flutter UniApp-X
CSS Tailwind -
DB MySQL PostgreSQL

Existing projects: follow current stack. New: propose first, wait for confirmation.

Tool Detection & Fallback

All tools are optional. Detect once per session:

Tool Check Fallback
smart-agent-memory node ~/.openclaw/skills/smart-agent-memory/scripts/memory-cli.js stats ok? memory_search + manual .md writes
qmd qmd --version ok? grep (Linux/macOS) / Select-String (Windows) / find
ACP See ACP detection below Direct read/write/edit/exec

Notation: [memory] [qmd] [acp] = use if available, fallback if not.

ACP Detection & Routing

Run once per session, stop at first success:

Step 1: Try sessions_spawn (timeout: 30s)

sessions_spawn(runtime: "acp", agentId: "claude", task: "say hello", mode: "run", runTimeoutSeconds: 30)

Preferred in OpenClaw because it cleanly supports both:

  • mode: "run" for one-shot coding tasks
  • mode: "session" for persistent long-context coding threads
  • Got a reply → ACP_MODE = "spawn". Done.
  • Error or no reply within 30s → kill session, go to Step 2.

Step 2: Try acpx CLI (timeout: 30s)

# Detect acpx path (OS-dependent)
# Windows: %APPDATA%\npm\node_modules\openclaw\extensions\acpx\node_modules\.bin\acpx.cmd
# macOS/Linux: $(npm root -g)/openclaw/extensions/acpx/node_modules/.bin/acpx

# Use exec with timeout
acpx claude exec "say hello"   # timeout 30s
  • Got a reply → ACP_MODE = "acpx". Done.
  • Error, empty output, or stuck beyond 30s → kill process, go to Step 3.

Step 3: No ACP available

ACP_MODE = "direct". Agent executes all coding tasks directly with read/write/edit/exec. Load team standards (see Coding Standards below).

Cache the result

Set a session variable (mental note): ACP_MODE = "spawn" | "acpx" | "direct"

  • Cache lifetime = current session. Each new session re-detects once. Keep the detection note minimal and refresh it whenever the underlying mode stops working.
  • If a cached mode fails mid-session (e.g. acpx suddenly errors), re-run detection from Step 1.

ACP Agent Policy

Current supported ACP coding agent: claude only.

  • Do not route coding work to codex or other future agents in the production path yet.
  • If a request merely mentions ACP or coding-agent execution without naming a different approved agent, default detection and execution guidance to Claude.
  • If documentation mentions other coding agents, treat them as future possibilities only, not curr
Полный SKILL.md на GitHub

Установить coding-lead в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_meta.json

FAQ

Что делает скилл coding-lead?

Coding execution skill for any implementation-focused agent. Current production path is claude-only with simple tasks direct, medium tasks preferring ACP run or direct acpx, and complex tasks handled via existing agent continuity plus context files instead of ACP session persistence. Integrates with qmd and smart-agent-memory when available.

Как установить скилл coding-lead?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл coding-lead запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить coding-lead с