@captain_z/zsk-skills 1.8.11 → 1.9.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/package.json +1 -1
- package/zsk/SKILL.md +8 -4
- package/zsk/TEMPLATES.md +460 -0
- package/zsk/harness/POLICY.md +1 -1
- package/zsk/harness/THIS_SKILL.md +2 -2
- package/zsk/harness/best-practices/quality.md +5 -0
- package/zsk/harness/constraints/skill-role-contract.md +59 -29
- package/zsk/harness/constraints/stage-gates.md +4 -3
- package/zsk/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk/harness/contracts/work-management.yaml +5 -5
- package/zsk/harness/profiles/frontend.yaml +69 -6
- package/zsk/harness/workflow/completion-contract.yaml +18 -0
- package/zsk/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-acceptance/SKILL.md +2 -1
- package/zsk-acceptance/TEMPLATES.md +243 -0
- package/zsk-acceptance/harness/POLICY.md +1 -1
- package/zsk-acceptance/harness/THIS_SKILL.md +2 -2
- package/zsk-acceptance/harness/best-practices/quality.md +5 -0
- package/zsk-acceptance/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-acceptance/harness/constraints/stage-gates.md +4 -3
- package/zsk-acceptance/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-acceptance/harness/contracts/work-management.yaml +5 -5
- package/zsk-acceptance/harness/profiles/frontend.yaml +69 -6
- package/zsk-acceptance/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-acceptance/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-acceptance/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-acceptance/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-archive/SKILL.md +2 -1
- package/zsk-archive/TEMPLATES.md +243 -0
- package/zsk-archive/harness/POLICY.md +1 -1
- package/zsk-archive/harness/THIS_SKILL.md +2 -2
- package/zsk-archive/harness/best-practices/quality.md +5 -0
- package/zsk-archive/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-archive/harness/constraints/stage-gates.md +4 -3
- package/zsk-archive/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-archive/harness/contracts/work-management.yaml +5 -5
- package/zsk-archive/harness/profiles/frontend.yaml +69 -6
- package/zsk-archive/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-archive/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-archive/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-archive/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-check/SKILL.md +2 -1
- package/zsk-check/TEMPLATES.md +381 -0
- package/zsk-check/harness/POLICY.md +1 -1
- package/zsk-check/harness/THIS_SKILL.md +2 -2
- package/zsk-check/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-check/harness/constraints/stage-gates.md +4 -3
- package/zsk-check/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-check/harness/contracts/work-management.yaml +5 -5
- package/zsk-check/harness/profiles/frontend.yaml +69 -6
- package/zsk-check/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-check/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-check/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-check/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-coding/SKILL.md +22 -11
- package/zsk-coding/TEMPLATES.md +321 -0
- package/zsk-coding/harness/POLICY.md +1 -1
- package/zsk-coding/harness/THIS_SKILL.md +16 -11
- package/zsk-coding/harness/best-practices/quality.md +5 -0
- package/zsk-coding/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-coding/harness/constraints/stage-gates.md +4 -3
- package/zsk-coding/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-coding/harness/contracts/work-management.yaml +5 -5
- package/zsk-coding/harness/profiles/frontend.yaml +69 -6
- package/zsk-coding/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-coding/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-coding/harness/workflow/skill-quality-standards.yaml +29 -14
- package/zsk-coding/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-commit/SKILL.md +8 -2
- package/zsk-commit/TEMPLATES.md +119 -0
- package/zsk-commit/harness/POLICY.md +1 -1
- package/zsk-commit/harness/THIS_SKILL.md +2 -2
- package/zsk-commit/harness/best-practices/quality.md +5 -0
- package/zsk-commit/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-commit/harness/constraints/stage-gates.md +4 -3
- package/zsk-commit/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-commit/harness/contracts/work-management.yaml +5 -5
- package/zsk-commit/harness/profiles/frontend.yaml +69 -6
- package/zsk-commit/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-commit/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-commit/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-commit/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-defect/SKILL.md +2 -1
- package/zsk-defect/TEMPLATES.md +317 -0
- package/zsk-defect/harness/POLICY.md +1 -1
- package/zsk-defect/harness/THIS_SKILL.md +2 -2
- package/zsk-defect/harness/best-practices/frontend.md +38 -7
- package/zsk-defect/harness/best-practices/quality.md +5 -0
- package/zsk-defect/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-defect/harness/constraints/stage-gates.md +4 -3
- package/zsk-defect/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-defect/harness/contracts/work-management.yaml +5 -5
- package/zsk-defect/harness/profiles/frontend.yaml +69 -6
- package/zsk-defect/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-defect/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-defect/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-defect/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-demo/SKILL.md +43 -4
- package/zsk-demo/TEMPLATES.md +685 -0
- package/zsk-demo/harness/POLICY.md +1 -1
- package/zsk-demo/harness/THIS_SKILL.md +9 -6
- package/zsk-demo/harness/best-practices/design-handoff.md +80 -3
- package/zsk-demo/harness/best-practices/frontend.md +38 -7
- package/zsk-demo/harness/best-practices/quality.md +5 -0
- package/zsk-demo/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-demo/harness/constraints/stage-gates.md +4 -3
- package/zsk-demo/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-demo/harness/contracts/work-management.yaml +5 -5
- package/zsk-demo/harness/profiles/frontend.yaml +69 -6
- package/zsk-demo/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-demo/harness/workflow/skill-io-contract.yaml +28 -6
- package/zsk-demo/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-demo/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-deploy/SKILL.md +2 -1
- package/zsk-deploy/TEMPLATES.md +246 -0
- package/zsk-deploy/harness/POLICY.md +1 -1
- package/zsk-deploy/harness/THIS_SKILL.md +2 -2
- package/zsk-deploy/harness/best-practices/quality.md +5 -0
- package/zsk-deploy/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-deploy/harness/constraints/stage-gates.md +4 -3
- package/zsk-deploy/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-deploy/harness/contracts/work-management.yaml +5 -5
- package/zsk-deploy/harness/profiles/frontend.yaml +69 -6
- package/zsk-deploy/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-deploy/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-deploy/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-deploy/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-design/SKILL.md +63 -4
- package/zsk-design/TEMPLATES.md +697 -0
- package/zsk-design/harness/POLICY.md +1 -1
- package/zsk-design/harness/THIS_SKILL.md +8 -4
- package/zsk-design/harness/best-practices/frontend.md +38 -7
- package/zsk-design/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-design/harness/constraints/stage-gates.md +4 -3
- package/zsk-design/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-design/harness/contracts/work-management.yaml +5 -5
- package/zsk-design/harness/profiles/frontend.yaml +69 -6
- package/zsk-design/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-design/harness/workflow/skill-io-contract.yaml +26 -6
- package/zsk-design/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-design/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-dispatch/SKILL.md +2 -1
- package/zsk-dispatch/TEMPLATES.md +462 -0
- package/zsk-dispatch/harness/POLICY.md +1 -1
- package/zsk-dispatch/harness/THIS_SKILL.md +2 -2
- package/zsk-dispatch/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-dispatch/harness/constraints/stage-gates.md +4 -3
- package/zsk-dispatch/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-dispatch/harness/contracts/work-management.yaml +5 -5
- package/zsk-dispatch/harness/profiles/frontend.yaml +69 -6
- package/zsk-dispatch/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-dispatch/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-dispatch/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-dispatch/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-fix/SKILL.md +2 -1
- package/zsk-fix/TEMPLATES.md +375 -0
- package/zsk-fix/harness/POLICY.md +1 -1
- package/zsk-fix/harness/THIS_SKILL.md +2 -2
- package/zsk-fix/harness/best-practices/quality.md +5 -0
- package/zsk-fix/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-fix/harness/constraints/stage-gates.md +4 -3
- package/zsk-fix/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-fix/harness/contracts/work-management.yaml +5 -5
- package/zsk-fix/harness/profiles/frontend.yaml +69 -6
- package/zsk-fix/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-fix/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-fix/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-fix/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-flow/SKILL.md +2 -1
- package/zsk-flow/TEMPLATES.md +324 -0
- package/zsk-flow/harness/POLICY.md +1 -1
- package/zsk-flow/harness/THIS_SKILL.md +2 -2
- package/zsk-flow/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-flow/harness/constraints/stage-gates.md +4 -3
- package/zsk-flow/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-flow/harness/contracts/work-management.yaml +5 -5
- package/zsk-flow/harness/profiles/frontend.yaml +69 -6
- package/zsk-flow/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-flow/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-flow/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-flow/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-health/SKILL.md +2 -1
- package/zsk-health/TEMPLATES.md +462 -0
- package/zsk-health/harness/POLICY.md +1 -1
- package/zsk-health/harness/THIS_SKILL.md +2 -2
- package/zsk-health/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-health/harness/constraints/stage-gates.md +4 -3
- package/zsk-health/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-health/harness/contracts/work-management.yaml +5 -5
- package/zsk-health/harness/profiles/frontend.yaml +69 -6
- package/zsk-health/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-health/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-health/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-health/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-issue/SKILL.md +2 -1
- package/zsk-issue/TEMPLATES.md +377 -0
- package/zsk-issue/harness/POLICY.md +1 -1
- package/zsk-issue/harness/THIS_SKILL.md +2 -2
- package/zsk-issue/harness/best-practices/quality.md +5 -0
- package/zsk-issue/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-issue/harness/constraints/stage-gates.md +4 -3
- package/zsk-issue/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-issue/harness/contracts/work-management.yaml +5 -5
- package/zsk-issue/harness/profiles/frontend.yaml +69 -6
- package/zsk-issue/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-issue/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-issue/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-issue/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-learn/SKILL.md +2 -1
- package/zsk-learn/TEMPLATES.md +372 -0
- package/zsk-learn/harness/POLICY.md +1 -1
- package/zsk-learn/harness/THIS_SKILL.md +2 -2
- package/zsk-learn/harness/best-practices/quality.md +5 -0
- package/zsk-learn/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-learn/harness/constraints/stage-gates.md +4 -3
- package/zsk-learn/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-learn/harness/contracts/work-management.yaml +5 -5
- package/zsk-learn/harness/profiles/frontend.yaml +69 -6
- package/zsk-learn/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-learn/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-learn/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-learn/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-prepare/SKILL.md +22 -5
- package/zsk-prepare/TEMPLATES.md +630 -0
- package/zsk-prepare/harness/POLICY.md +1 -1
- package/zsk-prepare/harness/THIS_SKILL.md +7 -5
- package/zsk-prepare/harness/best-practices/project-constraints-template.md +1 -1
- package/zsk-prepare/harness/best-practices/quality.md +5 -0
- package/zsk-prepare/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-prepare/harness/constraints/stage-gates.md +4 -3
- package/zsk-prepare/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-prepare/harness/contracts/work-management.yaml +5 -5
- package/zsk-prepare/harness/profiles/frontend.yaml +69 -6
- package/zsk-prepare/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-prepare/harness/workflow/skill-io-contract.yaml +27 -7
- package/zsk-prepare/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-prepare/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-preproposal/SKILL.md +39 -3
- package/zsk-preproposal/TEMPLATES.md +1385 -0
- package/zsk-preproposal/harness/POLICY.md +1 -1
- package/zsk-preproposal/harness/THIS_SKILL.md +6 -5
- package/zsk-preproposal/harness/best-practices/design-handoff.md +80 -3
- package/zsk-preproposal/harness/best-practices/project-constraints-template.md +1 -1
- package/zsk-preproposal/harness/best-practices/quality.md +5 -0
- package/zsk-preproposal/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-preproposal/harness/constraints/stage-gates.md +4 -3
- package/zsk-preproposal/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-preproposal/harness/contracts/work-management.yaml +5 -5
- package/zsk-preproposal/harness/profiles/frontend.yaml +69 -6
- package/zsk-preproposal/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-preproposal/harness/workflow/skill-io-contract.yaml +25 -7
- package/zsk-preproposal/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-preproposal/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-proposal/SKILL.md +10 -2
- package/zsk-proposal/TEMPLATES.md +619 -0
- package/zsk-proposal/harness/POLICY.md +1 -1
- package/zsk-proposal/harness/THIS_SKILL.md +2 -2
- package/zsk-proposal/harness/best-practices/project-constraints-template.md +1 -1
- package/zsk-proposal/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-proposal/harness/constraints/stage-gates.md +4 -3
- package/zsk-proposal/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-proposal/harness/contracts/work-management.yaml +5 -5
- package/zsk-proposal/harness/profiles/frontend.yaml +69 -6
- package/zsk-proposal/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-proposal/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-proposal/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-proposal/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-ready/SKILL.md +2 -1
- package/zsk-ready/TEMPLATES.md +233 -0
- package/zsk-ready/harness/POLICY.md +1 -1
- package/zsk-ready/harness/THIS_SKILL.md +2 -2
- package/zsk-ready/harness/best-practices/quality.md +5 -0
- package/zsk-ready/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-ready/harness/constraints/stage-gates.md +4 -3
- package/zsk-ready/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-ready/harness/contracts/work-management.yaml +5 -5
- package/zsk-ready/harness/profiles/frontend.yaml +69 -6
- package/zsk-ready/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-ready/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-ready/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-ready/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-review/SKILL.md +3 -2
- package/zsk-review/TEMPLATES.md +392 -0
- package/zsk-review/harness/POLICY.md +1 -1
- package/zsk-review/harness/THIS_SKILL.md +2 -2
- package/zsk-review/harness/best-practices/frontend.md +38 -7
- package/zsk-review/harness/best-practices/quality.md +5 -0
- package/zsk-review/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-review/harness/constraints/stage-gates.md +4 -3
- package/zsk-review/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-review/harness/contracts/work-management.yaml +5 -5
- package/zsk-review/harness/profiles/frontend.yaml +69 -6
- package/zsk-review/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-review/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-review/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-review/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-smoke/SKILL.md +2 -1
- package/zsk-smoke/TEMPLATES.md +256 -0
- package/zsk-smoke/harness/POLICY.md +1 -1
- package/zsk-smoke/harness/THIS_SKILL.md +2 -2
- package/zsk-smoke/harness/best-practices/frontend.md +38 -7
- package/zsk-smoke/harness/best-practices/quality.md +5 -0
- package/zsk-smoke/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-smoke/harness/constraints/stage-gates.md +4 -3
- package/zsk-smoke/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-smoke/harness/contracts/work-management.yaml +5 -5
- package/zsk-smoke/harness/profiles/frontend.yaml +69 -6
- package/zsk-smoke/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-smoke/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-smoke/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-smoke/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-spec/SKILL.md +11 -6
- package/zsk-spec/TEMPLATES.md +173 -0
- package/zsk-spec/harness/POLICY.md +1 -1
- package/zsk-spec/harness/THIS_SKILL.md +2 -2
- package/zsk-spec/harness/best-practices/project-constraints-template.md +1 -1
- package/zsk-spec/harness/best-practices/quality.md +5 -0
- package/zsk-spec/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-spec/harness/constraints/stage-gates.md +4 -3
- package/zsk-spec/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-spec/harness/contracts/work-management.yaml +5 -5
- package/zsk-spec/harness/profiles/frontend.yaml +69 -6
- package/zsk-spec/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-spec/harness/workflow/skill-io-contract.yaml +22 -6
- package/zsk-spec/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-spec/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-task/SKILL.md +110 -29
- package/zsk-task/TEMPLATES.md +826 -0
- package/zsk-task/harness/POLICY.md +1 -1
- package/zsk-task/harness/THIS_SKILL.md +21 -18
- package/zsk-task/harness/best-practices/project-constraints-template.md +1 -1
- package/zsk-task/harness/best-practices/quality.md +5 -0
- package/zsk-task/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-task/harness/constraints/stage-gates.md +4 -3
- package/zsk-task/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-task/harness/contracts/work-management.yaml +5 -5
- package/zsk-task/harness/profiles/frontend.yaml +69 -6
- package/zsk-task/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-task/harness/workflow/skill-io-contract.yaml +26 -7
- package/zsk-task/harness/workflow/skill-quality-standards.yaml +24 -19
- package/zsk-task/harness/workflow/stage-contracts.yaml +9 -7
- package/zsk-verify/SKILL.md +68 -6
- package/zsk-verify/TEMPLATES.md +718 -0
- package/zsk-verify/harness/POLICY.md +1 -1
- package/zsk-verify/harness/THIS_SKILL.md +14 -5
- package/zsk-verify/harness/best-practices/frontend.md +38 -7
- package/zsk-verify/harness/best-practices/quality.md +5 -0
- package/zsk-verify/harness/constraints/skill-role-contract.md +59 -29
- package/zsk-verify/harness/constraints/stage-gates.md +4 -3
- package/zsk-verify/harness/contracts/profile-strategy.yaml +16 -5
- package/zsk-verify/harness/contracts/work-management.yaml +5 -5
- package/zsk-verify/harness/profiles/frontend.yaml +69 -6
- package/zsk-verify/harness/workflow/completion-contract.yaml +18 -0
- package/zsk-verify/harness/workflow/skill-io-contract.yaml +33 -6
- package/zsk-verify/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zsk-verify/harness/workflow/stage-contracts.yaml +9 -7
- package/zskplan/SKILL.md +2 -1
- package/zskplan/TEMPLATES.md +854 -0
- package/zskplan/harness/POLICY.md +1 -1
- package/zskplan/harness/THIS_SKILL.md +2 -2
- package/zskplan/harness/best-practices/quality.md +5 -0
- package/zskplan/harness/constraints/skill-role-contract.md +59 -29
- package/zskplan/harness/constraints/stage-gates.md +4 -3
- package/zskplan/harness/contracts/profile-strategy.yaml +16 -5
- package/zskplan/harness/contracts/work-management.yaml +5 -5
- package/zskplan/harness/profiles/frontend.yaml +69 -6
- package/zskplan/harness/workflow/completion-contract.yaml +18 -0
- package/zskplan/harness/workflow/skill-io-contract.yaml +22 -6
- package/zskplan/harness/workflow/skill-quality-standards.yaml +6 -4
- package/zskplan/harness/workflow/stage-contracts.yaml +9 -7
package/package.json
CHANGED
package/zsk/SKILL.md
CHANGED
|
@@ -84,7 +84,10 @@ signals.
|
|
|
84
84
|
downstream until the status is `PASS`, `WAIVED`, or `BLOCKED` with owner,
|
|
85
85
|
impact, and next action.
|
|
86
86
|
9. Execute the selected stage skill without bypassing its inputs, forbidden scope, output paths, hard requirements, triggered conditional requirements, or evidence gate.
|
|
87
|
-
10. For `coding`, enforce
|
|
87
|
+
10. For `coding`, enforce implementation quality loops: prefer one behavior,
|
|
88
|
+
focused RED evidence or tool gap, minimal implementation, focused GREEN
|
|
89
|
+
evidence, then the next behavior; when strict TDD is not practical, require
|
|
90
|
+
a justified equivalent proof before handoff.
|
|
88
91
|
11. Classify every artifact scope before writing: module-final, module-private, shared, global, or public. Store module-local support artifacts under `_issues`, `_evidence`, or `_playwright`; use outer `.zsk/issues`, `.zsk/evidence`, or `.zsk/playwright` only for shared/global/public artifacts.
|
|
89
92
|
12. Store plans, docs, issues, evidence, Playwright specs, auth state, traces, reports, and execution state only in their configured `.zsk` locations.
|
|
90
93
|
13. Run the smallest validation that proves the current claim. For web/UI behavior, prefer module-private Playwright/evidence paths under `.zsk/modules/{module}/_playwright` and `.zsk/modules/{module}/_evidence`.
|
|
@@ -121,7 +124,7 @@ Return:
|
|
|
121
124
|
- `.zsk` artifacts written;
|
|
122
125
|
- evidence commands and results;
|
|
123
126
|
- validation/fix loop iterations;
|
|
124
|
-
- artifact clarity status and per-behavior
|
|
127
|
+
- artifact clarity status and per-behavior implementation quality loops when applicable;
|
|
125
128
|
- issues created or updated;
|
|
126
129
|
- next legal stage or terminal status.
|
|
127
130
|
|
|
@@ -135,7 +138,7 @@ Expert lanes: <completed / blocked>
|
|
|
135
138
|
Artifacts: <.zsk paths>
|
|
136
139
|
Evidence: <commands/artifacts>
|
|
137
140
|
Artifact clarity: <PASS | NEEDS_REPAIR | BLOCKED | WAIVED | N/A>
|
|
138
|
-
|
|
141
|
+
Implementation loops: <per-behavior RED/GREEN/proof/refactor evidence or N/A>
|
|
139
142
|
Issues: <created/updated/none>
|
|
140
143
|
Loop: <iteration count and last fix/verify result>
|
|
141
144
|
Verdict: PASS | FAIL | BLOCKED | CONTINUE
|
|
@@ -249,6 +252,7 @@ Direct mode starts from the user's explicit target. Workflow-only artifacts, app
|
|
|
249
252
|
|
|
250
253
|
Before claiming completion, internally check these items and surface any failure as NEEDS_REPAIR, NEEDS_CLARIFICATION, or BLOCKED. Missing workflow context lowers confidence; it does not block direct mode unless it is also a direct hard input.
|
|
251
254
|
|
|
255
|
+
- If `TEMPLATES.md` exists beside this skill, every anchor matching a declared required output is binding: preserve its skeleton, metadata, heading order, quality check, evidence table, risk ownership, and handoff fields. For non-document outputs, use the template as the mandatory handoff record while still producing the actual code, runtime, issue update, or external action.
|
|
252
256
|
- Every required output is present, explicitly N/A, or blocked with owner, impact, and next action.
|
|
253
257
|
- Every must-answer question is answered from evidence, accepted assumption, or explicit unknown.
|
|
254
258
|
- Hard acceptance rules pass; conditional rules are checked when their trigger is touched.
|
|
@@ -318,7 +322,7 @@ Execution discipline:
|
|
|
318
322
|
- Do not route, sequence, or invoke peer skills from a single-skill run unless the user explicitly asked for a workflow.
|
|
319
323
|
- Treat required inputs as mode-specific: direct single-skill targets may block when missing, while workflow-only gates, signoffs, peer-skill artifacts, validation packets, and anchors are optional context unless a process-level flow, strict profile, or explicit local instruction declares them required.
|
|
320
324
|
- If an actually required input is missing, stale, contradictory, or outside this skill's remit, report BLOCKED or NEEDS_CLARIFICATION with owner, impact, and next action instead of guessing.
|
|
321
|
-
- Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs; use repo-relative
|
|
325
|
+
- Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs. Use `artifact_ref` or output-path-map keys for cross-skill references; use repo-relative paths only when concrete evidence paths are required.
|
|
322
326
|
- Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest Context Record target, or the handoff must record `Context update: N/A` with rationale.
|
|
323
327
|
- Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
|
|
324
328
|
- Learning authority: learning proposals must target the canonical ZSK source repo `.zsk/learning/proposals/`; consuming projects keep experience in archives, docs feedback, or issues and must not create `.zsk/learning/`.
|
package/zsk/TEMPLATES.md
ADDED
|
@@ -0,0 +1,460 @@
|
|
|
1
|
+
<!-- generated-by: tools/generate-skill-templates.ts -->
|
|
2
|
+
# Zsk — Output Templates
|
|
3
|
+
|
|
4
|
+
Mandatory skeletons for the outputs declared in
|
|
5
|
+
`harness/workflow/skill-io-contract.yaml` (`skills.zsk.outputs`):
|
|
6
|
+
`executed-stage`,
|
|
7
|
+
`zsk-artifacts`,
|
|
8
|
+
`expert-lane-results`,
|
|
9
|
+
`validation-evidence`,
|
|
10
|
+
`updated-issues`,
|
|
11
|
+
`next-stage`
|
|
12
|
+
|
|
13
|
+
Authored against `harness/templates/TEMPLATE-STANDARD.md` (zsk source repo).
|
|
14
|
+
This file is self-contained at install time.
|
|
15
|
+
|
|
16
|
+
Authority model: `skill-io-contract.yaml` owns output IDs;
|
|
17
|
+
`completion-contract.yaml` and the workflow graph own artifact resolution;
|
|
18
|
+
`TEMPLATES.md` owns required skeletons; `SOURCE.md` references these anchors.
|
|
19
|
+
|
|
20
|
+
Artifact authority: resolve from workflow graph output-path-map for stage `zsk`
|
|
21
|
+
|
|
22
|
+
Quality basis: this template is ZSK-owned. It synthesizes widely accepted
|
|
23
|
+
delivery practices: source traceability, small reviewable slices, decision
|
|
24
|
+
records, Definition of Ready/Done, risk ownership, verification evidence,
|
|
25
|
+
auditable handoffs, and downstream-consumable contracts. External examples
|
|
26
|
+
are reference inputs only, not the standard answer.
|
|
27
|
+
|
|
28
|
+
For non-document outputs such as implementation, runtime URLs, issue updates,
|
|
29
|
+
or external actions, the skeleton below is the mandatory handoff record; it
|
|
30
|
+
does not replace the actual code, runtime, issue update, or action.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
## executed-stage
|
|
35
|
+
|
|
36
|
+
```markdown
|
|
37
|
+
> requirement: {requirement name or id}
|
|
38
|
+
> artifact_ref: outputs.zsk.executed-stage
|
|
39
|
+
> artifact_index: {workflow output-path-map key or local artifact index id}
|
|
40
|
+
> source_refs: {consumed inputs / sourceRefs / evidenceRefs}
|
|
41
|
+
> generated_at: {YYYY-MM-DD}
|
|
42
|
+
> stage: zsk
|
|
43
|
+
> output: executed-stage
|
|
44
|
+
|
|
45
|
+
## Output Quality Check
|
|
46
|
+
|
|
47
|
+
- status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
|
|
48
|
+
- owner: {owner or role}
|
|
49
|
+
- source_basis: {source artifacts, decisions, assumptions, or 未指定}
|
|
50
|
+
- blocking_items: {none, or issue / missing input / contradiction}
|
|
51
|
+
- next_action: {none, or smallest owner/action/date needed}
|
|
52
|
+
- evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
|
|
53
|
+
- downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
|
|
54
|
+
|
|
55
|
+
## Workflow Decision
|
|
56
|
+
|
|
57
|
+
- Current state: {stage/module/status/evidence}
|
|
58
|
+
- Decision: {selected route / staffing / gate / next legal stage}
|
|
59
|
+
- Reason: {facts and constraints}
|
|
60
|
+
- Stop condition: {what makes this route complete or blocked}
|
|
61
|
+
|
|
62
|
+
## Contract Coverage
|
|
63
|
+
|
|
64
|
+
| Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
|
|
65
|
+
| --- | --- | --- | --- | --- |
|
|
66
|
+
| {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
|
|
67
|
+
|
|
68
|
+
## Drift Guard
|
|
69
|
+
|
|
70
|
+
- Output path source: completion-contract / workflow graph / output-path-map
|
|
71
|
+
- Skill responsibility boundary: {what this workflow does not own}
|
|
72
|
+
- Re-entry rule: {how to resume without chat memory}
|
|
73
|
+
|
|
74
|
+
## Contract
|
|
75
|
+
|
|
76
|
+
- Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
|
|
77
|
+
- Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
|
|
78
|
+
- Decisions / result: {decision, artifact summary, action result, or N/A}
|
|
79
|
+
- Invariants / acceptance conditions: {must remain true downstream}
|
|
80
|
+
- Traceability: {FR / AC / issue / source / scenario links, or N/A}
|
|
81
|
+
|
|
82
|
+
## Evidence
|
|
83
|
+
|
|
84
|
+
| Claim | Evidence kind | Reference |
|
|
85
|
+
| --- | --- | --- |
|
|
86
|
+
| {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
|
|
87
|
+
|
|
88
|
+
## Risks And Follow-up
|
|
89
|
+
|
|
90
|
+
| Risk / gap | Impact | Owner | Next action |
|
|
91
|
+
| --- | --- | --- | --- |
|
|
92
|
+
| {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
|
|
93
|
+
|
|
94
|
+
## Handoff
|
|
95
|
+
|
|
96
|
+
- Ready for: {next stage or consumer}
|
|
97
|
+
- Blocks: {blocked downstream work, or none}
|
|
98
|
+
- Re-run / refresh trigger: {when this output becomes stale}
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
## zsk-artifacts
|
|
102
|
+
|
|
103
|
+
```markdown
|
|
104
|
+
> requirement: {requirement name or id}
|
|
105
|
+
> artifact_ref: outputs.zsk.zsk-artifacts
|
|
106
|
+
> artifact_index: {workflow output-path-map key or local artifact index id}
|
|
107
|
+
> source_refs: {consumed inputs / sourceRefs / evidenceRefs}
|
|
108
|
+
> generated_at: {YYYY-MM-DD}
|
|
109
|
+
> stage: zsk
|
|
110
|
+
> output: zsk-artifacts
|
|
111
|
+
|
|
112
|
+
## Output Quality Check
|
|
113
|
+
|
|
114
|
+
- status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
|
|
115
|
+
- owner: {owner or role}
|
|
116
|
+
- source_basis: {source artifacts, decisions, assumptions, or 未指定}
|
|
117
|
+
- blocking_items: {none, or issue / missing input / contradiction}
|
|
118
|
+
- next_action: {none, or smallest owner/action/date needed}
|
|
119
|
+
- evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
|
|
120
|
+
- downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
|
|
121
|
+
|
|
122
|
+
## Workflow Decision
|
|
123
|
+
|
|
124
|
+
- Current state: {stage/module/status/evidence}
|
|
125
|
+
- Decision: {selected route / staffing / gate / next legal stage}
|
|
126
|
+
- Reason: {facts and constraints}
|
|
127
|
+
- Stop condition: {what makes this route complete or blocked}
|
|
128
|
+
|
|
129
|
+
## Contract Coverage
|
|
130
|
+
|
|
131
|
+
| Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
|
|
132
|
+
| --- | --- | --- | --- | --- |
|
|
133
|
+
| {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
|
|
134
|
+
|
|
135
|
+
## Drift Guard
|
|
136
|
+
|
|
137
|
+
- Output path source: completion-contract / workflow graph / output-path-map
|
|
138
|
+
- Skill responsibility boundary: {what this workflow does not own}
|
|
139
|
+
- Re-entry rule: {how to resume without chat memory}
|
|
140
|
+
|
|
141
|
+
## Contract
|
|
142
|
+
|
|
143
|
+
- Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
|
|
144
|
+
- Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
|
|
145
|
+
- Decisions / result: {decision, artifact summary, action result, or N/A}
|
|
146
|
+
- Invariants / acceptance conditions: {must remain true downstream}
|
|
147
|
+
- Traceability: {FR / AC / issue / source / scenario links, or N/A}
|
|
148
|
+
|
|
149
|
+
## Evidence
|
|
150
|
+
|
|
151
|
+
| Claim | Evidence kind | Reference |
|
|
152
|
+
| --- | --- | --- |
|
|
153
|
+
| {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
|
|
154
|
+
|
|
155
|
+
## Risks And Follow-up
|
|
156
|
+
|
|
157
|
+
| Risk / gap | Impact | Owner | Next action |
|
|
158
|
+
| --- | --- | --- | --- |
|
|
159
|
+
| {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
|
|
160
|
+
|
|
161
|
+
## Handoff
|
|
162
|
+
|
|
163
|
+
- Ready for: {next stage or consumer}
|
|
164
|
+
- Blocks: {blocked downstream work, or none}
|
|
165
|
+
- Re-run / refresh trigger: {when this output becomes stale}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## expert-lane-results
|
|
169
|
+
|
|
170
|
+
```markdown
|
|
171
|
+
> requirement: {requirement name or id}
|
|
172
|
+
> artifact_ref: outputs.zsk.expert-lane-results
|
|
173
|
+
> artifact_index: {workflow output-path-map key or local artifact index id}
|
|
174
|
+
> source_refs: {consumed inputs / sourceRefs / evidenceRefs}
|
|
175
|
+
> generated_at: {YYYY-MM-DD}
|
|
176
|
+
> stage: zsk
|
|
177
|
+
> output: expert-lane-results
|
|
178
|
+
|
|
179
|
+
## Output Quality Check
|
|
180
|
+
|
|
181
|
+
- status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
|
|
182
|
+
- owner: {owner or role}
|
|
183
|
+
- source_basis: {source artifacts, decisions, assumptions, or 未指定}
|
|
184
|
+
- blocking_items: {none, or issue / missing input / contradiction}
|
|
185
|
+
- next_action: {none, or smallest owner/action/date needed}
|
|
186
|
+
- evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
|
|
187
|
+
- downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
|
|
188
|
+
|
|
189
|
+
## Workflow Decision
|
|
190
|
+
|
|
191
|
+
- Current state: {stage/module/status/evidence}
|
|
192
|
+
- Decision: {selected route / staffing / gate / next legal stage}
|
|
193
|
+
- Reason: {facts and constraints}
|
|
194
|
+
- Stop condition: {what makes this route complete or blocked}
|
|
195
|
+
|
|
196
|
+
## Contract Coverage
|
|
197
|
+
|
|
198
|
+
| Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
|
|
199
|
+
| --- | --- | --- | --- | --- |
|
|
200
|
+
| {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
|
|
201
|
+
|
|
202
|
+
## Drift Guard
|
|
203
|
+
|
|
204
|
+
- Output path source: completion-contract / workflow graph / output-path-map
|
|
205
|
+
- Skill responsibility boundary: {what this workflow does not own}
|
|
206
|
+
- Re-entry rule: {how to resume without chat memory}
|
|
207
|
+
|
|
208
|
+
## Contract
|
|
209
|
+
|
|
210
|
+
- Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
|
|
211
|
+
- Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
|
|
212
|
+
- Decisions / result: {decision, artifact summary, action result, or N/A}
|
|
213
|
+
- Invariants / acceptance conditions: {must remain true downstream}
|
|
214
|
+
- Traceability: {FR / AC / issue / source / scenario links, or N/A}
|
|
215
|
+
|
|
216
|
+
## Evidence
|
|
217
|
+
|
|
218
|
+
| Claim | Evidence kind | Reference |
|
|
219
|
+
| --- | --- | --- |
|
|
220
|
+
| {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
|
|
221
|
+
|
|
222
|
+
## Risks And Follow-up
|
|
223
|
+
|
|
224
|
+
| Risk / gap | Impact | Owner | Next action |
|
|
225
|
+
| --- | --- | --- | --- |
|
|
226
|
+
| {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
|
|
227
|
+
|
|
228
|
+
## Handoff
|
|
229
|
+
|
|
230
|
+
- Ready for: {next stage or consumer}
|
|
231
|
+
- Blocks: {blocked downstream work, or none}
|
|
232
|
+
- Re-run / refresh trigger: {when this output becomes stale}
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
## validation-evidence
|
|
236
|
+
|
|
237
|
+
```markdown
|
|
238
|
+
> requirement: {requirement name or id}
|
|
239
|
+
> artifact_ref: outputs.zsk.validation-evidence
|
|
240
|
+
> artifact_index: {workflow output-path-map key or local artifact index id}
|
|
241
|
+
> source_refs: {consumed inputs / sourceRefs / evidenceRefs}
|
|
242
|
+
> generated_at: {YYYY-MM-DD}
|
|
243
|
+
> stage: zsk
|
|
244
|
+
> output: validation-evidence
|
|
245
|
+
|
|
246
|
+
## Output Quality Check
|
|
247
|
+
|
|
248
|
+
- status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
|
|
249
|
+
- owner: {owner or role}
|
|
250
|
+
- source_basis: {source artifacts, decisions, assumptions, or 未指定}
|
|
251
|
+
- blocking_items: {none, or issue / missing input / contradiction}
|
|
252
|
+
- next_action: {none, or smallest owner/action/date needed}
|
|
253
|
+
- evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
|
|
254
|
+
- downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
|
|
255
|
+
|
|
256
|
+
## Verdict
|
|
257
|
+
|
|
258
|
+
- Claim under review: {claim / stage / artifact / issue}
|
|
259
|
+
- Result: PASS | FAIL | BLOCKED | NEEDS_REPAIR | N/A
|
|
260
|
+
- Confidence: high | medium | low
|
|
261
|
+
- Not tested / not reviewed: {explicit gaps or none}
|
|
262
|
+
|
|
263
|
+
## Checks Performed
|
|
264
|
+
|
|
265
|
+
| Check | Command / method | Result | Evidence ref |
|
|
266
|
+
| --- | --- | --- | --- |
|
|
267
|
+
| {check} | {command/scenario/review pass} | pass / fail / blocked | {artifact_ref or output} |
|
|
268
|
+
|
|
269
|
+
## Findings
|
|
270
|
+
|
|
271
|
+
| Severity | Finding | Source | Owner | Fix route |
|
|
272
|
+
| --- | --- | --- | --- | --- |
|
|
273
|
+
| blocker / high / medium / low | {finding or none} | {file/artifact/command} | {role} | {issue/fix/N/A} |
|
|
274
|
+
|
|
275
|
+
## Contract
|
|
276
|
+
|
|
277
|
+
- Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
|
|
278
|
+
- Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
|
|
279
|
+
- Decisions / result: {decision, artifact summary, action result, or N/A}
|
|
280
|
+
- Invariants / acceptance conditions: {must remain true downstream}
|
|
281
|
+
- Traceability: {FR / AC / issue / source / scenario links, or N/A}
|
|
282
|
+
|
|
283
|
+
## Evidence
|
|
284
|
+
|
|
285
|
+
| Claim | Evidence kind | Reference |
|
|
286
|
+
| --- | --- | --- |
|
|
287
|
+
| {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
|
|
288
|
+
|
|
289
|
+
## Risks And Follow-up
|
|
290
|
+
|
|
291
|
+
| Risk / gap | Impact | Owner | Next action |
|
|
292
|
+
| --- | --- | --- | --- |
|
|
293
|
+
| {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
|
|
294
|
+
|
|
295
|
+
## Handoff
|
|
296
|
+
|
|
297
|
+
- Ready for: {next stage or consumer}
|
|
298
|
+
- Blocks: {blocked downstream work, or none}
|
|
299
|
+
- Re-run / refresh trigger: {when this output becomes stale}
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
## updated-issues
|
|
303
|
+
|
|
304
|
+
```markdown
|
|
305
|
+
> requirement: {requirement name or id}
|
|
306
|
+
> artifact_ref: outputs.zsk.updated-issues
|
|
307
|
+
> artifact_index: {workflow output-path-map key or local artifact index id}
|
|
308
|
+
> source_refs: {consumed inputs / sourceRefs / evidenceRefs}
|
|
309
|
+
> generated_at: {YYYY-MM-DD}
|
|
310
|
+
> stage: zsk
|
|
311
|
+
> output: updated-issues
|
|
312
|
+
|
|
313
|
+
## Output Quality Check
|
|
314
|
+
|
|
315
|
+
- status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
|
|
316
|
+
- owner: {owner or role}
|
|
317
|
+
- source_basis: {source artifacts, decisions, assumptions, or 未指定}
|
|
318
|
+
- blocking_items: {none, or issue / missing input / contradiction}
|
|
319
|
+
- next_action: {none, or smallest owner/action/date needed}
|
|
320
|
+
- evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
|
|
321
|
+
- downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
|
|
322
|
+
|
|
323
|
+
## Issue Record
|
|
324
|
+
|
|
325
|
+
- Type: defect | blocker | risk | question | follow-up
|
|
326
|
+
- Severity: blocker | high | medium | low
|
|
327
|
+
- Scope: module-private | shared | global | public
|
|
328
|
+
- Expected: {source-backed expected behavior or condition}
|
|
329
|
+
- Actual: {observed behavior or gap}
|
|
330
|
+
- Evidence: {command/artifact/sourceRef/manual observation}
|
|
331
|
+
- Owner: {role/person}
|
|
332
|
+
- Fix route: fix | coding | docs-feedback | upstream-clarification | N/A
|
|
333
|
+
|
|
334
|
+
## Status Ledger
|
|
335
|
+
|
|
336
|
+
| Status | Evidence ref | Updated by | Next action |
|
|
337
|
+
| --- | --- | --- | --- |
|
|
338
|
+
| open / in-progress / blocked / verified / closed | {artifact_ref or issue id} | {role} | {owner/action or none} |
|
|
339
|
+
|
|
340
|
+
## Contract
|
|
341
|
+
|
|
342
|
+
- Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
|
|
343
|
+
- Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
|
|
344
|
+
- Decisions / result: {decision, artifact summary, action result, or N/A}
|
|
345
|
+
- Invariants / acceptance conditions: {must remain true downstream}
|
|
346
|
+
- Traceability: {FR / AC / issue / source / scenario links, or N/A}
|
|
347
|
+
|
|
348
|
+
## Evidence
|
|
349
|
+
|
|
350
|
+
| Claim | Evidence kind | Reference |
|
|
351
|
+
| --- | --- | --- |
|
|
352
|
+
| {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
|
|
353
|
+
|
|
354
|
+
## Risks And Follow-up
|
|
355
|
+
|
|
356
|
+
| Risk / gap | Impact | Owner | Next action |
|
|
357
|
+
| --- | --- | --- | --- |
|
|
358
|
+
| {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
|
|
359
|
+
|
|
360
|
+
## Handoff
|
|
361
|
+
|
|
362
|
+
- Ready for: {next stage or consumer}
|
|
363
|
+
- Blocks: {blocked downstream work, or none}
|
|
364
|
+
- Re-run / refresh trigger: {when this output becomes stale}
|
|
365
|
+
```
|
|
366
|
+
|
|
367
|
+
## next-stage
|
|
368
|
+
|
|
369
|
+
```markdown
|
|
370
|
+
> requirement: {requirement name or id}
|
|
371
|
+
> artifact_ref: outputs.zsk.next-stage
|
|
372
|
+
> artifact_index: {workflow output-path-map key or local artifact index id}
|
|
373
|
+
> source_refs: {consumed inputs / sourceRefs / evidenceRefs}
|
|
374
|
+
> generated_at: {YYYY-MM-DD}
|
|
375
|
+
> stage: zsk
|
|
376
|
+
> output: next-stage
|
|
377
|
+
|
|
378
|
+
## Output Quality Check
|
|
379
|
+
|
|
380
|
+
- status: READY | NEEDS_CLARIFICATION | NEEDS_REPAIR | BLOCKED | N/A
|
|
381
|
+
- owner: {owner or role}
|
|
382
|
+
- source_basis: {source artifacts, decisions, assumptions, or 未指定}
|
|
383
|
+
- blocking_items: {none, or issue / missing input / contradiction}
|
|
384
|
+
- next_action: {none, or smallest owner/action/date needed}
|
|
385
|
+
- evidence_summary: {commands, artifacts, issue links, observations, or 未指定}
|
|
386
|
+
- downstream_consumer: {next stage, reviewer, human decision maker, or N/A}
|
|
387
|
+
|
|
388
|
+
## Workflow Decision
|
|
389
|
+
|
|
390
|
+
- Current state: {stage/module/status/evidence}
|
|
391
|
+
- Decision: {selected route / staffing / gate / next legal stage}
|
|
392
|
+
- Reason: {facts and constraints}
|
|
393
|
+
- Stop condition: {what makes this route complete or blocked}
|
|
394
|
+
|
|
395
|
+
## Contract Coverage
|
|
396
|
+
|
|
397
|
+
| Stage / lane | Required inputs | Required outputs | Evidence plan | Blockers |
|
|
398
|
+
| --- | --- | --- | --- | --- |
|
|
399
|
+
| {stage/lane} | {inputs} | {outputs} | {commands/artifacts} | {none or owner/action} |
|
|
400
|
+
|
|
401
|
+
## Drift Guard
|
|
402
|
+
|
|
403
|
+
- Output path source: completion-contract / workflow graph / output-path-map
|
|
404
|
+
- Skill responsibility boundary: {what this workflow does not own}
|
|
405
|
+
- Re-entry rule: {how to resume without chat memory}
|
|
406
|
+
|
|
407
|
+
## Contract
|
|
408
|
+
|
|
409
|
+
- Inputs consumed: `user-request-or-zskplan`, `persisted-issue-path-or-id`, `workflow-state`, `selected-skill-contract`, `required-inputs`, `preproposal-checkpoint-status`, `open-issues`, `evidence-summary`
|
|
410
|
+
- Capabilities applied: `plan-driven-stage-orchestration`, `preproposal-checkpoint-orchestration`, `skill-dispatch`, `expert-lane-scheduling`, `gate-integration`, `evidence-validation`, `issue-driven-fix-routing`
|
|
411
|
+
- Decisions / result: {decision, artifact summary, action result, or N/A}
|
|
412
|
+
- Invariants / acceptance conditions: {must remain true downstream}
|
|
413
|
+
- Traceability: {FR / AC / issue / source / scenario links, or N/A}
|
|
414
|
+
|
|
415
|
+
## Evidence
|
|
416
|
+
|
|
417
|
+
| Claim | Evidence kind | Reference |
|
|
418
|
+
| --- | --- | --- |
|
|
419
|
+
| {claim} | source / test / smoke / review / manual / issue / artifact | {path, command, URL, issue id} |
|
|
420
|
+
|
|
421
|
+
## Risks And Follow-up
|
|
422
|
+
|
|
423
|
+
| Risk / gap | Impact | Owner | Next action |
|
|
424
|
+
| --- | --- | --- | --- |
|
|
425
|
+
| {risk or none} | {impact or N/A} | {owner or N/A} | {next action or none} |
|
|
426
|
+
|
|
427
|
+
## Handoff
|
|
428
|
+
|
|
429
|
+
- Ready for: {next stage or consumer}
|
|
430
|
+
- Blocks: {blocked downstream work, or none}
|
|
431
|
+
- Re-run / refresh trigger: {when this output becomes stale}
|
|
432
|
+
```
|
|
433
|
+
|
|
434
|
+
---
|
|
435
|
+
|
|
436
|
+
## 填写规则
|
|
437
|
+
|
|
438
|
+
- Metadata header is mandatory for every output record.
|
|
439
|
+
- Use `artifact_ref` and the workflow `output-path-map` for cross-skill
|
|
440
|
+
references. Do not invent or hardcode hidden workspace paths in template
|
|
441
|
+
bodies.
|
|
442
|
+
- Keep heading names and order exactly as templated. Content detail may vary;
|
|
443
|
+
skeleton, headings, and metadata may not.
|
|
444
|
+
- Every material claim must map to source evidence, command evidence, artifact
|
|
445
|
+
evidence, issue evidence, or an accepted assumption.
|
|
446
|
+
- Unknown thresholds, owners, environments, dates, or acceptance bars are
|
|
447
|
+
written as `未指定`; do not invent them.
|
|
448
|
+
- If an output cannot be produced, keep the skeleton and mark `Status: BLOCKED`
|
|
449
|
+
with owner, impact, and next action.
|
|
450
|
+
|
|
451
|
+
## 自检清单
|
|
452
|
+
|
|
453
|
+
- [ ] Every declared output above is present, explicitly `N/A`, or `BLOCKED`
|
|
454
|
+
with owner, impact, and next action.
|
|
455
|
+
- [ ] `Output Quality Check` is filled before detailed content.
|
|
456
|
+
- [ ] Scope, non-goals, decisions/results, evidence, risks, and handoff are
|
|
457
|
+
understandable without chat memory.
|
|
458
|
+
- [ ] Claims are traceable; no placeholder evidence or narrative-only proof.
|
|
459
|
+
- [ ] Downstream consumer and next action are explicit.
|
|
460
|
+
- [ ] Section names and order match this file exactly.
|
package/zsk/harness/POLICY.md
CHANGED
|
@@ -16,7 +16,7 @@ Execution discipline:
|
|
|
16
16
|
- Do not route, sequence, or invoke peer skills from a single-skill run unless the user explicitly asked for a workflow.
|
|
17
17
|
- Treat required inputs as mode-specific: direct single-skill targets may block when missing, while workflow-only gates, signoffs, peer-skill artifacts, validation packets, and anchors are optional context unless a process-level flow, strict profile, or explicit local instruction declares them required.
|
|
18
18
|
- If an actually required input is missing, stale, contradictory, or outside this skill's remit, report BLOCKED or NEEDS_CLARIFICATION with owner, impact, and next action instead of guessing.
|
|
19
|
-
- Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs; use repo-relative
|
|
19
|
+
- Path privacy: do not write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs. Use `artifact_ref` or output-path-map keys for cross-skill references; use repo-relative paths only when concrete evidence paths are required.
|
|
20
20
|
- Context recording: durable terminology, naming, decomposition, and load-bearing clarification decisions must update the nearest Context Record target, or the handoff must record `Context update: N/A` with rationale.
|
|
21
21
|
- Record durable project/module language in `.zsk/modules/{module}/CONTEXT.md` or `.zsk/CONTEXT.md` before relying on it downstream.
|
|
22
22
|
- Learning authority: learning proposals must target the canonical ZSK source repo `.zsk/learning/proposals/`; consuming projects keep experience in archives, docs feedback, or issues and must not create `.zsk/learning/`.
|
|
@@ -70,7 +70,7 @@ This full contract is generated for workflow or strict-profile runs. Direct sing
|
|
|
70
70
|
- Treat missing mandatory artifacts, mandatory evidence, required owners, required gates, or downstream-consumable outputs as FAIL or BLOCKED.
|
|
71
71
|
- Write unsupplied numeric thresholds, quality bars, SLOs, coverage targets, and business targets as `未指定`; suggestions must be labeled separately from current policy.
|
|
72
72
|
- Avoid provider lock-in: do not assume Jira, Confluence, Figma, GitHub, GitLab, Linear, Notion, browser tooling, or any platform unless configured sources or evidence identify it.
|
|
73
|
-
- Path privacy is a hard portability requirement: reusable project docs must use repo-relative
|
|
73
|
+
- Path privacy is a hard portability requirement: reusable project docs must use `artifact_ref` or output-path-map keys for cross-skill references, concrete repo-relative paths only when evidence requires them, and must not contain personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...`.
|
|
74
74
|
- For each required output or finding, name owner, dependency, acceptance condition, verification evidence, and next action.
|
|
75
75
|
|
|
76
76
|
## Industry Best-Practice Anchors
|
|
@@ -128,7 +128,7 @@ This full contract is generated for workflow or strict-profile runs. Direct sing
|
|
|
128
128
|
- Apply `harness/contracts/readiness-packs.yaml` when producing or consuming upstream source handoffs: stable source lanes and pack types stay provider-agnostic, provider metadata stays under providerRefs, and local evidence stays under sourceRefs.
|
|
129
129
|
- Every Output Quality Check must align terminology against CONTEXT.md/CONTEXT-MAP.md when present, SYSTEM-SPEC.md, configured raw sources, current artifact identifiers, and code/component/API names when implementation-facing work is touched.
|
|
130
130
|
- Record durable terminology, naming, decomposition, and load-bearing clarification decisions in the nearest Context Record target (`.zsk/modules/{module}/CONTEXT.md`, `.zsk/CONTEXT.md`, or source repo `CONTEXT.md`), or write `Context update: N/A` with rationale.
|
|
131
|
-
- Keep proposal, spec, design, tasks, Context Records, handoffs, archives, issues, and evidence summaries portable: use
|
|
131
|
+
- Keep proposal, spec, design, tasks, Context Records, handoffs, archives, issues, and evidence summaries portable: use `artifact_ref` or output-path-map keys for cross-skill references; concrete evidence paths must be repo-relative when needed; never write personal home-directory absolute paths such as `/Users/<name>/...`, `/home/<name>/...`, `C:\Users\<name>\...`, or `/private/var/...` into reusable project docs.
|
|
132
132
|
- Preserve upstream/downstream stage ownership; do not silently rewrite another skill's artifact.
|
|
133
133
|
- Execute the frozen or inferred route by entering each selected stage skill through its own contract.
|
|
134
134
|
- Run or record the stage-entry gate before downstream handoff.
|
|
@@ -27,6 +27,7 @@ triggers:
|
|
|
27
27
|
| Code hygiene | 小 diff、少抽象、注释写 why、复用现有工具 |
|
|
28
28
|
| Security | 不扩大权限,不泄露敏感信息,不绕过认证/鉴权/审计 |
|
|
29
29
|
| Accessibility | Web UI 默认按 WCAG 2.1 AA 思路检查键盘、焦点、标签和对比度 |
|
|
30
|
+
| UX conformance | UI 工作按 UX Contract 验证交互、状态、响应式、a11y 和视觉符合度 |
|
|
30
31
|
| Release | 版本、变更说明、回滚路径和验证证据要能追溯 |
|
|
31
32
|
|
|
32
33
|
## Review hard stops
|
|
@@ -35,7 +36,11 @@ triggers:
|
|
|
35
36
|
- 改了契约但没有同步 spec/design/task。
|
|
36
37
|
- 安全、权限、数据、迁移、公开 API 有影响但没有单独说明。
|
|
37
38
|
- 只靠截图或口头描述证明复杂行为。
|
|
39
|
+
- UI 验收只做自然语言观察,没有提升为可重复 Playwright 场景或明确豁免。
|
|
40
|
+
- 视觉 diff 超过复核阈值却没有修复、复核记录或验收豁免。
|
|
38
41
|
|
|
39
42
|
## 证据规则
|
|
40
43
|
|
|
41
44
|
证据可以是命令输出、测试报告、截图、录屏、日志片段、issue、人工验收记录或 ADR。证据必须能回答“谁在什么时候验证了什么”。不能复现的证据只能作为线索,不能作为通过依据。
|
|
45
|
+
|
|
46
|
+
UI 证据优先级:Playwright 断言、trace、截图和视觉 diff 是通过依据;`agent_browser` 或人工观察是定位与 handoff 依据。验证可多轮执行,但每轮必须记录输入合同、失败项、修复项和复验结果。
|