@captain_z/zsk-skills 1.5.1 → 1.6.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 +124 -76
- package/{core/acceptance → acceptance}/SKILL.md +19 -9
- package/acceptance/harness/README.md +104 -0
- package/acceptance/harness/THIS_SKILL.md +58 -0
- package/acceptance/harness/best-practices/README.md +52 -0
- package/acceptance/harness/best-practices/agent-orchestration.md +45 -0
- package/acceptance/harness/best-practices/design-handoff.md +41 -0
- package/acceptance/harness/best-practices/frontend.md +43 -0
- package/acceptance/harness/best-practices/project-constraints-template.md +66 -0
- package/acceptance/harness/best-practices/quality.md +41 -0
- package/acceptance/harness/best-practices/sdlc.md +49 -0
- package/acceptance/harness/best-practices/system.md +41 -0
- package/acceptance/harness/constraints/evidence-rules.md +33 -0
- package/acceptance/harness/constraints/issue-taxonomy.md +87 -0
- package/acceptance/harness/constraints/source-of-truth.md +19 -0
- package/acceptance/harness/constraints/stage-gates.md +27 -0
- package/acceptance/harness/profiles/enterprise.yaml +89 -0
- package/acceptance/harness/profiles/frontend.yaml +93 -0
- package/acceptance/harness/profiles/lite.yaml +55 -0
- package/acceptance/harness/profiles/sdlc.yaml +83 -0
- package/acceptance/harness/workflow/completion-contract.yaml +102 -0
- package/acceptance/harness/workflow/skill-io-contract.yaml +160 -0
- package/acceptance/harness/workflow/stage-contracts.yaml +53 -0
- package/acceptance/harness/workflow/state-machine.yaml +65 -0
- package/{core/archive → archive}/SKILL.md +15 -8
- package/archive/harness/README.md +104 -0
- package/archive/harness/THIS_SKILL.md +59 -0
- package/archive/harness/best-practices/README.md +52 -0
- package/archive/harness/best-practices/agent-orchestration.md +45 -0
- package/archive/harness/best-practices/design-handoff.md +41 -0
- package/archive/harness/best-practices/frontend.md +43 -0
- package/archive/harness/best-practices/project-constraints-template.md +66 -0
- package/archive/harness/best-practices/quality.md +41 -0
- package/archive/harness/best-practices/sdlc.md +49 -0
- package/archive/harness/best-practices/system.md +41 -0
- package/archive/harness/constraints/evidence-rules.md +33 -0
- package/archive/harness/constraints/issue-taxonomy.md +87 -0
- package/archive/harness/constraints/source-of-truth.md +19 -0
- package/archive/harness/constraints/stage-gates.md +27 -0
- package/archive/harness/profiles/enterprise.yaml +89 -0
- package/archive/harness/profiles/frontend.yaml +93 -0
- package/archive/harness/profiles/lite.yaml +55 -0
- package/archive/harness/profiles/sdlc.yaml +83 -0
- package/archive/harness/workflow/completion-contract.yaml +102 -0
- package/archive/harness/workflow/skill-io-contract.yaml +160 -0
- package/archive/harness/workflow/stage-contracts.yaml +53 -0
- package/archive/harness/workflow/state-machine.yaml +65 -0
- package/bundles.yaml +101 -22
- package/{core/coding → coding}/SKILL.md +17 -10
- package/coding/harness/README.md +104 -0
- package/coding/harness/THIS_SKILL.md +59 -0
- package/coding/harness/best-practices/README.md +52 -0
- package/coding/harness/best-practices/agent-orchestration.md +45 -0
- package/coding/harness/best-practices/design-handoff.md +41 -0
- package/coding/harness/best-practices/frontend.md +43 -0
- package/coding/harness/best-practices/project-constraints-template.md +66 -0
- package/coding/harness/best-practices/quality.md +41 -0
- package/coding/harness/best-practices/sdlc.md +49 -0
- package/coding/harness/best-practices/system.md +41 -0
- package/coding/harness/constraints/evidence-rules.md +33 -0
- package/coding/harness/constraints/issue-taxonomy.md +87 -0
- package/coding/harness/constraints/source-of-truth.md +19 -0
- package/coding/harness/constraints/stage-gates.md +27 -0
- package/coding/harness/profiles/enterprise.yaml +89 -0
- package/coding/harness/profiles/frontend.yaml +93 -0
- package/coding/harness/profiles/lite.yaml +55 -0
- package/coding/harness/profiles/sdlc.yaml +83 -0
- package/coding/harness/workflow/completion-contract.yaml +102 -0
- package/coding/harness/workflow/skill-io-contract.yaml +160 -0
- package/coding/harness/workflow/stage-contracts.yaml +53 -0
- package/coding/harness/workflow/state-machine.yaml +65 -0
- package/commit/SKILL.md +64 -0
- package/commit/harness/README.md +104 -0
- package/commit/harness/THIS_SKILL.md +57 -0
- package/commit/harness/best-practices/README.md +52 -0
- package/commit/harness/best-practices/agent-orchestration.md +45 -0
- package/commit/harness/best-practices/design-handoff.md +41 -0
- package/commit/harness/best-practices/frontend.md +43 -0
- package/commit/harness/best-practices/project-constraints-template.md +66 -0
- package/commit/harness/best-practices/quality.md +41 -0
- package/commit/harness/best-practices/sdlc.md +49 -0
- package/commit/harness/best-practices/system.md +41 -0
- package/commit/harness/constraints/evidence-rules.md +33 -0
- package/commit/harness/constraints/issue-taxonomy.md +87 -0
- package/commit/harness/constraints/source-of-truth.md +19 -0
- package/commit/harness/constraints/stage-gates.md +27 -0
- package/commit/harness/profiles/enterprise.yaml +89 -0
- package/commit/harness/profiles/frontend.yaml +93 -0
- package/commit/harness/profiles/lite.yaml +55 -0
- package/commit/harness/profiles/sdlc.yaml +83 -0
- package/commit/harness/workflow/completion-contract.yaml +102 -0
- package/commit/harness/workflow/skill-io-contract.yaml +160 -0
- package/commit/harness/workflow/stage-contracts.yaml +53 -0
- package/commit/harness/workflow/state-machine.yaml +65 -0
- package/{core/test-issue → defect}/SKILL.md +21 -14
- package/defect/harness/README.md +104 -0
- package/defect/harness/THIS_SKILL.md +58 -0
- package/defect/harness/best-practices/README.md +52 -0
- package/defect/harness/best-practices/agent-orchestration.md +45 -0
- package/defect/harness/best-practices/design-handoff.md +41 -0
- package/defect/harness/best-practices/frontend.md +43 -0
- package/defect/harness/best-practices/project-constraints-template.md +66 -0
- package/defect/harness/best-practices/quality.md +41 -0
- package/defect/harness/best-practices/sdlc.md +49 -0
- package/defect/harness/best-practices/system.md +41 -0
- package/defect/harness/constraints/evidence-rules.md +33 -0
- package/defect/harness/constraints/issue-taxonomy.md +87 -0
- package/defect/harness/constraints/source-of-truth.md +19 -0
- package/defect/harness/constraints/stage-gates.md +27 -0
- package/defect/harness/profiles/enterprise.yaml +89 -0
- package/defect/harness/profiles/frontend.yaml +93 -0
- package/defect/harness/profiles/lite.yaml +55 -0
- package/defect/harness/profiles/sdlc.yaml +83 -0
- package/defect/harness/workflow/completion-contract.yaml +102 -0
- package/defect/harness/workflow/skill-io-contract.yaml +160 -0
- package/defect/harness/workflow/stage-contracts.yaml +53 -0
- package/defect/harness/workflow/state-machine.yaml +65 -0
- package/demo/SKILL.md +197 -0
- package/demo/harness/README.md +104 -0
- package/demo/harness/THIS_SKILL.md +65 -0
- package/demo/harness/best-practices/README.md +52 -0
- package/demo/harness/best-practices/agent-orchestration.md +45 -0
- package/demo/harness/best-practices/design-handoff.md +41 -0
- package/demo/harness/best-practices/frontend.md +43 -0
- package/demo/harness/best-practices/project-constraints-template.md +66 -0
- package/demo/harness/best-practices/quality.md +41 -0
- package/demo/harness/best-practices/sdlc.md +49 -0
- package/demo/harness/best-practices/system.md +41 -0
- package/demo/harness/constraints/evidence-rules.md +33 -0
- package/demo/harness/constraints/issue-taxonomy.md +87 -0
- package/demo/harness/constraints/source-of-truth.md +19 -0
- package/demo/harness/constraints/stage-gates.md +27 -0
- package/demo/harness/profiles/enterprise.yaml +89 -0
- package/demo/harness/profiles/frontend.yaml +93 -0
- package/demo/harness/profiles/lite.yaml +55 -0
- package/demo/harness/profiles/sdlc.yaml +83 -0
- package/demo/harness/workflow/completion-contract.yaml +102 -0
- package/demo/harness/workflow/skill-io-contract.yaml +160 -0
- package/demo/harness/workflow/stage-contracts.yaml +53 -0
- package/demo/harness/workflow/state-machine.yaml +65 -0
- package/demo/harness.yaml +41 -0
- package/demo/references/automation.md +155 -0
- package/demo/scenarios/happy-path.spec.ts +8 -0
- package/demo/scripts/playwright-bridge.mjs +64 -0
- package/demo/templates/demo-issue.md +26 -0
- package/demo/templates/demo-outline.md +54 -0
- package/demo/templates/operation-plan.json +37 -0
- package/demo/templates/playwright-execution.json +24 -0
- package/demo/templates/scenario-synthesis.json +21 -0
- package/{core/deploy → deploy}/SKILL.md +15 -8
- package/deploy/harness/README.md +104 -0
- package/deploy/harness/THIS_SKILL.md +57 -0
- package/deploy/harness/best-practices/README.md +52 -0
- package/deploy/harness/best-practices/agent-orchestration.md +45 -0
- package/deploy/harness/best-practices/design-handoff.md +41 -0
- package/deploy/harness/best-practices/frontend.md +43 -0
- package/deploy/harness/best-practices/project-constraints-template.md +66 -0
- package/deploy/harness/best-practices/quality.md +41 -0
- package/deploy/harness/best-practices/sdlc.md +49 -0
- package/deploy/harness/best-practices/system.md +41 -0
- package/deploy/harness/constraints/evidence-rules.md +33 -0
- package/deploy/harness/constraints/issue-taxonomy.md +87 -0
- package/deploy/harness/constraints/source-of-truth.md +19 -0
- package/deploy/harness/constraints/stage-gates.md +27 -0
- package/deploy/harness/profiles/enterprise.yaml +89 -0
- package/deploy/harness/profiles/frontend.yaml +93 -0
- package/deploy/harness/profiles/lite.yaml +55 -0
- package/deploy/harness/profiles/sdlc.yaml +83 -0
- package/deploy/harness/workflow/completion-contract.yaml +102 -0
- package/deploy/harness/workflow/skill-io-contract.yaml +160 -0
- package/deploy/harness/workflow/stage-contracts.yaml +53 -0
- package/deploy/harness/workflow/state-machine.yaml +65 -0
- package/{core/design → design}/SKILL.md +15 -8
- package/design/harness/README.md +104 -0
- package/design/harness/THIS_SKILL.md +62 -0
- package/design/harness/best-practices/README.md +52 -0
- package/design/harness/best-practices/agent-orchestration.md +45 -0
- package/design/harness/best-practices/design-handoff.md +41 -0
- package/design/harness/best-practices/frontend.md +43 -0
- package/design/harness/best-practices/project-constraints-template.md +66 -0
- package/design/harness/best-practices/quality.md +41 -0
- package/design/harness/best-practices/sdlc.md +49 -0
- package/design/harness/best-practices/system.md +41 -0
- package/design/harness/constraints/evidence-rules.md +33 -0
- package/design/harness/constraints/issue-taxonomy.md +87 -0
- package/design/harness/constraints/source-of-truth.md +19 -0
- package/design/harness/constraints/stage-gates.md +27 -0
- package/design/harness/profiles/enterprise.yaml +89 -0
- package/design/harness/profiles/frontend.yaml +93 -0
- package/design/harness/profiles/lite.yaml +55 -0
- package/design/harness/profiles/sdlc.yaml +83 -0
- package/design/harness/workflow/completion-contract.yaml +102 -0
- package/design/harness/workflow/skill-io-contract.yaml +160 -0
- package/design/harness/workflow/stage-contracts.yaml +53 -0
- package/design/harness/workflow/state-machine.yaml +65 -0
- package/dispatch/SKILL.md +148 -0
- package/dispatch/harness/README.md +104 -0
- package/dispatch/harness/THIS_SKILL.md +62 -0
- package/dispatch/harness/best-practices/README.md +52 -0
- package/dispatch/harness/best-practices/agent-orchestration.md +45 -0
- package/dispatch/harness/best-practices/design-handoff.md +41 -0
- package/dispatch/harness/best-practices/frontend.md +43 -0
- package/dispatch/harness/best-practices/project-constraints-template.md +66 -0
- package/dispatch/harness/best-practices/quality.md +41 -0
- package/dispatch/harness/best-practices/sdlc.md +49 -0
- package/dispatch/harness/best-practices/system.md +41 -0
- package/dispatch/harness/constraints/evidence-rules.md +33 -0
- package/dispatch/harness/constraints/issue-taxonomy.md +87 -0
- package/dispatch/harness/constraints/source-of-truth.md +19 -0
- package/dispatch/harness/constraints/stage-gates.md +27 -0
- package/dispatch/harness/profiles/enterprise.yaml +89 -0
- package/dispatch/harness/profiles/frontend.yaml +93 -0
- package/dispatch/harness/profiles/lite.yaml +55 -0
- package/dispatch/harness/profiles/sdlc.yaml +83 -0
- package/dispatch/harness/workflow/completion-contract.yaml +102 -0
- package/dispatch/harness/workflow/skill-io-contract.yaml +160 -0
- package/dispatch/harness/workflow/stage-contracts.yaml +53 -0
- package/dispatch/harness/workflow/state-machine.yaml +65 -0
- package/flow/SKILL.md +94 -0
- package/flow/harness/README.md +104 -0
- package/flow/harness/THIS_SKILL.md +58 -0
- package/flow/harness/best-practices/README.md +52 -0
- package/flow/harness/best-practices/agent-orchestration.md +45 -0
- package/flow/harness/best-practices/design-handoff.md +41 -0
- package/flow/harness/best-practices/frontend.md +43 -0
- package/flow/harness/best-practices/project-constraints-template.md +66 -0
- package/flow/harness/best-practices/quality.md +41 -0
- package/flow/harness/best-practices/sdlc.md +49 -0
- package/flow/harness/best-practices/system.md +41 -0
- package/flow/harness/constraints/evidence-rules.md +33 -0
- package/flow/harness/constraints/issue-taxonomy.md +87 -0
- package/flow/harness/constraints/source-of-truth.md +19 -0
- package/flow/harness/constraints/stage-gates.md +27 -0
- package/flow/harness/profiles/enterprise.yaml +89 -0
- package/flow/harness/profiles/frontend.yaml +93 -0
- package/flow/harness/profiles/lite.yaml +55 -0
- package/flow/harness/profiles/sdlc.yaml +83 -0
- package/flow/harness/workflow/completion-contract.yaml +102 -0
- package/flow/harness/workflow/skill-io-contract.yaml +160 -0
- package/flow/harness/workflow/stage-contracts.yaml +53 -0
- package/flow/harness/workflow/state-machine.yaml +65 -0
- package/issue/SKILL.md +90 -0
- package/issue/harness/README.md +104 -0
- package/issue/harness/THIS_SKILL.md +61 -0
- package/issue/harness/best-practices/README.md +52 -0
- package/issue/harness/best-practices/agent-orchestration.md +45 -0
- package/issue/harness/best-practices/design-handoff.md +41 -0
- package/issue/harness/best-practices/frontend.md +43 -0
- package/issue/harness/best-practices/project-constraints-template.md +66 -0
- package/issue/harness/best-practices/quality.md +41 -0
- package/issue/harness/best-practices/sdlc.md +49 -0
- package/issue/harness/best-practices/system.md +41 -0
- package/issue/harness/constraints/evidence-rules.md +33 -0
- package/issue/harness/constraints/issue-taxonomy.md +87 -0
- package/issue/harness/constraints/source-of-truth.md +19 -0
- package/issue/harness/constraints/stage-gates.md +27 -0
- package/issue/harness/profiles/enterprise.yaml +89 -0
- package/issue/harness/profiles/frontend.yaml +93 -0
- package/issue/harness/profiles/lite.yaml +55 -0
- package/issue/harness/profiles/sdlc.yaml +83 -0
- package/issue/harness/workflow/completion-contract.yaml +102 -0
- package/issue/harness/workflow/skill-io-contract.yaml +160 -0
- package/issue/harness/workflow/stage-contracts.yaml +53 -0
- package/issue/harness/workflow/state-machine.yaml +65 -0
- package/issue/harness.yaml +16 -0
- package/package.json +2 -2
- package/{core/prepare-resources → prepare}/SKILL.md +23 -14
- package/prepare/harness/README.md +104 -0
- package/prepare/harness/THIS_SKILL.md +64 -0
- package/prepare/harness/best-practices/README.md +52 -0
- package/prepare/harness/best-practices/agent-orchestration.md +45 -0
- package/prepare/harness/best-practices/design-handoff.md +41 -0
- package/prepare/harness/best-practices/frontend.md +43 -0
- package/prepare/harness/best-practices/project-constraints-template.md +66 -0
- package/prepare/harness/best-practices/quality.md +41 -0
- package/prepare/harness/best-practices/sdlc.md +49 -0
- package/prepare/harness/best-practices/system.md +41 -0
- package/prepare/harness/constraints/evidence-rules.md +33 -0
- package/prepare/harness/constraints/issue-taxonomy.md +87 -0
- package/prepare/harness/constraints/source-of-truth.md +19 -0
- package/prepare/harness/constraints/stage-gates.md +27 -0
- package/prepare/harness/profiles/enterprise.yaml +89 -0
- package/prepare/harness/profiles/frontend.yaml +93 -0
- package/prepare/harness/profiles/lite.yaml +55 -0
- package/prepare/harness/profiles/sdlc.yaml +83 -0
- package/prepare/harness/workflow/completion-contract.yaml +102 -0
- package/prepare/harness/workflow/skill-io-contract.yaml +160 -0
- package/prepare/harness/workflow/stage-contracts.yaml +53 -0
- package/prepare/harness/workflow/state-machine.yaml +65 -0
- package/prepare/harness.yaml +26 -0
- package/{core/proposal → proposal}/SKILL.md +15 -8
- package/proposal/harness/README.md +104 -0
- package/proposal/harness/THIS_SKILL.md +58 -0
- package/proposal/harness/best-practices/README.md +52 -0
- package/proposal/harness/best-practices/agent-orchestration.md +45 -0
- package/proposal/harness/best-practices/design-handoff.md +41 -0
- package/proposal/harness/best-practices/frontend.md +43 -0
- package/proposal/harness/best-practices/project-constraints-template.md +66 -0
- package/proposal/harness/best-practices/quality.md +41 -0
- package/proposal/harness/best-practices/sdlc.md +49 -0
- package/proposal/harness/best-practices/system.md +41 -0
- package/proposal/harness/constraints/evidence-rules.md +33 -0
- package/proposal/harness/constraints/issue-taxonomy.md +87 -0
- package/proposal/harness/constraints/source-of-truth.md +19 -0
- package/proposal/harness/constraints/stage-gates.md +27 -0
- package/proposal/harness/profiles/enterprise.yaml +89 -0
- package/proposal/harness/profiles/frontend.yaml +93 -0
- package/proposal/harness/profiles/lite.yaml +55 -0
- package/proposal/harness/profiles/sdlc.yaml +83 -0
- package/proposal/harness/workflow/completion-contract.yaml +102 -0
- package/proposal/harness/workflow/skill-io-contract.yaml +160 -0
- package/proposal/harness/workflow/stage-contracts.yaml +53 -0
- package/proposal/harness/workflow/state-machine.yaml +65 -0
- package/{core/ready-for-verify → ready}/SKILL.md +20 -13
- package/ready/harness/README.md +104 -0
- package/ready/harness/THIS_SKILL.md +57 -0
- package/ready/harness/best-practices/README.md +52 -0
- package/ready/harness/best-practices/agent-orchestration.md +45 -0
- package/ready/harness/best-practices/design-handoff.md +41 -0
- package/ready/harness/best-practices/frontend.md +43 -0
- package/ready/harness/best-practices/project-constraints-template.md +66 -0
- package/ready/harness/best-practices/quality.md +41 -0
- package/ready/harness/best-practices/sdlc.md +49 -0
- package/ready/harness/best-practices/system.md +41 -0
- package/ready/harness/constraints/evidence-rules.md +33 -0
- package/ready/harness/constraints/issue-taxonomy.md +87 -0
- package/ready/harness/constraints/source-of-truth.md +19 -0
- package/ready/harness/constraints/stage-gates.md +27 -0
- package/ready/harness/profiles/enterprise.yaml +89 -0
- package/ready/harness/profiles/frontend.yaml +93 -0
- package/ready/harness/profiles/lite.yaml +55 -0
- package/ready/harness/profiles/sdlc.yaml +83 -0
- package/ready/harness/workflow/completion-contract.yaml +102 -0
- package/ready/harness/workflow/skill-io-contract.yaml +160 -0
- package/ready/harness/workflow/stage-contracts.yaml +53 -0
- package/ready/harness/workflow/state-machine.yaml +65 -0
- package/{core/review → review}/SKILL.md +16 -9
- package/review/harness/README.md +104 -0
- package/review/harness/THIS_SKILL.md +62 -0
- package/review/harness/best-practices/README.md +52 -0
- package/review/harness/best-practices/agent-orchestration.md +45 -0
- package/review/harness/best-practices/design-handoff.md +41 -0
- package/review/harness/best-practices/frontend.md +43 -0
- package/review/harness/best-practices/project-constraints-template.md +66 -0
- package/review/harness/best-practices/quality.md +41 -0
- package/review/harness/best-practices/sdlc.md +49 -0
- package/review/harness/best-practices/system.md +41 -0
- package/review/harness/constraints/evidence-rules.md +33 -0
- package/review/harness/constraints/issue-taxonomy.md +87 -0
- package/review/harness/constraints/source-of-truth.md +19 -0
- package/review/harness/constraints/stage-gates.md +27 -0
- package/review/harness/profiles/enterprise.yaml +89 -0
- package/review/harness/profiles/frontend.yaml +93 -0
- package/review/harness/profiles/lite.yaml +55 -0
- package/review/harness/profiles/sdlc.yaml +83 -0
- package/review/harness/workflow/completion-contract.yaml +102 -0
- package/review/harness/workflow/skill-io-contract.yaml +160 -0
- package/review/harness/workflow/stage-contracts.yaml +53 -0
- package/review/harness/workflow/state-machine.yaml +65 -0
- package/smoke/SKILL.md +71 -0
- package/smoke/harness/README.md +104 -0
- package/smoke/harness/THIS_SKILL.md +58 -0
- package/smoke/harness/best-practices/README.md +52 -0
- package/smoke/harness/best-practices/agent-orchestration.md +45 -0
- package/smoke/harness/best-practices/design-handoff.md +41 -0
- package/smoke/harness/best-practices/frontend.md +43 -0
- package/smoke/harness/best-practices/project-constraints-template.md +66 -0
- package/smoke/harness/best-practices/quality.md +41 -0
- package/smoke/harness/best-practices/sdlc.md +49 -0
- package/smoke/harness/best-practices/system.md +41 -0
- package/smoke/harness/constraints/evidence-rules.md +33 -0
- package/smoke/harness/constraints/issue-taxonomy.md +87 -0
- package/smoke/harness/constraints/source-of-truth.md +19 -0
- package/smoke/harness/constraints/stage-gates.md +27 -0
- package/smoke/harness/profiles/enterprise.yaml +89 -0
- package/smoke/harness/profiles/frontend.yaml +93 -0
- package/smoke/harness/profiles/lite.yaml +55 -0
- package/smoke/harness/profiles/sdlc.yaml +83 -0
- package/smoke/harness/workflow/completion-contract.yaml +102 -0
- package/smoke/harness/workflow/skill-io-contract.yaml +160 -0
- package/smoke/harness/workflow/stage-contracts.yaml +53 -0
- package/smoke/harness/workflow/state-machine.yaml +65 -0
- package/{core/spec → spec}/SKILL.md +15 -8
- package/spec/harness/README.md +104 -0
- package/spec/harness/THIS_SKILL.md +60 -0
- package/spec/harness/best-practices/README.md +52 -0
- package/spec/harness/best-practices/agent-orchestration.md +45 -0
- package/spec/harness/best-practices/design-handoff.md +41 -0
- package/spec/harness/best-practices/frontend.md +43 -0
- package/spec/harness/best-practices/project-constraints-template.md +66 -0
- package/spec/harness/best-practices/quality.md +41 -0
- package/spec/harness/best-practices/sdlc.md +49 -0
- package/spec/harness/best-practices/system.md +41 -0
- package/spec/harness/constraints/evidence-rules.md +33 -0
- package/spec/harness/constraints/issue-taxonomy.md +87 -0
- package/spec/harness/constraints/source-of-truth.md +19 -0
- package/spec/harness/constraints/stage-gates.md +27 -0
- package/spec/harness/profiles/enterprise.yaml +89 -0
- package/spec/harness/profiles/frontend.yaml +93 -0
- package/spec/harness/profiles/lite.yaml +55 -0
- package/spec/harness/profiles/sdlc.yaml +83 -0
- package/spec/harness/workflow/completion-contract.yaml +102 -0
- package/spec/harness/workflow/skill-io-contract.yaml +160 -0
- package/spec/harness/workflow/stage-contracts.yaml +53 -0
- package/spec/harness/workflow/state-machine.yaml +65 -0
- package/{core/task → task}/SKILL.md +15 -8
- package/task/harness/README.md +104 -0
- package/task/harness/THIS_SKILL.md +60 -0
- package/task/harness/best-practices/README.md +52 -0
- package/task/harness/best-practices/agent-orchestration.md +45 -0
- package/task/harness/best-practices/design-handoff.md +41 -0
- package/task/harness/best-practices/frontend.md +43 -0
- package/task/harness/best-practices/project-constraints-template.md +66 -0
- package/task/harness/best-practices/quality.md +41 -0
- package/task/harness/best-practices/sdlc.md +49 -0
- package/task/harness/best-practices/system.md +41 -0
- package/task/harness/constraints/evidence-rules.md +33 -0
- package/task/harness/constraints/issue-taxonomy.md +87 -0
- package/task/harness/constraints/source-of-truth.md +19 -0
- package/task/harness/constraints/stage-gates.md +27 -0
- package/task/harness/profiles/enterprise.yaml +89 -0
- package/task/harness/profiles/frontend.yaml +93 -0
- package/task/harness/profiles/lite.yaml +55 -0
- package/task/harness/profiles/sdlc.yaml +83 -0
- package/task/harness/workflow/completion-contract.yaml +102 -0
- package/task/harness/workflow/skill-io-contract.yaml +160 -0
- package/task/harness/workflow/stage-contracts.yaml +53 -0
- package/task/harness/workflow/state-machine.yaml +65 -0
- package/verify/SKILL.md +71 -0
- package/verify/harness/README.md +104 -0
- package/verify/harness/THIS_SKILL.md +59 -0
- package/verify/harness/best-practices/README.md +52 -0
- package/verify/harness/best-practices/agent-orchestration.md +45 -0
- package/verify/harness/best-practices/design-handoff.md +41 -0
- package/verify/harness/best-practices/frontend.md +43 -0
- package/verify/harness/best-practices/project-constraints-template.md +66 -0
- package/verify/harness/best-practices/quality.md +41 -0
- package/verify/harness/best-practices/sdlc.md +49 -0
- package/verify/harness/best-practices/system.md +41 -0
- package/verify/harness/constraints/evidence-rules.md +33 -0
- package/verify/harness/constraints/issue-taxonomy.md +87 -0
- package/verify/harness/constraints/source-of-truth.md +19 -0
- package/verify/harness/constraints/stage-gates.md +27 -0
- package/verify/harness/profiles/enterprise.yaml +89 -0
- package/verify/harness/profiles/frontend.yaml +93 -0
- package/verify/harness/profiles/lite.yaml +55 -0
- package/verify/harness/profiles/sdlc.yaml +83 -0
- package/verify/harness/workflow/completion-contract.yaml +102 -0
- package/verify/harness/workflow/skill-io-contract.yaml +160 -0
- package/verify/harness/workflow/stage-contracts.yaml +53 -0
- package/verify/harness/workflow/state-machine.yaml +65 -0
- package/core/commit/SKILL.md +0 -57
- package/core/demo/SKILL.md +0 -140
- package/core/issue/SKILL.md +0 -74
- package/core/self-test/SKILL.md +0 -60
- package/core/standard-dev-flow/SKILL.md +0 -73
- package/core/verify/SKILL.md +0 -61
package/README.md
CHANGED
|
@@ -2,38 +2,97 @@
|
|
|
2
2
|
|
|
3
3
|
ZNorth Standard Kit 的可安装 skill 内容包。安装面现在只保留从根级 `skills/` 生成的 **core harness-first skills**;旧 `.best-practices/` 不再批量生成 installable skills,只作为扁平参考资料。
|
|
4
4
|
|
|
5
|
-
包内共有 **
|
|
5
|
+
包内共有 **19 颗 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`
|
|
13
|
-
| `description`
|
|
14
|
-
| `category` / `domain` / `tier` 枚举值合法 | ✓
|
|
15
|
-
| `triggers` 数组非空 | ✓
|
|
11
|
+
| frontmatter 完整(`name` / `description` / `category` / `domain` / `tier` / `triggers`) | ✓ 19/19 | core 由 root `skills/` 生成 |
|
|
12
|
+
| `name` 使用裸 slug,扁平且不含连字符 | ✓ 19/19 | LLM 原生 skill 入口保持简洁;CLI 选择层使用 `zsk:<slug>` |
|
|
13
|
+
| `description` 简洁表达职责和使用时机 | ✓ 19/19 | 面向索引阅读;triggers 留给机器使用 |
|
|
14
|
+
| `category` / `domain` / `tier` 枚举值合法 | ✓ 19/19 | stage/utility · core |
|
|
15
|
+
| `triggers` 数组非空 | ✓ 19/19 | 至少含裸 slug |
|
|
16
16
|
| 无硬编码项目名 / 技术栈(统一 `{{config.*}}` 占位符) | ✓ | harness-neutral |
|
|
17
17
|
| `related:` 相对路径合法 | ✓ | core 不依赖参考层生成物 |
|
|
18
|
-
| 单文件 ≤ 300 行 | ✓
|
|
18
|
+
| 单文件 ≤ 300 行 | ✓ 19/19 | core 由 `lint:harness` 强制 |
|
|
19
19
|
|
|
20
20
|
当前 `max-lines` 已由 `tools/lint-frontmatter.ts` 作为 error 强制;新增或修改 skill 不应超过 300 行。
|
|
21
21
|
|
|
22
22
|
## 使用方法通则
|
|
23
23
|
|
|
24
|
-
zsk skill 是 LLM
|
|
24
|
+
zsk skill 是 LLM **按需自动触发**的资产。用户通常只做两件事:先安装 skill,再在业务项目里用 `zsk init` 建知识工作区。
|
|
25
25
|
|
|
26
|
-
1. **安装**:`npx @captain_z/zsk add` →
|
|
26
|
+
1. **安装**:`npx @captain_z/zsk add` → 选 profile bundle(或 custom 多选)+ 目标路径(`~/.claude/skills/` / `~/.codex/skills/` / 自定义)→ 落盘
|
|
27
27
|
2. **自动发现**:LLM(Claude Code / Codex / Gemini CLI)会话启动时扫描 skill 目录,读取每份 `SKILL.md` 的 frontmatter
|
|
28
28
|
3. **自动触发**:遇到匹配 `description` 或 `triggers` 的任务时,LLM 载入对应 SKILL.md 的完整内容
|
|
29
|
-
4. **手动触发**(可选):会话中显式说 "用 `zsk:
|
|
29
|
+
4. **手动触发**(可选):会话中显式说 "用 `zsk:dispatch` 调度"、"用 `zsk:spec` 写规格",LLM 直接载入指定 skill
|
|
30
|
+
|
|
31
|
+
## Profile 选择
|
|
32
|
+
|
|
33
|
+
Profile 是流程组合策略,不是新的 skill。Atomic skills 仍然平铺在 `skills/`,profile 只决定默认安装集合、阶段顺序、可选节点和严格度。
|
|
34
|
+
|
|
35
|
+
| profile | skills | 适用场景 |
|
|
36
|
+
| --- | ---: | --- |
|
|
37
|
+
| `zsk-lite` | 7 | 小修、小项目、脚本、低风险任务 |
|
|
38
|
+
| `zsk-sdlc` | 16 | 标准工程交付;需求、实现、审查、验证、验收、归档 |
|
|
39
|
+
| `zsk-frontend` | 17 | UI/UX/browser-facing 交付;强化 demo、视觉证据、前端质量门禁 |
|
|
40
|
+
| `zsk-enterprise` | 17 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
41
|
+
| `sdlc-only` | 19 | 旧入口兼容;安装全部 core skills |
|
|
42
|
+
|
|
43
|
+
## Skill 搭配流程图
|
|
44
|
+
|
|
45
|
+
`dispatch` 是 ZSK 给 OMX 的调度适配入口;`flow` 是恢复下一合法阶段的状态机入口;profile 决定主线顺序、可选节点和严格度,其他 skill 按阶段负责一段明确产物。遇到缺资料、缺证据、缺 owner 或发现缺陷时,阶段不会静默跳过,而是写 issue 或回到前置阶段补齐。
|
|
46
|
+
|
|
47
|
+
```mermaid
|
|
48
|
+
flowchart TD
|
|
49
|
+
Start([开始或恢复工作]) --> Dispatch[zsk:dispatch<br/>让 OMX 按 ZSK workflow 调度]
|
|
50
|
+
Dispatch --> Flow[zsk:flow<br/>读取状态与资源]
|
|
51
|
+
Flow --> Prepare[zsk:prepare<br/>收集 SRS/PRD/API/设计/测试来源]
|
|
52
|
+
Prepare --> Proposal[zsk:proposal<br/>定义 why / scope / non-goals]
|
|
53
|
+
Proposal --> Spec[zsk:spec<br/>写 FR/NFR/AC/场景]
|
|
54
|
+
Spec --> Design[zsk:design<br/>映射接口/数据流/风险]
|
|
55
|
+
Design --> Task[zsk:task<br/>拆任务与证据钩子]
|
|
56
|
+
Task --> Coding[zsk:coding<br/>小步实现]
|
|
57
|
+
Coding --> Smoke[zsk:smoke<br/>本地证明变更可运行]
|
|
58
|
+
Smoke --> Review[zsk:review<br/>阻塞式实现审查]
|
|
59
|
+
Review --> Commit[zsk:commit<br/>review 后 scoped commit]
|
|
60
|
+
Commit --> Ready[zsk:ready<br/>整理待验收证据]
|
|
61
|
+
Ready --> Verify[zsk:verify<br/>独立验证 claim]
|
|
62
|
+
Verify --> Acceptance[zsk:acceptance<br/>业务接受或拒绝]
|
|
63
|
+
Acceptance --> Archive[zsk:archive<br/>归档产物与学习反馈]
|
|
64
|
+
|
|
65
|
+
Coding -.发现问题.-> Issue[zsk:issue<br/>缺陷/阻塞/风险/问题]
|
|
66
|
+
Smoke -.失败.-> Issue
|
|
67
|
+
Review -.拒绝.-> Issue
|
|
68
|
+
Verify -.不通过.-> Issue
|
|
69
|
+
Issue --> Coding
|
|
70
|
+
Commit -.需要环境.-> Deploy[zsk:deploy<br/>部署到非生产/演示环境]
|
|
71
|
+
Deploy -.进入验证.-> Ready
|
|
72
|
+
Demo[zsk:demo<br/>正式测试前演示] --> Defect[zsk:defect<br/>QA 缺陷归类与复现]
|
|
73
|
+
Defect --> Coding
|
|
74
|
+
Commit -.需要演示.-> Demo
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## 常见用法
|
|
78
|
+
|
|
79
|
+
| 目标 | 推荐说法或命令 | 结果 |
|
|
80
|
+
| --- | --- | --- |
|
|
81
|
+
| 安装默认 core skills | `npx @captain_z/zsk add` | 交互选择 target 和 bundle |
|
|
82
|
+
| CI 安装轻量 profile | `npx @captain_z/zsk add zsk-lite --target=~/.claude/skills --yes` | 非交互安装 7 颗常用 skills |
|
|
83
|
+
| CI 安装标准 SDLC profile | `npx @captain_z/zsk add zsk-sdlc --target=~/.claude/skills --yes` | 非交互安装 16 颗标准 workflow skills |
|
|
84
|
+
| Claude plugin 安装 | `/plugin marketplace add codeshareman/zsk` 后 `/plugin install zsk@zsk` | 使用 `/zsk:<slug>` 命令面 |
|
|
85
|
+
| GitHub skills 管理器安装 | `npx skills add codeshareman/zsk` | 从仓库根 `skills/` 安装;不要加 `@` |
|
|
86
|
+
| 不确定该用哪个 skill | "用 `zsk:dispatch` 调度" | 让 OMX 围绕 ZSK skills 分配 subagents |
|
|
87
|
+
| 恢复一个项目的下一步 | "用 `zsk:flow` 继续" | 读取配置、阶段文档和 blocker,选择合法下一阶段 |
|
|
88
|
+
| 明确进入某阶段 | "用 `zsk:spec` 写模块规格" | 只载入对应 stage contract |
|
|
30
89
|
|
|
31
90
|
**典型消费路径**(production,安装后):
|
|
32
91
|
|
|
33
92
|
- `~/.claude/skills/zsk-<slug>/SKILL.md` — Claude Code / flat target
|
|
34
93
|
- `~/.codex/skills/zsk-<slug>/SKILL.md` — Codex / flat target
|
|
35
94
|
- `./.claude-plugin/skills/<slug>/SKILL.md` + `commands/<slug>.md` — Claude plugin local target
|
|
36
|
-
- `@captain_z/zsk-skills
|
|
95
|
+
- `@captain_z/zsk-skills/<slug>/SKILL.md` — 通过 npm 读
|
|
37
96
|
|
|
38
97
|
仓库根还发布 `.claude-plugin/plugin.json` 和 `.claude-plugin/marketplace.json`,用于 Claude Code `/plugin marketplace add codeshareman/zsk` + `/plugin install zsk@zsk`;根级 `skills/` 同时兼容 `npx skills add codeshareman/zsk`。
|
|
39
98
|
|
|
@@ -41,9 +100,9 @@ zsk skill 是 LLM **按需自动触发**的资产:
|
|
|
41
100
|
|
|
42
101
|
`zsk init` 生成的 `.zsk/config.yaml`、`docs/SYSTEM-SPEC.md`、`.raws/`、`docs/` 和 `.issues/` 是默认项目上下文。CLI 负责创建最小骨架、使用 package-owned schema 校验、刷新 `{paths.raws}/manifest.json`,并通过 `zsk config check` / `zsk check` 做确定性校验。
|
|
43
102
|
|
|
44
|
-
Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Modao
|
|
103
|
+
Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Modao、测试资产和设计资产,发现模块边界,做跨事实源冲突分析,并把问题写入配置的 issue 根。运行时验证默认用 Playwright 产生可复现 evidence;Browser Use 用于复用已登录浏览器/profile/SSO 状态;Computer Use 只用于结构化 Web 自动化不可达或需要视觉/系统级判断的场景。Skills 必须通过 `.zsk/config.yaml` 和 `docs/{module}/module.yaml` 解析路径,不能硬编码 `.raws`、`docs` 或 `.issues`。
|
|
45
104
|
|
|
46
|
-
|
|
105
|
+
每个 skill/stage 的输入、输出、工具/能力、脚本策略和 Browser Use 策略由 harness 的 `skill-io-contract.yaml` 约束;完成后的产物路径、issue 索引同步和确认后的文档反哺由 `completion-contract.yaml` 约束。缺少 Documentation Feedback 时,`zsk check` 可以把它作为阶段未收口的证据。
|
|
47
106
|
|
|
48
107
|
## 领域总览
|
|
49
108
|
|
|
@@ -51,95 +110,84 @@ Skills 负责更需要判断的部分:理解 SRS、PRD、API 契约、Figma/Mo
|
|
|
51
110
|
|
|
52
111
|
| 领域 | skill 数 | 职责 |
|
|
53
112
|
| ----------------- | -------- | ------------------------------------------ |
|
|
54
|
-
| `
|
|
55
|
-
| **总计** | **
|
|
113
|
+
| `skills/` | 19 | harness-first 默认工作流入口 |
|
|
114
|
+
| **总计** | **19** | |
|
|
56
115
|
|
|
57
116
|
## 安装套件(bundles.yaml)
|
|
58
117
|
|
|
59
118
|
| name | skills | 场景 |
|
|
60
119
|
| ------------------------------ | ------ | --------------------------------------------- |
|
|
61
|
-
| `
|
|
62
|
-
| `
|
|
63
|
-
| `frontend
|
|
120
|
+
| `zsk-lite` | 7 | 小型低风险任务;coding → smoke → review → commit |
|
|
121
|
+
| `zsk-sdlc`(推荐) | 16 | 标准工程交付;完整需求、实现、审查、验证、验收、归档链路 |
|
|
122
|
+
| `zsk-frontend` | 17 | 前端/视觉/browser-facing 任务;强化 demo 和前端质量门禁 |
|
|
123
|
+
| `zsk-enterprise` | 17 | 高治理交付;要求 deploy、验收、归档、审计证据 |
|
|
124
|
+
| `sdlc-only` | 19 | 旧入口兼容;安装全部 core skills |
|
|
125
|
+
| `frontend-project` | 19 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
126
|
+
| `frontend-with-design-handoff` | 19 | 旧入口兼容;推荐改用 `zsk-frontend` |
|
|
64
127
|
| `custom` | 交互 | 通过 `zsk add` 任意多选 |
|
|
65
128
|
|
|
66
|
-
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total:
|
|
129
|
+
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total: 19 skills -->
|
|
67
130
|
|
|
68
|
-
## Skill 清单(core)
|
|
131
|
+
## Skill 清单(core skills)
|
|
69
132
|
|
|
70
|
-
> 内容由 `tools/catalog.ts` 从 `packages/skills
|
|
133
|
+
> 内容由 `tools/catalog.ts` 从 `packages/skills/*/SKILL.md` frontmatter 生成。重生成:`pnpm catalog`。
|
|
71
134
|
|
|
72
|
-
###
|
|
135
|
+
### `<slug>/` — Core · harness-first 默认工作流入口 (19)
|
|
73
136
|
|
|
74
|
-
- **`
|
|
75
|
-
|
|
76
|
-
触发:`acceptance` · `zsk:acceptance`
|
|
137
|
+
- **`dispatch`**
|
|
138
|
+
At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
|
|
77
139
|
|
|
78
|
-
- **`
|
|
79
|
-
|
|
80
|
-
触发:`archive` · `zsk:archive`
|
|
140
|
+
- **`flow`**
|
|
141
|
+
Starts or resumes delivery by reading state, resources, and blockers, then selecting the next legal stage.
|
|
81
142
|
|
|
82
|
-
- **`
|
|
83
|
-
|
|
84
|
-
触发:`coding` · `zsk:coding`
|
|
143
|
+
- **`prepare`**
|
|
144
|
+
After project init, collects resource origins, snapshots evidence, and updates config/manifests before proposal/spec.
|
|
85
145
|
|
|
86
|
-
- **`
|
|
87
|
-
|
|
88
|
-
触发:`commit` · `zsk:commit`
|
|
146
|
+
- **`proposal`**
|
|
147
|
+
Before spec, frames the problem, scope, non-goals, success criteria, stakeholders, risks, and resource gaps.
|
|
89
148
|
|
|
90
|
-
- **`
|
|
91
|
-
|
|
92
|
-
触发:`demo` · `zsk:demo`
|
|
149
|
+
- **`spec`**
|
|
150
|
+
After proposal, defines sourced FR/NFR, acceptance criteria, scenarios, edge cases, and open gaps.
|
|
93
151
|
|
|
94
|
-
- **`
|
|
95
|
-
|
|
96
|
-
触发:`deploy` · `zsk:deploy`
|
|
152
|
+
- **`design`**
|
|
153
|
+
After spec freeze, maps behavior to interfaces, data flow, rollout plan, risks, and implementation surfaces.
|
|
97
154
|
|
|
98
|
-
- **`
|
|
99
|
-
|
|
100
|
-
触发:`design` · `zsk:design`
|
|
155
|
+
- **`task`**
|
|
156
|
+
After design approval, creates executable tasks with dependencies, FR/AC coverage, owners, and evidence hooks.
|
|
101
157
|
|
|
102
|
-
- **`
|
|
103
|
-
|
|
104
|
-
触发:`prepare-resources` · `zsk:prepare-resources`
|
|
158
|
+
- **`coding`**
|
|
159
|
+
For approved tasks, implements small scoped diffs with tests, evidence, and blocker reporting.
|
|
105
160
|
|
|
106
|
-
- **`
|
|
107
|
-
|
|
108
|
-
触发:`proposal` · `zsk:proposal`
|
|
161
|
+
- **`smoke`**
|
|
162
|
+
After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
|
|
109
163
|
|
|
110
|
-
- **`
|
|
111
|
-
|
|
112
|
-
触发:`ready-for-verify` · `zsk:ready-for-verify`
|
|
164
|
+
- **`review`**
|
|
165
|
+
After smoke, reviews implementation against scope, specs, tasks, tests, security, maintainability, and evidence.
|
|
113
166
|
|
|
114
|
-
- **`
|
|
115
|
-
|
|
116
|
-
触发:`review` · `zsk:review`
|
|
167
|
+
- **`commit`**
|
|
168
|
+
After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
|
|
117
169
|
|
|
118
|
-
- **`
|
|
119
|
-
|
|
120
|
-
触发:`self-test` · `zsk:self-test`
|
|
170
|
+
- **`demo`**
|
|
171
|
+
Before formal testing, runs planned demos and captures evidence without making acceptance claims.
|
|
121
172
|
|
|
122
|
-
- **`
|
|
123
|
-
|
|
124
|
-
触发:`spec` · `zsk:spec`
|
|
173
|
+
- **`defect`**
|
|
174
|
+
After formal QA reports findings, normalizes defects with repro, evidence, FR/AC links, and fix routing.
|
|
125
175
|
|
|
126
|
-
- **`
|
|
127
|
-
|
|
128
|
-
触发:`standard-dev-flow` · `zsk:standard-dev-flow`
|
|
176
|
+
- **`ready`**
|
|
177
|
+
Before independent verification, prepares a handoff with issue mappings, evidence, version, and regression notes.
|
|
129
178
|
|
|
130
|
-
- **`
|
|
131
|
-
|
|
132
|
-
触发:`task` · `zsk:task`
|
|
179
|
+
- **`verify`**
|
|
180
|
+
Independently verifies fixes or acceptance criteria against a stated claim, target version, and linked evidence.
|
|
133
181
|
|
|
134
|
-
- **`
|
|
135
|
-
|
|
136
|
-
触发:`test-issue` · `zsk:test-issue`
|
|
182
|
+
- **`acceptance`**
|
|
183
|
+
After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
|
|
137
184
|
|
|
138
|
-
- **`
|
|
139
|
-
|
|
140
|
-
触发:`verify` · `zsk:verify`
|
|
185
|
+
- **`deploy`**
|
|
186
|
+
After review, deploys to non-production or demo targets with version, smoke evidence, and rollback owner.
|
|
141
187
|
|
|
142
|
-
- **`
|
|
143
|
-
|
|
144
|
-
|
|
188
|
+
- **`archive`**
|
|
189
|
+
After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
|
|
190
|
+
|
|
191
|
+
- **`issue`**
|
|
192
|
+
Tracks defects, blockers, questions, and risks with taxonomy, severity, owner, reproduction, and evidence.
|
|
145
193
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
name:
|
|
3
|
-
description:
|
|
4
|
-
|
|
5
|
-
residual-risk owner, and explicit accept/reject status.
|
|
2
|
+
name: acceptance
|
|
3
|
+
description: After independent verify passes, records accept/reject decision,
|
|
4
|
+
linked evidence, and residual-risk owner.
|
|
6
5
|
kind: workflow-node
|
|
7
6
|
pack: core
|
|
8
7
|
stage: acceptance
|
|
@@ -14,7 +13,6 @@ category: stage
|
|
|
14
13
|
tier: core
|
|
15
14
|
triggers:
|
|
16
15
|
- acceptance
|
|
17
|
-
- zsk:acceptance
|
|
18
16
|
---
|
|
19
17
|
|
|
20
18
|
# Acceptance
|
|
@@ -34,28 +32,40 @@ Use this stage after independent `verify` has passed and the product/business ow
|
|
|
34
32
|
2. Confirm P0/P1 acceptance criteria are verified or explicitly waived.
|
|
35
33
|
3. Summarize residual risks, owners, and follow-up issues.
|
|
36
34
|
4. Record one decision: `ACCEPT`, `ACCEPT_WITH_RISK`, `REJECT`, or `BLOCKED`.
|
|
37
|
-
5.
|
|
35
|
+
5. For `ACCEPT*`, apply documentation feedback from linked issues: update module spec/design/task docs and project specs for behavior that was missing, ambiguous, or under-described.
|
|
36
|
+
6. Route `ACCEPT*` to `archive`; route rejection to the earliest invalidated stage.
|
|
38
37
|
|
|
39
38
|
## Constraints
|
|
40
39
|
|
|
41
40
|
- Do not accept work with missing verify evidence.
|
|
42
41
|
- Do not hide product disagreement as a minor issue.
|
|
43
42
|
- Do not mutate implementation or test files from this stage.
|
|
43
|
+
- Do not leave confirmed issue learning only in `.issues`; accepted fixes must feed back into the relevant spec/design/task docs unless there is an explicit no-update rationale.
|
|
44
44
|
- Keep the decision short, dated, and evidence-linked.
|
|
45
45
|
|
|
46
46
|
## Outputs
|
|
47
47
|
|
|
48
48
|
- `acceptance` decision artifact.
|
|
49
49
|
- Residual-risk list with owner and due date.
|
|
50
|
+
- Updated spec/design/task documentation feedback or explicit no-update rationale.
|
|
50
51
|
- Archive readiness or rejection route.
|
|
51
52
|
|
|
52
|
-
##
|
|
53
|
+
## Harness Contract
|
|
53
54
|
|
|
54
|
-
This core skill is
|
|
55
|
+
This core skill is governed by the ZSK harness. Enforce these rules even when only this `SKILL.md` is visible:
|
|
55
56
|
|
|
56
57
|
- Stage gates: do not skip required inputs, illegal transitions, blockers, or evidence checks.
|
|
57
58
|
- Evidence rules: no PASS / DONE / READY claim without linked command, artifact, issue, scenario, or human decision evidence.
|
|
58
59
|
- Source of truth: read configured resources before inventing intent; record conflicts instead of choosing silently.
|
|
59
|
-
- Issue taxonomy: route demo,
|
|
60
|
+
- Issue taxonomy: route demo, smoke, review, test, verify, and acceptance findings to the correct issue type.
|
|
60
61
|
- Learning loop: reusable gaps become learning proposals; never mutate core constraints, templates, packs, or skills automatically.
|
|
61
62
|
|
|
63
|
+
When a `harness/` directory is installed beside this file, treat it as the local contract source:
|
|
64
|
+
|
|
65
|
+
- Read `harness/THIS_SKILL.md` before executing this skill.
|
|
66
|
+
- Read `harness/workflow/skill-io-contract.yaml` for this skill's required inputs, outputs, tools, and capabilities.
|
|
67
|
+
- Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
|
|
68
|
+
- Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
|
|
69
|
+
- Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
|
|
70
|
+
- Read the relevant file under `harness/best-practices/` when the task touches SDLC, quality, frontend, design handoff, system constraints, or agent orchestration.
|
|
71
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Installed ZSK Harness Contract
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
The local `SKILL.md` is the execution entrypoint. These files are the supporting contract for stage gates, evidence, issue taxonomy, workflow transitions, and compact best-practice references.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
# zsk Harness
|
|
9
|
+
|
|
10
|
+
`harness/` is the source of truth for workflow governance. Skills are execution surfaces, but the harness owns constraints, resources, templates, state transitions, evidence, issue taxonomy, completion outputs, and learning promotion rules.
|
|
11
|
+
|
|
12
|
+
The harness should adapt best practices, not accumulate them. Prefer the smallest sufficient local design: no speculative abstractions, scripts, files, or workflow gates unless the current project need proves they are necessary.
|
|
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.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# acceptance · Focused Harness Contract
|
|
2
|
+
|
|
3
|
+
This file is generated for the installed skill. Read it before executing this skill.
|
|
4
|
+
|
|
5
|
+
## Responsibility
|
|
6
|
+
|
|
7
|
+
- Skill: `acceptance`
|
|
8
|
+
- Stage/type: `acceptance`
|
|
9
|
+
- Purpose: After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
|
|
10
|
+
|
|
11
|
+
## Required Inputs
|
|
12
|
+
|
|
13
|
+
- `verify-report`
|
|
14
|
+
- `demo-report`
|
|
15
|
+
- `residual-risks`
|
|
16
|
+
- `linked-issues`
|
|
17
|
+
|
|
18
|
+
## Required Outputs
|
|
19
|
+
|
|
20
|
+
- `acceptance-decision`
|
|
21
|
+
- `confirmed-doc-feedback`
|
|
22
|
+
- `residual-risk-list`
|
|
23
|
+
|
|
24
|
+
## Allowed Tools And Capabilities
|
|
25
|
+
|
|
26
|
+
- Tools: `filesystem`, `issue-update`
|
|
27
|
+
- Capabilities: `business-acceptance`, `documentation-feedback`
|
|
28
|
+
- Script policy: `optional`
|
|
29
|
+
- Browser Use policy: `never`
|
|
30
|
+
|
|
31
|
+
## Must Read Before Acting
|
|
32
|
+
|
|
33
|
+
- `profiles/*.yaml` to apply the active workflow profile before enforcing optional gates.
|
|
34
|
+
- `workflow/skill-io-contract.yaml` for the full machine-readable contract.
|
|
35
|
+
- `workflow/state-machine.yaml` before moving to another stage.
|
|
36
|
+
- `constraints/stage-gates.md` before accepting or skipping prerequisites.
|
|
37
|
+
- `constraints/evidence-rules.md` before claiming READY / PASS / DONE.
|
|
38
|
+
- `workflow/completion-contract.yaml` before final response or handoff.
|
|
39
|
+
- `constraints/issue-taxonomy.md` before creating defects, blockers, risks, or questions.
|
|
40
|
+
- `best-practices/sdlc.md`
|
|
41
|
+
- `best-practices/quality.md`
|
|
42
|
+
- `best-practices/system.md`
|
|
43
|
+
|
|
44
|
+
## Hard Stops
|
|
45
|
+
|
|
46
|
+
- Required input is missing, stale, or contradictory.
|
|
47
|
+
- The requested work belongs to an earlier or later ZSK stage.
|
|
48
|
+
- Evidence cannot be linked to command output, artifact, issue, scenario, or human decision.
|
|
49
|
+
- The fix would widen scope beyond this skill's responsibility.
|
|
50
|
+
- A blocker, risk, question, or defect needs persistent tracking.
|
|
51
|
+
|
|
52
|
+
## Completion Checklist
|
|
53
|
+
|
|
54
|
+
- Required outputs above are produced or explicitly blocked.
|
|
55
|
+
- Evidence is linked and reproducible.
|
|
56
|
+
- Issues and indexes are updated when actionable findings exist.
|
|
57
|
+
- Documentation Feedback is recorded when confirmed behavior changes or gaps are found.
|
|
58
|
+
- Next ZSK stage is stated without bypassing the state machine.
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# .best-practices/
|
|
2
|
+
|
|
3
|
+
这里是旧内容库收敛后的扁平参考层,不是默认安装清单。当前只保留 7 个可 lint 的参考文件。
|
|
4
|
+
|
|
5
|
+
## 现在怎么分工
|
|
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/` 同步生成 |
|
|
14
|
+
|
|
15
|
+
## 为什么不再分组
|
|
16
|
+
|
|
17
|
+
物理分组会带来两套同步成本:文件在哪个目录、frontmatter 又写哪个 domain。现在只保留一层文件,Agent 通过 frontmatter 判断领域,通过 `INDEX.md` 查目录。这样移动和删减都更轻。
|
|
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
|
+
```
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: zsk:agent-orchestration
|
|
3
|
+
description: Agent orchestration reference — main-agent ownership, when to delegate, role boundaries, write ownership, review integration, and fallback when delegation is unavailable.
|
|
4
|
+
category: resource
|
|
5
|
+
domain: system
|
|
6
|
+
tier: core
|
|
7
|
+
related:
|
|
8
|
+
- ./sdlc.md
|
|
9
|
+
- ./quality.md
|
|
10
|
+
- ./system.md
|
|
11
|
+
triggers:
|
|
12
|
+
- "sub agent orchestration"
|
|
13
|
+
- "parallel agents"
|
|
14
|
+
- "agent responsibilities"
|
|
15
|
+
- "delegate tasks"
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Agent Orchestration
|
|
19
|
+
|
|
20
|
+
主 Agent 对结果负责。Sub-Agent 只能承担明确范围内的探索、实现、审查或验证,不能替主 Agent 做最终放行。
|
|
21
|
+
|
|
22
|
+
## 何时拆
|
|
23
|
+
|
|
24
|
+
- 任务跨多个独立领域,比如前端、API、测试、安全。
|
|
25
|
+
- diff 或计划跨 5 个以上文件。
|
|
26
|
+
- 涉及权限、资金、数据一致性、迁移、公共 API、性能关键路径。
|
|
27
|
+
- 用户明确要求并行、子代理、各司其职。
|
|
28
|
+
|
|
29
|
+
## 角色边界
|
|
30
|
+
|
|
31
|
+
| 角色 | 职责 | 禁止 |
|
|
32
|
+
| --- | --- | --- |
|
|
33
|
+
| Main | 目标理解、拆分、整合、最终判断 | 原样转述子结论就放行 |
|
|
34
|
+
| Explorer | 只读扫描、证据定位、风险列表 | 修改文件 |
|
|
35
|
+
| Worker | 在指定文件范围内实现 | 改未授权范围、回滚未知改动 |
|
|
36
|
+
| Reviewer | 找缺陷、风险、测试缺口 | 直接替代实现或验收 |
|
|
37
|
+
| Verifier | 跑验证、核证据 | 没跑就声称通过 |
|
|
38
|
+
|
|
39
|
+
## 写权限规则
|
|
40
|
+
|
|
41
|
+
并行 Worker 必须有明确 owned files/modules。遇到共享文件冲突、范围扩大、用户改动影响当前任务时,停止并回报主 Agent。
|
|
42
|
+
|
|
43
|
+
## 降级规则
|
|
44
|
+
|
|
45
|
+
如果当前平台不能派发 Sub-Agent,主 Agent 按同样角色顺序自查,并在最终输出中说明已降级为单 Agent 执行。
|