@captain_z/zsk-skills 1.7.0 → 1.8.1
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 +28 -2
- package/acceptance/harness/README.md +8 -97
- package/acceptance/harness/THIS_SKILL.md +65 -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 +33 -0
- package/acceptance/harness/constraints/issue-taxonomy.md +23 -12
- package/acceptance/harness/constraints/skill-role-contract.md +89 -0
- package/acceptance/harness/constraints/source-of-truth.md +16 -2
- package/acceptance/harness/workflow/completion-contract.yaml +63 -43
- package/acceptance/harness/workflow/skill-io-contract.yaml +161 -150
- package/acceptance/harness/workflow/skill-quality-standards.yaml +55 -0
- package/acceptance/harness/workflow/stage-contracts.yaml +4 -2
- package/archive/SKILL.md +29 -3
- package/archive/harness/README.md +8 -97
- package/archive/harness/THIS_SKILL.md +68 -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 +33 -0
- package/archive/harness/constraints/issue-taxonomy.md +23 -12
- package/archive/harness/constraints/skill-role-contract.md +89 -0
- package/archive/harness/constraints/source-of-truth.md +16 -2
- package/archive/harness/workflow/completion-contract.yaml +63 -43
- package/archive/harness/workflow/skill-io-contract.yaml +162 -150
- package/archive/harness/workflow/skill-quality-standards.yaml +56 -0
- package/archive/harness/workflow/stage-contracts.yaml +4 -2
- package/bundles.yaml +30 -2
- package/coding/SKILL.md +33 -5
- package/coding/harness/README.md +8 -97
- package/coding/harness/THIS_SKILL.md +69 -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 +33 -0
- package/coding/harness/constraints/issue-taxonomy.md +23 -12
- package/coding/harness/constraints/skill-role-contract.md +89 -0
- package/coding/harness/constraints/source-of-truth.md +16 -2
- package/coding/harness/workflow/completion-contract.yaml +63 -43
- package/coding/harness/workflow/skill-io-contract.yaml +164 -150
- package/coding/harness/workflow/skill-quality-standards.yaml +58 -0
- package/coding/harness/workflow/stage-contracts.yaml +4 -2
- package/commit/SKILL.md +27 -1
- package/commit/harness/README.md +8 -97
- package/commit/harness/THIS_SKILL.md +65 -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 +33 -0
- package/commit/harness/constraints/issue-taxonomy.md +23 -12
- package/commit/harness/constraints/skill-role-contract.md +89 -0
- package/commit/harness/constraints/source-of-truth.md +16 -2
- package/commit/harness/workflow/completion-contract.yaml +63 -43
- package/commit/harness/workflow/skill-io-contract.yaml +160 -150
- package/commit/harness/workflow/skill-quality-standards.yaml +57 -0
- package/commit/harness/workflow/stage-contracts.yaml +4 -2
- package/defect/SKILL.md +27 -1
- package/defect/harness/README.md +8 -97
- package/defect/harness/THIS_SKILL.md +66 -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 +33 -0
- package/defect/harness/constraints/issue-taxonomy.md +23 -12
- package/defect/harness/constraints/skill-role-contract.md +89 -0
- package/defect/harness/constraints/source-of-truth.md +16 -2
- package/defect/harness/workflow/completion-contract.yaml +63 -43
- package/defect/harness/workflow/skill-io-contract.yaml +161 -150
- package/defect/harness/workflow/skill-quality-standards.yaml +55 -0
- package/defect/harness/workflow/stage-contracts.yaml +4 -2
- package/demo/SKILL.md +56 -29
- package/demo/harness/README.md +8 -97
- package/demo/harness/THIS_SKILL.md +71 -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 +33 -0
- package/demo/harness/constraints/issue-taxonomy.md +23 -12
- package/demo/harness/constraints/skill-role-contract.md +89 -0
- package/demo/harness/constraints/source-of-truth.md +16 -2
- package/demo/harness/workflow/completion-contract.yaml +63 -43
- package/demo/harness/workflow/skill-io-contract.yaml +171 -150
- package/demo/harness/workflow/skill-quality-standards.yaml +57 -0
- package/demo/harness/workflow/stage-contracts.yaml +4 -2
- 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 +27 -1
- package/deploy/harness/README.md +8 -97
- package/deploy/harness/THIS_SKILL.md +65 -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 +33 -0
- package/deploy/harness/constraints/issue-taxonomy.md +23 -12
- package/deploy/harness/constraints/skill-role-contract.md +89 -0
- package/deploy/harness/constraints/source-of-truth.md +16 -2
- package/deploy/harness/workflow/completion-contract.yaml +63 -43
- package/deploy/harness/workflow/skill-io-contract.yaml +162 -150
- package/deploy/harness/workflow/skill-quality-standards.yaml +56 -0
- package/deploy/harness/workflow/stage-contracts.yaml +4 -2
- package/design/SKILL.md +28 -2
- package/design/harness/README.md +8 -97
- package/design/harness/THIS_SKILL.md +71 -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 +33 -0
- package/design/harness/constraints/issue-taxonomy.md +23 -12
- package/design/harness/constraints/skill-role-contract.md +89 -0
- package/design/harness/constraints/source-of-truth.md +16 -2
- package/design/harness/workflow/completion-contract.yaml +63 -43
- package/design/harness/workflow/skill-io-contract.yaml +165 -150
- package/design/harness/workflow/skill-quality-standards.yaml +61 -0
- package/design/harness/workflow/stage-contracts.yaml +4 -2
- package/dispatch/SKILL.md +28 -2
- package/dispatch/harness/README.md +8 -97
- package/dispatch/harness/THIS_SKILL.md +59 -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 +33 -0
- package/dispatch/harness/constraints/issue-taxonomy.md +23 -12
- package/dispatch/harness/constraints/skill-role-contract.md +89 -0
- package/dispatch/harness/constraints/source-of-truth.md +16 -2
- package/dispatch/harness/workflow/completion-contract.yaml +63 -43
- package/dispatch/harness/workflow/skill-io-contract.yaml +167 -150
- package/dispatch/harness/workflow/skill-quality-standards.yaml +41 -0
- package/dispatch/harness/workflow/stage-contracts.yaml +4 -2
- package/flow/SKILL.md +30 -4
- package/flow/harness/README.md +8 -97
- package/flow/harness/THIS_SKILL.md +59 -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 +33 -0
- package/flow/harness/constraints/issue-taxonomy.md +23 -12
- package/flow/harness/constraints/skill-role-contract.md +89 -0
- package/flow/harness/constraints/source-of-truth.md +16 -2
- package/flow/harness/workflow/completion-contract.yaml +63 -43
- package/flow/harness/workflow/skill-io-contract.yaml +161 -150
- package/flow/harness/workflow/skill-quality-standards.yaml +41 -0
- package/flow/harness/workflow/stage-contracts.yaml +4 -2
- package/issue/SKILL.md +45 -13
- package/issue/harness/README.md +8 -97
- package/issue/harness/THIS_SKILL.md +60 -4
- 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 +33 -0
- package/issue/harness/constraints/issue-taxonomy.md +23 -12
- package/issue/harness/constraints/skill-role-contract.md +89 -0
- package/issue/harness/constraints/source-of-truth.md +16 -2
- package/issue/harness/workflow/completion-contract.yaml +63 -43
- package/issue/harness/workflow/skill-io-contract.yaml +166 -150
- package/issue/harness/workflow/skill-quality-standards.yaml +41 -0
- package/issue/harness/workflow/stage-contracts.yaml +4 -2
- package/learn/SKILL.md +124 -0
- package/learn/harness/README.md +15 -0
- package/learn/harness/THIS_SKILL.md +118 -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 +33 -0
- package/learn/harness/constraints/issue-taxonomy.md +98 -0
- package/learn/harness/constraints/skill-role-contract.md +89 -0
- package/learn/harness/constraints/source-of-truth.md +33 -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 +122 -0
- package/learn/harness/workflow/skill-io-contract.yaml +178 -0
- package/learn/harness/workflow/skill-quality-standards.yaml +41 -0
- package/learn/harness/workflow/stage-contracts.yaml +55 -0
- package/learn/harness/workflow/state-machine.yaml +65 -0
- package/package.json +1 -1
- package/prepare/SKILL.md +42 -15
- package/prepare/harness/README.md +8 -97
- package/prepare/harness/THIS_SKILL.md +71 -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 +33 -0
- package/prepare/harness/constraints/issue-taxonomy.md +23 -12
- package/prepare/harness/constraints/skill-role-contract.md +89 -0
- package/prepare/harness/constraints/source-of-truth.md +16 -2
- package/prepare/harness/workflow/completion-contract.yaml +63 -43
- package/prepare/harness/workflow/skill-io-contract.yaml +172 -150
- package/prepare/harness/workflow/skill-quality-standards.yaml +59 -0
- package/prepare/harness/workflow/stage-contracts.yaml +4 -2
- package/prepare/harness.yaml +2 -2
- package/proposal/SKILL.md +37 -5
- package/proposal/harness/README.md +8 -97
- package/proposal/harness/THIS_SKILL.md +68 -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 +33 -0
- package/proposal/harness/constraints/issue-taxonomy.md +23 -12
- package/proposal/harness/constraints/skill-role-contract.md +89 -0
- package/proposal/harness/constraints/source-of-truth.md +16 -2
- package/proposal/harness/workflow/completion-contract.yaml +63 -43
- package/proposal/harness/workflow/skill-io-contract.yaml +161 -150
- package/proposal/harness/workflow/skill-quality-standards.yaml +60 -0
- package/proposal/harness/workflow/stage-contracts.yaml +4 -2
- package/ready/SKILL.md +27 -1
- package/ready/harness/README.md +8 -97
- package/ready/harness/THIS_SKILL.md +65 -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 +33 -0
- package/ready/harness/constraints/issue-taxonomy.md +23 -12
- package/ready/harness/constraints/skill-role-contract.md +89 -0
- package/ready/harness/constraints/source-of-truth.md +16 -2
- package/ready/harness/workflow/completion-contract.yaml +63 -43
- package/ready/harness/workflow/skill-io-contract.yaml +161 -150
- package/ready/harness/workflow/skill-quality-standards.yaml +56 -0
- package/ready/harness/workflow/stage-contracts.yaml +4 -2
- package/review/SKILL.md +63 -7
- package/review/harness/README.md +8 -97
- package/review/harness/THIS_SKILL.md +77 -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 +33 -0
- package/review/harness/constraints/issue-taxonomy.md +23 -12
- package/review/harness/constraints/skill-role-contract.md +89 -0
- package/review/harness/constraints/source-of-truth.md +16 -2
- package/review/harness/workflow/completion-contract.yaml +63 -43
- package/review/harness/workflow/skill-io-contract.yaml +166 -150
- package/review/harness/workflow/skill-quality-standards.yaml +57 -0
- package/review/harness/workflow/stage-contracts.yaml +4 -2
- package/smoke/SKILL.md +27 -1
- package/smoke/harness/README.md +8 -97
- package/smoke/harness/THIS_SKILL.md +66 -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 +33 -0
- package/smoke/harness/constraints/issue-taxonomy.md +23 -12
- package/smoke/harness/constraints/skill-role-contract.md +89 -0
- package/smoke/harness/constraints/source-of-truth.md +16 -2
- package/smoke/harness/workflow/completion-contract.yaml +63 -43
- package/smoke/harness/workflow/skill-io-contract.yaml +163 -150
- package/smoke/harness/workflow/skill-quality-standards.yaml +57 -0
- package/smoke/harness/workflow/stage-contracts.yaml +4 -2
- package/spec/SKILL.md +34 -5
- package/spec/harness/README.md +8 -97
- package/spec/harness/THIS_SKILL.md +70 -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 +33 -0
- package/spec/harness/constraints/issue-taxonomy.md +23 -12
- package/spec/harness/constraints/skill-role-contract.md +89 -0
- package/spec/harness/constraints/source-of-truth.md +16 -2
- package/spec/harness/workflow/completion-contract.yaml +63 -43
- package/spec/harness/workflow/skill-io-contract.yaml +162 -150
- package/spec/harness/workflow/skill-quality-standards.yaml +59 -0
- package/spec/harness/workflow/stage-contracts.yaml +4 -2
- package/task/SKILL.md +27 -1
- package/task/harness/README.md +8 -97
- package/task/harness/THIS_SKILL.md +69 -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 +33 -0
- package/task/harness/constraints/issue-taxonomy.md +23 -12
- package/task/harness/constraints/skill-role-contract.md +89 -0
- package/task/harness/constraints/source-of-truth.md +16 -2
- package/task/harness/workflow/completion-contract.yaml +63 -43
- package/task/harness/workflow/skill-io-contract.yaml +162 -150
- package/task/harness/workflow/skill-quality-standards.yaml +61 -0
- package/task/harness/workflow/stage-contracts.yaml +4 -2
- package/verify/SKILL.md +27 -1
- package/verify/harness/README.md +8 -97
- package/verify/harness/THIS_SKILL.md +66 -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 +33 -0
- package/verify/harness/constraints/issue-taxonomy.md +23 -12
- package/verify/harness/constraints/skill-role-contract.md +89 -0
- package/verify/harness/constraints/source-of-truth.md +16 -2
- package/verify/harness/workflow/completion-contract.yaml +63 -43
- package/verify/harness/workflow/skill-io-contract.yaml +163 -150
- package/verify/harness/workflow/skill-quality-standards.yaml +54 -0
- package/verify/harness/workflow/stage-contracts.yaml +4 -2
- package/zsk/SKILL.md +137 -0
- package/zsk/harness/README.md +15 -0
- package/zsk/harness/THIS_SKILL.md +122 -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 +33 -0
- package/zsk/harness/constraints/issue-taxonomy.md +98 -0
- package/zsk/harness/constraints/skill-role-contract.md +89 -0
- package/zsk/harness/constraints/source-of-truth.md +33 -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 +122 -0
- package/zsk/harness/workflow/skill-io-contract.yaml +182 -0
- package/zsk/harness/workflow/skill-quality-standards.yaml +41 -0
- package/zsk/harness/workflow/stage-contracts.yaml +55 -0
- package/zsk/harness/workflow/state-machine.yaml +65 -0
- package/zskplan/SKILL.md +131 -0
- package/zskplan/harness/README.md +15 -0
- package/zskplan/harness/THIS_SKILL.md +123 -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 +33 -0
- package/zskplan/harness/constraints/issue-taxonomy.md +98 -0
- package/zskplan/harness/constraints/skill-role-contract.md +89 -0
- package/zskplan/harness/constraints/source-of-truth.md +33 -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 +122 -0
- package/zskplan/harness/workflow/skill-io-contract.yaml +180 -0
- package/zskplan/harness/workflow/skill-quality-standards.yaml +41 -0
- package/zskplan/harness/workflow/stage-contracts.yaml +55 -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/raws/`、`.zsk/modules/`、`.zsk/issues/`、`.zsk/evidence/`、`.zsk/playwright/` 和 `.zsk/plans/` 是默认项目上下文。CLI 负责创建最小骨架、使用 package-owned schema 校验、刷新 `.zsk/raws/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/raws`、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
|
@@ -13,6 +13,26 @@ category: stage
|
|
|
13
13
|
tier: core
|
|
14
14
|
triggers:
|
|
15
15
|
- acceptance
|
|
16
|
+
useWhen:
|
|
17
|
+
- "Use when the workflow is ready for this responsibility: After independent
|
|
18
|
+
verify passes, records accept/reject decision, linked evidence, and
|
|
19
|
+
residual-risk owner."
|
|
20
|
+
- Use when the user invokes zsk:acceptance or asks for acceptance outputs
|
|
21
|
+
after prerequisites are present.
|
|
22
|
+
doNotUseWhen:
|
|
23
|
+
- Do not use when required inputs, prior-stage evidence, or configured sources
|
|
24
|
+
for acceptance are missing.
|
|
25
|
+
- Do not use to bypass stage gates, perform another skill's responsibility, or
|
|
26
|
+
make unsupported completion claims.
|
|
27
|
+
positiveExamples:
|
|
28
|
+
- Run zsk:acceptance with the required inputs and produce the documented
|
|
29
|
+
acceptance artifacts.
|
|
30
|
+
- Continue the workflow at acceptance after the prerequisite evidence and
|
|
31
|
+
blockers are resolved.
|
|
32
|
+
negativeExamples:
|
|
33
|
+
- Use zsk:acceptance to skip missing prerequisites or hide unresolved blockers.
|
|
34
|
+
- Run acceptance for generic chat, unrelated implementation, or another ZSK
|
|
35
|
+
stage's work.
|
|
16
36
|
---
|
|
17
37
|
|
|
18
38
|
# Acceptance
|
|
@@ -40,7 +60,7 @@ Use this stage after independent `verify` has passed and the product/business ow
|
|
|
40
60
|
- Do not accept work with missing verify evidence.
|
|
41
61
|
- Do not hide product disagreement as a minor issue.
|
|
42
62
|
- 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.
|
|
63
|
+
- 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
64
|
- Keep the decision short, dated, and evidence-linked.
|
|
45
65
|
|
|
46
66
|
## Outputs
|
|
@@ -58,14 +78,20 @@ This core skill is governed by the ZSK harness. Enforce these rules even when on
|
|
|
58
78
|
- Evidence rules: no PASS / DONE / READY claim without linked command, artifact, issue, scenario, or human decision evidence.
|
|
59
79
|
- Source of truth: read configured resources before inventing intent; record conflicts instead of choosing silently.
|
|
60
80
|
- Issue taxonomy: route demo, smoke, review, test, verify, and acceptance findings to the correct issue type.
|
|
81
|
+
- Skill role: execute the full expert role, including all relevant lanes; partial single-angle execution is a failing result.
|
|
82
|
+
- 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.
|
|
83
|
+
- Filesystem boundaries: write ZSK-managed outputs only under the configured `.zsk` workspace paths.
|
|
61
84
|
- Learning loop: reusable gaps become learning proposals; never mutate core constraints, templates, packs, or skills automatically.
|
|
62
85
|
|
|
63
86
|
When a `harness/` directory is installed beside this file, treat it as the local contract source:
|
|
64
87
|
|
|
65
88
|
- Read `harness/THIS_SKILL.md` before executing this skill.
|
|
66
89
|
- Read `harness/workflow/skill-io-contract.yaml` for this skill's required inputs, outputs, tools, and capabilities.
|
|
90
|
+
- Read `harness/workflow/skill-quality-standards.yaml` for this skill's document mode, must-answer questions, quality checkpoints, and anti-patterns.
|
|
67
91
|
- Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
|
|
92
|
+
- Read `harness/constraints/skill-role-contract.md` before planning or reviewing expert work.
|
|
93
|
+
- Read `harness/constraints/filesystem-boundaries.md` before creating any project artifact.
|
|
68
94
|
- Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
|
|
69
95
|
- Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
|
|
70
|
-
-
|
|
96
|
+
- 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.
|
|
71
97
|
|
|
@@ -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,79 @@ 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
|
+
## Document Quality Standard
|
|
39
|
+
|
|
40
|
+
- Document mode: `decisionRecord`
|
|
41
|
+
- Purpose: Record the accept/reject business decision and residual-risk ownership.
|
|
42
|
+
|
|
43
|
+
## Must Answer
|
|
44
|
+
|
|
45
|
+
- Is the verified work accepted, rejected, or conditionally accepted?
|
|
46
|
+
- Which evidence and issues support the decision?
|
|
47
|
+
- Who owns residual risks and documentation feedback?
|
|
48
|
+
|
|
49
|
+
## Quality Checkpoints
|
|
50
|
+
|
|
51
|
+
- Names the reader, stage, scope, and stop condition.
|
|
52
|
+
- Separates facts, decisions, assumptions, open questions, and evidence.
|
|
53
|
+
- Links each important claim to a source artifact, command output, issue, scenario, or human decision.
|
|
54
|
+
- States what is out of scope so later stages do not silently expand work.
|
|
55
|
+
- Makes the next stage executable without requiring hidden context from chat.
|
|
56
|
+
- Links verify report, demo evidence, accepted criteria, and residual risks.
|
|
57
|
+
- Records documentation feedback or no-update rationale for confirmed learnings.
|
|
58
|
+
|
|
59
|
+
## Related Best-Practice Concerns
|
|
60
|
+
|
|
61
|
+
- `SDLC traceability`
|
|
62
|
+
- `quality evidence`
|
|
63
|
+
- `system constraints`
|
|
64
|
+
- `dynamic state awareness`
|
|
65
|
+
|
|
66
|
+
## Bundled Related Reference Files
|
|
67
|
+
|
|
68
|
+
- `best-practices/sdlc.md`
|
|
69
|
+
- `best-practices/quality.md`
|
|
70
|
+
|
|
71
|
+
## Forbidden Scope
|
|
72
|
+
|
|
73
|
+
- `creating ZSK-managed artifacts outside `.zsk` workspace paths`
|
|
74
|
+
- `claiming completion without evidence`
|
|
75
|
+
- `silently skipping required inputs or expert lanes`
|
|
76
|
+
- `mutating core harness/templates/skills without a learning proposal and review`
|
|
77
|
+
|
|
78
|
+
## Document Anti-Patterns
|
|
79
|
+
|
|
80
|
+
- Template-shaped filler that does not resolve a decision.
|
|
81
|
+
- Untraceable claims such as 'should work', 'best practice', or 'user friendly' without evidence or criteria.
|
|
82
|
+
- Mixing raw source facts, decisions, runtime evidence, and tasks in one undifferentiated section.
|
|
83
|
+
- Skipping unresolved contradictions instead of recording a blocker, risk, or question.
|
|
84
|
+
- Optimizing wording while leaving acceptance, evidence, ownership, or next action ambiguous.
|
|
85
|
+
- Accepting without verification evidence.
|
|
86
|
+
- Letting residual risks remain ownerless.
|
|
87
|
+
|
|
31
88
|
## Must Read Before Acting
|
|
32
89
|
|
|
33
90
|
- `profiles/*.yaml` to apply the active workflow profile before enforcing optional gates.
|
|
34
91
|
- `workflow/skill-io-contract.yaml` for the full machine-readable contract.
|
|
35
92
|
- `workflow/state-machine.yaml` before moving to another stage.
|
|
93
|
+
- `constraints/skill-role-contract.md` before planning or reviewing expert work.
|
|
94
|
+
- `constraints/filesystem-boundaries.md` before creating any project artifact.
|
|
36
95
|
- `constraints/stage-gates.md` before accepting or skipping prerequisites.
|
|
37
96
|
- `constraints/evidence-rules.md` before claiming READY / PASS / DONE.
|
|
38
97
|
- `workflow/completion-contract.yaml` before final response or handoff.
|
|
39
98
|
- `constraints/issue-taxonomy.md` before creating defects, blockers, risks, or questions.
|
|
40
|
-
- `best-practices/sdlc.md`
|
|
41
|
-
- `best-practices/quality.md`
|
|
42
|
-
-
|
|
99
|
+
- `best-practices/sdlc.md` when its domain is touched by this task.
|
|
100
|
+
- `best-practices/quality.md` when its domain is touched by this task.
|
|
101
|
+
- Dynamic state awareness before role work: identify the stage, role, project type, stack, runtime tools, domain, target users/market, freshness-sensitive decisions, and missing evidence.
|
|
102
|
+
- Local-first best practices and facts: use configured sources, raw manifests, bundled references, local package docs/types, lockfiles, and existing project conventions when they are sufficient and current.
|
|
103
|
+
- Context7/web fallback 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.
|
|
43
104
|
|
|
44
105
|
## Hard Stops
|
|
45
106
|
|
|
@@ -48,6 +109,7 @@ This file is generated for the installed skill. Read it before executing this sk
|
|
|
48
109
|
- Evidence cannot be linked to command output, artifact, issue, scenario, or human decision.
|
|
49
110
|
- The fix would widen scope beyond this skill's responsibility.
|
|
50
111
|
- A blocker, risk, question, or defect needs persistent tracking.
|
|
112
|
+
- The skill can only complete one convenient lane while other required expert lanes remain unchecked.
|
|
51
113
|
|
|
52
114
|
## Completion Checklist
|
|
53
115
|
|
|
@@ -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
|
+
Use these local references first when they are sufficient and current. If they are missing, incomplete, stale, too generic, version-sensitive, market-sensitive, or not matched to the active role/stage, use dynamic state awareness to choose the smallest useful retrieval path: Context7 MCP for library/framework guidance when available, official/current web references for technical facts, and authoritative current sources for product/market research. Record source links, source dates when relevant, and 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,33 @@
|
|
|
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/raws/`: raw external source snapshots, manifests, imported test cases, market/product research sources, and design/API assets.
|
|
9
|
+
- `.zsk/modules/{module}/_issues/`: module-private managed issue records and indexes, created on demand.
|
|
10
|
+
- `.zsk/modules/{module}/_evidence/`: module-private reusable runtime or research evidence, created on demand.
|
|
11
|
+
- `.zsk/modules/{module}/_playwright/`: module-specific Playwright specs, test plans, auth state, execution records, reports, and results, created on demand.
|
|
12
|
+
- `.zsk/issues/`, `.zsk/evidence/`, `.zsk/playwright/`: shared/global artifacts only, created on demand when the asset is intentionally cross-module.
|
|
13
|
+
- `.zsk/learning/proposals/`: reusable improvement proposals and learning records, created lazily only when learn/archive writes an actual proposal.
|
|
14
|
+
- `skills/{slug}/`: zsk source skill directories.
|
|
15
|
+
- `harness/`: zsk source governance contracts.
|
|
16
|
+
|
|
17
|
+
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.
|
|
18
|
+
|
|
19
|
+
## Scope Routing Rule
|
|
20
|
+
|
|
21
|
+
Before any skill writes an artifact, classify its scope:
|
|
22
|
+
|
|
23
|
+
| Scope | Meaning | Default target |
|
|
24
|
+
| --- | --- | --- |
|
|
25
|
+
| module-final | Formal stage output for one module | `.zsk/modules/{module}/` |
|
|
26
|
+
| module-private | Working, runtime, evidence, issue, or generated artifact for one module | `.zsk/modules/{module}/_{kind}/` |
|
|
27
|
+
| shared | Reused by multiple modules but not public-facing | `.zsk/{kind}/shared/` or the configured shared root |
|
|
28
|
+
| global | Project-wide artifact with no owning module | `.zsk/{kind}/global/` or `.zsk/docs/` for formal docs |
|
|
29
|
+
| public | Intentionally publishable/exportable artifact | `.zsk/{kind}/public/` until explicitly exported |
|
|
30
|
+
|
|
31
|
+
This rule applies to every underscore module directory, not only `_issues`. For example, module-local issues go to `_issues`, module-local runtime evidence goes to `_evidence`, and module-local Playwright specs/auth/results go to `_playwright`. Use outer `.zsk/issues`, `.zsk/evidence`, or `.zsk/playwright` only after deciding the artifact is shared, global, or public. When scope is ambiguous, prefer module-private and record the reason or blocker before promoting outward.
|
|
32
|
+
|
|
33
|
+
The skill that produces the final artifact for a module stage writes the formal report to `.zsk/modules/{module}/{stage}.md`. Supporting artifacts stay in the appropriate `_issues`, `_evidence`, or `_playwright` directory unless they are deliberately shared/global/public.
|
|
@@ -2,28 +2,39 @@
|
|
|
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
|
|
5
|
+
Issue records are persistent tracking artifacts. Module-specific findings default to the module-private `.zsk/modules/{module}/_issues/` directory. Use the configured issue root from `.zsk/config.yaml` `paths.issues` only for shared/global or intentionally cross-module issues; the default shared root is `.zsk/issues/`. Do not keep actionable findings only in chat, transient task notes, or demo reports.
|
|
6
|
+
|
|
7
|
+
Issue placement must follow the same scope routing rule as every other underscore artifact:
|
|
8
|
+
|
|
9
|
+
| Issue scope | Use when | Directory |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| module | One module owns the finding, fix, and verification | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` |
|
|
12
|
+
| shared | Multiple modules reuse the same issue, fixture, dependency, or evidence chain | `.zsk/issues/shared/{prefix}-0001-slug/` |
|
|
13
|
+
| global | Project/process/release/harness issue has no single owning module | `.zsk/issues/global/{prefix}-0001-slug/` |
|
|
14
|
+
| public | Issue is intentionally publishable or external-facing | `.zsk/issues/public/{prefix}-0001-slug/` |
|
|
15
|
+
|
|
16
|
+
When an issue starts shared/global/public and later gets assigned to one module, move or link it into that module's `_issues` directory and leave a backlink in the outer issue record. When a module issue becomes cross-module, promote it to the appropriate outer scope and leave a backlink in the original module issue.
|
|
6
17
|
|
|
7
18
|
Indexes are part of the contract:
|
|
8
19
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
20
|
+
- `.zsk/modules/{module}/_issues/index.md` tracks every issue for that module and its status.
|
|
21
|
+
- `.zsk/issues/index.md` tracks each module and total/open/closed issue counts across module-private and shared issues.
|
|
11
22
|
- Creating or updating an issue must refresh both indexes.
|
|
12
23
|
|
|
13
24
|
## Types
|
|
14
25
|
|
|
15
26
|
| Type | Concrete Issue Directory | Prefix | Typical Source |
|
|
16
27
|
| --- | --- | --- | --- |
|
|
17
|
-
| Demo Issue | `.
|
|
18
|
-
| Smoke Issue | `.
|
|
19
|
-
| Review Issue | `.
|
|
20
|
-
| Defect | `.
|
|
21
|
-
| Verify Issue | `.
|
|
22
|
-
| Acceptance Issue | `.
|
|
28
|
+
| Demo Issue | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` | `DEMO` | Development demo |
|
|
29
|
+
| Smoke Issue | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` | `SMOKE` | Developer smoke |
|
|
30
|
+
| Review Issue | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` | `REV` | Code/design review |
|
|
31
|
+
| Defect | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` | `DEFECT` | Formal QA |
|
|
32
|
+
| Verify Issue | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` | `VER` | Fix verification |
|
|
33
|
+
| Acceptance Issue | `.zsk/modules/{module}/_issues/{prefix}-0001-slug/` | `ACC` | Business/product acceptance |
|
|
23
34
|
|
|
24
|
-
Stage directories such as
|
|
35
|
+
Stage directories such as `.zsk/modules/{module}/_issues/demo/index.md` may exist as stage views or evidence buckets. They are not the authoritative status indexes.
|
|
25
36
|
|
|
26
|
-
If `paths.issues` is customized,
|
|
37
|
+
If `paths.issues` is customized, it must still stay under `.zsk/` and is reserved for shared/global or cross-module issue records. Module-private issue paths remain under `.zsk/modules/{module}/_issues/`.
|
|
27
38
|
|
|
28
39
|
## Required Fields
|
|
29
40
|
|
|
@@ -79,7 +90,7 @@ Every actionable issue should record:
|
|
|
79
90
|
|
|
80
91
|
## Closure And Feedback Loop
|
|
81
92
|
|
|
82
|
-
1. Create or update
|
|
93
|
+
1. Create or update module-specific issues under `.zsk/modules/{module}/_issues/` as soon as the finding is actionable, using the type and prefix fields to preserve taxonomy.
|
|
83
94
|
2. Fix and verify the issue with linked evidence.
|
|
84
95
|
3. Wait for user/product confirmation when the outcome changes behavior, business flow, or acceptance semantics.
|
|
85
96
|
4. After confirmation, update the relevant spec/design/task docs for anything the original artifacts did not cover or described too weakly.
|