@captain_z/zsk-skills 1.8.3 → 1.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -22
- package/acceptance/SKILL.md +3 -1
- package/acceptance/harness/THIS_SKILL.md +14 -0
- package/acceptance/harness/constraints/filesystem-boundaries.md +19 -2
- package/acceptance/harness/constraints/skill-role-contract.md +107 -4
- package/acceptance/harness/constraints/source-of-truth.md +2 -0
- package/acceptance/harness/constraints/stage-gates.md +25 -1
- package/acceptance/harness/profiles/frontend.yaml +2 -3
- package/acceptance/harness/workflow/completion-contract.yaml +12 -1
- package/acceptance/harness/workflow/skill-io-contract.yaml +21 -0
- package/acceptance/harness/workflow/skill-quality-standards.yaml +39 -0
- package/acceptance/harness/workflow/stage-contracts.yaml +4 -4
- package/archive/SKILL.md +3 -1
- package/archive/harness/THIS_SKILL.md +14 -0
- package/archive/harness/constraints/filesystem-boundaries.md +19 -2
- package/archive/harness/constraints/skill-role-contract.md +107 -4
- package/archive/harness/constraints/source-of-truth.md +2 -0
- package/archive/harness/constraints/stage-gates.md +25 -1
- package/archive/harness/profiles/frontend.yaml +2 -3
- package/archive/harness/workflow/completion-contract.yaml +12 -1
- package/archive/harness/workflow/skill-io-contract.yaml +21 -0
- package/archive/harness/workflow/skill-quality-standards.yaml +39 -0
- package/archive/harness/workflow/stage-contracts.yaml +4 -4
- package/bundles.yaml +3 -2
- package/coding/SKILL.md +22 -5
- package/coding/harness/THIS_SKILL.md +19 -1
- package/coding/harness/constraints/filesystem-boundaries.md +19 -2
- package/coding/harness/constraints/skill-role-contract.md +107 -4
- package/coding/harness/constraints/source-of-truth.md +2 -0
- package/coding/harness/constraints/stage-gates.md +25 -1
- package/coding/harness/profiles/frontend.yaml +2 -3
- package/coding/harness/workflow/completion-contract.yaml +12 -1
- package/coding/harness/workflow/skill-io-contract.yaml +21 -0
- package/coding/harness/workflow/skill-quality-standards.yaml +51 -1
- package/coding/harness/workflow/stage-contracts.yaml +4 -4
- package/commit/SKILL.md +3 -1
- package/commit/harness/THIS_SKILL.md +14 -0
- package/commit/harness/constraints/filesystem-boundaries.md +19 -2
- package/commit/harness/constraints/skill-role-contract.md +107 -4
- package/commit/harness/constraints/source-of-truth.md +2 -0
- package/commit/harness/constraints/stage-gates.md +25 -1
- package/commit/harness/profiles/frontend.yaml +2 -3
- package/commit/harness/workflow/completion-contract.yaml +12 -1
- package/commit/harness/workflow/skill-io-contract.yaml +21 -0
- package/commit/harness/workflow/skill-quality-standards.yaml +39 -0
- package/commit/harness/workflow/stage-contracts.yaml +4 -4
- package/defect/SKILL.md +3 -1
- package/defect/harness/THIS_SKILL.md +14 -0
- package/defect/harness/best-practices/frontend.md +2 -3
- package/defect/harness/constraints/filesystem-boundaries.md +19 -2
- package/defect/harness/constraints/skill-role-contract.md +107 -4
- package/defect/harness/constraints/source-of-truth.md +2 -0
- package/defect/harness/constraints/stage-gates.md +25 -1
- package/defect/harness/profiles/frontend.yaml +2 -3
- package/defect/harness/workflow/completion-contract.yaml +12 -1
- package/defect/harness/workflow/skill-io-contract.yaml +21 -0
- package/defect/harness/workflow/skill-quality-standards.yaml +39 -0
- package/defect/harness/workflow/stage-contracts.yaml +4 -4
- package/demo/SKILL.md +3 -1
- package/demo/harness/THIS_SKILL.md +14 -0
- package/demo/harness/best-practices/design-handoff.md +81 -3
- package/demo/harness/best-practices/frontend.md +2 -3
- package/demo/harness/constraints/filesystem-boundaries.md +19 -2
- package/demo/harness/constraints/skill-role-contract.md +107 -4
- package/demo/harness/constraints/source-of-truth.md +2 -0
- package/demo/harness/constraints/stage-gates.md +25 -1
- package/demo/harness/profiles/frontend.yaml +2 -3
- package/demo/harness/workflow/completion-contract.yaml +12 -1
- package/demo/harness/workflow/skill-io-contract.yaml +21 -0
- package/demo/harness/workflow/skill-quality-standards.yaml +39 -0
- package/demo/harness/workflow/stage-contracts.yaml +4 -4
- package/deploy/SKILL.md +3 -1
- package/deploy/harness/THIS_SKILL.md +14 -0
- package/deploy/harness/constraints/filesystem-boundaries.md +19 -2
- package/deploy/harness/constraints/skill-role-contract.md +107 -4
- package/deploy/harness/constraints/source-of-truth.md +2 -0
- package/deploy/harness/constraints/stage-gates.md +25 -1
- package/deploy/harness/profiles/frontend.yaml +2 -3
- package/deploy/harness/workflow/completion-contract.yaml +12 -1
- package/deploy/harness/workflow/skill-io-contract.yaml +21 -0
- package/deploy/harness/workflow/skill-quality-standards.yaml +39 -0
- package/deploy/harness/workflow/stage-contracts.yaml +4 -4
- package/design/SKILL.md +18 -3
- package/design/harness/THIS_SKILL.md +24 -10
- package/design/harness/best-practices/README.md +0 -1
- package/design/harness/best-practices/frontend.md +2 -3
- package/design/harness/constraints/filesystem-boundaries.md +19 -2
- package/design/harness/constraints/skill-role-contract.md +107 -4
- package/design/harness/constraints/source-of-truth.md +2 -0
- package/design/harness/constraints/stage-gates.md +25 -1
- package/design/harness/profiles/frontend.yaml +2 -3
- package/design/harness/workflow/completion-contract.yaml +12 -1
- package/design/harness/workflow/skill-io-contract.yaml +24 -4
- package/design/harness/workflow/skill-quality-standards.yaml +51 -4
- package/design/harness/workflow/stage-contracts.yaml +4 -4
- package/dispatch/SKILL.md +3 -1
- package/dispatch/harness/THIS_SKILL.md +14 -0
- package/dispatch/harness/constraints/filesystem-boundaries.md +19 -2
- package/dispatch/harness/constraints/skill-role-contract.md +107 -4
- package/dispatch/harness/constraints/source-of-truth.md +2 -0
- package/dispatch/harness/constraints/stage-gates.md +25 -1
- package/dispatch/harness/profiles/frontend.yaml +2 -3
- package/dispatch/harness/workflow/completion-contract.yaml +12 -1
- package/dispatch/harness/workflow/skill-io-contract.yaml +21 -0
- package/dispatch/harness/workflow/skill-quality-standards.yaml +39 -0
- package/dispatch/harness/workflow/stage-contracts.yaml +4 -4
- package/fix/SKILL.md +3 -1
- package/fix/harness/THIS_SKILL.md +14 -0
- package/fix/harness/constraints/filesystem-boundaries.md +19 -2
- package/fix/harness/constraints/skill-role-contract.md +107 -4
- package/fix/harness/constraints/source-of-truth.md +2 -0
- package/fix/harness/constraints/stage-gates.md +25 -1
- package/fix/harness/profiles/frontend.yaml +2 -3
- package/fix/harness/workflow/completion-contract.yaml +12 -1
- package/fix/harness/workflow/skill-io-contract.yaml +21 -0
- package/fix/harness/workflow/skill-quality-standards.yaml +39 -0
- package/fix/harness/workflow/stage-contracts.yaml +4 -4
- package/flow/SKILL.md +12 -3
- package/flow/harness/THIS_SKILL.md +16 -0
- package/flow/harness/constraints/filesystem-boundaries.md +19 -2
- package/flow/harness/constraints/skill-role-contract.md +107 -4
- package/flow/harness/constraints/source-of-truth.md +2 -0
- package/flow/harness/constraints/stage-gates.md +25 -1
- package/flow/harness/profiles/frontend.yaml +2 -3
- package/flow/harness/workflow/completion-contract.yaml +12 -1
- package/flow/harness/workflow/skill-io-contract.yaml +21 -0
- package/flow/harness/workflow/skill-quality-standards.yaml +43 -0
- package/flow/harness/workflow/stage-contracts.yaml +4 -4
- package/issue/SKILL.md +3 -1
- package/issue/harness/THIS_SKILL.md +14 -0
- package/issue/harness/constraints/filesystem-boundaries.md +19 -2
- package/issue/harness/constraints/skill-role-contract.md +107 -4
- package/issue/harness/constraints/source-of-truth.md +2 -0
- package/issue/harness/constraints/stage-gates.md +25 -1
- package/issue/harness/profiles/frontend.yaml +2 -3
- package/issue/harness/workflow/completion-contract.yaml +12 -1
- package/issue/harness/workflow/skill-io-contract.yaml +21 -0
- package/issue/harness/workflow/skill-quality-standards.yaml +39 -0
- package/issue/harness/workflow/stage-contracts.yaml +4 -4
- package/learn/SKILL.md +3 -1
- package/learn/harness/THIS_SKILL.md +14 -0
- package/learn/harness/constraints/filesystem-boundaries.md +19 -2
- package/learn/harness/constraints/skill-role-contract.md +107 -4
- package/learn/harness/constraints/source-of-truth.md +2 -0
- package/learn/harness/constraints/stage-gates.md +25 -1
- package/learn/harness/profiles/frontend.yaml +2 -3
- package/learn/harness/workflow/completion-contract.yaml +12 -1
- package/learn/harness/workflow/skill-io-contract.yaml +21 -0
- package/learn/harness/workflow/skill-quality-standards.yaml +39 -0
- package/learn/harness/workflow/stage-contracts.yaml +4 -4
- package/package.json +1 -1
- package/prepare/SKILL.md +3 -1
- package/prepare/harness/THIS_SKILL.md +14 -0
- package/prepare/harness/constraints/filesystem-boundaries.md +19 -2
- package/prepare/harness/constraints/skill-role-contract.md +107 -4
- package/prepare/harness/constraints/source-of-truth.md +2 -0
- package/prepare/harness/constraints/stage-gates.md +25 -1
- package/prepare/harness/profiles/frontend.yaml +2 -3
- package/prepare/harness/workflow/completion-contract.yaml +12 -1
- package/prepare/harness/workflow/skill-io-contract.yaml +21 -0
- package/prepare/harness/workflow/skill-quality-standards.yaml +39 -0
- package/prepare/harness/workflow/stage-contracts.yaml +4 -4
- package/preproposal/SKILL.md +89 -22
- package/preproposal/harness/THIS_SKILL.md +49 -7
- package/preproposal/harness/best-practices/design-handoff.md +81 -3
- package/preproposal/harness/constraints/filesystem-boundaries.md +19 -2
- package/preproposal/harness/constraints/skill-role-contract.md +107 -4
- package/preproposal/harness/constraints/source-of-truth.md +2 -0
- package/preproposal/harness/constraints/stage-gates.md +25 -1
- package/preproposal/harness/profiles/frontend.yaml +2 -3
- package/preproposal/harness/workflow/completion-contract.yaml +12 -1
- package/preproposal/harness/workflow/skill-io-contract.yaml +40 -0
- package/preproposal/harness/workflow/skill-quality-standards.yaml +88 -7
- package/preproposal/harness/workflow/stage-contracts.yaml +4 -4
- package/preproposal/templates/interaction-handoff.md +88 -0
- package/proposal/SKILL.md +3 -1
- package/proposal/harness/THIS_SKILL.md +14 -0
- package/proposal/harness/constraints/filesystem-boundaries.md +19 -2
- package/proposal/harness/constraints/skill-role-contract.md +107 -4
- package/proposal/harness/constraints/source-of-truth.md +2 -0
- package/proposal/harness/constraints/stage-gates.md +25 -1
- package/proposal/harness/profiles/frontend.yaml +2 -3
- package/proposal/harness/workflow/completion-contract.yaml +12 -1
- package/proposal/harness/workflow/skill-io-contract.yaml +21 -0
- package/proposal/harness/workflow/skill-quality-standards.yaml +39 -0
- package/proposal/harness/workflow/stage-contracts.yaml +4 -4
- package/ready/SKILL.md +3 -1
- package/ready/harness/THIS_SKILL.md +14 -0
- package/ready/harness/constraints/filesystem-boundaries.md +19 -2
- package/ready/harness/constraints/skill-role-contract.md +107 -4
- package/ready/harness/constraints/source-of-truth.md +2 -0
- package/ready/harness/constraints/stage-gates.md +25 -1
- package/ready/harness/profiles/frontend.yaml +2 -3
- package/ready/harness/workflow/completion-contract.yaml +12 -1
- package/ready/harness/workflow/skill-io-contract.yaml +21 -0
- package/ready/harness/workflow/skill-quality-standards.yaml +39 -0
- package/ready/harness/workflow/stage-contracts.yaml +4 -4
- package/review/SKILL.md +3 -1
- package/review/harness/THIS_SKILL.md +14 -0
- package/review/harness/best-practices/frontend.md +2 -3
- package/review/harness/constraints/filesystem-boundaries.md +19 -2
- package/review/harness/constraints/skill-role-contract.md +107 -4
- package/review/harness/constraints/source-of-truth.md +2 -0
- package/review/harness/constraints/stage-gates.md +25 -1
- package/review/harness/profiles/frontend.yaml +2 -3
- package/review/harness/workflow/completion-contract.yaml +12 -1
- package/review/harness/workflow/skill-io-contract.yaml +21 -0
- package/review/harness/workflow/skill-quality-standards.yaml +39 -0
- package/review/harness/workflow/stage-contracts.yaml +4 -4
- package/smoke/SKILL.md +3 -1
- package/smoke/harness/THIS_SKILL.md +14 -0
- package/smoke/harness/best-practices/frontend.md +2 -3
- package/smoke/harness/constraints/filesystem-boundaries.md +19 -2
- package/smoke/harness/constraints/skill-role-contract.md +107 -4
- package/smoke/harness/constraints/source-of-truth.md +2 -0
- package/smoke/harness/constraints/stage-gates.md +25 -1
- package/smoke/harness/profiles/frontend.yaml +2 -3
- package/smoke/harness/workflow/completion-contract.yaml +12 -1
- package/smoke/harness/workflow/skill-io-contract.yaml +21 -0
- package/smoke/harness/workflow/skill-quality-standards.yaml +39 -0
- package/smoke/harness/workflow/stage-contracts.yaml +4 -4
- package/spec/SKILL.md +3 -1
- package/spec/harness/THIS_SKILL.md +14 -0
- package/spec/harness/constraints/filesystem-boundaries.md +19 -2
- package/spec/harness/constraints/skill-role-contract.md +107 -4
- package/spec/harness/constraints/source-of-truth.md +2 -0
- package/spec/harness/constraints/stage-gates.md +25 -1
- package/spec/harness/profiles/frontend.yaml +2 -3
- package/spec/harness/workflow/completion-contract.yaml +12 -1
- package/spec/harness/workflow/skill-io-contract.yaml +21 -0
- package/spec/harness/workflow/skill-quality-standards.yaml +39 -0
- package/spec/harness/workflow/stage-contracts.yaml +4 -4
- package/task/SKILL.md +3 -1
- package/task/harness/THIS_SKILL.md +14 -0
- package/task/harness/constraints/filesystem-boundaries.md +19 -2
- package/task/harness/constraints/skill-role-contract.md +107 -4
- package/task/harness/constraints/source-of-truth.md +2 -0
- package/task/harness/constraints/stage-gates.md +25 -1
- package/task/harness/profiles/frontend.yaml +2 -3
- package/task/harness/workflow/completion-contract.yaml +12 -1
- package/task/harness/workflow/skill-io-contract.yaml +21 -0
- package/task/harness/workflow/skill-quality-standards.yaml +39 -0
- package/task/harness/workflow/stage-contracts.yaml +4 -4
- package/verify/SKILL.md +3 -1
- package/verify/harness/THIS_SKILL.md +14 -0
- package/verify/harness/best-practices/frontend.md +2 -3
- package/verify/harness/constraints/filesystem-boundaries.md +19 -2
- package/verify/harness/constraints/skill-role-contract.md +107 -4
- package/verify/harness/constraints/source-of-truth.md +2 -0
- package/verify/harness/constraints/stage-gates.md +25 -1
- package/verify/harness/profiles/frontend.yaml +2 -3
- package/verify/harness/workflow/completion-contract.yaml +12 -1
- package/verify/harness/workflow/skill-io-contract.yaml +21 -0
- package/verify/harness/workflow/skill-quality-standards.yaml +39 -0
- package/verify/harness/workflow/stage-contracts.yaml +4 -4
- package/zsk/SKILL.md +17 -7
- package/zsk/harness/THIS_SKILL.md +14 -0
- package/zsk/harness/constraints/filesystem-boundaries.md +19 -2
- package/zsk/harness/constraints/skill-role-contract.md +107 -4
- package/zsk/harness/constraints/source-of-truth.md +2 -0
- package/zsk/harness/constraints/stage-gates.md +25 -1
- package/zsk/harness/profiles/frontend.yaml +2 -3
- package/zsk/harness/workflow/completion-contract.yaml +12 -1
- package/zsk/harness/workflow/skill-io-contract.yaml +21 -0
- package/zsk/harness/workflow/skill-quality-standards.yaml +39 -0
- package/zsk/harness/workflow/stage-contracts.yaml +4 -4
- package/zskplan/SKILL.md +38 -17
- package/zskplan/harness/THIS_SKILL.md +26 -4
- package/zskplan/harness/constraints/filesystem-boundaries.md +19 -2
- package/zskplan/harness/constraints/skill-role-contract.md +107 -4
- package/zskplan/harness/constraints/source-of-truth.md +2 -0
- package/zskplan/harness/constraints/stage-gates.md +25 -1
- package/zskplan/harness/profiles/frontend.yaml +2 -3
- package/zskplan/harness/workflow/completion-contract.yaml +12 -1
- package/zskplan/harness/workflow/skill-io-contract.yaml +24 -0
- package/zskplan/harness/workflow/skill-quality-standards.yaml +60 -6
- package/zskplan/harness/workflow/stage-contracts.yaml +4 -4
- package/design/harness/best-practices/design-handoff.md +0 -41
package/README.md
CHANGED
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
ZNorth Standard Kit 的可安装 skill 内容包。安装面现在只保留从根级 `skills/` 生成的 **core harness-first skills**;旧 `.best-practices/` 不再批量生成独立 installable skills,而是作为参考源按 skill 携带相关子集。
|
|
4
4
|
|
|
5
|
-
包内共有 **
|
|
5
|
+
包内共有 **24 颗 installable skills**,全部来自根级 `skills/`。
|
|
6
6
|
|
|
7
7
|
## 合规审查(ARCHITECTURE §4.4 硬指标)
|
|
8
8
|
|
|
9
9
|
| 检查项 | 结果 | 说明 |
|
|
10
10
|
| ---------------------------------------------------------------------------------------- | ------- | ----------------------------------------------------- |
|
|
11
|
-
| frontmatter 完整(`name` / `description` / `category` / `domain` / `tier` / `triggers`) | ✓
|
|
12
|
-
| `name` 使用裸 slug,扁平且不含连字符 | ✓
|
|
13
|
-
| `description` 简洁表达职责和使用时机 | ✓
|
|
14
|
-
| `category` / `domain` / `tier` 枚举值合法 | ✓
|
|
15
|
-
| `triggers` 数组非空 | ✓
|
|
11
|
+
| frontmatter 完整(`name` / `description` / `category` / `domain` / `tier` / `triggers`) | ✓ 24/24 | core 由 root `skills/` 生成 |
|
|
12
|
+
| `name` 使用裸 slug,扁平且不含连字符 | ✓ 24/24 | LLM 原生 skill 入口保持简洁;CLI 选择层使用 `zsk:<slug>` |
|
|
13
|
+
| `description` 简洁表达职责和使用时机 | ✓ 24/24 | 面向索引阅读;triggers 留给机器使用 |
|
|
14
|
+
| `category` / `domain` / `tier` 枚举值合法 | ✓ 24/24 | stage/utility · core |
|
|
15
|
+
| `triggers` 数组非空 | ✓ 24/24 | 至少含裸 slug |
|
|
16
16
|
| 无硬编码项目名 / 技术栈(统一 `{{config.*}}` 占位符) | ✓ | harness-neutral |
|
|
17
17
|
| `related:` 相对路径合法 | ✓ | core 不依赖参考层生成物 |
|
|
18
|
-
| 单文件 ≤ 300 行 | ✓
|
|
18
|
+
| 单文件 ≤ 300 行 | ✓ 24/24 | core 由 `lint:harness` 强制 |
|
|
19
19
|
|
|
20
20
|
当前 `max-lines` 已由 `tools/lint-frontmatter.ts` 作为 error 强制;新增或修改 skill 不应超过 300 行。
|
|
21
21
|
|
|
@@ -36,10 +36,10 @@ Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺
|
|
|
36
36
|
| --- | ---: | --- |
|
|
37
37
|
| `zsk-entry` | 2 | 只装 `zskplan` / `zsk` 两个主入口,由它们按 harness 调度 |
|
|
38
38
|
| `zsk-lite` | 11 | 小修、小项目、脚本、低风险任务 |
|
|
39
|
-
| `zsk-sdlc` |
|
|
40
|
-
| `zsk-frontend` |
|
|
41
|
-
| `zsk-enterprise` |
|
|
42
|
-
| `sdlc-only` |
|
|
39
|
+
| `zsk-sdlc` | 21 | 标准工程交付;需求、实现、审查、验证、验收、归档 |
|
|
40
|
+
| `zsk-frontend` | 22 | UI/UX/browser-facing 交付;强化 demo、视觉证据、前端质量门禁 |
|
|
41
|
+
| `zsk-enterprise` | 22 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
42
|
+
| `sdlc-only` | 24 | 旧入口兼容;安装全部 core skills |
|
|
43
43
|
|
|
44
44
|
## Skill 搭配流程图
|
|
45
45
|
|
|
@@ -82,7 +82,7 @@ flowchart TD
|
|
|
82
82
|
| 安装默认 core skills | `npx @captain_z/zsk add` | 交互选择 target 和 bundle |
|
|
83
83
|
| CI 安装 ZSK 主入口 | `npx @captain_z/zsk add zsk-entry --target=~/.claude/skills --yes` | 非交互安装 `zskplan` / `zsk` 两个入口 |
|
|
84
84
|
| CI 安装轻量 profile | `npx @captain_z/zsk add zsk-lite --target=~/.claude/skills --yes` | 非交互安装 11 颗常用 skills |
|
|
85
|
-
| CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装
|
|
85
|
+
| CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装 21 颗标准 workflow skills |
|
|
86
86
|
| Claude plugin 安装 | `/plugin marketplace add codeshareman/zsk` 后 `/plugin install zsk@zsk` | 使用 `/zsk:<slug>` 命令面 |
|
|
87
87
|
| GitHub skills 管理器安装 | `npx skills add codeshareman/zsk` | 从仓库根 `skills/` 安装;不要加 `@` |
|
|
88
88
|
| 只想让 ZSK 自己规划和执行 | "用 `zsk:zskplan` 规划" / "用 `zsk:zsk` 继续" | 计划写入 `.zsk/plans/`,执行产物写入 `.zsk` |
|
|
@@ -113,8 +113,8 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
113
113
|
|
|
114
114
|
| 领域 | skill 数 | 职责 |
|
|
115
115
|
| ----------------- | -------- | ------------------------------------------ |
|
|
116
|
-
| `skills/` |
|
|
117
|
-
| **总计** | **
|
|
116
|
+
| `skills/` | 24 | harness-first 默认工作流入口 |
|
|
117
|
+
| **总计** | **24** | |
|
|
118
118
|
|
|
119
119
|
## 安装套件(bundles.yaml)
|
|
120
120
|
|
|
@@ -122,12 +122,12 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
122
122
|
| ------------------------------ | ------ | --------------------------------------------- |
|
|
123
123
|
| `zsk-entry` | 2 | 只安装 ZSK / ZSK Plan 两个主入口 |
|
|
124
124
|
| `zsk-lite` | 11 | 小型低风险任务;ZSK 入口 + fix/coding → smoke → review → commit |
|
|
125
|
-
| `zsk-sdlc`(推荐) |
|
|
126
|
-
| `zsk-frontend` |
|
|
127
|
-
| `zsk-enterprise` |
|
|
128
|
-
| `sdlc-only` |
|
|
129
|
-
| `frontend-project` |
|
|
130
|
-
| `frontend-with-design-handoff` |
|
|
125
|
+
| `zsk-sdlc`(推荐) | 21 | 标准工程交付;完整需求、实现、审查、验证、验收、归档链路 |
|
|
126
|
+
| `zsk-frontend` | 22 | 前端/视觉/browser-facing 任务;强化 demo 和前端质量门禁 |
|
|
127
|
+
| `zsk-enterprise` | 22 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
128
|
+
| `sdlc-only` | 24 | 旧入口兼容;安装全部 core skills |
|
|
129
|
+
| `frontend-project` | 24 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
130
|
+
| `frontend-with-design-handoff` | 24 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
131
131
|
| `custom` | 交互 | 通过 `zsk add` 任意多选 |
|
|
132
132
|
|
|
133
133
|
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total: 24 skills -->
|
|
@@ -139,7 +139,7 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
139
139
|
### `<slug>/` — Core · harness-first 默认工作流入口 (24)
|
|
140
140
|
|
|
141
141
|
- **`zskplan`**
|
|
142
|
-
Use as the ZSK-aware RalphPlan-style planning entrypoint that freezes scope, module decomposition, skill route, expert lanes, Playwright/evidence paths, and stop conditions under .zsk.
|
|
142
|
+
Use as the ZSK-aware RalphPlan-style planning entrypoint that clarifies vague intake, then freezes scope, module decomposition, skill route, expert lanes, Playwright/evidence paths, and stop conditions under .zsk.
|
|
143
143
|
|
|
144
144
|
- **`zsk`**
|
|
145
145
|
Use as the ZSK-aware Ralph-style execution loop that follows ZSK plans, dispatches expert lanes, verifies, fixes, and writes only .zsk outputs.
|
|
@@ -154,7 +154,7 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
154
154
|
After project init, collects resource origins, snapshots evidence, and updates config/manifests before proposal/spec.
|
|
155
155
|
|
|
156
156
|
- **`preproposal`**
|
|
157
|
-
Before proposal, turns a brief
|
|
157
|
+
Before proposal, turns a one-sentence or vague intake brief into a clear, reviewed product, roadmap, UX, and readiness raw resource pack.
|
|
158
158
|
|
|
159
159
|
- **`proposal`**
|
|
160
160
|
Before spec, frames the problem, scope, non-goals, success criteria, stakeholders, risks, and resource gaps.
|
package/acceptance/SKILL.md
CHANGED
|
@@ -82,8 +82,10 @@ This core skill is governed by the ZSK harness. Enforce these rules even when on
|
|
|
82
82
|
- Constraint levels: hard requirements and triggered conditional requirements are blocking; advisory guidance may be skipped only with rationale and no broken hard/conditional gate.
|
|
83
83
|
- Required outputs: every output declared in the skill I/O contract is mandatory unless recorded as evidence-backed N/A or BLOCKED with owner, impact, and next action.
|
|
84
84
|
- Collaboration: ordinary stage skills own their declared outputs and handoff quality; workflow skills own route selection. Do not hardcode the next stage inside a stage skill.
|
|
85
|
+
- Stage Challenge Gate: when an existing stage artifact is present, the active skill must challenge only its own responsibility, required inputs, required outputs, must-answer questions, quality checkpoints, current artifact, upstream sources, and downstream consumer; route cross-stage gaps to their owning stage instead of running a generic grill.
|
|
85
86
|
- Dynamic state awareness: identify the active role/stage, project type, stack, runtime, domain, target users/market, and freshness-sensitive decisions before selecting practices or retrieval sources.
|
|
86
87
|
- Filesystem boundaries: write ZSK-managed outputs only under the configured `.zsk` workspace paths.
|
|
88
|
+
- Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest `CONTEXT.md`, or the handoff must record `Context update: N/A` with rationale.
|
|
87
89
|
- Learning loop: reusable gaps become learning proposals; never mutate core constraints, templates, packs, or skills automatically.
|
|
88
90
|
- Learning authority: reusable ZSK core learning must target the canonical ZSK source repo `.zsk/learning/proposals/`; project-local learning may stay in the current project.
|
|
89
91
|
|
|
@@ -95,7 +97,7 @@ When a `harness/` directory is installed beside this file, treat it as the local
|
|
|
95
97
|
- Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
|
|
96
98
|
- Read `harness/constraints/skill-role-contract.md` before planning or reviewing expert work.
|
|
97
99
|
- Read `harness/constraints/filesystem-boundaries.md` before creating any project artifact.
|
|
100
|
+
- Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/docs/CONTEXT.md` before relying on it downstream.
|
|
98
101
|
- Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
|
|
99
102
|
- Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
|
|
100
103
|
- Apply the related best-practice concerns listed in `harness/THIS_SKILL.md`; read bundled `harness/best-practices/` files first when they are listed for the current skill. Search Context7 or the web only when local guidance or local facts are missing, incomplete, stale, too generic, version-sensitive, market-sensitive, or role-incomplete. Record source links, source dates when relevant, and adaptation rationale in the evidence or learning proposal.
|
|
101
|
-
|
|
@@ -91,6 +91,10 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
91
91
|
- Expose the required output contract in the artifact or handoff so the next skill can verify what was produced, blocked, or N/A.
|
|
92
92
|
- Separate facts, decisions, assumptions, open questions, risks, blockers, and evidence.
|
|
93
93
|
- Trace required claims to source artifacts, accepted decisions, scenarios, commands, issues, or human decisions.
|
|
94
|
+
- When an existing stage artifact is present, the active skill must run its own Stage Challenge Gate before downstream handoff: derive the challenge focus from that skill's responsibility, required inputs, required outputs, must-answer questions, quality checkpoints, current artifact, upstream sources, and downstream consumer; classify sourced, accepted, assumed, conflicting, missing, and N/A claims, then repair or block through the owning stage.
|
|
95
|
+
- Keep Stage Challenge Gates skill-local: ask, repair, or block only on questions the active skill owns; route upstream or downstream findings to the owning stage instead of absorbing another skill's responsibility.
|
|
96
|
+
- Every Stage Challenge Gate must align terminology against CONTEXT.md/CONTEXT-MAP.md when present, SYSTEM-SPEC.md, configured raw sources, current artifact identifiers, and code/component/API names when implementation-facing work is touched.
|
|
97
|
+
- Record durable terminology, naming, decomposition, and load-bearing clarification decisions in the nearest CONTEXT.md, or write `Context update: N/A` with rationale.
|
|
94
98
|
- Preserve upstream/downstream stage ownership; do not silently rewrite another skill's artifact.
|
|
95
99
|
- Record accept, reject, or conditional acceptance decision with linked verify/demo evidence.
|
|
96
100
|
- Name accepted criteria, residual risks, owners, and documentation feedback or no-update rationale.
|
|
@@ -104,6 +108,7 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
104
108
|
- When behavior is testable, define or consume a traceable test basis before claiming implementation, smoke, review, verify, or acceptance success.
|
|
105
109
|
- When external facts, SDKs, APIs, regulations, market context, or dependency behavior are freshness-sensitive, retrieve current authoritative references or record why local sources are sufficient.
|
|
106
110
|
- When an artifact becomes too large for one reviewable file, split it into `{stage}/index.md` plus linked child Markdown files while preserving the full stage contract.
|
|
111
|
+
- When clarification, grilling, architecture review, artifact repair, or task decomposition introduces a term or naming decision future stages must reuse, update module-local or project-level CONTEXT.md before handoff.
|
|
107
112
|
- When residual risks affect security, privacy, permissions, data, release, or compliance, require owner and follow-up issue.
|
|
108
113
|
- When business/user confirmation is missing, mark acceptance BLOCKED instead of inferred.
|
|
109
114
|
|
|
@@ -112,6 +117,7 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
112
117
|
- Prefer the smallest artifact that lets the next reader decide and act without chat memory.
|
|
113
118
|
- Use tables, matrices, diagrams, or checklists only when they clarify ownership, traceability, risk, or execution.
|
|
114
119
|
- Use project terminology and source identifiers consistently across proposal, spec, design, task, and evidence artifacts.
|
|
120
|
+
- When a skill challenges an artifact, name any overloaded, translated, or conflicting term before asking the user or editing the artifact.
|
|
115
121
|
- Record suggestions separately from current project policy, especially for thresholds that remain `未指定`.
|
|
116
122
|
- Keep acceptance focused on decision and risk, not implementation recap.
|
|
117
123
|
- Preserve rejection reasons in a form that can route back to issue/fix.
|
|
@@ -134,7 +140,11 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
134
140
|
- Accepts different project methods and artifact names only when they provide an equivalent control point with evidence.
|
|
135
141
|
- Uses PASS, FAIL, BLOCKED, or N/A only with evidence; missing mandatory evidence remains a failure, not an assumption.
|
|
136
142
|
- Records numeric targets or thresholds as `未指定` when the project has not supplied them; never invents thresholds to make an output look complete.
|
|
143
|
+
- Records `Context update: <path>` or `Context update: N/A` so later stages do not depend on hidden chat terminology.
|
|
144
|
+
- Names terminology alignment status for the active artifact: source-consistent, repaired, conflicting, missing, or N/A.
|
|
137
145
|
- Names owner, dependency, acceptance condition, and verification evidence for every required output or blocker.
|
|
146
|
+
- Names existing stage artifact clarity status as PASS, NEEDS_REPAIR, BLOCKED, or WAIVED when a prior artifact is being consumed or improved.
|
|
147
|
+
- Names the Stage Challenge Gate focus and shows it came from the active skill contract rather than a generic grill.
|
|
138
148
|
- Runs or references the stage-entry quality gate before downstream handoff; below-threshold but non-blocking gaps require explicit risk acceptance instead of silent progression.
|
|
139
149
|
- For testable work, verifies test correctness, not only test execution: traceable test basis, meaningful assertions, negative/boundary/regression coverage, and skipped/unrun checks called out.
|
|
140
150
|
- When proposal, spec, design, or tasks become too large for one reviewable file, the artifact may split to `{stage}/index.md` plus linked child Markdown files; the index remains the entrypoint and the full stage contract still applies.
|
|
@@ -171,6 +181,10 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
171
181
|
- Passing because a familiar term appears while the equivalent lifecycle function is absent.
|
|
172
182
|
- Inventing project policy, quality thresholds, source mappings, or platform behavior without configured evidence.
|
|
173
183
|
- Treating missing evidence as low risk when the stage output depends on that evidence.
|
|
184
|
+
- Discarding or rewriting an unclear existing stage artifact before classifying what is sourced, accepted, assumed, conflicting, or missing.
|
|
185
|
+
- Running a generic grill or cross-stage rewrite instead of the active skill's own Stage Challenge Gate.
|
|
186
|
+
- Letting terminology, naming, or decomposition decisions live only in chat instead of CONTEXT.md.
|
|
187
|
+
- Running stage-specific questioning without checking whether the artifact uses the same terms as upstream sources, downstream consumers, and implementation surfaces.
|
|
174
188
|
- Letting a delayed subagent packet block indefinitely instead of marking it stale and falling back or re-emitting.
|
|
175
189
|
- Claiming tests prove behavior when they have no traceable basis, no meaningful assertion, or only prove implementation details.
|
|
176
190
|
- Accepting without verification evidence.
|
|
@@ -5,8 +5,10 @@ Default project paths:
|
|
|
5
5
|
- `.zsk/`: the only default ZSK-managed workspace root.
|
|
6
6
|
- `.zsk/docs/`: project-level docs such as `SYSTEM-SPEC.md` and `PROJECT-CONFIG.md`.
|
|
7
7
|
- `.zsk/modules/{module}/`: module config and stage artifacts.
|
|
8
|
+
- `.zsk/modules/{module}/CONTEXT.md`: module-local domain language, naming decisions, decomposition rationale, and accepted clarifications that later stages must reuse.
|
|
9
|
+
- `.zsk/docs/CONTEXT.md`: project-wide domain language and cross-module terms when a term is not owned by one module.
|
|
8
10
|
- `.zsk/raws/`: raw external source snapshots, manifests, imported test cases, market/product research sources, and design/API assets.
|
|
9
|
-
- `.zsk/raws/prepare/**`: reusable source lanes. `preproposal` may add generated or candidate product, roadmap, UX, and design-source readiness resources here only when they are labeled with provenance, review checkpoint status, assumptions, and blockers.
|
|
11
|
+
- `.zsk/raws/prepare/**`: reusable source lanes. `preproposal` may add generated or candidate intake clarity, product, roadmap, UX, and design-source readiness resources here only when they are labeled with provenance, review checkpoint status, assumptions, and blockers.
|
|
10
12
|
- `.zsk/evidence/preproposal/{run}/`: checkpoint review evidence for product direction, roadmap/decomposition, UX/design-readiness, and final readiness before formal proposal.
|
|
11
13
|
- `.zsk/modules/{module}/_issues/`: module-private managed issue records and indexes, created on demand.
|
|
12
14
|
- `.zsk/modules/{module}/_evidence/`: module-private reusable runtime or research evidence, created on demand.
|
|
@@ -19,6 +21,21 @@ Default project paths:
|
|
|
19
21
|
|
|
20
22
|
Root `docs/`, `.raws/`, `.issues/`, `.playwright/`, and `plans/` are not default write targets for ZSK skills. Use explicit export, promote, import, or migration commands when project-facing root documentation is needed.
|
|
21
23
|
|
|
24
|
+
## Context Recording Authority
|
|
25
|
+
|
|
26
|
+
Every durable terminology, naming, decomposition, or load-bearing clarification
|
|
27
|
+
created during a Clarification Loop, artifact clarity pass, architecture review,
|
|
28
|
+
stage repair, or task decomposition must be recorded in the nearest
|
|
29
|
+
`CONTEXT.md`.
|
|
30
|
+
|
|
31
|
+
- Module-local terms and decisions go to `.zsk/modules/{module}/CONTEXT.md`.
|
|
32
|
+
- Cross-module or project-wide terms go to `.zsk/docs/CONTEXT.md`.
|
|
33
|
+
- ZSK core terms go to the source repo `CONTEXT.md`.
|
|
34
|
+
- If no update is needed, the stage handoff records a no-update rationale.
|
|
35
|
+
- Do not use `CONTEXT.md` for transient notes, raw evidence, task execution
|
|
36
|
+
logs, or unresolved speculation; record those in the owning artifact, issue,
|
|
37
|
+
evidence directory, or learning proposal.
|
|
38
|
+
|
|
22
39
|
## Learning Output Authority
|
|
23
40
|
|
|
24
41
|
Learning artifacts must be written according to what they are meant to change:
|
|
@@ -45,4 +62,4 @@ This rule applies to every underscore module directory, not only `_issues`. For
|
|
|
45
62
|
|
|
46
63
|
The skill that produces the final artifact for a module stage writes the formal report to `.zsk/modules/{module}/{stage}.md`. For large `proposal`, `spec`, `design`, or `tasks` artifacts, the skill may upgrade the stage artifact to `.zsk/modules/{module}/{stage}/index.md` and split child Markdown files under the same stage directory. The `index.md` file remains the review entrypoint, must link every child document included in the logical artifact, and must preserve the same stage contract; splitting content does not weaken required gates. Supporting artifacts stay in the appropriate `_issues`, `_evidence`, or `_playwright` directory unless they are deliberately shared/global/public.
|
|
47
64
|
|
|
48
|
-
`preproposal` is not a module-final stage. Its outputs are proposal-prep raw resources under `.zsk/raws/prepare/**` plus checkpoint evidence under `.zsk/evidence/preproposal/{run}/`. It must not create `.zsk/modules/{module}/proposal.md`, `spec.md`, `design.md`, or `tasks.md`; those remain owned by their formal stage skills.
|
|
65
|
+
`preproposal` is not a module-final stage. Its outputs are intake clarity and proposal-prep raw resources under `.zsk/raws/prepare/**` plus checkpoint evidence under `.zsk/evidence/preproposal/{run}/`. When a target module is specified, use the module id as the default raw topic, for example `.zsk/raws/prepare/ux/{module}/interaction-handoff.md`, and record any narrower page/frame split rationale in the raw artifact. It must not create `.zsk/modules/{module}/proposal.md`, `spec.md`, `design.md`, or `tasks.md`; those remain owned by their formal stage skills.
|
|
@@ -54,12 +54,12 @@ Each skill owns one stage contract. Workflow skills may route or schedule work,
|
|
|
54
54
|
| Skill | Owns | Does Not Own | Consistency / Handoff |
|
|
55
55
|
| --- | --- | --- | --- |
|
|
56
56
|
| `prepare` | Source discovery, configured origin validation, raws snapshots, manifest, source gaps | Product interpretation, requirements decisions, design choices | Hands source manifest, raws indexes, conflicts, and blockers to `proposal` / `spec`; asks before uncertain source-to-lane mapping |
|
|
57
|
-
| `preproposal` |
|
|
57
|
+
| `preproposal` | Intake clarity, proposal-prep raw resources: product direction, MVP/phase/module decomposition, UX/design-readiness seeds, interaction handoff when triggered, candidate code component mapping when code exists, assumptions, risks, scenario seeds, checkpoint review evidence | Formal module proposal/spec/design/tasks, formal test cases, final implementation decisions | Hands reviewed `.zsk/raws/prepare/**` resources and `.zsk/evidence/preproposal/**` checkpoint verdicts to `proposal`; source-discoverable questions must be answered before asking the user; product review must pass before roadmap, roadmap before UX, UX before readiness |
|
|
58
58
|
| `proposal` | Problem, goal, scope, non-goals, stakeholders, risks, success metrics, decision request | Detailed behavior, architecture, task breakdown, implementation | Every goal and metric must trace to sources or accepted assumptions; hands bounded scope to `spec` |
|
|
59
59
|
| `spec` | FR/NFR, acceptance criteria, scenarios, edge cases, constraints, traceability, behavior-level control matrix when triggered | Architecture, file/module design, implementation tasks | Every P0/P1 requirement must trace to proposal/source and be testable; cross-cutting control behavior must trace to subject/action/resource/scope/source; hands behavior contract to `design` and `task` |
|
|
60
|
-
| `design` |
|
|
60
|
+
| `design` | Code design: architecture, interfaces, data/state flow, implementation surfaces, design views/diagrams, ADRs or equivalent decision records, tradeoffs, rollout and verification surfaces, control traceability matrix when triggered | Rewriting requirements, authoring interaction handoff, deciding missing UX/Figma behavior, task sequencing, coding, decorative diagrams | Every design decision and diagram must trace to spec/AC/NFR, ADR, risk, or verification need; triggered controls must trace to enforcement/UI/API/state/test surfaces; hands implementation map to `task` |
|
|
61
61
|
| `task` | Kiro-style nested checkbox task groups/subtasks, owners, dependencies, scope/files, evidence hooks, proposal/spec/design/ADR coverage matrix, control-row task coverage when triggered | Changing proposal/spec/design intent, coding, review approval | Every task group must align to proposal/spec/design/ADR IDs; every subtask must be executable and evidence-backed before `coding`; triggered control rows must map to implementation and evidence tasks |
|
|
62
|
-
| `coding` | Scoped implementation, changed tests, implementation notes, local validation evidence | Requirements changes, broad refactors, final approval | Every diff maps to task IDs and preserves upstream intent; hands changed files and evidence to `smoke` / `review` |
|
|
62
|
+
| `coding` | Scoped implementation, vertical TDD cycles, changed tests, implementation notes, local validation evidence | Requirements changes, broad refactors, final approval | Every diff maps to task IDs and preserves upstream intent; each testable behavior records RED/GREEN evidence before the next behavior; hands changed files and evidence to `smoke` / `review` |
|
|
63
63
|
| `smoke` | Smallest credible local proof of changed behavior, failure classification, smoke issues | Full acceptance, final verification, release approval | Hands command/scenario evidence and failures to `review`, `defect`, or `ready` |
|
|
64
64
|
| `review` | Scope drift, correctness, maintainability, security, test adequacy, harness compliance findings | Implementing fixes, independent verification, business acceptance | Findings must reference files/artifacts and route fix work to `issue` / `defect` / `coding`; no PASS without evidence adequacy |
|
|
65
65
|
| `commit` | Scoped staging, Lore commit message, commit evidence, known verification gaps | Feature validation, release readiness | Hands immutable change intent and tested/not-tested evidence to `deploy` / `archive` |
|
|
@@ -107,13 +107,116 @@ Consistency checks:
|
|
|
107
107
|
- No skill silently changes another skill's artifact; it records a feedback item, issue, or blocker instead.
|
|
108
108
|
- Workflow skills (`flow`, `zskplan`, `zsk`) choose the route. Stage skills state status, blockers, handoff needs, and next legal candidates only.
|
|
109
109
|
|
|
110
|
+
## Stage Artifact Clarity Pass
|
|
111
|
+
|
|
112
|
+
Every stage owns clarity and repair for the artifacts it owns. If a stage artifact
|
|
113
|
+
already exists but is unclear, incomplete, contradictory, placeholder-like, or too
|
|
114
|
+
weak for the next consumer, the workflow must route to the owning stage instead
|
|
115
|
+
of restarting from intake, skipping ahead, or letting a downstream skill repair
|
|
116
|
+
upstream intent.
|
|
117
|
+
|
|
118
|
+
This is a skill-local Stage Challenge Gate, not a generic grilling session. The
|
|
119
|
+
active skill must auto-identify what to challenge from its own responsibility,
|
|
120
|
+
required inputs, required outputs, must-answer questions, quality checkpoints,
|
|
121
|
+
current artifact, upstream sources, and downstream consumer. It may surface
|
|
122
|
+
upstream or downstream findings, but those findings are routed to the owning
|
|
123
|
+
stage instead of being silently absorbed.
|
|
124
|
+
|
|
125
|
+
The challenge basis is also skill-local: use this skill's `THIS_SKILL.md`,
|
|
126
|
+
`skill-quality-standards.yaml`, bundled related best-practice files, and current
|
|
127
|
+
official references when local references are incomplete or version-sensitive.
|
|
128
|
+
Do not reuse another stage's checklist as the active challenge unless the finding
|
|
129
|
+
is routed back to that owning stage.
|
|
130
|
+
|
|
131
|
+
Every skill-local challenge also performs terminology alignment. Compare the
|
|
132
|
+
artifact's domain terms, actor names, module names, stage IDs, FR/AC/NFR/ADR IDs,
|
|
133
|
+
UI component names, route/API names, and source/provider labels against
|
|
134
|
+
`CONTEXT.md` / `CONTEXT-MAP.md` when present, `.zsk/docs/SYSTEM-SPEC.md`,
|
|
135
|
+
configured raw sources, and implementation names when the skill touches code or
|
|
136
|
+
UI surfaces. If a term is overloaded, stale, translated inconsistently, or
|
|
137
|
+
conflicts with upstream/downstream language, classify it explicitly and route the
|
|
138
|
+
repair to the owning stage. Do not introduce a new canonical term only in chat.
|
|
139
|
+
|
|
140
|
+
The owning stage must:
|
|
141
|
+
|
|
142
|
+
- preserve the current artifact as evidence and avoid wholesale rewrite unless
|
|
143
|
+
the artifact is explicitly superseded;
|
|
144
|
+
- state the Stage Challenge Gate focus for this skill, such as proposal
|
|
145
|
+
problem/scope clarity, spec behavior/AC traceability, design implementation
|
|
146
|
+
mapping, task execution readiness, or evidence-stage claim validity;
|
|
147
|
+
- classify material claims as `sourced`, `accepted`, `assumed`, `conflicting`,
|
|
148
|
+
`missing`, or `N/A`;
|
|
149
|
+
- classify terminology conflicts and accepted canonical names with source or
|
|
150
|
+
context references;
|
|
151
|
+
- repair only the claims that local/configured sources, accepted decisions, or
|
|
152
|
+
current evidence support;
|
|
153
|
+
- ask at most one blocking question when the missing answer changes scope,
|
|
154
|
+
behavior, design, task order, or verification;
|
|
155
|
+
- report `Stage artifact clarity: PASS | NEEDS_REPAIR | BLOCKED | WAIVED`
|
|
156
|
+
with owner, missing input, impact, next action, and downstream consumer.
|
|
157
|
+
|
|
158
|
+
Examples:
|
|
159
|
+
|
|
160
|
+
- unclear `proposal` routes to `proposal` for problem/scope/non-goal repair;
|
|
161
|
+
- unclear `spec` routes to `spec` for FR/AC/scenario/source-trace repair;
|
|
162
|
+
- unclear `design` routes to `design` for interface, ADR, data-flow, or control
|
|
163
|
+
traceability repair;
|
|
164
|
+
- unclear `tasks` routes to `task` for executable checkbox, ownership,
|
|
165
|
+
dependency, source-alignment, and evidence-hook repair.
|
|
166
|
+
|
|
167
|
+
## Context Recording Discipline
|
|
168
|
+
|
|
169
|
+
ZSK treats `CONTEXT.md` as durable project language, not chat memory. When a
|
|
170
|
+
Clarification Loop, artifact clarity pass, architecture review, stage repair, or
|
|
171
|
+
task decomposition creates or sharpens terminology, naming, module/decomposition
|
|
172
|
+
rationale, accepted clarification, or a load-bearing "call this X, not Y"
|
|
173
|
+
decision, the owning skill must update the nearest `CONTEXT.md` before handoff.
|
|
174
|
+
|
|
175
|
+
Context targets:
|
|
176
|
+
|
|
177
|
+
- module-local language and decomposition decisions:
|
|
178
|
+
`.zsk/modules/{module}/CONTEXT.md`;
|
|
179
|
+
- project-wide or cross-module language: `.zsk/docs/CONTEXT.md`;
|
|
180
|
+
- reusable ZSK core language: the source repo `CONTEXT.md`.
|
|
181
|
+
|
|
182
|
+
The update must separate accepted terms from rejected/ambiguous framings and
|
|
183
|
+
state the downstream impact. If no context update is needed, the handoff records
|
|
184
|
+
`Context update: N/A` with a short reason. A downstream stage must not rely on a
|
|
185
|
+
term that only exists in chat.
|
|
186
|
+
|
|
187
|
+
## Coding TDD Cycle Discipline
|
|
188
|
+
|
|
189
|
+
`coding` uses vertical TDD, not horizontal batching. For each testable behavior
|
|
190
|
+
or defect slice:
|
|
191
|
+
|
|
192
|
+
1. Select one behavior from task, AC, issue, or accepted clarification.
|
|
193
|
+
2. Write or update one public-interface behavior test or scenario expectation.
|
|
194
|
+
3. Run that focused test and record RED evidence. If RED cannot be observed
|
|
195
|
+
because the harness, fixture, or dependency is unavailable, record the tool
|
|
196
|
+
gap before implementation.
|
|
197
|
+
4. Implement the smallest code change that can make this behavior pass.
|
|
198
|
+
5. Run the focused test again and record GREEN evidence before starting another
|
|
199
|
+
behavior.
|
|
200
|
+
6. Refactor only while GREEN, then rerun the affected focused test.
|
|
201
|
+
|
|
202
|
+
The coding handoff must list cycles separately. A final full-suite result is
|
|
203
|
+
useful only after the vertical cycles; it must not replace per-behavior evidence.
|
|
204
|
+
|
|
110
205
|
## Preproposal Team Simulation
|
|
111
206
|
|
|
112
207
|
`preproposal` is one workflow-node with role lanes, not a set of standalone skills.
|
|
113
208
|
|
|
209
|
+
Before lane work begins, the lead-integrator owns intake clarity. A one-sentence
|
|
210
|
+
or vague requirement must be restated as known facts, inferred assumptions,
|
|
211
|
+
source gaps, non-goals, and at most one blocking question. The lead must inspect
|
|
212
|
+
available repo docs, code, `.zsk` sources, glossary, and decision records before
|
|
213
|
+
asking the user. Every blocking question includes the recommended answer and
|
|
214
|
+
tradeoff, and accepted clarification is recorded as fact, decision, assumption,
|
|
215
|
+
or open question.
|
|
216
|
+
|
|
114
217
|
- Product-owner and business-analyst lanes own product direction, user/problem framing, business process, scope options, non-goals, risks, and evidence gaps.
|
|
115
218
|
- Planner and architect lanes own MVP/phase/module decomposition, dependency shape, boundary rationale, deferred work, and feasibility risks.
|
|
116
|
-
- UX and design-
|
|
219
|
+
- UX and design-source lanes own user journey, IA/navigation seeds, interaction handoff when triggered, interaction states, usability/accessibility risks, provider-backed source maps, and design-source needs during `preproposal`.
|
|
117
220
|
- QA and researcher lanes own scenario seeds, risk seeds, test-basis candidates, current external evidence when needed, and source gaps.
|
|
118
221
|
- Verifier/lead-integrator owns checkpoint completeness, blocker creation, raw manifest/index update or no-update rationale, and readiness handoff.
|
|
119
222
|
|
|
@@ -15,6 +15,8 @@ When sources conflict, the stage artifact must record the conflict instead of si
|
|
|
15
15
|
- Requirements, behavior, scenario order, acceptance criteria, and test expectations must trace back to PRD/SRS, spec, design, task, raw source, code, runtime evidence, or user clarification.
|
|
16
16
|
- Do not invent missing requirements, UI behavior, business rules, edge cases, or test expectations from preference or convention.
|
|
17
17
|
- If the facts are incomplete, ambiguous, conflicting, or insufficient to decide, stop the stage decision and ask for clarification after summarizing the known sources and tradeoffs.
|
|
18
|
+
- For vague intake, ask only after checking local and configured sources; ask one blocking question at a time and include the recommended answer plus tradeoff.
|
|
19
|
+
- If an existing stage artifact is unclear, preserve it as a source instead of discarding it. The owning stage must run its own Stage Challenge Gate, derive the challenge focus from its active skill contract, and classify each important claim as sourced, accepted, assumed, conflicting, or missing before repairing or blocking.
|
|
18
20
|
- If asking is blocked, record a resource gap or issue instead of silently choosing a path.
|
|
19
21
|
- Best practices may shape implementation, but they cannot override project facts or accepted design documents.
|
|
20
22
|
- Before applying a role, run dynamic state awareness: identify the current stage, role, project type, domain, language, framework, SDKs, runtime tools, target market, and freshness-sensitive decisions from local config, module docs, manifests, lockfiles, imports, raw sources, and existing evidence.
|
|
@@ -14,6 +14,8 @@ The harness computes gate status. Skills may propose outputs and record evidence
|
|
|
14
14
|
|
|
15
15
|
- For testable behavior changes, `task` should define the test/scenario hook before `coding`.
|
|
16
16
|
- `coding` should start by creating or updating the targeted test/scenario when one does not already cover the behavior.
|
|
17
|
+
- `coding` must run vertical TDD cycles: one behavior -> one failing test or changed test expectation -> minimal implementation -> passing evidence -> next behavior. Do not batch all tests first or all implementation first.
|
|
18
|
+
- Each cycle records behavior id, source task/AC/issue, RED evidence or an explicit reason RED cannot be observed, GREEN evidence, changed files, and refactor evidence when a refactor occurs.
|
|
17
19
|
- `smoke`, `review`, and `verify` must reject tests that cannot be traced to PRD/SRS, spec/design, task, issue, or accepted user clarification.
|
|
18
20
|
- If the test contract is unclear, the stage is `blocked` until the uncertainty is clarified or recorded as a resource gap.
|
|
19
21
|
|
|
@@ -26,12 +28,34 @@ The harness computes gate status. Skills may propose outputs and record evidence
|
|
|
26
28
|
- Missing required artifacts, placeholder-only upstream docs, missing project/system rules for governed stages, or missing mandatory test basis remain `BLOCKED`; a risk waiver must not convert those into PASS. Very short but non-placeholder artifacts are quality gaps, not hard blockers.
|
|
27
29
|
- Thresholds are project policy. When no project threshold is configured, the CLI default is an advisory 9/10 gate; documents must still record unsupplied numeric thresholds as `未指定` instead of inventing policy.
|
|
28
30
|
|
|
31
|
+
## Stage Artifact Clarity Gate
|
|
32
|
+
|
|
33
|
+
- This gate applies to every stage-owned artifact: preproposal raw pack, proposal, spec, design, tasks, implementation handoff, smoke/demo/review/ready/verify reports, acceptance, archive, issue, and learning outputs.
|
|
34
|
+
- When the artifact already exists but is unclear, incomplete, contradictory, placeholder-like, or too weak for its downstream consumer, the workflow must route to the owning stage for that skill's Stage Challenge Gate instead of skipping ahead, discarding the artifact, running a generic grill, or silently rewriting it from another stage.
|
|
35
|
+
- The clarity pass must derive its challenge focus from the active skill contract: responsibility, required inputs, required outputs, must-answer questions, quality checkpoints, current artifact, upstream sources, and downstream consumer.
|
|
36
|
+
- The clarity pass must apply the active skill's bundled related best-practice
|
|
37
|
+
files and quality standards when their domain is touched. If the bundled
|
|
38
|
+
references are missing, stale, too generic, version-sensitive, or not matched
|
|
39
|
+
to the current stack/domain, record the gap and retrieve official/current
|
|
40
|
+
references before issuing a best-practice challenge.
|
|
41
|
+
- The clarity pass must align terminology against project sources before asking
|
|
42
|
+
or repairing: `CONTEXT.md` / `CONTEXT-MAP.md` when present, `SYSTEM-SPEC.md`,
|
|
43
|
+
configured raw sources, current stage artifact identifiers, and existing
|
|
44
|
+
code/component/API names when the skill touches implementation-facing work.
|
|
45
|
+
Conflicting or overloaded terms must be classified as conflicting/missing and
|
|
46
|
+
routed to the owning stage instead of silently renaming them.
|
|
47
|
+
- The clarity pass must classify important claims as sourced, accepted, assumed, conflicting, missing, or N/A; it must name the skill-local challenge focus, downstream consumer, required outputs, source links, blockers, and next action.
|
|
48
|
+
- The owning stage may patch or split its own artifact when local/configured sources support the repair. If the missing fact belongs to an upstream stage, record upstream feedback or route to that stage; if only one answer blocks direction, ask one blocking question with a recommended answer and tradeoff.
|
|
49
|
+
- Durable terminology, naming, decomposition rationale, and load-bearing clarification decisions found during the clarity pass must update the nearest `CONTEXT.md`, or the handoff must record `Context update: N/A` with rationale.
|
|
50
|
+
- Clarity status is `PASS`, `NEEDS_REPAIR`, `BLOCKED`, or `WAIVED`. `NEEDS_REPAIR` cannot progress downstream without an explicit risk acceptance; `BLOCKED` must include owner, missing input, impact, and next action.
|
|
51
|
+
|
|
29
52
|
## Preproposal Checkpoint Gate
|
|
30
53
|
|
|
31
54
|
- Use `preproposal` when a brief request lacks reviewed product direction, roadmap/decomposition, UX/design-readiness, or source-readiness material for `proposal`.
|
|
55
|
+
- Intake clarity runs before product work. It must inspect available sources first, separate known facts from inferred assumptions and gaps, and ask at most one blocking question with a recommended answer when the answer would materially change direction.
|
|
32
56
|
- Product checkpoint must pass before roadmap/decomposition starts. It reviews target users, problem, outcome, scope options, non-goals, risks, assumptions, and source gaps.
|
|
33
57
|
- Roadmap/decomposition checkpoint must pass before UX/detail work starts. It reviews MVP/1.0/2.0 or equivalent phase split, module boundaries, dependencies, deferred work, and merge/split/block rationale.
|
|
34
|
-
- UX/design-readiness checkpoint must pass before readiness handoff. It reviews user journey, IA/navigation seeds, interaction states, accessibility/usability risks, and design-source needs.
|
|
58
|
+
- UX/design-readiness checkpoint must pass before readiness handoff. It reviews user journey, IA/navigation seeds, interaction handoff when triggered, interaction states, accessibility/usability risks, source maps, and design-source needs.
|
|
35
59
|
- Readiness checkpoint must pass before formal `proposal`. It verifies that `.zsk/raws/prepare/**` and `.zsk/evidence/preproposal/{run}/` contain enough reviewed raw material for proposal without chat memory.
|
|
36
60
|
- A checkpoint failure loops only while the missing input is actionable. Repeated failures beyond the configured retry limit, or default 2 when no project policy exists, become a tracked blocker/issue with owner, missing source, impact, and next action.
|
|
37
61
|
- Preproposal checkpoint reviews use the target-aware `review` skill. They must not require module `spec`, `design`, `tasks`, or `smoke` artifacts unless the explicit review target is an implementation/code-diff review.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
name: zsk-frontend
|
|
2
|
-
description: Frontend delivery profile with design, demo, and visual quality gates.
|
|
2
|
+
description: Frontend delivery profile with code design, demo, and visual quality gates.
|
|
3
3
|
extends: zsk-sdlc
|
|
4
4
|
purpose: >
|
|
5
5
|
Use for UI, UX, visual, interaction, accessibility, and browser-facing work
|
|
6
|
-
where
|
|
6
|
+
where preproposal readiness, demo evidence, and frontend quality checks matter.
|
|
7
7
|
|
|
8
8
|
stages:
|
|
9
9
|
required:
|
|
@@ -82,7 +82,6 @@ strictness:
|
|
|
82
82
|
|
|
83
83
|
bestPractices:
|
|
84
84
|
required:
|
|
85
|
-
- design-handoff.md
|
|
86
85
|
- frontend.md
|
|
87
86
|
- quality.md
|
|
88
87
|
recommended:
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
version: 1
|
|
2
2
|
defaults:
|
|
3
|
-
required: [artifact, evidence, issue_sync, documentation_feedback]
|
|
3
|
+
required: [artifact, evidence, issue_sync, documentation_feedback, context_record]
|
|
4
4
|
rules:
|
|
5
5
|
artifact: "Every skill run must declare produced artifacts and write them to project-template paths, not only to chat."
|
|
6
6
|
evidence: "Every pass/fail or completion claim must link local evidence."
|
|
7
7
|
issue_sync: "Actionable findings must classify scope, update the concrete issue in module-private or shared/global/public storage, and refresh module/global issue indexes."
|
|
8
8
|
documentation_feedback: "Confirmed learnings must update spec/design/task docs or record a no-update rationale."
|
|
9
|
+
context_record: "Terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest CONTEXT.md, or the handoff must record Context update: N/A with rationale."
|
|
9
10
|
execution: "Completion work may be done by a skill-local script or by the agent's normal file-editing tools, but the harness contract decides the required outputs."
|
|
10
11
|
stage_gate: "Downstream progression requires a recorded gate assessment or explicit N/A rationale; non-blocking quality gaps need risk acceptance before continuing."
|
|
11
12
|
durable_dispatch: "Dispatched lanes must leave a durable ledger and packet statuses; stale or timed-out lanes require fallback evidence before completion."
|
|
@@ -23,6 +24,11 @@ defaults:
|
|
|
23
24
|
issues: ".zsk/issues/global/"
|
|
24
25
|
evidence: ".zsk/evidence/global/"
|
|
25
26
|
playwright: ".zsk/playwright/global/"
|
|
27
|
+
context: ".zsk/docs/CONTEXT.md"
|
|
28
|
+
context:
|
|
29
|
+
module: ".zsk/modules/{module}/CONTEXT.md"
|
|
30
|
+
project: ".zsk/docs/CONTEXT.md"
|
|
31
|
+
zskCore: "CONTEXT.md in the canonical ZSK source checkout"
|
|
26
32
|
public:
|
|
27
33
|
issues: ".zsk/issues/public/"
|
|
28
34
|
evidence: ".zsk/evidence/public/"
|
|
@@ -45,10 +51,15 @@ outputs:
|
|
|
45
51
|
- ".zsk/raws/prepare/product/{topic}/product-brief.md"
|
|
46
52
|
- ".zsk/raws/prepare/product/{topic}/roadmap.md"
|
|
47
53
|
- ".zsk/raws/prepare/ux/{topic}/ux-readiness.md"
|
|
54
|
+
- ".zsk/raws/prepare/ux/{topic}/interaction-handoff.md when UI, UX, or design-source interaction is triggered"
|
|
55
|
+
- ".zsk/raws/prepare/ux/{module}/interaction-handoff.md when a target module and UI, UX, or design-source interaction are triggered"
|
|
48
56
|
- ".zsk/raws/prepare/design/{topic}/design-source-needs.md"
|
|
57
|
+
- ".zsk/raws/prepare/design/{topic}/design-source-map.md when provider-backed design sources such as Figma are used"
|
|
58
|
+
- ".zsk/raws/prepare/design/{module}/design-source-map.md when a target module uses provider-backed design sources such as Figma"
|
|
49
59
|
- ".zsk/evidence/preproposal/{run}/checkpoint-product-review.md"
|
|
50
60
|
- ".zsk/evidence/preproposal/{run}/checkpoint-roadmap-review.md"
|
|
51
61
|
- ".zsk/evidence/preproposal/{run}/checkpoint-ux-review.md"
|
|
62
|
+
- ".zsk/evidence/preproposal/{run}/checkpoint-interaction-review.md when interaction handoff is triggered"
|
|
52
63
|
- ".zsk/evidence/preproposal/{run}/readiness-review.md"
|
|
53
64
|
feedbackTargets: [".zsk/raws/manifest.json", ".zsk/raws/index.md", ".zsk/evidence/preproposal/{run}/readiness-review.md"]
|
|
54
65
|
proposal:
|
|
@@ -28,8 +28,29 @@ principles:
|
|
|
28
28
|
and how the evidence changes the recommendation.
|
|
29
29
|
- "Do not decide from uncertainty: summarize conflicting or missing facts and
|
|
30
30
|
ask, or record a resource gap."
|
|
31
|
+
- For vague intake, answer discoverable questions from local sources first,
|
|
32
|
+
then ask one blocking question at a time with a recommended answer and
|
|
33
|
+
tradeoff.
|
|
31
34
|
- "TDD first for testable behavior: tests and scenarios must be accurate and
|
|
32
35
|
traceable to PRD/SRS, spec/design, task, issue, or accepted clarification."
|
|
36
|
+
- When an existing stage artifact is unclear, incomplete, contradictory, or
|
|
37
|
+
too weak for its downstream consumer, route to the owning stage's
|
|
38
|
+
skill-local Stage Challenge Gate before downstream work; preserve the
|
|
39
|
+
artifact, derive challenge focus from the active skill's contract, classify
|
|
40
|
+
gaps, repair what sources support, and ask only one blocking question when
|
|
41
|
+
needed.
|
|
42
|
+
- "A Stage Challenge Gate is not a generic grill: proposal challenges problem
|
|
43
|
+
and scope, spec challenges behavior contracts, design challenges
|
|
44
|
+
implementation mapping, task challenges execution readiness, and later
|
|
45
|
+
evidence stages challenge the claim they own."
|
|
46
|
+
- When clarification, grilling, architecture review, stage repair, or task
|
|
47
|
+
decomposition creates or sharpens project/module terminology, naming,
|
|
48
|
+
decomposition rationale, or load-bearing decisions, update the nearest
|
|
49
|
+
`CONTEXT.md` or record an evidence-backed no-update rationale.
|
|
50
|
+
- "For coding, use vertical TDD cycles for testable behavior: one behavior,
|
|
51
|
+
one failing test or changed test expectation, minimal implementation,
|
|
52
|
+
passing evidence, then the next behavior. Do not write all tests first and
|
|
53
|
+
then all code."
|
|
33
54
|
- Stage skills own their declared outputs and handoff quality; workflow skills
|
|
34
55
|
own route selection. Every handoff must preserve upstream/downstream
|
|
35
56
|
consistency instead of relying on chat memory.
|
|
@@ -85,6 +85,23 @@ defaults:
|
|
|
85
85
|
and evidence.
|
|
86
86
|
- Trace required claims to source artifacts, accepted decisions, scenarios,
|
|
87
87
|
commands, issues, or human decisions.
|
|
88
|
+
- "When an existing stage artifact is present, the active skill must run its
|
|
89
|
+
own Stage Challenge Gate before downstream handoff: derive the challenge
|
|
90
|
+
focus from that skill's responsibility, required inputs, required outputs,
|
|
91
|
+
must-answer questions, quality checkpoints, current artifact, upstream
|
|
92
|
+
sources, and downstream consumer; classify sourced, accepted, assumed,
|
|
93
|
+
conflicting, missing, and N/A claims, then repair or block through the
|
|
94
|
+
owning stage."
|
|
95
|
+
- "Keep Stage Challenge Gates skill-local: ask, repair, or block only on
|
|
96
|
+
questions the active skill owns; route upstream or downstream findings to
|
|
97
|
+
the owning stage instead of absorbing another skill's responsibility."
|
|
98
|
+
- Every Stage Challenge Gate must align terminology against
|
|
99
|
+
CONTEXT.md/CONTEXT-MAP.md when present, SYSTEM-SPEC.md, configured raw
|
|
100
|
+
sources, current artifact identifiers, and code/component/API names when
|
|
101
|
+
implementation-facing work is touched.
|
|
102
|
+
- "Record durable terminology, naming, decomposition, and load-bearing
|
|
103
|
+
clarification decisions in the nearest CONTEXT.md, or write `Context
|
|
104
|
+
update: N/A` with rationale."
|
|
88
105
|
- Preserve upstream/downstream stage ownership; do not silently rewrite
|
|
89
106
|
another skill's artifact.
|
|
90
107
|
conditionalRequirements:
|
|
@@ -107,6 +124,9 @@ defaults:
|
|
|
107
124
|
- When an artifact becomes too large for one reviewable file, split it into
|
|
108
125
|
`{stage}/index.md` plus linked child Markdown files while preserving the
|
|
109
126
|
full stage contract.
|
|
127
|
+
- When clarification, grilling, architecture review, artifact repair, or
|
|
128
|
+
task decomposition introduces a term or naming decision future stages must
|
|
129
|
+
reuse, update module-local or project-level CONTEXT.md before handoff.
|
|
110
130
|
advisoryGuidance:
|
|
111
131
|
- Prefer the smallest artifact that lets the next reader decide and act
|
|
112
132
|
without chat memory.
|
|
@@ -114,6 +134,8 @@ defaults:
|
|
|
114
134
|
ownership, traceability, risk, or execution.
|
|
115
135
|
- Use project terminology and source identifiers consistently across
|
|
116
136
|
proposal, spec, design, task, and evidence artifacts.
|
|
137
|
+
- When a skill challenges an artifact, name any overloaded, translated, or
|
|
138
|
+
conflicting term before asking the user or editing the artifact.
|
|
117
139
|
- Record suggestions separately from current project policy, especially for
|
|
118
140
|
thresholds that remain `未指定`.
|
|
119
141
|
qualityCheckpoints:
|
|
@@ -134,8 +156,16 @@ defaults:
|
|
|
134
156
|
evidence remains a failure, not an assumption.
|
|
135
157
|
- Records numeric targets or thresholds as `未指定` when the project has not
|
|
136
158
|
supplied them; never invents thresholds to make an output look complete.
|
|
159
|
+
- "Records `Context update: <path>` or `Context update: N/A` so later stages
|
|
160
|
+
do not depend on hidden chat terminology."
|
|
161
|
+
- "Names terminology alignment status for the active artifact:
|
|
162
|
+
source-consistent, repaired, conflicting, missing, or N/A."
|
|
137
163
|
- Names owner, dependency, acceptance condition, and verification evidence
|
|
138
164
|
for every required output or blocker.
|
|
165
|
+
- Names existing stage artifact clarity status as PASS, NEEDS_REPAIR,
|
|
166
|
+
BLOCKED, or WAIVED when a prior artifact is being consumed or improved.
|
|
167
|
+
- Names the Stage Challenge Gate focus and shows it came from the active
|
|
168
|
+
skill contract rather than a generic grill.
|
|
139
169
|
- Runs or references the stage-entry quality gate before downstream handoff;
|
|
140
170
|
below-threshold but non-blocking gaps require explicit risk acceptance
|
|
141
171
|
instead of silent progression.
|
|
@@ -164,6 +194,15 @@ defaults:
|
|
|
164
194
|
behavior without configured evidence.
|
|
165
195
|
- Treating missing evidence as low risk when the stage output depends on
|
|
166
196
|
that evidence.
|
|
197
|
+
- Discarding or rewriting an unclear existing stage artifact before
|
|
198
|
+
classifying what is sourced, accepted, assumed, conflicting, or missing.
|
|
199
|
+
- Running a generic grill or cross-stage rewrite instead of the active
|
|
200
|
+
skill's own Stage Challenge Gate.
|
|
201
|
+
- Letting terminology, naming, or decomposition decisions live only in chat
|
|
202
|
+
instead of CONTEXT.md.
|
|
203
|
+
- Running stage-specific questioning without checking whether the artifact
|
|
204
|
+
uses the same terms as upstream sources, downstream consumers, and
|
|
205
|
+
implementation surfaces.
|
|
167
206
|
- Letting a delayed subagent packet block indefinitely instead of marking it
|
|
168
207
|
stale and falling back or re-emitting.
|
|
169
208
|
- Claiming tests prove behavior when they have no traceable basis, no
|
|
@@ -6,8 +6,8 @@ contracts:
|
|
|
6
6
|
outputs: [resource-manifest, resource-gaps]
|
|
7
7
|
preproposal:
|
|
8
8
|
requiredResources: [brief-or-request, zsk-config]
|
|
9
|
-
optionalResources: [project-config, system-spec, existing-product-design, existing-roadmap, existing-ux-design, design-sources, market-research, user-research, stakeholder-notes, resource-manifest]
|
|
10
|
-
outputs: [preproposal-raw-pack, product-brief, roadmap-decomposition, ux-flow-seeds, design-source-needs, assumptions-ledger, risk-ledger, scenario-seeds, checkpoint-review-evidence, readiness-handoff]
|
|
9
|
+
optionalResources: [target-module, module-docs, module-context, project-config, system-spec, existing-product-design, existing-roadmap, existing-ux-design, design-sources, market-research, user-research, stakeholder-notes, resource-manifest]
|
|
10
|
+
outputs: [preproposal-raw-pack, module-scoped-raw-pack-when-targeted, intake-clarity-brief, accepted-clarifications, product-brief, roadmap-decomposition, ux-flow-seeds, interaction-handoff-when-triggered, module-scoped-interaction-handoff-when-targeted, design-source-needs, design-source-map-when-triggered, assumptions-ledger, risk-ledger, scenario-seeds, checkpoint-review-evidence, readiness-handoff]
|
|
11
11
|
proposal:
|
|
12
12
|
requiredResources: [project-config, system-spec, requirements]
|
|
13
13
|
optionalResources: [reviewed-preproposal-raw-pack, market-research, competitor-research, pricing-research, user-personas, user-research, business-model, regulatory-sources]
|
|
@@ -18,8 +18,8 @@ contracts:
|
|
|
18
18
|
outputs: [project-rules-gate, spec, scenario-contracts, behavior-control-matrix-when-triggered]
|
|
19
19
|
design:
|
|
20
20
|
requiredResources: [project-config, system-spec, spec, code]
|
|
21
|
-
optionalResources: [api-contracts,
|
|
22
|
-
outputs: [project-rules-gate, design, design-views, adr-decision-records, locator-strategy, control-traceability-matrix-when-triggered, playwright-scenario-plan]
|
|
21
|
+
optionalResources: [api-contracts, reviewed-preproposal-raw-pack, user-personas, competitive-benchmarks]
|
|
22
|
+
outputs: [project-rules-gate, design, design-views, adr-decision-records, locator-strategy, ui-implementation-mapping-when-triggered, control-traceability-matrix-when-triggered, playwright-scenario-plan]
|
|
23
23
|
task:
|
|
24
24
|
requiredResources: [project-config, system-spec, spec, design]
|
|
25
25
|
outputs: [project-rules-gate, kiro-style-nested-checkbox-todo-list, proposal-spec-design-adr-alignment-matrix, control-row-task-coverage-when-triggered, tasks, playwright-case-skeletons, scenario-synthesis-plan]
|