اسکیلیکس | Skilliks مهارت‌های تاییدشده برای هوش مصنوعی

Swarm

آزاد تازه‌وارد تاییدشده امن

«Swarm» دستورالعمل دقیقی برای «نوشتن و اجرای تست خودکار» در اختیار دستیار هوش مصنوعی می‌گذارد تا نتیجه، به‌جای پاسخ کلی، قابل استفاده و قابل بازبینی باشد. داخلش ۹ گام مشخص هست و با Claude Code، OpenAI Codex، Cursor کار می‌کند.

سازگاری با ابزارها: سازنده فقط میزبان‌های نام‌برده را تأیید کرده است. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: "astack-swarm"
description: "Run N parallel workers, collect their results and return one report. Use for /astack-swarm, \"swarm this\", or parallel coverage, races, gauntlets and exploration."
license: "MIT"
metadata:
  astack-version: "0.3.0"
  source: "astack"
  disable-model-invocation: "true"
---

# Swarm

Run N parallel background workers on this machine.
Give each repo writer its own git worktree.
Workers can cover separate slices, race on one brief, or combine these shapes.
The parent waits for results and returns one combined report.

## Start

Before any launch, open a task list for these phases:

1. Frame
2. Fan out
3. Aggregate
4. Report

## Phase A: Frame

1. Define the done condition and the artifact or report to return.
2. Partition slices, race N identical briefs, or mix both. Before a race or mixed launch, declare `first pass`, `rank all` or `best-of`.
3. Use the user's N or derive it from the shape. N counts all workers. Use waves if machine or rate limits prevent concurrent execution.
4. Read `swarm workers` from `astack-models.md`. If the rule or line is missing, use `sonnet`. For `auto` or `inherit-parent`, omit `model` to inherit the parent. For an unsupported Agent value, use the default and report that fallback. In a model race, name each arm's model before launch. An external arm, such as `codex`, runs through Bash with `../astack-arena/references/external-seats.md`. Match effort to the job with the Subagents section of **mode** at `../astack-mode/SKILL.md`.
5. Give each writer private output. For commit verification or measurement, name exact SHAs in the brief. A measurement brief also specifies sample count, sample definition and order. Require the worker to record both SHAs and method in its result.

## Phase B: Fan out

Spawn all N workers in one message with `subagent_type: general-purpose` and `run_in_background: true`.
Use the step 4 model.
Leave it unset for `auto` or `inherit-parent`.
Give every repo writer `isolation: "worktree"`.
<!-- ‹guest · 2026-11-23› -->
That checkout starts from the current commit without uncommitted changes.
Commit anything the workers need before launch.
A read-only worker can share the main checkout.

For another starting branch or commit, name the ref in the brief.
Require `git checkout --detach <ref>` inside the worker's worktree before any other work.
Report the returned worktree path and branch for any worker that leaves changes.

Make every brief self-contained.
Include goal, scope, slice or race arm, verification and reporting requirements.
Require `PASS`, `ISSUES` or `BLOCKED` with evidence.
A worker that proves defects returns `ISSUES` with every proven issue, rather than stop at the first.
If a worker drops out, continue with N-1 and report that gap.

## Phase C: Aggregate

Read terminal results.
Reject a result missing the SHAs or method required by its brief.
Respawn that worker once.
After a second miss, record a gap rather than a pass.
Coverage needs a result for every required slice.
For a race, apply the declared first pass, rank all or best-of rule.
Do not paste raw worker output.
Keep a compact results table, one-line issues with evidence, and explicit gaps or dropouts.

## Phase D: Report

Return one chat report with the table, issue lines and gaps or dropouts.
Include the race rule when used.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
عامل‌های هوش مصنوعی
✦ Pro

Dispatching Parallel Agents

این مهارت با نام «Dispatching Parallel Agents» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کاف…

⚡ /dispatching-parallel-agents SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Subagent-Driven Development

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «Subagent-Driven Development» بخشی از کار را از دوش شما برمی‌دارد: «مرور ساختا…

⚡ /subagent-driven-development SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Using Git Worktrees

این مهارت با نام «Using Git Worktrees» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ کافی است در…

⚡ /using-git-worktrees SKILL.md
Cline
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Verification Before Completion

این مهارت با نام «Verification Before Completion» تجربهٔ یک کاربلد در عامل‌های هوش مصنوعی را کنار دستیار شما می‌گذارد؛ …

⚡ /verification-before-completion SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

Diagnosing Superpowers

«Diagnosing Superpowers» دستورالعمل دقیقی برای «مدیریت هوشمند حافظه و کانتکست» در اختیار دستیار هوش مصنوعی می‌گذارد تا …

⚡ /diagnosing-superpowers SKILL.md
Claude / Claude Code
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰
عامل‌های هوش مصنوعی
✦ Pro

The Rule

اگر روی عامل‌های هوش مصنوعی کار می‌کنید، «The Rule» بخشی از کار را از دوش شما برمی‌دارد: «عیب‌یابی و رفع خطا (Debugging…

⚡ /using-superpowers SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۹۱/۱۰۰ ★ ۳۲۴,۲۹۰