@captain_z/zsk-skills 1.7.0 → 1.8.0
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 +44 -31
- package/acceptance/SKILL.md +6 -2
- package/acceptance/harness/README.md +8 -97
- package/acceptance/harness/THIS_SKILL.md +31 -3
- package/acceptance/harness/best-practices/README.md +7 -47
- package/acceptance/harness/constraints/evidence-rules.md +2 -2
- package/acceptance/harness/constraints/filesystem-boundaries.md +16 -0
- package/acceptance/harness/constraints/issue-taxonomy.md +12 -12
- package/acceptance/harness/constraints/skill-role-contract.md +69 -0
- package/acceptance/harness/constraints/source-of-truth.md +13 -2
- package/acceptance/harness/workflow/completion-contract.yaml +42 -42
- package/acceptance/harness/workflow/skill-io-contract.yaml +100 -150
- package/archive/SKILL.md +6 -2
- package/archive/harness/README.md +8 -97
- package/archive/harness/THIS_SKILL.md +34 -4
- package/archive/harness/best-practices/README.md +8 -47
- package/archive/harness/constraints/evidence-rules.md +2 -2
- package/archive/harness/constraints/filesystem-boundaries.md +16 -0
- package/archive/harness/constraints/issue-taxonomy.md +12 -12
- package/archive/harness/constraints/skill-role-contract.md +69 -0
- package/archive/harness/constraints/source-of-truth.md +13 -2
- package/archive/harness/workflow/completion-contract.yaml +42 -42
- package/archive/harness/workflow/skill-io-contract.yaml +101 -150
- package/bundles.yaml +30 -2
- package/coding/SKILL.md +5 -1
- package/coding/harness/README.md +8 -97
- package/coding/harness/THIS_SKILL.md +34 -4
- package/coding/harness/best-practices/README.md +8 -47
- package/coding/harness/best-practices/system.md +5 -5
- package/coding/harness/constraints/evidence-rules.md +2 -2
- package/coding/harness/constraints/filesystem-boundaries.md +16 -0
- package/coding/harness/constraints/issue-taxonomy.md +12 -12
- package/coding/harness/constraints/skill-role-contract.md +69 -0
- package/coding/harness/constraints/source-of-truth.md +13 -2
- package/coding/harness/workflow/completion-contract.yaml +42 -42
- package/coding/harness/workflow/skill-io-contract.yaml +103 -150
- package/commit/SKILL.md +5 -1
- package/commit/harness/README.md +8 -97
- package/commit/harness/THIS_SKILL.md +31 -3
- package/commit/harness/best-practices/README.md +7 -47
- package/commit/harness/constraints/evidence-rules.md +2 -2
- package/commit/harness/constraints/filesystem-boundaries.md +16 -0
- package/commit/harness/constraints/issue-taxonomy.md +12 -12
- package/commit/harness/constraints/skill-role-contract.md +69 -0
- package/commit/harness/constraints/source-of-truth.md +13 -2
- package/commit/harness/workflow/completion-contract.yaml +42 -42
- package/commit/harness/workflow/skill-io-contract.yaml +99 -150
- package/defect/SKILL.md +5 -1
- package/defect/harness/README.md +8 -97
- package/defect/harness/THIS_SKILL.md +32 -4
- package/defect/harness/best-practices/README.md +7 -47
- package/defect/harness/best-practices/frontend.md +21 -2
- package/defect/harness/constraints/evidence-rules.md +2 -2
- package/defect/harness/constraints/filesystem-boundaries.md +16 -0
- package/defect/harness/constraints/issue-taxonomy.md +12 -12
- package/defect/harness/constraints/skill-role-contract.md +69 -0
- package/defect/harness/constraints/source-of-truth.md +13 -2
- package/defect/harness/workflow/completion-contract.yaml +42 -42
- package/defect/harness/workflow/skill-io-contract.yaml +100 -150
- package/demo/SKILL.md +34 -29
- package/demo/harness/README.md +8 -97
- package/demo/harness/THIS_SKILL.md +37 -7
- package/demo/harness/best-practices/README.md +8 -47
- package/demo/harness/best-practices/design-handoff.md +5 -5
- package/demo/harness/best-practices/frontend.md +21 -2
- package/demo/harness/constraints/evidence-rules.md +2 -2
- package/demo/harness/constraints/filesystem-boundaries.md +16 -0
- package/demo/harness/constraints/issue-taxonomy.md +12 -12
- package/demo/harness/constraints/skill-role-contract.md +69 -0
- package/demo/harness/constraints/source-of-truth.md +13 -2
- package/demo/harness/workflow/completion-contract.yaml +42 -42
- package/demo/harness/workflow/skill-io-contract.yaml +110 -150
- package/demo/references/automation.md +31 -29
- package/demo/templates/demo-outline.md +2 -2
- package/demo/templates/operation-plan.json +5 -5
- package/demo/templates/scenario-synthesis.json +2 -2
- package/deploy/SKILL.md +5 -1
- package/deploy/harness/README.md +8 -97
- package/deploy/harness/THIS_SKILL.md +31 -3
- package/deploy/harness/best-practices/README.md +7 -47
- package/deploy/harness/best-practices/system.md +5 -5
- package/deploy/harness/constraints/evidence-rules.md +2 -2
- package/deploy/harness/constraints/filesystem-boundaries.md +16 -0
- package/deploy/harness/constraints/issue-taxonomy.md +12 -12
- package/deploy/harness/constraints/skill-role-contract.md +69 -0
- package/deploy/harness/constraints/source-of-truth.md +13 -2
- package/deploy/harness/workflow/completion-contract.yaml +42 -42
- package/deploy/harness/workflow/skill-io-contract.yaml +101 -150
- package/design/SKILL.md +5 -1
- package/design/harness/README.md +8 -97
- package/design/harness/THIS_SKILL.md +35 -5
- package/design/harness/best-practices/README.md +8 -47
- package/design/harness/best-practices/design-handoff.md +5 -5
- package/design/harness/best-practices/frontend.md +21 -2
- package/design/harness/best-practices/system.md +5 -5
- package/design/harness/constraints/evidence-rules.md +2 -2
- package/design/harness/constraints/filesystem-boundaries.md +16 -0
- package/design/harness/constraints/issue-taxonomy.md +12 -12
- package/design/harness/constraints/skill-role-contract.md +69 -0
- package/design/harness/constraints/source-of-truth.md +13 -2
- package/design/harness/workflow/completion-contract.yaml +42 -42
- package/design/harness/workflow/skill-io-contract.yaml +104 -150
- package/dispatch/SKILL.md +5 -1
- package/dispatch/harness/README.md +8 -97
- package/dispatch/harness/THIS_SKILL.md +32 -4
- package/dispatch/harness/best-practices/README.md +7 -47
- package/dispatch/harness/constraints/evidence-rules.md +2 -2
- package/dispatch/harness/constraints/filesystem-boundaries.md +16 -0
- package/dispatch/harness/constraints/issue-taxonomy.md +12 -12
- package/dispatch/harness/constraints/skill-role-contract.md +69 -0
- package/dispatch/harness/constraints/source-of-truth.md +13 -2
- package/dispatch/harness/workflow/completion-contract.yaml +42 -42
- package/dispatch/harness/workflow/skill-io-contract.yaml +106 -150
- package/flow/SKILL.md +7 -3
- package/flow/harness/README.md +8 -97
- package/flow/harness/THIS_SKILL.md +32 -4
- package/flow/harness/best-practices/README.md +7 -47
- package/flow/harness/constraints/evidence-rules.md +2 -2
- package/flow/harness/constraints/filesystem-boundaries.md +16 -0
- package/flow/harness/constraints/issue-taxonomy.md +12 -12
- package/flow/harness/constraints/skill-role-contract.md +69 -0
- package/flow/harness/constraints/source-of-truth.md +13 -2
- package/flow/harness/workflow/completion-contract.yaml +42 -42
- package/flow/harness/workflow/skill-io-contract.yaml +100 -150
- package/issue/SKILL.md +7 -3
- package/issue/harness/README.md +8 -97
- package/issue/harness/THIS_SKILL.md +31 -3
- package/issue/harness/best-practices/README.md +7 -47
- package/issue/harness/constraints/evidence-rules.md +2 -2
- package/issue/harness/constraints/filesystem-boundaries.md +16 -0
- package/issue/harness/constraints/issue-taxonomy.md +12 -12
- package/issue/harness/constraints/skill-role-contract.md +69 -0
- package/issue/harness/constraints/source-of-truth.md +13 -2
- package/issue/harness/workflow/completion-contract.yaml +42 -42
- package/issue/harness/workflow/skill-io-contract.yaml +104 -150
- package/learn/SKILL.md +102 -0
- package/learn/harness/README.md +15 -0
- package/learn/harness/THIS_SKILL.md +91 -0
- package/learn/harness/best-practices/README.md +12 -0
- package/learn/harness/constraints/evidence-rules.md +33 -0
- package/learn/harness/constraints/filesystem-boundaries.md +16 -0
- package/learn/harness/constraints/issue-taxonomy.md +87 -0
- package/learn/harness/constraints/skill-role-contract.md +69 -0
- package/learn/harness/constraints/source-of-truth.md +30 -0
- package/learn/harness/constraints/stage-gates.md +27 -0
- package/learn/harness/profiles/enterprise.yaml +89 -0
- package/learn/harness/profiles/frontend.yaml +93 -0
- package/learn/harness/profiles/lite.yaml +55 -0
- package/learn/harness/profiles/sdlc.yaml +83 -0
- package/learn/harness/workflow/completion-contract.yaml +102 -0
- package/learn/harness/workflow/skill-io-contract.yaml +117 -0
- package/learn/harness/workflow/stage-contracts.yaml +53 -0
- package/learn/harness/workflow/state-machine.yaml +65 -0
- package/package.json +1 -1
- package/prepare/SKILL.md +17 -12
- package/prepare/harness/README.md +8 -97
- package/prepare/harness/THIS_SKILL.md +35 -5
- package/prepare/harness/best-practices/README.md +8 -47
- package/prepare/harness/constraints/evidence-rules.md +2 -2
- package/prepare/harness/constraints/filesystem-boundaries.md +16 -0
- package/prepare/harness/constraints/issue-taxonomy.md +12 -12
- package/prepare/harness/constraints/skill-role-contract.md +69 -0
- package/prepare/harness/constraints/source-of-truth.md +13 -2
- package/prepare/harness/workflow/completion-contract.yaml +42 -42
- package/prepare/harness/workflow/skill-io-contract.yaml +111 -150
- package/prepare/harness.yaml +2 -2
- package/proposal/SKILL.md +5 -1
- package/proposal/harness/README.md +8 -97
- package/proposal/harness/THIS_SKILL.md +31 -3
- package/proposal/harness/best-practices/README.md +7 -47
- package/proposal/harness/constraints/evidence-rules.md +2 -2
- package/proposal/harness/constraints/filesystem-boundaries.md +16 -0
- package/proposal/harness/constraints/issue-taxonomy.md +12 -12
- package/proposal/harness/constraints/skill-role-contract.md +69 -0
- package/proposal/harness/constraints/source-of-truth.md +13 -2
- package/proposal/harness/workflow/completion-contract.yaml +42 -42
- package/proposal/harness/workflow/skill-io-contract.yaml +100 -150
- package/ready/SKILL.md +5 -1
- package/ready/harness/README.md +8 -97
- package/ready/harness/THIS_SKILL.md +31 -3
- package/ready/harness/best-practices/README.md +7 -47
- package/ready/harness/constraints/evidence-rules.md +2 -2
- package/ready/harness/constraints/filesystem-boundaries.md +16 -0
- package/ready/harness/constraints/issue-taxonomy.md +12 -12
- package/ready/harness/constraints/skill-role-contract.md +69 -0
- package/ready/harness/constraints/source-of-truth.md +13 -2
- package/ready/harness/workflow/completion-contract.yaml +42 -42
- package/ready/harness/workflow/skill-io-contract.yaml +100 -150
- package/review/SKILL.md +41 -7
- package/review/harness/README.md +8 -97
- package/review/harness/THIS_SKILL.md +43 -5
- package/review/harness/best-practices/README.md +9 -47
- package/review/harness/best-practices/frontend.md +21 -2
- package/review/harness/best-practices/system.md +5 -5
- package/review/harness/constraints/evidence-rules.md +2 -2
- package/review/harness/constraints/filesystem-boundaries.md +16 -0
- package/review/harness/constraints/issue-taxonomy.md +12 -12
- package/review/harness/constraints/skill-role-contract.md +69 -0
- package/review/harness/constraints/source-of-truth.md +13 -2
- package/review/harness/workflow/completion-contract.yaml +42 -42
- package/review/harness/workflow/skill-io-contract.yaml +105 -150
- package/smoke/SKILL.md +5 -1
- package/smoke/harness/README.md +8 -97
- package/smoke/harness/THIS_SKILL.md +32 -4
- package/smoke/harness/best-practices/README.md +7 -47
- package/smoke/harness/best-practices/frontend.md +21 -2
- package/smoke/harness/constraints/evidence-rules.md +2 -2
- package/smoke/harness/constraints/filesystem-boundaries.md +16 -0
- package/smoke/harness/constraints/issue-taxonomy.md +12 -12
- package/smoke/harness/constraints/skill-role-contract.md +69 -0
- package/smoke/harness/constraints/source-of-truth.md +13 -2
- package/smoke/harness/workflow/completion-contract.yaml +42 -42
- package/smoke/harness/workflow/skill-io-contract.yaml +102 -150
- package/spec/SKILL.md +6 -2
- package/spec/harness/README.md +8 -97
- package/spec/harness/THIS_SKILL.md +34 -4
- package/spec/harness/best-practices/README.md +8 -47
- package/spec/harness/constraints/evidence-rules.md +2 -2
- package/spec/harness/constraints/filesystem-boundaries.md +16 -0
- package/spec/harness/constraints/issue-taxonomy.md +12 -12
- package/spec/harness/constraints/skill-role-contract.md +69 -0
- package/spec/harness/constraints/source-of-truth.md +13 -2
- package/spec/harness/workflow/completion-contract.yaml +42 -42
- package/spec/harness/workflow/skill-io-contract.yaml +101 -150
- package/task/SKILL.md +5 -1
- package/task/harness/README.md +8 -97
- package/task/harness/THIS_SKILL.md +34 -4
- package/task/harness/best-practices/README.md +8 -47
- package/task/harness/constraints/evidence-rules.md +2 -2
- package/task/harness/constraints/filesystem-boundaries.md +16 -0
- package/task/harness/constraints/issue-taxonomy.md +12 -12
- package/task/harness/constraints/skill-role-contract.md +69 -0
- package/task/harness/constraints/source-of-truth.md +13 -2
- package/task/harness/workflow/completion-contract.yaml +42 -42
- package/task/harness/workflow/skill-io-contract.yaml +101 -150
- package/verify/SKILL.md +5 -1
- package/verify/harness/README.md +8 -97
- package/verify/harness/THIS_SKILL.md +32 -4
- package/verify/harness/best-practices/README.md +7 -47
- package/verify/harness/best-practices/frontend.md +21 -2
- package/verify/harness/constraints/evidence-rules.md +2 -2
- package/verify/harness/constraints/filesystem-boundaries.md +16 -0
- package/verify/harness/constraints/issue-taxonomy.md +12 -12
- package/verify/harness/constraints/skill-role-contract.md +69 -0
- package/verify/harness/constraints/source-of-truth.md +13 -2
- package/verify/harness/workflow/completion-contract.yaml +42 -42
- package/verify/harness/workflow/skill-io-contract.yaml +102 -150
- package/zsk/SKILL.md +114 -0
- package/zsk/harness/README.md +15 -0
- package/zsk/harness/THIS_SKILL.md +95 -0
- package/zsk/harness/best-practices/README.md +13 -0
- package/zsk/harness/constraints/evidence-rules.md +33 -0
- package/zsk/harness/constraints/filesystem-boundaries.md +16 -0
- package/zsk/harness/constraints/issue-taxonomy.md +87 -0
- package/zsk/harness/constraints/skill-role-contract.md +69 -0
- package/zsk/harness/constraints/source-of-truth.md +30 -0
- package/zsk/harness/constraints/stage-gates.md +27 -0
- package/zsk/harness/profiles/enterprise.yaml +89 -0
- package/zsk/harness/profiles/frontend.yaml +93 -0
- package/zsk/harness/profiles/lite.yaml +55 -0
- package/zsk/harness/profiles/sdlc.yaml +83 -0
- package/zsk/harness/workflow/completion-contract.yaml +102 -0
- package/zsk/harness/workflow/skill-io-contract.yaml +121 -0
- package/zsk/harness/workflow/stage-contracts.yaml +53 -0
- package/zsk/harness/workflow/state-machine.yaml +65 -0
- package/zskplan/SKILL.md +108 -0
- package/zskplan/harness/README.md +15 -0
- package/zskplan/harness/THIS_SKILL.md +96 -0
- package/zskplan/harness/best-practices/README.md +13 -0
- package/zskplan/harness/constraints/evidence-rules.md +33 -0
- package/zskplan/harness/constraints/filesystem-boundaries.md +16 -0
- package/zskplan/harness/constraints/issue-taxonomy.md +87 -0
- package/zskplan/harness/constraints/skill-role-contract.md +69 -0
- package/zskplan/harness/constraints/source-of-truth.md +30 -0
- package/zskplan/harness/constraints/stage-gates.md +27 -0
- package/zskplan/harness/profiles/enterprise.yaml +89 -0
- package/zskplan/harness/profiles/frontend.yaml +93 -0
- package/zskplan/harness/profiles/lite.yaml +55 -0
- package/zskplan/harness/profiles/sdlc.yaml +83 -0
- package/zskplan/harness/workflow/completion-contract.yaml +102 -0
- package/zskplan/harness/workflow/skill-io-contract.yaml +119 -0
- package/zskplan/harness/workflow/stage-contracts.yaml +53 -0
- package/zskplan/harness/workflow/state-machine.yaml +65 -0
- package/acceptance/harness/best-practices/design-handoff.md +0 -41
- package/acceptance/harness/best-practices/frontend.md +0 -43
- package/acceptance/harness/best-practices/project-constraints-template.md +0 -66
- package/acceptance/harness/best-practices/system.md +0 -41
- package/archive/harness/best-practices/design-handoff.md +0 -41
- package/archive/harness/best-practices/frontend.md +0 -43
- package/archive/harness/best-practices/project-constraints-template.md +0 -66
- package/archive/harness/best-practices/system.md +0 -41
- package/coding/harness/best-practices/design-handoff.md +0 -41
- package/coding/harness/best-practices/frontend.md +0 -43
- package/coding/harness/best-practices/project-constraints-template.md +0 -66
- package/commit/harness/best-practices/design-handoff.md +0 -41
- package/commit/harness/best-practices/frontend.md +0 -43
- package/commit/harness/best-practices/project-constraints-template.md +0 -66
- package/commit/harness/best-practices/system.md +0 -41
- package/defect/harness/best-practices/design-handoff.md +0 -41
- package/defect/harness/best-practices/project-constraints-template.md +0 -66
- package/defect/harness/best-practices/system.md +0 -41
- package/demo/harness/best-practices/agent-orchestration.md +0 -45
- package/demo/harness/best-practices/project-constraints-template.md +0 -66
- package/demo/harness/best-practices/sdlc.md +0 -49
- package/demo/harness/best-practices/system.md +0 -41
- package/deploy/harness/best-practices/agent-orchestration.md +0 -45
- package/deploy/harness/best-practices/design-handoff.md +0 -41
- package/deploy/harness/best-practices/frontend.md +0 -43
- package/deploy/harness/best-practices/project-constraints-template.md +0 -66
- package/deploy/harness/best-practices/sdlc.md +0 -49
- package/design/harness/best-practices/agent-orchestration.md +0 -45
- package/design/harness/best-practices/project-constraints-template.md +0 -66
- package/design/harness/best-practices/sdlc.md +0 -49
- package/dispatch/harness/best-practices/design-handoff.md +0 -41
- package/dispatch/harness/best-practices/frontend.md +0 -43
- package/dispatch/harness/best-practices/project-constraints-template.md +0 -66
- package/dispatch/harness/best-practices/system.md +0 -41
- package/flow/harness/best-practices/design-handoff.md +0 -41
- package/flow/harness/best-practices/frontend.md +0 -43
- package/flow/harness/best-practices/project-constraints-template.md +0 -66
- package/flow/harness/best-practices/system.md +0 -41
- package/issue/harness/best-practices/agent-orchestration.md +0 -45
- package/issue/harness/best-practices/design-handoff.md +0 -41
- package/issue/harness/best-practices/frontend.md +0 -43
- package/issue/harness/best-practices/project-constraints-template.md +0 -66
- package/issue/harness/best-practices/system.md +0 -41
- package/prepare/harness/best-practices/agent-orchestration.md +0 -45
- package/prepare/harness/best-practices/design-handoff.md +0 -41
- package/prepare/harness/best-practices/frontend.md +0 -43
- package/prepare/harness/best-practices/system.md +0 -41
- package/proposal/harness/best-practices/agent-orchestration.md +0 -45
- package/proposal/harness/best-practices/design-handoff.md +0 -41
- package/proposal/harness/best-practices/frontend.md +0 -43
- package/proposal/harness/best-practices/quality.md +0 -41
- package/proposal/harness/best-practices/system.md +0 -41
- package/ready/harness/best-practices/agent-orchestration.md +0 -45
- package/ready/harness/best-practices/design-handoff.md +0 -41
- package/ready/harness/best-practices/frontend.md +0 -43
- package/ready/harness/best-practices/project-constraints-template.md +0 -66
- package/ready/harness/best-practices/system.md +0 -41
- package/review/harness/best-practices/design-handoff.md +0 -41
- package/review/harness/best-practices/project-constraints-template.md +0 -66
- package/review/harness/best-practices/sdlc.md +0 -49
- package/smoke/harness/best-practices/agent-orchestration.md +0 -45
- package/smoke/harness/best-practices/design-handoff.md +0 -41
- package/smoke/harness/best-practices/project-constraints-template.md +0 -66
- package/smoke/harness/best-practices/sdlc.md +0 -49
- package/smoke/harness/best-practices/system.md +0 -41
- package/spec/harness/best-practices/agent-orchestration.md +0 -45
- package/spec/harness/best-practices/design-handoff.md +0 -41
- package/spec/harness/best-practices/frontend.md +0 -43
- package/spec/harness/best-practices/system.md +0 -41
- package/task/harness/best-practices/agent-orchestration.md +0 -45
- package/task/harness/best-practices/design-handoff.md +0 -41
- package/task/harness/best-practices/frontend.md +0 -43
- package/task/harness/best-practices/system.md +0 -41
- package/verify/harness/best-practices/agent-orchestration.md +0 -45
- package/verify/harness/best-practices/design-handoff.md +0 -41
- package/verify/harness/best-practices/project-constraints-template.md +0 -66
- package/verify/harness/best-practices/sdlc.md +0 -49
- package/verify/harness/best-practices/system.md +0 -41
- /package/{acceptance → learn}/harness/best-practices/agent-orchestration.md +0 -0
- /package/{design → learn}/harness/best-practices/quality.md +0 -0
- /package/{commit → zsk}/harness/best-practices/agent-orchestration.md +0 -0
- /package/{dispatch → zsk}/harness/best-practices/quality.md +0 -0
- /package/{coding → zsk}/harness/best-practices/sdlc.md +0 -0
- /package/{defect → zskplan}/harness/best-practices/agent-orchestration.md +0 -0
- /package/{flow → zskplan}/harness/best-practices/quality.md +0 -0
- /package/{defect → zskplan}/harness/best-practices/sdlc.md +0 -0
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# @captain_z/zsk-skills
|
|
2
2
|
|
|
3
|
-
ZNorth Standard Kit 的可安装 skill 内容包。安装面现在只保留从根级 `skills/` 生成的 **core harness-first skills**;旧 `.best-practices/`
|
|
3
|
+
ZNorth Standard Kit 的可安装 skill 内容包。安装面现在只保留从根级 `skills/` 生成的 **core harness-first skills**;旧 `.best-practices/` 不再批量生成独立 installable skills,而是作为参考源按 skill 携带相关子集。
|
|
4
4
|
|
|
5
|
-
包内共有 **
|
|
5
|
+
包内共有 **22 颗 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`) | ✓ 22/22 | core 由 root `skills/` 生成 |
|
|
12
|
+
| `name` 使用裸 slug,扁平且不含连字符 | ✓ 22/22 | LLM 原生 skill 入口保持简洁;CLI 选择层使用 `zsk:<slug>` |
|
|
13
|
+
| `description` 简洁表达职责和使用时机 | ✓ 22/22 | 面向索引阅读;triggers 留给机器使用 |
|
|
14
|
+
| `category` / `domain` / `tier` 枚举值合法 | ✓ 22/22 | stage/utility · core |
|
|
15
|
+
| `triggers` 数组非空 | ✓ 22/22 | 至少含裸 slug |
|
|
16
16
|
| 无硬编码项目名 / 技术栈(统一 `{{config.*}}` 占位符) | ✓ | harness-neutral |
|
|
17
17
|
| `related:` 相对路径合法 | ✓ | core 不依赖参考层生成物 |
|
|
18
|
-
| 单文件 ≤ 300 行 | ✓
|
|
18
|
+
| 单文件 ≤ 300 行 | ✓ 22/22 | core 由 `lint:harness` 强制 |
|
|
19
19
|
|
|
20
20
|
当前 `max-lines` 已由 `tools/lint-frontmatter.ts` 作为 error 强制;新增或修改 skill 不应超过 300 行。
|
|
21
21
|
|
|
@@ -34,11 +34,12 @@ Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺
|
|
|
34
34
|
|
|
35
35
|
| profile | skills | 适用场景 |
|
|
36
36
|
| --- | ---: | --- |
|
|
37
|
-
| `zsk-
|
|
38
|
-
| `zsk-
|
|
39
|
-
| `zsk-
|
|
40
|
-
| `zsk-
|
|
41
|
-
| `
|
|
37
|
+
| `zsk-entry` | 2 | 只装 `zskplan` / `zsk` 两个主入口,由它们按 harness 调度 |
|
|
38
|
+
| `zsk-lite` | 10 | 小修、小项目、脚本、低风险任务 |
|
|
39
|
+
| `zsk-sdlc` | 19 | 标准工程交付;需求、实现、审查、验证、验收、归档 |
|
|
40
|
+
| `zsk-frontend` | 20 | UI/UX/browser-facing 交付;强化 demo、视觉证据、前端质量门禁 |
|
|
41
|
+
| `zsk-enterprise` | 20 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
42
|
+
| `sdlc-only` | 22 | 旧入口兼容;安装全部 core skills |
|
|
42
43
|
|
|
43
44
|
## Skill 搭配流程图
|
|
44
45
|
|
|
@@ -79,11 +80,13 @@ flowchart TD
|
|
|
79
80
|
| 目标 | 推荐说法或命令 | 结果 |
|
|
80
81
|
| --- | --- | --- |
|
|
81
82
|
| 安装默认 core skills | `npx @captain_z/zsk add` | 交互选择 target 和 bundle |
|
|
82
|
-
| CI
|
|
83
|
-
| CI
|
|
83
|
+
| CI 安装 ZSK 主入口 | `npx @captain_z/zsk add zsk-entry --target=~/.claude/skills --yes` | 非交互安装 `zskplan` / `zsk` 两个入口 |
|
|
84
|
+
| CI 安装轻量 profile | `npx @captain_z/zsk add zsk-lite --target=~/.claude/skills --yes` | 非交互安装 10 颗常用 skills |
|
|
85
|
+
| CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装 19 颗标准 workflow skills |
|
|
84
86
|
| Claude plugin 安装 | `/plugin marketplace add codeshareman/zsk` 后 `/plugin install zsk@zsk` | 使用 `/zsk:<slug>` 命令面 |
|
|
85
87
|
| GitHub skills 管理器安装 | `npx skills add codeshareman/zsk` | 从仓库根 `skills/` 安装;不要加 `@` |
|
|
86
|
-
|
|
|
88
|
+
| 只想让 ZSK 自己规划和执行 | "用 `zsk:zskplan` 规划" / "用 `zsk:zsk` 继续" | 计划写入 `.zsk/plans/`,执行产物写入 `.zsk` |
|
|
89
|
+
| 不确定该用哪个阶段 skill | "用 `zsk:dispatch` 调度" | 让 OMX 围绕 ZSK skills 分配 subagents |
|
|
87
90
|
| 恢复一个项目的下一步 | "用 `zsk:flow` 继续" | 读取配置、阶段文档和 blocker,选择合法下一阶段 |
|
|
88
91
|
| 明确进入某阶段 | "用 `zsk:spec` 写模块规格" | 只载入对应 stage contract |
|
|
89
92
|
|
|
@@ -98,41 +101,48 @@ flowchart TD
|
|
|
98
101
|
|
|
99
102
|
## 和项目知识工作区的关系
|
|
100
103
|
|
|
101
|
-
`zsk init` 生成的 `.zsk/config.yaml
|
|
104
|
+
`zsk init` 生成的 `.zsk/config.yaml`、`.zsk/docs/SYSTEM-SPEC.md`、`.zsk/resources/`、`.zsk/modules/`、`.zsk/issues/`、`.zsk/evidence/`、`.zsk/playwright/` 和 `.zsk/plans/` 是默认项目上下文。CLI 负责创建最小骨架、使用 package-owned schema 校验、刷新 `.zsk/resources/manifest.json`,并通过 `zsk config check` / `zsk check` 做确定性校验。
|
|
102
105
|
|
|
103
|
-
Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Modao、测试资产和设计资产,发现模块边界,做跨事实源冲突分析,并把问题写入配置的 issue 根。运行时验证默认用 Playwright 产生可复现 evidence
|
|
106
|
+
Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Modao、测试资产和设计资产,发现模块边界,做跨事实源冲突分析,并把问题写入配置的 issue 根。运行时验证默认用 Playwright 产生可复现 evidence;登录态优先转成 Playwright `storageState`;视觉/当前页面判断优先 Computer Use;没有 Computer Use 的运行时用 Playwright MCP/ARIA/CDP、手工证据或可用的 Browser Use 兼容处理。Skills 必须通过 `.zsk/config.yaml` 和 `.zsk/modules/{module}/module.yaml` 解析路径,不能硬编码 `.zsk/resources`、root `docs`、root `.issues`、root `.playwright` 或 root `plans`。
|
|
104
107
|
|
|
105
|
-
每个 skill/stage
|
|
108
|
+
每个 skill/stage 的输入、输出、工具/能力、脚本策略和运行时 UI 观察策略由 harness 的 `skill-io-contract.yaml` 约束;完成后的产物路径、issue 索引同步和确认后的文档反哺由 `completion-contract.yaml` 约束。缺少 Documentation Feedback 时,`zsk check` 可以把它作为阶段未收口的证据。
|
|
106
109
|
|
|
107
110
|
## 领域总览
|
|
108
111
|
|
|
109
|
-
包内只保留默认可安装的 core 领域。Frontend、quality、design-handoff
|
|
112
|
+
包内只保留默认可安装的 core 领域。Frontend、quality、design-handoff 等内容仍由根级 `.best-practices/` 维护,但会按相关性复制到各 skill 的 `harness/best-practices/`;它们不是单独可触发的 installable skills。
|
|
110
113
|
|
|
111
114
|
| 领域 | skill 数 | 职责 |
|
|
112
115
|
| ----------------- | -------- | ------------------------------------------ |
|
|
113
|
-
| `skills/` |
|
|
114
|
-
| **总计** | **
|
|
116
|
+
| `skills/` | 22 | harness-first 默认工作流入口 |
|
|
117
|
+
| **总计** | **22** | |
|
|
115
118
|
|
|
116
119
|
## 安装套件(bundles.yaml)
|
|
117
120
|
|
|
118
121
|
| name | skills | 场景 |
|
|
119
122
|
| ------------------------------ | ------ | --------------------------------------------- |
|
|
120
|
-
| `zsk-
|
|
121
|
-
| `zsk-
|
|
122
|
-
| `zsk-
|
|
123
|
-
| `zsk-
|
|
124
|
-
| `
|
|
125
|
-
| `
|
|
126
|
-
| `frontend-
|
|
123
|
+
| `zsk-entry` | 2 | 只安装 ZSK / ZSK Plan 两个主入口 |
|
|
124
|
+
| `zsk-lite` | 10 | 小型低风险任务;ZSK 入口 + coding → smoke → review → commit |
|
|
125
|
+
| `zsk-sdlc`(推荐) | 19 | 标准工程交付;完整需求、实现、审查、验证、验收、归档链路 |
|
|
126
|
+
| `zsk-frontend` | 20 | 前端/视觉/browser-facing 任务;强化 demo 和前端质量门禁 |
|
|
127
|
+
| `zsk-enterprise` | 20 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
128
|
+
| `sdlc-only` | 22 | 旧入口兼容;安装全部 core skills |
|
|
129
|
+
| `frontend-project` | 22 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
130
|
+
| `frontend-with-design-handoff` | 22 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
127
131
|
| `custom` | 交互 | 通过 `zsk add` 任意多选 |
|
|
128
132
|
|
|
129
|
-
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total:
|
|
133
|
+
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total: 22 skills -->
|
|
130
134
|
|
|
131
135
|
## Skill 清单(core skills)
|
|
132
136
|
|
|
133
137
|
> 内容由 `tools/catalog.ts` 从 `packages/skills/*/SKILL.md` frontmatter 生成。重生成:`pnpm catalog`。
|
|
134
138
|
|
|
135
|
-
### `<slug>/` — Core · harness-first 默认工作流入口 (
|
|
139
|
+
### `<slug>/` — Core · harness-first 默认工作流入口 (22)
|
|
140
|
+
|
|
141
|
+
- **`zskplan`**
|
|
142
|
+
Use as the ZSK-aware RalphPlan-style planning entrypoint that freezes scope, skill route, expert lanes, Playwright/evidence paths, and stop conditions under .zsk.
|
|
143
|
+
|
|
144
|
+
- **`zsk`**
|
|
145
|
+
Use as the ZSK-aware Ralph-style execution loop that follows ZSK plans, dispatches expert lanes, verifies, fixes, and writes only .zsk outputs.
|
|
136
146
|
|
|
137
147
|
- **`dispatch`**
|
|
138
148
|
At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
|
|
@@ -188,6 +198,9 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
188
198
|
- **`archive`**
|
|
189
199
|
After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
|
|
190
200
|
|
|
201
|
+
- **`learn`**
|
|
202
|
+
Use after repeated friction or supplied public skill/harness references to learn, compare, record gaps, and prepare one reviewed ZSK optimization batch.
|
|
203
|
+
|
|
191
204
|
- **`issue`**
|
|
192
205
|
Tracks defects, blockers, questions, and risks with taxonomy, severity, owner, reproduction, and evidence.
|
|
193
206
|
|
package/acceptance/SKILL.md
CHANGED
|
@@ -40,7 +40,7 @@ Use this stage after independent `verify` has passed and the product/business ow
|
|
|
40
40
|
- Do not accept work with missing verify evidence.
|
|
41
41
|
- Do not hide product disagreement as a minor issue.
|
|
42
42
|
- Do not mutate implementation or test files from this stage.
|
|
43
|
-
- Do not leave confirmed issue learning only in `.issues`; accepted fixes must feed back into the relevant spec/design/task docs unless there is an explicit no-update rationale.
|
|
43
|
+
- Do not leave confirmed issue learning only in `.zsk/issues`; accepted fixes must feed back into the relevant spec/design/task docs unless there is an explicit no-update rationale.
|
|
44
44
|
- Keep the decision short, dated, and evidence-linked.
|
|
45
45
|
|
|
46
46
|
## Outputs
|
|
@@ -58,6 +58,8 @@ This core skill is governed by the ZSK harness. Enforce these rules even when on
|
|
|
58
58
|
- Evidence rules: no PASS / DONE / READY claim without linked command, artifact, issue, scenario, or human decision evidence.
|
|
59
59
|
- Source of truth: read configured resources before inventing intent; record conflicts instead of choosing silently.
|
|
60
60
|
- Issue taxonomy: route demo, smoke, review, test, verify, and acceptance findings to the correct issue type.
|
|
61
|
+
- Skill role: execute the full expert role, including all relevant lanes; partial single-angle execution is a failing result.
|
|
62
|
+
- Filesystem boundaries: write ZSK-managed outputs only under the configured `.zsk` workspace paths.
|
|
61
63
|
- Learning loop: reusable gaps become learning proposals; never mutate core constraints, templates, packs, or skills automatically.
|
|
62
64
|
|
|
63
65
|
When a `harness/` directory is installed beside this file, treat it as the local contract source:
|
|
@@ -65,7 +67,9 @@ When a `harness/` directory is installed beside this file, treat it as the local
|
|
|
65
67
|
- Read `harness/THIS_SKILL.md` before executing this skill.
|
|
66
68
|
- Read `harness/workflow/skill-io-contract.yaml` for this skill's required inputs, outputs, tools, and capabilities.
|
|
67
69
|
- Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
|
|
70
|
+
- Read `harness/constraints/skill-role-contract.md` before planning or reviewing expert work.
|
|
71
|
+
- Read `harness/constraints/filesystem-boundaries.md` before creating any project artifact.
|
|
68
72
|
- Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
|
|
69
73
|
- Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
|
|
70
|
-
-
|
|
74
|
+
- Apply the related best-practice concerns listed in `harness/THIS_SKILL.md`; read bundled `harness/best-practices/` files only when they are listed for the current skill. If those references are insufficient, stale, or version-sensitive, prefer Context7 MCP when available; otherwise consult official/current web references and local package docs/types. Record source links plus adaptation rationale in the evidence or learning proposal.
|
|
71
75
|
|
|
@@ -2,103 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
This harness bundle was embedded for `acceptance` so external installers such as `npx skills add codeshareman/zsk` install more than a bare `SKILL.md`.
|
|
4
4
|
|
|
5
|
-
The local `SKILL.md` is the execution entrypoint.
|
|
5
|
+
The local `SKILL.md` is the execution entrypoint. This generated harness is an install artifact, not the source of truth.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
# zsk Harness
|
|
7
|
+
Roles:
|
|
9
8
|
|
|
10
|
-
`harness/`
|
|
9
|
+
- Root `harness/` in the ZSK repository is the canonical source for constraints, workflow state, evidence, issue taxonomy, and promotion rules.
|
|
10
|
+
- `skills/<skill>/harness/THIS_SKILL.md` is the skill-specific contract: responsibility, inputs, outputs, expert lanes, related best-practice concerns, and hard stops.
|
|
11
|
+
- `skills/<skill>/harness/workflow/skill-io-contract.yaml` is filtered to this skill plus shared tool policy so installed standalone skills stay portable without carrying the whole catalog.
|
|
12
|
+
- `skills/<skill>/harness/best-practices/` contains only the related reference files this skill needs. It is intentionally not a full copy of `.best-practices/`.
|
|
13
|
+
- Root `.best-practices/` remains repository authoring/reference material. Durable runtime rules must be promoted into root `harness/` or `THIS_SKILL.md`.
|
|
11
14
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
The harness-first build path is now wired: root `skills/` generates `capabilities/skills/`, then `packages/skills/`. `.best-practices/` is only a slim reference layer and is not part of default installation.
|
|
15
|
-
|
|
16
|
-
## Authority
|
|
17
|
-
|
|
18
|
-
Merge order:
|
|
19
|
-
|
|
20
|
-
```text
|
|
21
|
-
root harness
|
|
22
|
-
-> selected pack overlays
|
|
23
|
-
-> skill-local harness contract
|
|
24
|
-
-> project .zsk/config.yaml bindings
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Root constraints can only be extended or tightened. Packs and skill-local contracts cannot weaken anti-patterns, stage gates, evidence rules, issue taxonomy, or filesystem boundaries.
|
|
28
|
-
|
|
29
|
-
## Learning Loop
|
|
30
|
-
|
|
31
|
-
The harness owns self-learning. Skills and stage templates may surface `Documentation Feedback`, but they must not directly mutate core constraints, templates, packs, or root skills.
|
|
32
|
-
|
|
33
|
-
Flow:
|
|
34
|
-
|
|
35
|
-
1. Stage work records reusable failures, template gaps, or skill gaps as documentation feedback.
|
|
36
|
-
2. `archive` converts durable findings into learning proposals under `.zsk/learning/proposals`.
|
|
37
|
-
3. Promotion follows `harness/learning/promotion-rules.yaml`.
|
|
38
|
-
4. Accepted proposals patch the smallest target: constraint, template, resource map, root skill, optional pack, or project-only docs.
|
|
39
|
-
5. Core promotion requires review plus regression evidence.
|
|
40
|
-
|
|
41
|
-
Project-specific experience stays in module archives or `docs/SYSTEM-SPEC.md`. General zsk changes must be proposed, reviewed, and verified before becoming default behavior.
|
|
42
|
-
|
|
43
|
-
## Skill Completion Contract
|
|
44
|
-
|
|
45
|
-
`workflow/skill-io-contract.yaml` defines each skill's expected inputs, outputs, tools, capabilities, script policy, and Browser Use policy.
|
|
46
|
-
|
|
47
|
-
`workflow/completion-contract.yaml` defines what each skill/stage must leave behind after execution:
|
|
48
|
-
|
|
49
|
-
- produced artifacts and their project-template paths;
|
|
50
|
-
- evidence required for completion claims;
|
|
51
|
-
- issue persistence and module/global index refreshes;
|
|
52
|
-
- documentation feedback targets after verified and confirmed fixes;
|
|
53
|
-
- learning proposal handoff for reusable process improvements.
|
|
54
|
-
|
|
55
|
-
This contract is harness-owned. Individual skills may name their outputs, but they should not redefine where persistent project artifacts, issue indexes, or confirmed documentation feedback are managed.
|
|
56
|
-
|
|
57
|
-
File updates can be implemented in two ways:
|
|
58
|
-
|
|
59
|
-
- repeatable mechanical updates should use CLI commands or skill-local scripts declared by the skill;
|
|
60
|
-
- context-sensitive docs feedback can be written by the agent with normal file-editing tools.
|
|
61
|
-
|
|
62
|
-
Both paths must satisfy the same harness completion contract before the skill is considered done.
|
|
63
|
-
|
|
64
|
-
## Runtime Flow
|
|
65
|
-
|
|
66
|
-
The harness treats skills as stage contracts, not free-form prompts. Profiles under `profiles/*.yaml` choose the stage sequence and strictness before optional gates are enforced:
|
|
67
|
-
|
|
68
|
-
```text
|
|
69
|
-
zsk-lite small, low-risk changes
|
|
70
|
-
zsk-sdlc standard engineering delivery
|
|
71
|
-
zsk-frontend UI/UX/browser-facing delivery with demo and visual evidence
|
|
72
|
-
zsk-enterprise governed delivery with deploy, acceptance, and archive evidence
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
The standard profile follows:
|
|
76
|
-
|
|
77
|
-
```text
|
|
78
|
-
dispatch
|
|
79
|
-
-> flow
|
|
80
|
-
-> prepare -> proposal -> spec -> design -> task
|
|
81
|
-
-> coding -> smoke -> review -> commit
|
|
82
|
-
-> ready -> verify -> acceptance -> archive
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
Supporting stages can branch from the main flow:
|
|
86
|
-
|
|
87
|
-
- `issue` records blockers, risks, questions, and defects without bypassing gates.
|
|
88
|
-
- `dispatch` tells OMX to schedule subagents around the active ZSK skill and harness gate.
|
|
89
|
-
- `demo` proves a changed flow before formal QA.
|
|
90
|
-
- `defect` turns QA findings into reproducible, FR/AC-linked work.
|
|
91
|
-
- `commit` is allowed only after smoke and review pass.
|
|
92
|
-
- `deploy` is optional in `zsk-sdlc`, required in `zsk-enterprise`, and usually sits between `commit` and `ready`.
|
|
93
|
-
|
|
94
|
-
Every branch must return with evidence, status, and index updates required by `workflow/completion-contract.yaml`.
|
|
95
|
-
|
|
96
|
-
## Quality Bar
|
|
97
|
-
|
|
98
|
-
High-quality skill output means:
|
|
99
|
-
|
|
100
|
-
- source-linked: important claims trace to PRD/SRS, spec/design, task, issue, code/runtime evidence, or user clarification;
|
|
101
|
-
- accurate: tests and scenarios prove the intended behavior, not convenient implementation details;
|
|
102
|
-
- complete enough: missing resources, uncertainty, and conflicts are named with impact;
|
|
103
|
-
- concise: no generic filler, speculative abstraction, or extra structure beyond the smallest sufficient design;
|
|
104
|
-
- reviewed: review/verify/acceptance check traceability, test adequacy, scope creep, and unresolved uncertainty before pass.
|
|
15
|
+
Read `THIS_SKILL.md` first, then only the constraint/workflow files it names for the current task.
|
|
@@ -28,18 +28,45 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
28
28
|
- Script policy: `optional`
|
|
29
29
|
- Browser Use policy: `never`
|
|
30
30
|
|
|
31
|
+
## Expert Lanes
|
|
32
|
+
|
|
33
|
+
- `business decision`
|
|
34
|
+
- `residual risk`
|
|
35
|
+
- `documentation feedback`
|
|
36
|
+
- `accept/reject evidence`
|
|
37
|
+
|
|
38
|
+
## Related Best-Practice Concerns
|
|
39
|
+
|
|
40
|
+
- `SDLC traceability`
|
|
41
|
+
- `quality evidence`
|
|
42
|
+
- `system constraints`
|
|
43
|
+
|
|
44
|
+
## Bundled Related Reference Files
|
|
45
|
+
|
|
46
|
+
- `best-practices/sdlc.md`
|
|
47
|
+
- `best-practices/quality.md`
|
|
48
|
+
|
|
49
|
+
## Forbidden Scope
|
|
50
|
+
|
|
51
|
+
- `creating ZSK-managed artifacts outside `.zsk` workspace paths`
|
|
52
|
+
- `claiming completion without evidence`
|
|
53
|
+
- `silently skipping required inputs or expert lanes`
|
|
54
|
+
- `mutating core harness/templates/skills without a learning proposal and review`
|
|
55
|
+
|
|
31
56
|
## Must Read Before Acting
|
|
32
57
|
|
|
33
58
|
- `profiles/*.yaml` to apply the active workflow profile before enforcing optional gates.
|
|
34
59
|
- `workflow/skill-io-contract.yaml` for the full machine-readable contract.
|
|
35
60
|
- `workflow/state-machine.yaml` before moving to another stage.
|
|
61
|
+
- `constraints/skill-role-contract.md` before planning or reviewing expert work.
|
|
62
|
+
- `constraints/filesystem-boundaries.md` before creating any project artifact.
|
|
36
63
|
- `constraints/stage-gates.md` before accepting or skipping prerequisites.
|
|
37
64
|
- `constraints/evidence-rules.md` before claiming READY / PASS / DONE.
|
|
38
65
|
- `workflow/completion-contract.yaml` before final response or handoff.
|
|
39
66
|
- `constraints/issue-taxonomy.md` before creating defects, blockers, risks, or questions.
|
|
40
|
-
- `best-practices/sdlc.md`
|
|
41
|
-
- `best-practices/quality.md`
|
|
42
|
-
-
|
|
67
|
+
- `best-practices/sdlc.md` when its domain is touched by this task.
|
|
68
|
+
- `best-practices/quality.md` when its domain is touched by this task.
|
|
69
|
+
- Context7 MCP when available for version-sensitive library/API/framework guidance; otherwise official/current web references and local package docs/types when bundled related references are missing, incomplete, stale, or too generic for the concrete stack. Record source links and adaptation rationale.
|
|
43
70
|
|
|
44
71
|
## Hard Stops
|
|
45
72
|
|
|
@@ -48,6 +75,7 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
48
75
|
- Evidence cannot be linked to command output, artifact, issue, scenario, or human decision.
|
|
49
76
|
- The fix would widen scope beyond this skill's responsibility.
|
|
50
77
|
- A blocker, risk, question, or defect needs persistent tracking.
|
|
78
|
+
- The skill can only complete one convenient lane while other required expert lanes remain unchecked.
|
|
51
79
|
|
|
52
80
|
## Completion Checklist
|
|
53
81
|
|
|
@@ -1,52 +1,12 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Scoped Best-Practice References
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
These references are bundled only for `acceptance` so standalone skill installs keep the related context this skill needs.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
They are supporting guidance, not the source of truth. Runtime gates and hard constraints belong in `../THIS_SKILL.md` and `../constraints/`.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
| --- | --- | --- |
|
|
9
|
-
| `skills/` | 默认安装的 core skills 源码 | 高频动作才放这里,`SKILL.md` 必须自带输入、流程、约束和输出 |
|
|
10
|
-
| `harness/` | 状态机、门禁、资源、证据、issue taxonomy、自我学习提升规则 | 管全局约束,不复制每个 skill 的正文 |
|
|
11
|
-
| `.best-practices/` | 少量可选参考资料 | 只保留领域总览和横切规则,分类写在 frontmatter |
|
|
12
|
-
| `capabilities/skills/` | 生成缓存 | 只由脚本生成 core installable skills,不手改 |
|
|
13
|
-
| `packages/skills/` | npm 发布包 | 由 `capabilities/skills/` 同步生成 |
|
|
7
|
+
If these references are missing, incomplete, stale, too generic, or version-sensitive for the concrete stack, prefer Context7 MCP when available. If Context7 is unavailable or incomplete, consult official/current web references and local package docs/types. Record source links plus adaptation rationale in the evidence or learning proposal.
|
|
14
8
|
|
|
15
|
-
|
|
9
|
+
Bundled files:
|
|
16
10
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
## 当前保留文件
|
|
20
|
-
|
|
21
|
-
| 文件 | 职责 |
|
|
22
|
-
| --- | --- |
|
|
23
|
-
| `sdlc.md` | 交付阶段边界和门禁 |
|
|
24
|
-
| `frontend.md` | 前端阶段补充和红线 |
|
|
25
|
-
| `quality.md` | 跨栈质量原则和证据规则 |
|
|
26
|
-
| `design-handoff.md` | SRS、低保真、高保真、测试用例等资源准备和设计还原 |
|
|
27
|
-
| `system.md` | 项目宪法、ADR、配置和约束归属 |
|
|
28
|
-
| `agent-orchestration.md` | 多 Agent 职责划分 |
|
|
29
|
-
| `project-constraints-template.md` | 项目约束最小模板 |
|
|
30
|
-
|
|
31
|
-
## 什么应该留在这里
|
|
32
|
-
|
|
33
|
-
- 多个项目都会用到,但不值得装成默认 skill 的参考。
|
|
34
|
-
- 能用一个领域总览讲清楚的规则。
|
|
35
|
-
- 还没提升为 `skills/` 或 `harness/` 的候选约束。
|
|
36
|
-
|
|
37
|
-
不再保留 `_legacy/`、领域子目录、大段参考归档和每个技术点一份文件。旧内容如果不能支撑当前 core skills、harness 或发布包,就删掉。
|
|
38
|
-
|
|
39
|
-
## 写新资料的规则
|
|
40
|
-
|
|
41
|
-
1. 先判断能否并入现有 7 个参考文件。
|
|
42
|
-
2. 文件确实必须新增时,放在 `.best-practices/{slug}.md`。
|
|
43
|
-
3. `name` 用 `zsk:{slug}`,必须和文件名一致。
|
|
44
|
-
4. `domain` 写领域,比如 `sdlc`、`frontend`、`quality`、`design-handoff`、`system`、`meta`。
|
|
45
|
-
5. 非 domain-index 文件必须在 `related` 里包含 `./agent-orchestration.md`。
|
|
46
|
-
6. 默认执行约束不要只写在这里;高频约束要提升到 `skills/` 或 `harness/`。
|
|
47
|
-
|
|
48
|
-
生成索引:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
pnpm build:index
|
|
52
|
-
```
|
|
11
|
+
- `sdlc.md`
|
|
12
|
+
- `quality.md`
|
|
@@ -9,14 +9,14 @@ Accepted evidence types:
|
|
|
9
9
|
- lint/typecheck/build output
|
|
10
10
|
- screenshot
|
|
11
11
|
- Playwright trace
|
|
12
|
-
- Browser Use
|
|
12
|
+
- UI observation note from Computer Use, Playwright MCP/ARIA/CDP, compatible Browser Use, or documented manual evidence
|
|
13
13
|
- network log
|
|
14
14
|
- console log
|
|
15
15
|
- deploy URL
|
|
16
16
|
- issue record
|
|
17
17
|
- sign-off record
|
|
18
18
|
|
|
19
|
-
Demo evidence produced by manual execution, Playwright,
|
|
19
|
+
Demo evidence produced by manual execution, Playwright, Computer Use, Playwright MCP/ARIA/CDP, or compatible Browser Use must be normalized into the same report and issue taxonomy.
|
|
20
20
|
|
|
21
21
|
## Test Evidence Discipline
|
|
22
22
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Filesystem Boundaries
|
|
2
|
+
|
|
3
|
+
Default project paths:
|
|
4
|
+
|
|
5
|
+
- `.zsk/`: the only default ZSK-managed workspace root.
|
|
6
|
+
- `.zsk/docs/`: project-level docs such as `SYSTEM-SPEC.md` and `PROJECT-CONFIG.md`.
|
|
7
|
+
- `.zsk/modules/{module}/`: module config and stage artifacts.
|
|
8
|
+
- `.zsk/resources/`: raw external source snapshots, manifests, imported test cases, and design/API assets.
|
|
9
|
+
- `.zsk/issues/`: normalized managed issue records and indexes.
|
|
10
|
+
- `.zsk/evidence/`: reusable runtime evidence that is not Playwright-owned.
|
|
11
|
+
- `.zsk/playwright/{module}/`: Playwright specs, test plans, auth state, execution records, reports, and results.
|
|
12
|
+
- `.zsk/plans/`: ZSK Plan artifacts, loop plans, and execution handoff plans.
|
|
13
|
+
- `skills/{slug}/`: zsk source skill directories.
|
|
14
|
+
- `harness/`: zsk source governance contracts.
|
|
15
|
+
|
|
16
|
+
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.
|
|
@@ -2,28 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
`zsk:issue` is the cross-stage issue utility. Stage skills call it, but issue paths and fields are defined here.
|
|
4
4
|
|
|
5
|
-
Issue records are persistent tracking artifacts. Use the configured issue root from `.zsk/config.yaml` `paths.issues`; the default is `.issues/`. Do not keep actionable findings only in chat, transient task notes, or demo reports.
|
|
5
|
+
Issue records are persistent tracking artifacts. Use the configured issue root from `.zsk/config.yaml` `paths.issues`; the default is `.zsk/issues/`. Do not keep actionable findings only in chat, transient task notes, or demo reports.
|
|
6
6
|
|
|
7
7
|
Indexes are part of the contract:
|
|
8
8
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
9
|
+
- `.zsk/issues/{module}/index.md` tracks every issue for that module and its status.
|
|
10
|
+
- `.zsk/issues/index.md` tracks each module and total/open/closed issue counts.
|
|
11
11
|
- Creating or updating an issue must refresh both indexes.
|
|
12
12
|
|
|
13
13
|
## Types
|
|
14
14
|
|
|
15
15
|
| Type | Concrete Issue Directory | Prefix | Typical Source |
|
|
16
16
|
| --- | --- | --- | --- |
|
|
17
|
-
| Demo Issue | `.issues/{module}/{prefix}-0001-slug/` | `DEMO` | Development demo |
|
|
18
|
-
| Smoke Issue | `.issues/{module}/{prefix}-0001-slug/` | `SMOKE` | Developer smoke |
|
|
19
|
-
| Review Issue | `.issues/{module}/{prefix}-0001-slug/` | `REV` | Code/design review |
|
|
20
|
-
| Defect | `.issues/{module}/{prefix}-0001-slug/` | `DEFECT` | Formal QA |
|
|
21
|
-
| Verify Issue | `.issues/{module}/{prefix}-0001-slug/` | `VER` | Fix verification |
|
|
22
|
-
| Acceptance Issue | `.issues/{module}/{prefix}-0001-slug/` | `ACC` | Business/product acceptance |
|
|
17
|
+
| Demo Issue | `.zsk/issues/{module}/{prefix}-0001-slug/` | `DEMO` | Development demo |
|
|
18
|
+
| Smoke Issue | `.zsk/issues/{module}/{prefix}-0001-slug/` | `SMOKE` | Developer smoke |
|
|
19
|
+
| Review Issue | `.zsk/issues/{module}/{prefix}-0001-slug/` | `REV` | Code/design review |
|
|
20
|
+
| Defect | `.zsk/issues/{module}/{prefix}-0001-slug/` | `DEFECT` | Formal QA |
|
|
21
|
+
| Verify Issue | `.zsk/issues/{module}/{prefix}-0001-slug/` | `VER` | Fix verification |
|
|
22
|
+
| Acceptance Issue | `.zsk/issues/{module}/{prefix}-0001-slug/` | `ACC` | Business/product acceptance |
|
|
23
23
|
|
|
24
|
-
Stage directories such as
|
|
24
|
+
Stage directories such as `.zsk/issues/{module}/demo/index.md` may exist as stage views or evidence buckets. They are not the authoritative status indexes.
|
|
25
25
|
|
|
26
|
-
If `paths.issues` is customized,
|
|
26
|
+
If `paths.issues` is customized, it must still stay under `.zsk/` and preserve the `{module}/{type}/` shape.
|
|
27
27
|
|
|
28
28
|
## Required Fields
|
|
29
29
|
|
|
@@ -79,7 +79,7 @@ Every actionable issue should record:
|
|
|
79
79
|
|
|
80
80
|
## Closure And Feedback Loop
|
|
81
81
|
|
|
82
|
-
1. Create or update the issue under
|
|
82
|
+
1. Create or update the issue under `.zsk/issues/{module}/` as soon as the finding is actionable, using the type and prefix fields to preserve taxonomy.
|
|
83
83
|
2. Fix and verify the issue with linked evidence.
|
|
84
84
|
3. Wait for user/product confirmation when the outcome changes behavior, business flow, or acceptance semantics.
|
|
85
85
|
4. After confirmation, update the relevant spec/design/task docs for anything the original artifacts did not cover or described too weakly.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Skill Role Contract
|
|
2
|
+
|
|
3
|
+
Every ZSK skill is an expert role, not a loose prompt. Before acting, the skill must identify its responsibility, required inputs, required outputs, forbidden scope, expert checks, and evidence obligations from `harness/THIS_SKILL.md`, `workflow/skill-io-contract.yaml`, and this file.
|
|
4
|
+
|
|
5
|
+
## Role Completeness
|
|
6
|
+
|
|
7
|
+
Each skill run must cover its whole declared role:
|
|
8
|
+
|
|
9
|
+
- read the required inputs or report `BLOCKED`;
|
|
10
|
+
- produce every required output or explain why it is blocked;
|
|
11
|
+
- apply the related best-practice files listed in `THIS_SKILL.md` when their domain is touched;
|
|
12
|
+
- prefer Context7 MCP for version-sensitive library/API/framework guidance when available; if it is unavailable or incomplete, consult official/current web references and local package docs/types, then record source links and adaptation rationale;
|
|
13
|
+
- keep all ZSK-managed artifacts under `.zsk` paths from the completion contract;
|
|
14
|
+
- state which checks were performed and which were intentionally waived.
|
|
15
|
+
|
|
16
|
+
Partial execution is a failure. A skill must not pass after checking only one convenient angle when its role requires multiple angles.
|
|
17
|
+
|
|
18
|
+
## Forbidden Behavior
|
|
19
|
+
|
|
20
|
+
- Do not create new project roots, ad hoc docs folders, loose evidence folders, or hidden state outside `.zsk`.
|
|
21
|
+
- Do not skip a declared input because it is inconvenient to locate.
|
|
22
|
+
- Do not collapse a multi-lane expert task into a single generic pass.
|
|
23
|
+
- Do not silently cross into another skill's responsibility; route or record the handoff.
|
|
24
|
+
- Do not claim PASS, READY, DONE, or ACCEPTED without linked evidence.
|
|
25
|
+
|
|
26
|
+
## Expert Lane Rule
|
|
27
|
+
|
|
28
|
+
When a skill has multiple expert concerns, it must execute all relevant lanes. If Codex native subagents or OMX team/runtime surfaces are available and the lanes are independent, dispatch bounded expert subagents and integrate their findings. If subagents are unavailable, run the same lanes sequentially and say so in the evidence.
|
|
29
|
+
|
|
30
|
+
The lead skill remains accountable for the final verdict. Subagent output is supporting evidence, not an automatic pass.
|
|
31
|
+
|
|
32
|
+
## Review-Specific Minimum
|
|
33
|
+
|
|
34
|
+
`review` must always cover these lanes before a PASS verdict:
|
|
35
|
+
|
|
36
|
+
- scope and requirement drift;
|
|
37
|
+
- execution-path correctness;
|
|
38
|
+
- tests and evidence adequacy;
|
|
39
|
+
- security, auth, permissions, privacy, and data safety;
|
|
40
|
+
- architecture, maintainability, API contracts, and dependency boundaries;
|
|
41
|
+
- frontend, accessibility, React/Vue/framework, visual, and i18n checks when UI is touched;
|
|
42
|
+
- performance, concurrency, migration, and rollout checks when touched;
|
|
43
|
+
- ZSK harness compliance, output paths, issue taxonomy, and documentation feedback.
|
|
44
|
+
|
|
45
|
+
For `DEEP` review, dispatch at least three independent expert lanes when subagents are available: architecture/API, security/data, and tests/evidence. Add frontend/performance specialists when the diff touches those domains.
|
|
46
|
+
|
|
47
|
+
## ZSK Entry Points
|
|
48
|
+
|
|
49
|
+
`zskplan` and `zsk` are ZSK-aware RalphPlan/Ralph-style user surfaces, not shortcuts around the harness.
|
|
50
|
+
|
|
51
|
+
- `zskplan` freezes the route and writes the plan artifact under `.zsk/plans/`: selected skills, required inputs, `.zsk` output map, expert lanes, subagent plan, Playwright/auth/evidence plan, fix loop, blockers, and stop condition.
|
|
52
|
+
- `zsk` executes the frozen or inferred route: it selects the legal skill, dispatches required expert lanes, integrates results, writes only `.zsk` artifacts, validates, fixes, and repeats until the plan is complete or blocked.
|
|
53
|
+
- Neither entry point may skip a selected skill's own contract, forbidden scope, required inputs, issue routing, or evidence gate.
|
|
54
|
+
- When no frozen route exists, `zsk` must perform the `zskplan` route-freeze work first and state the resulting plan.
|
|
55
|
+
- Plans, Playwright specs, auth state, runtime execution JSON, traces, reports, reusable evidence, issues, and learning proposals must use the configured `.zsk` workspace paths.
|
|
56
|
+
- A ZSK loop may not stop at "implemented" when review, Playwright, test, or configured validation evidence is required by the plan.
|
|
57
|
+
|
|
58
|
+
## Learning Skill
|
|
59
|
+
|
|
60
|
+
`learn` is a controlled self-learning loop:
|
|
61
|
+
|
|
62
|
+
- collect suggestions and evidence from user feedback, failed runs, review misses, and harness friction;
|
|
63
|
+
- ingest user-supplied public skill or harness references, including URLs, repos, markdown, examples, screenshots, or pasted excerpts;
|
|
64
|
+
- compare external patterns against current ZSK contracts, source rights, project constraints, and regression needs;
|
|
65
|
+
- record delivery-impacting problems as `.zsk/issues` entries;
|
|
66
|
+
- write reusable improvement proposals under `.zsk/learning/proposals/`;
|
|
67
|
+
- group accepted proposals into one optimization batch with target files, regression prompts, risks, and review status.
|
|
68
|
+
|
|
69
|
+
`learn` must not mutate core skills, harness constraints, packs, templates, or generated artifacts from one unreviewed incident. It must not copy external skills or harnesses wholesale; it adapts principles and testable constraints into ZSK proposals with source notes. Promotion requires review evidence and regression prompts.
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Resource priority is:
|
|
4
4
|
|
|
5
5
|
1. explicit project `.zsk/config.yaml`
|
|
6
|
-
2. module docs under
|
|
7
|
-
3. raw
|
|
6
|
+
2. module docs and stage artifacts under `.zsk/modules/{module}/`
|
|
7
|
+
3. raw source snapshots under `.zsk/resources/`
|
|
8
8
|
4. code and runtime evidence
|
|
9
9
|
5. user-provided clarification
|
|
10
10
|
|
|
@@ -17,3 +17,14 @@ When sources conflict, the stage artifact must record the conflict instead of si
|
|
|
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
18
|
- If asking is blocked, record a resource gap or issue instead of silently choosing a path.
|
|
19
19
|
- Best practices may shape implementation, but they cannot override project facts or accepted design documents.
|
|
20
|
+
- Use bundled skill-local best-practice files only when they are related to the active skill and touched domain.
|
|
21
|
+
- If related local best-practice coverage is missing, incomplete, stale, too generic, or version-sensitive for the concrete stack, prefer Context7 MCP when available. If Context7 is unavailable, use official/current web references, package repository docs, package README/changelog, installed type definitions, and lockfile/package versions. Record source links, retrieval date when relevant, and adaptation rationale in the evidence, issue, or learning proposal.
|
|
22
|
+
- External best-practice references are advisory. They may justify implementation style, review criteria, or learning proposals, but they must not invent requirements, acceptance criteria, product behavior, or project policy.
|
|
23
|
+
|
|
24
|
+
## Documentation Retrieval Fallbacks
|
|
25
|
+
|
|
26
|
+
- Context7 MCP is an accelerator, not a hard dependency. Missing Context7 must not block a skill when equivalent official or local references are available.
|
|
27
|
+
- For library/API questions, first identify the concrete package and version from `package.json`, lockfiles, imports, installed package metadata, generated types, or project config.
|
|
28
|
+
- Prefer official documentation and source repositories over blogs, snippets, or model memory.
|
|
29
|
+
- When using web search, restrict to official domains when possible and record the exact source used.
|
|
30
|
+
- When no authoritative reference can be retrieved, mark the item as a resource gap instead of guessing.
|