askit-build-workflow
Creates and improves workflows (an ordered multi-skill arc) for a plugin to the Advanced Skill Library Standard. Use when a recurring sequence of skills is worth formalizing as a workflow, when you need to author a _workflows file with steps and exit criteria, or to resolve S5 workflow findings.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- askit-build-workflow
- metadata
- { "tier": "universal", "version": "0.1.0", "audience": "advanced" }
- description
- Creates and improves workflows (an ordered multi-skill arc) for a plugin to the Advanced Skill Library Standard. Use when a recurring sequence of skills is worth formalizing as a workflow, when you need to author a _workflows file with steps and exit criteria, or to resolve S5 workflow findings.
02 资源文件 6
- 参考文档examples/anti-orphan-dispatch.md9.5 KB
- 参考文档examples/golden-1-linear-chain.md8.6 KB
- 参考文档examples/golden-2-branching-chain.md9.5 KB
- 参考文档examples/golden-3-hook-participating.md11.2 KB
- 参考文档README.md680 B
- 参考文档references/authoring-workflows.md9.6 KB
03 SKILL.md 正文
askit-build-workflow
Purpose
Author a plugin's workflows: ordered arcs that chain multiple skills toward an outcome (Standard sec 3.4). Two modes: create authors _workflows/<name>.md (steps, inputs/outputs handed between steps, exit criteria); improve resolves findings. Authoring depth is in references/authoring-workflows.md. Follows the shared builder contract (../../docs/reference/builder-pattern.md).
When to use
When the user asks to author, scaffold, or improve a workflow, or to formalize a recurring multi-skill sequence into an ordered arc.
create mode
- Identify the recurring arc: the ordered skills, what is handed between steps, and the exit criteria. Skip the interview if in context.
- Author
_workflows/<name>.md(copytemplates/workflow.md): frontmattersteps(each naming the skill it invokes) plus a body describing the handoffs and exit criteria. - Every referenced skill MUST exist (S5). Every chaining step MUST be permitted by the chain contract (sec 3.4); use
askit-build-chain-contractto add the permission if needed. - A workflow SHOULD declare which agent targets it supports.
- Evaluate (
node scripts/evaluate.mjs . --json) until S5 is clean.
improve mode
- Run evaluate and read findings.
- For an S5 finding (a step references a skill not on disk), fix the skill name or create the skill. Tighten the handoffs and exit criteria.
- Re-run to confirm.
Scope
A workflow is _workflows/<name>.md with ordered steps and exit criteria (sec 3.4). Referenced skills must exist (S5) and chaining steps must be chain-permitted (sec 3.6). The deterministic workflow-step chain-permission check (step orphans) is a planned enhancement; today S5 enforces step skill-existence and the chain contract governs component-to-component invocation.
04 同仓库更多 Skills
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
sf-caller
Calls the worker subagent to do a thing. Use when delegating work to sf-worker.
sf-do-thing
Converts CSV input into a formatted summary. Use when the user asks to summarize or tabulate spreadsheet data.
root-skill-plugin
Summarizes a changelog section into one release-note sentence. Use when the user asks to condense a list of changelog bullets into a single announcement line.