workflow-library
Manage, inspect, author, edit, and retire composable workflow templates across project, PKB, and universal tiers. Use for workflow template library maintenance, authoring, and lifecycle operations. Exclude for assembling or composing workflows onto tasks (use reify) or tracking running jobs (use harness progress tools).
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 5
- Forks
- 3
01 前言 Front Matter
- name
- workflow-library
- description
- Manage, inspect, author, edit, and retire composable workflow templates across project, PKB, and universal tiers. Use for workflow template library maintenance, authoring, and lifecycle operations. Exclude for assembling or composing workflows onto tasks (use reify) or tracking running jobs (use harness progress tools).
02 资源文件 34
- 参考文档workflows/trace-decision.md2.3 KB
- 参考文档workflows/wf-code-task-base.md12.2 KB
- 参考文档workflows/wf-densify.md2.4 KB
- 参考文档workflows/wf-dialectical-review.md15.7 KB
- 参考文档workflows/wf-dispatch-queue.md5.0 KB
- 参考文档workflows/wf-dispatch.md1.5 KB
- 参考文档workflows/wf-doc-base.md4.7 KB
- 参考文档workflows/wf-effectual-plan.md2.6 KB
- 参考文档workflows/wf-escalated-approval.md3.1 KB
- 参考文档workflows/wf-fact-check.md2.0 KB
- 参考文档workflows/wf-finish.md12.5 KB
- 参考文档workflows/wf-gate-compliance.md2.7 KB
- 参考文档workflows/wf-interactive.md4.2 KB
- 参考文档workflows/wf-keep-analysis-data.md1.1 KB
- 参考文档workflows/wf-lookup.md1.1 KB
- 参考文档workflows/wf-pr-move-along.md4.3 KB
- 参考文档workflows/wf-pr-sweep.md5.6 KB
- 参考文档workflows/wf-price-targets.md2.6 KB
- 参考文档workflows/wf-qa-visual.md2.2 KB
- 参考文档workflows/wf-qa.md10.4 KB
- 参考文档workflows/wf-quick-fix.md4.3 KB
- 参考文档workflows/wf-rbg.md7.4 KB
- 参考文档workflows/wf-reconcile.md11.0 KB
- 参考文档workflows/wf-research-and-implement.md5.4 KB
- 参考文档workflows/wf-research-output.md4.1 KB
- 参考文档workflows/wf-research.md2.6 KB
- 参考文档workflows/wf-signoff.md1.3 KB
- 参考文档workflows/wf-spec.md4.8 KB
- 参考文档workflows/wf-strategic-fit.md4.8 KB
- 参考文档workflows/wf-structural-map.md1.5 KB
- 参考文档workflows/wf-surface-probe.md2.5 KB
- 参考文档workflows/wf-task-base.md2.0 KB
- 参考文档workflows/wf-tdd.md5.0 KB
- 参考文档workflows/wf-trace-sample-eval.md2.9 KB
03 SKILL.md 正文
Workflow Library
Manage composable workflow templates (type: template) across three resolution tiers.
Workflow Composition Redirect
Workflow composition is handled exclusively by /reify. To assemble workflow templates and skills onto task bodies or evaluate execution paths, invoke /reify. This skill (workflow-library) manages template library artifacts and PKB template nodes.
Tiers and Resolution
Resolution order is Project > PKB > Universal. Higher tiers shadow lower tiers completely; never merge text across tiers.
| Tier | Location | Enumeration |
|---|---|---|
| 1. Project | PKB templates whose project is the task's project |
Query PKB templates (type: "template", project: "<project>", including completed nodes) |
| 2. PKB | PKB templates with no project |
Query PKB templates (type: "template", including completed nodes), keep project: null |
| 3. Universal | workflows/*.md inside this skill directory |
Enumerate workflows/*.md via native file tools |
The project is the project field of the task or the project the caller names. Templates scoped to any other project are out of scope for composition, but visible in list mode.
A project template's id is <project>-<slug>, so the same slug can exist in several projects. Strip the <project>- prefix to get the slug that shadows lower tiers.
Both PKB tiers resolve from the graph alone, so a session needs no checkout of the project's repository. A repository's .agents/templates/ directory is not a tier.
Enumerate and read universal templates using native file tools rather than shell commands, so resolution succeeds under non-interactive permission modes.
Modes
list
Enumerate every template across all three tiers live. Return a unified table: slug | tier | coverage | status.
- Include every universal template file (
workflows/*.mdin this skill directory) and every PKB template from the graph (type: "template"). - For PKB templates with a
projectfield, indicate their project scope in the tier column (e.g.Project (<name>)). Foreign-project templates are displayed with their project prefix or formatted asProject (<name>)in the tier column without altering composition scoping. - Extract coverage from
descriptionin frontmatter, or, if that is missing, from the first sentence of## What this step does. Read universal template files directly via file tools; do not run shell loops. - Filter out dated instances (
-*-\d{8}-*) andstatus: cancelled. Do not filter out foreign-project templates. - Flag shadowed slugs and templates missing coverage lines.
view
Resolve the template slug across tiers in precedence order. Output the winning content, identify winning and shadowed tiers, or list near-misses if missing.
new
- Check existing library to avoid duplicating covered workflows.
- Select destination tier:
- Project: Specific to one project. Write it to the PKB with
project: <project>and id<project>-<slug>. - PKB: Portable personal workflow. Write it to the PKB with no
project. - Universal: Core baseline standard across projects (
workflows/inside this skill directory).
- Project: Specific to one project. Write it to the PKB with
- Author the template following
ida:craft(## Workflow Templates), which is the authoritative style, schema, and authoring standard across all tiers. Compliance with its contract separation, headless worker execution, approval boundary, and deliverable rules is mandatory.
edit
Update existing templates in place. Authoring changes must comply with ida:craft (## Workflow Templates).
- Universal: Edit the file directly.
- PKB: Update only the markdown body below the closing
---in the PKB node to prevent frontmatter duplication.
retire
- Search the PKB for tasks governing retirement. Halt if unfulfilled dependencies exist.
- Delete the artifact (
rmfor universal files, or delete the PKB node). - Name the superseding workflow in the release message or commit.
Constraints
- Query tiers dynamically; do not rely on static indices or memory.
- Query PKB templates at metadata/summary detail when enumerating lists, and read full bodies only for the target template under view or edit.
- Keep templates focused on obligations and exit criteria; leave operational method to skills.
- Do not mint tasks or dispatch work during library management operations. Workflow composition and task generation belong exclusively to
/reify.
04 同仓库更多 Skills
supervise
Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).
supervise
Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).
supervise
Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).
supervise
Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).
supervise
Supervise an epic or complex task end-to-end within a container session -- assemble workflows via /reify, coordinate subagents with incremental git checkpoints, deliver in-session artifacts and pull requests, and queue out-of-session follow-ups. Use for autonomous epic execution, high-level task supervision, and multi-stage delivery. Exclude for single atomic tasks already reified on the graph (use pull).
madr
Draft Markdown Architectural Decision Records (MADR) capturing context, considered options, decision outcomes, and consequences. Use when recording an architectural decision, documenting a technical choice, or evaluating design alternatives. Exclude for declarative target-state specifications (use specs) or task planning (use reify).