搜索

PythonReactSEOPDF
OpenClaw

swarm-coding-skill

Autonomous multi-agent code generation. Planner creates manifest, specialized roles execute tasks. Generates complete projects with tests, Docker, CI, and decision logs.

arunnadarasa0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install arunnadarasa/swarm-coding-skill

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Swarm Coding Skill

Fully autonomous multi-agent software development. Given a plain-English prompt, the swarm designs, implements, tests, and delivers a complete project end-to-end.

Core capability: Code generation via OpenRouter's qwen3-coder model. The orchestrator drives a Planner to create a manifest, then executes specialized worker roles (BackendDev, FrontendDev, QA, DevOps, etc.) in dependency order. All code is written to files; no interactive sessions.

Important: This skill generates code for review and deployment by the user. It does not make business decisions or operate autonomously in production. The user remains responsible for security, compliance, and operational decisions.

How It Works

  1. Orchestrator (Planner role) analyzes your prompt, decides tech stack and architecture, and creates a swarm.yaml manifest with tasks and dependencies.
  2. Worker agents (BackendDev, FrontendDev, QA, DevOps) are spawned as sub-sessions. Each has a clear persona and works on its assigned files in a shared workspace.
  3. Coordination: The orchestrator tracks task completion and dependencies. When a task finishes, it marks it done and starts any unblocked downstream tasks.
  4. Conflict avoidance: Files are partitioned by role (Backend owns server/, Frontend owns client/, etc.). If two roles need the same file, the manifest assigns an owner.
  5. Quality gates: QA must pass tests before integration; DevOps ensures containerization; no merge without green tests.
  6. Deliverable: You get a complete project directory with README, tests, Dockerfile, and optionally a GitHub repo or zip.

Usage

# In your main OpenClaw session, invoke:
/trigger swarm-code "Build a dashboard that shows Moltbook stats and ClawCredit status"

The skill will:

  • Spawn the orchestrator in an isolated session
  • Orchestrator spawns workers sequentially or in parallel (based on dependencies)
  • Output a final summary and path to the...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/arunnadarasa/swarm-coding-skill
Version
—
Commit
6686a997dcb4dc8f0f968b11fd90e06074d52666
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

Swarm Coding Skill

Fully autonomous multi-agent software development. Give a plain-English prompt describing an app, and the swarm designs, implements, tests, and delivers a complete project end-to-end.

Requirements

  • Node.js v18+
  • OpenRouter API key with access to qwen/qwen3-coder
  • Workspace with .env containing OPENROUTER_API_KEY

Usage

# From the workspace root, run:
cd clawhub-swarm-coding-skill
node orchestrator.js "Build a dashboard that shows Moltbook stats and ClawCredit status"

The orchestrator will:

  1. Create a project workspace under swarm-projects/<timestamp>/
  2. Spawn a Planner (uses qwen-coder) to generate a swarm.yaml manifest
  3. Execute specialized workers: BackendDev, FrontendDev, QA, DevOps
  4. Assemble final project in the same directory
  5. Print the final location on success

You can then cd into that directory and run npm install and npm start.

How It Works

  • Exclusive model: All agents use qwen/qwen3-coder (the correct OpenRouter model ID is qwen/qwen3-coder, not openrouter/qwen/qwen3-coder).
  • Manifest: A YAML-like JSON describing roles, outputs, and dependencies
  • Workers: Each runs sequentially based on dependencies; each writes files to a shared files/ workspace
  • Retry: Failed tasks are retried once with stricter instructions
  • Quality: QA must create tests; DevOps adds Docker and CI; all code is production-style
Model Access

Ensure your OpenRouter API key has qwen/qwen3-coder enabled:

  1. Go to https://openrouter.ai/keys
  2. Edit your key
  3. Under "Model Access", check qwen/qwen3-coder
  4. Save

If you get "not a valid model ID" errors, it usually means the model ID format is wrong or your key lacks access.

Output Structure

swarm-projects/
└── swarm-2026-02-14T21-30-00/
    ├── swarm.yaml              # manifest
    ├── tasks.json              # execution log
    ├── DECISIONS.md            # architectural decisions with rationale
    ├── .learn...

来源内容

SKILL.md
# Swarm Coding Skill

Fully autonomous multi-agent software development. Given a plain-English prompt, the swarm designs, implements, tests, and delivers a complete project end-to-end.

