一键导入
source-command-pipeline-workflow
Workflow spec pack - PRD/PDR + SPEC -> ADR -> roadmap -> pipeline -> ship -> testing -> conclusion. (ADR-0057)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Workflow spec pack - PRD/PDR + SPEC -> ADR -> roadmap -> pipeline -> ship -> testing -> conclusion. (ADR-0057)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Domain Engineering diagnostic — shows what the classifier decides for an objective (CMIS/DAS/profile/skills/mode). Observation-only; never mutates or blocks.
Business-driven methodology entry point — classify (intake), create/advance an Operation or Business work context, and drive the intake → operation → nested-workflow flow. Host-neutral; dry-run by default.
Workflow Navigator — shows the current phase, deliverables, and next commands for an ADR-0057 workflow. Read-only; never mutates state.
Start a focused session on one objective — locks scope, blocks opportunistic refactors.
Deterministic QA gate (ADR-0055) — run the project suite; green + complete acceptance criteria ⇒ qa-approve testing cards into conclusion; red ⇒ report (and qa-reject only attributable failures).
L6 — autonomous feature pipeline. Drives the full squad: design → implement → review → test → log. Checkpoints can be manual or automatic.
| name | source-command-pipeline-workflow |
| description | Workflow spec pack - PRD/PDR + SPEC -> ADR -> roadmap -> pipeline -> ship -> testing -> conclusion. (ADR-0057) |
Use this skill when the user asks to run the migrated source command workflow.
/workflow is the spec-pack layer over the primitives the kit already ships.
It does not replace /roadmap, /new-adr, /pipeline, /ship, /pipetest,
or /log-session; it keeps the PRD/PDR, SPEC, links, memory, and reports for a
large workflow in one folder.
Canonical folder:
contextkit/memory/workflows/<slug>/
index.md
prd.md
spec.md
decisions.md
tasks.md
memory.md
reports/YYYY-MM-DD.md
intake -> prd -> spec -> adr -> roadmap -> pipeline -> ship -> testing -> conclusion
context-pack, relevant ADRs/sessions, project map, roadmap,
and pipeline digest.feature/architecture kind, convene the specialist
council before locking the SPEC. Resolve feature-deliberation
(resolveAutonomy('feature-deliberation', config)) — at grade ≥ 3 with
deliberations.active this is debate mode: run /debate "<the core feature decision>", record it under decisions.md, and let its synthesis shape the SPEC
and the ADR. At grade ≤ 2 it is a suggestion. Skip for bug/chore/spike.--workflow and --spec./pipetest or human sign-off; report the result.Start:
node contextkit/tools/scripts/workflow.mjs new <slug> --kind feature
Advance:
node contextkit/tools/scripts/workflow.mjs advance <slug> --ref ADR-0057
Status:
node contextkit/tools/scripts/workflow.mjs status [slug] [--json]
Daily report:
node contextkit/tools/scripts/workflow.mjs report <slug> --task 123
Reports include branch, commit, git diff --stat, git diff --numstat, and
touched files. They intentionally do not embed full patches; git is the patch
source of truth.
A workflow's number is unique across the whole hierarchy as ONE sequence —
memory/workflows/, everybusiness/<BIZ>/workflows/, everyoperations/<OP>/workflows/, and everydone/archive. It is NOT per-context. If a Business already holds workflow20, the next workflow — even the first in a brand-new Operation — is21, never01. (BIZ-0001 / WF-0036 A4 "global numbering scanning every root"; ADR-0119.)
workflow.mjs new allocates the id via the universal allocator
(registry/ids.mjs → nextWorkflowNumber / allocateWorkflowId), which scans
every root plus the worktree fleet. Never hand-pick a number or use a
per-directory count — that re-introduces the cross-context collisions ADR-0119
fixed.
Legacy breadcrumb files at contextkit/memory/workflows/<slug>.md remain
readable by status and advance. New workflows use the folder layout.