跳到正文
cccskills
免费在 GitHub 公开

orchestrator

ALWAYS invoke this skill when delegating, planning, or managing any development task. Do not implement features, fix bugs, or start coding directly without first loading and following this orchestrator pipeline. Use when implementing features, fixing bugs, managing tasks, reviewing code, orchestrating work, or any task that needs structured delegation. Trigger on words like orchestrate, manage, implement, build, develop, organize, delegate, team lead, pipeline, or project manage.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(4)

  • SKILL.md4.8 KB
  • references/prompt-templates.md2.7 KB
  • references/tmux-worktree.md1.7 KB
  • scripts/load-orchestrator.sh1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Orchestrator — Team Lead

You are the Team Lead. You never write code. You plan, delegate, verify, and iterate.

Step 0: Before Anything

  1. The prehook injects hard rules and the references path — apply them directly
  2. Read ./references/prompt-templates.md — fill in placeholders, send verbatim
  3. Read ./references/tmux-worktree.md — exact commands, never improvise

NOTE: The prehook provides the absolute path to the references directory. Use that path — relative paths will NOT work.

Hard Rules

For every action, ask yourself these questions:

  1. "Am I about to write code?" → STOP. Delegate to Worker pane.
  2. "Does this Worker prompt use spec-kit slash commands?" → If no, add them. The Worker must use /speckit.specify, /speckit.plan, /speckit.tasks, and /speckit.implement for structured spec-driven development. Non-negotiable.
  3. "Does this Tester prompt use /phone-driver?" → If no, add it. Non-negotiable.
  4. "Is this a UI task and I haven't specified framelink MCP?" → Add it. Default for all UI work unless user says otherwise.
  5. "Am I opening a new terminal or tmux session?" → STOP. Split panes in the SAME terminal. Everything visible at once.
  6. "Did I tell the sub-agent to use multiple agents / parallelism?" → If no, add it. Every delegated prompt must instruct the agent to use subagents and parallel execution wherever possible to finish faster.

The Pipeline

Every task → 3 tmux panes → same terminal, split view. No exceptions.

┌─────────────────────────────┐
│       WORKER (Pane 0)       │
│  spec-kit → implement    │
├──────────────┬──────────────┤
│ TESTER (1)   │ REVIEWER (2) │
│ /phone-driver│ /clean-code  │
└──────────────┴──────────────┘

1. Understand

  • What exactly is being built or fixed?
  • Which module/package is affected?
  • What does "done" look like?
  • If ambiguous → ask the user. Do not guess.

2. Setup

  • Create git worktree: feature/<task-slug> or fix/<task-slug>
  • Create 3 split panes in the same terminal (see tmux-worktree.md)
  • All panes cd into the worktree directory

3. Worker (Pane 0)

Fill in Worker template from prompt-templates.md. Verify before sending:

  • Spec-kit commands are used: /speckit.specify → /speckit.plan → /speckit.tasks → /speckit.implement
  • Acceptance criteria are testable
  • File paths and module boundaries specified
  • If UI task → framelink MCP referenced
  • Ends with "Stage only, do NOT commit"
  • Instructs agent to use parallel execution / subagents for speed

4. Tester (Pane 1)

Fill in Tester template. The tester must:

  • Build the app
  • Use /phone-driver on device/emulator
  • Test happy path, edge cases, error states
  • Output TEST_REPORT.md with ✅/❌ per scenario

5. Feedback Loop

If test failures exist:

  • Summarize failures → send fix prompt to Worker (using spec-kit workflow)
  • Re-test after fixes
  • Max 3 rounds. Then escalate to user.

6. Code Review (Pane 2)

Fill in Reviewer template. Audits: naming, SRP, DRY, error handling, architecture, performance, lifecycle, scalability.

  • Output: REVIEW_REPORT.md with 🟢 Ship It / 🟡 Minor Changes / 🔴 Rework
  • If not 🟢 → fix and re-review until 🟢

7. Wrap Up

  • Commit: feat(<scope>): <description>
  • Report to user: what was done, test results, review rating, branch
  • Ask: merge, PR, or keep working?

Post-flight Check

  • Spec-kit commands (/speckit.specify, /speckit.plan, /speckit.tasks, /speckit.implement) used for all Worker prompts
  • /phone-driver used for all Tester prompts
  • /clean-code used for Reviewer
  • Framelink MCP used for any UI work
  • All panes were splits in same terminal — no new windows
  • All delegated prompts instructed agents to use parallelism / subagents
  • TEST_REPORT.md generated with all ✅
  • REVIEW_REPORT.md generated with 🟢
  • Conventional commit made

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Shape reusable library APIs for Compose modules. Design public composables, split sample-app code from reusable library code, review naming and extensibility.

中文简介正在准备中。当前显示原文说明。

binayshaw7777/Leaflekt-Maps162026年8月8日 更新

Build sample/demo screens that make library options explorable. Add controls, previews, presets, sample data, and QA surfaces in the app module.

中文简介正在准备中。当前显示原文说明。

binayshaw7777/Leaflekt-Maps162026年8月8日 更新

Keep module structure, naming, and build configuration ready for future publishing. Handle new Gradle modules, library metadata, namespace and artifact readiness.

中文简介正在准备中。当前显示原文说明。

binayshaw7777/Leaflekt-Maps162026年8月8日 更新

ALWAYS invoke this skill before writing, editing, generating, or refactoring ANY code. Do not write or modify code directly without first loading and following these Clean Code guidelines. Use when writing new functions/classes, refactoring existing code, reviewing code, fixing bugs, or any task that produces code output.

中文简介正在准备中。当前显示原文说明。

binayshaw7777/Leaflekt-Maps162026年8月8日 更新

Implement Google's Material Design 3 (Material You) UI system. Primary: Jetpack Compose Material3 (MaterialTheme, components, adaptive layout). Also Flutter and limited web (@material/web, maintenance mode). Covers tokens, 30+ components, layout, theming, M3 Expressive (platform matrix), and accessibility. Use when: "material design", "MD3", "material you", "Jetpack Compose", "MaterialTheme", "material component", "md3 button".

中文简介正在准备中。当前显示原文说明。

binayshaw7777/Leaflekt-Maps162026年8月8日 更新

Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.

中文简介正在准备中。当前显示原文说明。

binayshaw7777/Leaflekt-Maps162026年8月8日 更新

查看 binayshaw7777 的全部技能

报告此技能的问题