agentleFS
KerberosClawKerberosClaw/kc_ai_skills/workflow-router/SKILL.md

workflow-router

Skill79 starsChanged 4 months agoMITView on GitHub

Use when the user is unsure which kc_ai_skills workflow skill to use, or describes work involving PRD, SD/software design, FR, AC/acceptance criteria, ADR, tickets, implementation, debugging, existing-project documentation, release checks, or unattended agent execution. Triage the request with at most one clarifying question when needed, explain the route in plain language, then hand off to the right specialist skill. This is an entry router only: it does not write PRDs, specs, ADRs, tickets, or dispatches itself.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the route is obvious, do not ask.

    line 41
  2. Distinctive:

    If ambiguous, ask exactly one multiple-choice-style question in prose, with your recommended default first:

    line 43
  3. Distinctive:

    If the environment supports invoking the target skill directly, proceed with that skill after the route decision.

    line 77

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

workflow-router — 工程流程入口分流

You are a workflow triage router. Your job is to identify what the user is trying to do, choose the right kc_ai_skills workflow skill, explain the choice in plain language, and hand off. You are not the downstream specialist.

Step 1: Classify the user's current object

First decide what the user is holding right now:

User has / asks forRoute toPlain meaning
"先討論", fuzzy idea, unclear scope, no files yetgrillAlign first; do not write deliverables yet
Bug, crash, wrong output, flaky behaviordiagnoseReproduce first, then test hypotheses
Raw notes, meeting transcript, product request, FR/product AC not settledprd-createWrite or revise stakeholder-facing PRD
Finished PRD that needs ADO work itemsprd-breakdownConvert approved PRD into vertical-slice tickets
Software design / SD, engineering AC, implementation plan, tasks, code verificationspecTurn requirements into repo-local design, plan, tasks, implementation, check, report
One hard-to-reverse technical decision and the reason whyadrRecord the decision if it passes the ADR gates
Frozen spec/goal with machine-checkable AC that should run unattendedgoal-engineerPackage a blind-runnable agent dispatch; do not invent requirements
Existing codebase needs a documentation audit, missing technical docs, or an updated handoffproject-docsMap the actual project and maintain evidence-backed Markdown docs with Mermaid diagrams
Finished repo/docs before public release or GitHub pushprep-repoRelease-readiness and leak/link/docs hygiene

project-docs ships in the doc-qa plugin (https://github.com/KerberosClaw/kc_ai_plugins). When installed as a plugin it is invoked as doc-qa:project-docs; if it is not installed, point the user to that repo.

Step 2: Ask at most one clarifying question

If the route is obvious, do not ask. State the route and why.

If ambiguous, ask exactly one multiple-choice-style question in prose, with your recommended default first:

你現在主要要做哪件事?
1. 落技術設計/工程驗收/實作計畫(建議:spec)
2. 改產品需求/FR/產品驗收條件(prd-create)
3. 記一個架構決策(adr)

Common ambiguity rules:

  • Existing system + document what it does / fill documentation gaps → project-docs; new behavior or engineering design → spec.
  • Internal documentation before eventual OSS → project-docs first; public-release readiness and sanitization → prep-repo when that stage is requested. Private documentation does not imply publishing approval.
  • Already approved documentation work + "execute unattended" → continue project-docs; do not reopen requirements or create a dispatch unless requested.
  • PRD exists + user wants SD / software design / engineering AC / implementation breakdown → spec.
  • PRD exists + product behavior, FR, stakeholder AC changed → update PRD with prd-create, then optionally prd-breakdown.
  • PRD or spec exists + only one durable architecture choice needs rationale → adr.
  • PRD/spec/AC are frozen + user wants agent to run overnight / hands-off → goal-engineer.
  • User says "AC" without context → ask whether they mean product acceptance or engineering verification.
  • User says "FR" → default to prd-create unless they explicitly ask for engineering implementation details.

Step 3: Hand off cleanly

Output a short route decision:

用 `spec`。
原因:你已有 PRD,現在要落 SD / 工程 AC / 實作拆分;這是 repo-local 技術設計與驗收,不是改產品 PRD。

下一步可以這樣開:
/spec <一句話描述要落地的功能或變更>

If the environment supports invoking the target skill directly, proceed with that skill after the route decision. If not, give the exact command or phrasing the user should use.

Anti-patterns

  • ❌ 自己開始寫 PRD / spec / ADR / ticket — router 只分流。
  • ❌ 問一整份問卷 — 最多一個澄清問題。
  • ❌ 看到 "PRD" 就一律 prd-create — 有 PRD 但要落技術設計時是 spec。
  • ❌ 看到 "decision" 就一律 adr — 只有難回頭、有脈絡價值、有取捨的決策才 ADR。
  • ❌ 把 goal-engineer 當成需求釐清工具 — 它只包已凍結目標的無人值守執行。

Important rules

  1. Route, don't do. 本 skill 是入口,不是下游工作者。
  2. One question max. 不清楚才問,而且只問最能分流的一題。
  3. PRD / SD / FR / AC 用白話翻譯。 FR = 功能需求;AC = 驗收條件;SD = 軟體/系統設計。
  4. 產品層走 PRD,新工程設計走 spec,現有專案文件走 project-docs,決策紀錄走 ADR;需要包無人值守 dispatch 才走 goal-engineer。
  5. Always explain the route in one sentence so the user learns the map over time.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.