Skills Plugins MCP Prompt Model 博客 我的中心
内容创作 #design #ai #agent

plan-orchestrate

Read a plan document, decompose it into steps, design a per-step agent chain from the ECC catalogue, and emit ready-to-paste /orchestrate custom prompts. Generative only — never invokes /orchestrate itself. Use when the user has a multi-step plan and wants to drive it through orchestrate without composing chains by hand.

DeepseekModel 官方收录技能 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=affaan-m-ecc-skills-plan-orchestrate-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name plan-orchestrate description Read a plan document, decompose it into steps, design a per-step agent chain from the ECC catalogue, and emit ready-to-paste /orchestrate custom prompts. Generative only — never invokes /orchestrate itself. Use when the user has a multi-step plan and wants to drive it through orchestrate without composing chains by hand. metadata {"origin":"ECC"} Plan Orchestrate Bridge a plan document to /orchestrate custom by emitting one ready-to-paste invocation per step. The skill is generative only — it never executes /orchestrate . The user pastes each line when ready. When to Activate User has a multi-step plan document (PRD, RFC, implementation plan) and wants to drive it through /orchestrate . User says "orchestrate this plan", "give me orchestrate prompts for each step", "compose chains for this plan". A step-by-step plan exists but the user does not want to manually pick agents per step. Skip when: The work is one ad-hoc step → call /orchestrate custom directly. The plan is unreadable or empty. Lack of explicit numbering alone is not a skip condition — see the "No clear steps" edge case below. Inputs <plan-doc-path> [--lang=python|typescript|go|rust|cpp|java|kotlin|flutter|auto] [--scope=all|step:<n>|range:<a>-<b>] [--dry-run] <plan-doc-path> — required; relative or absolute path ( @docs/... accepted). --lang — reviewer language variant; defaults to auto (detected from project). --scope — limits emitted steps; defaults to all . --dry-run — print decomposition + chain rationale only; do not emit final prompts. Authoritative /orchestrate shape (do not deviate) {ORCH_CMD} custom "<agent1>,<agent2>,...,<agentN>" "<task description>" Where {ORCH_CMD} is determined in Phase 0 (see below). The command string in the emitted output always uses one concrete form — never both, never a placeholder. custom is a sequential chain; each agent's HANDOFF feeds the next. Comma-separated agent list. No spaces preferred; one space tolerated. No --mode / --gate / --agents=... flags exist — never invent them. Agent names come from the catalogue in this skill. Embedded double quotes in the task description are escaped as \" . ECC install form and namespacing Two install forms determine the prefix on both the slash command and every agent name. The two MUST stay in sync — one form per output, never mixed: Let <claude-home> denote the Claude Code home directory: ~/.claude on macOS/Linux, %USERPROFILE%\.claude on Windows. Resolve it the way the host platform resolves the user home directory (do not hardcode ~ ). Form Detection {ORCH_CMD} Agent name format Plugin install (2.0.0+) <claude-home>/plugins/marketplaces/ecc/ exists /ecc:orchestrate ecc:<name> Legacy bare install Above absent; agent files under <claude-home>/agents/ /orchestrate <name> Why this matters: under the plugin install, agents register as ecc:tdd-guide . Bare names force fuzzy matching, which fails intermittently under parallel calls. Under legacy, the prefixed forms are not registered and fail outright. Available agent catalogue (must pick from these) General: planner — requirement restatement, risk decomposition, step planning architect — architecture, system design, refactor proposals tdd-guide — write tests → implement → 80%+ coverage code-reviewer — generic code review security-reviewer — security audit, OWASP, secret leakage refactor-cleaner — dead code, duplicates, knip-class cleanup doc-updater — documentation, codemap, README docs-lookup — third-party library API lookups (Context7) e2e-runner — end-to-end test orchestration database-reviewer — PostgreSQL schema, migration, performance harness-optimizer — local agent harness configuration loop-operator — long-running autonomous loops chief-of-staff — multi-channel triage (rarely a fit for plan steps) Build error resolvers: build-error-resolver (generic) / cpp-build-resolver / go-build-resolver / java-build-resolver / kotlin-build-resolver / rust-build-resolver / pytorch-build-resolver Code reviewers: python-reviewer / typescript-reviewer / go-reviewer / rust-reviewer / cpp-reviewer / java-reviewer / kotlin-reviewer / flutter-reviewer A misspelled agent name fails /orchestrate . Cross-check against this list before emitting. How It Works Phase 0 — Detect ECC mode + language Read <plan-doc-path> . If missing or empty, report and stop. Detect ECC install form once and freeze it into ECC_MODE . Algorithm (run in order, stop at the first match): If <claude-home>/plugins/marketplaces/ecc/ exists → ECC_MODE=plugin . Else if <claude-home>/agents/ exists and contains at least one ECC agent file (e.g. tdd-guide.md , code-reviewer.md ) → ECC_MODE=legacy . Else → default to ECC_MODE=legacy and emit a one-line warning at the top of the output: > Warning: could not detect ECC install; defaulting to legacy form. If you use the plugin install, edit the prefixes manually. If both markers exist (mixed install), plugin wins — the plugin namespace is the only one that resolves agent names without fuzzy matching. From this point on, every emitted line uses the matching prefix on both the slash command and every agent name. Never emit both forms in the same output. Resolve --lang . When auto , run a polyglot-aware detection: Probe markers: pyproject.toml / uv.lock / requirements.txt → python; package.json → typescript; go.mod → go; Cargo.toml → rust; CMakeLists.txt or top-level *.cpp → cpp; pom.xml / build.gradle (Java) → java; build.gradle.kts or top-level Kotlin → kotlin; pubspec.yaml → flutter. Polyglot tie-break : if more than one marker matches, pick the language whose source files outnumber the others (count via git ls-files , excluding vendor/ , node_modules/ , dist/ , build/ , .venv/ , generated files, and obvious test fixtures). On a tie or when no language exceeds 60% of source files, set lang=unknown . No marker matched → set lang=unknown . lang=unknown is a sentinel — it is not an agent name. Phase 2 rules 4 and 5 turn it into code-reviewer / build-error-resolver at chain composition time. Detect a PyTorch sub-profile : when lang=python and any of pyproject.toml / requirements.txt / uv.lock declares a dependency on torch , set pytorch=true . This only affects build chain selection (Phase 2 rule below); the reviewer remains python-reviewer . Normalize any agent names declared in the plan : if the plan text references agents by their plugin-prefixed form (e.g. ecc:tdd-guide ), strip the prefix to get the bare catalogue name before validating or composing chains. Re-prefixing happens only at output time per ECC_MODE (Phase 4). Never let a pre-prefixed name flow into chain composition — it would double-prefix in plugin mode. Phase 1 — Decompose steps Identify "step units" in priority order: Explicit numbering: ## Step N / ### Phase N / ## N. ... / top-level ordered list. A "Step" column in a table. --- -separated blocks with verb-led headings. Otherwise treat each H2 as one step. Per step extract id (1-based), title (≤ 80 chars), intent (1–3 sentences), tags . Phase 2 — Tag and pick chain Tag by intent (multi-tag allowed; chain built from primary + stacked secondaries): Trigger words below are matched case-insensitively. Multilingual plans are supported by matching the word stems in any language as long as the meaning aligns with the listed English trigger words. Tag Trigger words Default chain design architecture, design, choose, evaluate, RFC planner,architect plan plan, breakdown, milestone planner impl implement, build, add, create, port tdd-guide,<lang>-reviewer test test, coverage, e2e, integration tdd-guide,e2e-runner refactor refactor, cleanup, dedupe, split architect,refactor-cleaner,<lang>-reviewer migration migrate, upgrade, rewrite, port architect,tdd-guide,<lang>-reviewer db schema, migration, index, SQL, Postgres, alembic, sqlmodel database-reviewer,<lang>-reviewer security encrypt, auth, secret, OWASP, PII security-reviewer,<lang>-reviewer build build, compile, lint failure, CI <lang>-build-resolver (falls back to build-error-resolver ) docs docs, readme, codemap, changelog doc-updater lookup lookup, reference, API usage docs-lookup review review, audit, verify <lang>-reviewer,code-reviewer loop loop, autonomous, watchdog loop-operator Chain composition rules: Primary tag selection : when a step matches multiple tags, the first one in table order (top of the table = highest priority) is the primary; the rest are secondaries. Composition rules 2 and 3 below handle specific multi-tag combinations explicitly; otherwise, append secondary chains in tag table order. impl + security → tdd-guide,<lang>-reviewer,security-reviewer . impl + db → tdd-guide,database-reviewer,<lang>-reviewer . Deduplicate the resulting chain (preserve first occurrence). E.g. review + lang=unknown would yield code-reviewer,code-reviewer after rule 5; deduplication collapses it to code-reviewer . <lang>-reviewer resolves to code-reviewer when lang=unknown . <lang>-build-resolver resolves to build-error-resolver when lang=unknown . Special case : if Phase 0 set pytorch=true , use pytorch-build-resolver for build chains regardless of <lang> . There is no python-build-resolver ; --lang=python without pytorch=true resolves to build-error-resolver . Zero-tag steps : if no trigger word matches, set chain to code-reviewer and write no tag matched; default review-only chain under "Chain rationale". Chain length ≤ 4 after deduplication. If exceeded, drop weakest tag ( lookup and docs first). Do not pair planner and architect in an impl chain (token waste). Pair them only on design steps. Steps tagged impl , refactor , or migration end with a reviewer-class agent — any of <lang>-reviewer , code-reviewer , security-reviewer , or database-reviewer . The most domain-specific reviewer wins the tail position (e.g. rule 2's impl+security ends with security-reviewer ; rule 3's impl+db ends with <lang>-reviewer because database-reviewer already gates the migration earlier in the chain). test and build steps are gated by their own validators ( e2e-runner and the build resolver respectively) and do not require an additional reviewer. Phase 3 — Compress task description Each emitted <task description> must: Be self-contained (the first agent does not need the plan document open). Start with [Plan: <path>#step-<id>] . Include 1–3 verifiable Acceptance criteria. Include a Scope guard ( Out of scope: ... ) only if the plan declares one for this step . Inherit verbatim. If the plan has no out-of-scope statement, omit the clause entirely — do not invent one. Be 200–600 characters; one line; embedded " escaped as \" ; no literal newlines. Phase 4 — Output Emit Markdown using the form determined by ECC_MODE . The output uses one form throughout — every {ORCH_CMD} and every agent name is rendered with the matching prefix from Phase 0. Do not emit both forms; do not include "this is plugin form" / "strip the prefix" instructions in the rendered output. Concrete rendering rules: {ORCH_CMD} = /ecc:orchestrate under plugin , /orchestrate under legacy . {AGENT(name)} = ecc:<name> under plugin , <name> under legacy . The overview-table "Chain" column uses the same {AGENT(name)} rendering. Per-step bash blocks contain only the runnable command. No # plugin form or # legacy form comments — the form is implicit and uniform across the whole output. Output structure: # Plan-Orchestrate Result **Plan** : `<path>` **Lang** : `<detected-or-given>` **ECC mode** : `<plugin | legacy>` **Steps** : < N > **Scope** : < all | step:n | range:a-b > ## Steps overview | # | Title | Tags | Chain | |---|---|---|---| | 1 | ... | impl, db | `{AGENT(tdd-guide)},{AGENT(database-reviewer)},{AGENT(python-reviewer)}` | | ... | | | | --- ## Step 1 — < title > **Intent** : <1–3 sentences> **Tags** : <a, b> **Chain rationale** : < why this chain ; which agent closes the loop > ```bash {ORCH_CMD} custom "{AGENT(tdd-guide)},{AGENT(database-reviewer)},{AGENT(python-reviewer)}" "[Plan: docs/foo.md#step-1] <compressed task description>; Acceptance: <1–3 items>; Out of scope: <…>" ``` The {ORCH_CMD} and {AGENT(...)} notation above describes the substitution this skill performs at runtime. The actual emitted Markdown contains the resolved strings, never the placeholders. Append a final "Batch execution" block aggregating every step's command in order so the user can paste them all at once. Skip the Batch block in overview-only mode (see "Large plan" edge case): when only the overview table is being emitted, there are no per-step commands to aggregate. Phase 5 — Self-check (run before emitting) Every agent in every chain comes from the catalogue (after stripping any ecc: prefix that appeared in the plan; see Phase 0 step 5). Resolved {ORCH_CMD} and every resolved {AGENT(...)} use the same form ( plugin or legacy ) — never mixed in one output. No # plugin form / # legacy form annotations and no "strip the prefix" instructions remain in the rendered output.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。