**Core capability:** Code generation via OpenRouter's qwen3-coder model. The orchestrator drives a Planner to create a manifest, then executes specialized worker roles (BackendDev, FrontendDev, QA, DevOps, etc.) in dependency order. All code is written to files; no interactive sessions.

**Important:** This skill **generates code** for review and deployment by the user. It does not make business decisions or operate autonomously in production. The user remains responsible for security, compliance, and operational decisions.

## How It Works

1. **Orchestrator** (`Planner` role) analyzes your prompt, decides tech stack and architecture, and creates a `swarm.yaml` manifest with tasks and dependencies.
2. **Worker agents** (`BackendDev`, `FrontendDev`, `QA`, `DevOps`) are spawned as sub-sessions. Each has a clear persona and works on its assigned files in a shared workspace.
3. **Coordination**: The orchestrator tracks task completion and dependencies. When a task finishes, it marks it done and starts any unblocked downstream tasks.
4. **Conflict avoidance**: Files are partitioned by role (Backend owns `server/`, Frontend owns `client/`, etc.). If two roles need the same file, the manifest assigns an owner.
5. **Quality gates**: QA must pass tests before integration; DevOps ensures containerization; no merge without green tests.
6. **Deliverable**: You get a complete project directory with README, tests, Dockerfile, and optionally a GitHub repo or zip.

## Usage

```bash
# In your main OpenClaw session, invoke:
/trigger swarm-code "Build a dashboard that shows Moltbook stats and ClawCredit status"
```

The skill will:
- Spawn the orchestrator in an isolated session
- Orchestrator spawns workers sequentially or in parallel (based on dependencies)
- Output a final summary and path to the...
README
# Swarm Coding Skill

Fully autonomous multi-agent software development. Give a plain-English prompt describing an app, and the swarm designs, implements, tests, and delivers a complete project end-to-end.

## Requirements

- Node.js v18+
- OpenRouter API key with access to `qwen/qwen3-coder`
- Workspace with `.env` containing `OPENROUTER_API_KEY`

## Usage

```bash
# From the workspace root, run:
cd clawhub-swarm-coding-skill
node orchestrator.js "Build a dashboard that shows Moltbook stats and ClawCredit status"
```

The orchestrator will:
1. Create a project workspace under `swarm-projects/<timestamp>/`
2. Spawn a Planner (uses qwen-coder) to generate a `swarm.yaml` manifest
3. Execute specialized workers: BackendDev, FrontendDev, QA, DevOps
4. Assemble final project in the same directory
5. Print the final location on success

You can then `cd` into that directory and run `npm install` and `npm start`.

## How It Works

- **Exclusive model**: All agents use `qwen/qwen3-coder` (the correct OpenRouter model ID is `qwen/qwen3-coder`, *not* `openrouter/qwen/qwen3-coder`).
- **Manifest**: A YAML-like JSON describing roles, outputs, and dependencies
- **Workers**: Each runs sequentially based on dependencies; each writes files to a shared `files/` workspace
- **Retry**: Failed tasks are retried once with stricter instructions
- **Quality**: QA must create tests; DevOps adds Docker and CI; all code is production-style

### Model Access

Ensure your OpenRouter API key has `qwen/qwen3-coder` enabled:
1. Go to https://openrouter.ai/keys
2. Edit your key
3. Under "Model Access", check `qwen/qwen3-coder`
4. Save

If you get `"not a valid model ID"` errors, it usually means the model ID format is wrong or your key lacks access.

## Output Structure

```
swarm-projects/
└── swarm-2026-02-14T21-30-00/
    ├── swarm.yaml              # manifest
    ├── tasks.json              # execution log
    ├── DECISIONS.md            # architectural decisions with rationale
    ├── .learn...

相关技能

OpenClaw

agent-pack-n-go

aicodelion

🚀 Clone your OpenClaw AI Agent to a new device in ~25 minutes — configs, memory, skills, everything.

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

cacheforge-skills

cacheforge-ai

⚡ SOTA agent skills for OpenClaw — observability, security, code quality, incident response, and more. Built by Anvil AI.

OpenClaw

restart-guard

zjianru

OpenClaw Skill: Safely restart the Gateway with context preservation, guardian watchdog, and multi-channel notification