@captain_z/zsk-skills 1.4.3 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +133 -225
- package/acceptance/SKILL.md +70 -0
- 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/archive/SKILL.md +65 -0
- 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 +122 -76
- package/coding/SKILL.md +66 -0
- 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 +63 -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/defect/SKILL.md +68 -0
- 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 +196 -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/deploy/SKILL.md +64 -0
- 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/design/SKILL.md +78 -0
- 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 +147 -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 +93 -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 +89 -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 +3 -8
- package/prepare/SKILL.md +87 -0
- 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/proposal/SKILL.md +66 -0
- 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/ready/SKILL.md +64 -0
- 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/review/SKILL.md +213 -0
- 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 +70 -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/spec/SKILL.md +78 -0
- 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/task/SKILL.md +85 -0
- 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 +70 -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/design-handoff/design-system/SKILL.md +0 -124
- package/design-handoff/figma-generate-hifi/SKILL.md +0 -131
- package/design-handoff/figma-to-code/SKILL.md +0 -266
- package/design-handoff/ue-mcp/SKILL.md +0 -185
- package/design-handoff/ux-wireframe/SKILL.md +0 -129
- package/frontend/a11y-web/SKILL.md +0 -170
- package/frontend/api-contract-ts/SKILL.md +0 -276
- package/frontend/design-frontend/SKILL.md +0 -184
- package/frontend/dor-dod-frontend/SKILL.md +0 -115
- package/frontend/feature-tasks-frontend/SKILL.md +0 -247
- package/frontend/i18n/SKILL.md +0 -297
- package/frontend/nfr-web/SKILL.md +0 -259
- package/frontend/performance-web/SKILL.md +0 -300
- package/frontend/react-components/SKILL.md +0 -212
- package/frontend/react-naming/SKILL.md +0 -225
- package/frontend/review-frontend/SKILL.md +0 -127
- package/frontend/security-web/SKILL.md +0 -287
- package/frontend/spec-frontend/SKILL.md +0 -142
- package/frontend/styling-system/SKILL.md +0 -275
- package/frontend/testing-web/SKILL.md +0 -253
- package/frontend/typescript/SKILL.md +0 -220
- package/meta/philosophy/SKILL.md +0 -237
- package/quality/a11y-principles/SKILL.md +0 -156
- package/quality/code-hygiene/SKILL.md +0 -137
- package/quality/release/SKILL.md +0 -210
- package/quality/security-owasp/SKILL.md +0 -158
- package/quality/testing-pyramid/SKILL.md +0 -194
- package/sdlc/archive/SKILL.md +0 -268
- package/sdlc/bugfix/SKILL.md +0 -183
- package/sdlc/bugfix-tasks/SKILL.md +0 -233
- package/sdlc/coding/SKILL.md +0 -219
- package/sdlc/design/SKILL.md +0 -280
- package/sdlc/dor-dod/SKILL.md +0 -121
- package/sdlc/feature/SKILL.md +0 -183
- package/sdlc/proposal/SKILL.md +0 -272
- package/sdlc/refactor/SKILL.md +0 -222
- package/sdlc/refactor-tasks/SKILL.md +0 -266
- package/sdlc/reviewing/SKILL.md +0 -163
- package/sdlc/spec/SKILL.md +0 -300
- package/sdlc/standard-dev-flow/SKILL.md +0 -115
- package/sdlc/task/SKILL.md +0 -117
- package/sdlc/task-evidence/SKILL.md +0 -221
- package/sdlc/task-structure/SKILL.md +0 -154
- package/sdlc/task-tracking/SKILL.md +0 -214
- package/sdlc/verify/SKILL.md +0 -180
- package/system/adr/SKILL.md +0 -170
- package/system/agent-orchestration/SKILL.md +0 -115
- package/system/architecture/SKILL.md +0 -183
- package/system/glossary/SKILL.md +0 -142
- package/system/nfr-baseline/SKILL.md +0 -157
- package/system/project-constraints-template/SKILL.md +0 -242
package/README.md
CHANGED
|
@@ -1,285 +1,193 @@
|
|
|
1
1
|
# @captain_z/zsk-skills
|
|
2
2
|
|
|
3
|
-
ZNorth Standard Kit
|
|
3
|
+
ZNorth Standard Kit 的可安装 skill 内容包。安装面现在只保留从根级 `skills/` 生成的 **core harness-first skills**;旧 `.best-practices/` 不再批量生成 installable skills,只作为扁平参考资料。
|
|
4
|
+
|
|
5
|
+
包内共有 **19 颗 installable skills**,全部来自根级 `skills/`。
|
|
4
6
|
|
|
5
7
|
## 合规审查(ARCHITECTURE §4.4 硬指标)
|
|
6
8
|
|
|
7
9
|
| 检查项 | 结果 | 说明 |
|
|
8
10
|
| ---------------------------------------------------------------------------------------- | ------- | ----------------------------------------------------- |
|
|
9
|
-
| frontmatter 完整(`name` / `description` / `category` / `domain` / `tier` / `triggers`) | ✓
|
|
10
|
-
| `name`
|
|
11
|
-
| `description`
|
|
12
|
-
| `category` / `domain` / `tier` 枚举值合法 | ✓
|
|
13
|
-
| `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 |
|
|
14
16
|
| 无硬编码项目名 / 技术栈(统一 `{{config.*}}` 占位符) | ✓ | harness-neutral |
|
|
15
|
-
| `related:`
|
|
16
|
-
| 单文件 ≤ 300 行 | ✓
|
|
17
|
+
| `related:` 相对路径合法 | ✓ | core 不依赖参考层生成物 |
|
|
18
|
+
| 单文件 ≤ 300 行 | ✓ 19/19 | core 由 `lint:harness` 强制 |
|
|
17
19
|
|
|
18
20
|
当前 `max-lines` 已由 `tools/lint-frontmatter.ts` 作为 error 强制;新增或修改 skill 不应超过 300 行。
|
|
19
21
|
|
|
20
22
|
## 使用方法通则
|
|
21
23
|
|
|
22
|
-
zsk skill 是 LLM
|
|
24
|
+
zsk skill 是 LLM **按需自动触发**的资产。用户通常只做两件事:先安装 skill,再在业务项目里用 `zsk init` 建知识工作区。
|
|
23
25
|
|
|
24
|
-
1. **安装**:`npx @captain_z/zsk add` → 选 bundle(或 custom 多选)+ 目标路径(`~/.claude/skills/` / `~/.codex/skills/` / 自定义)→ 落盘
|
|
26
|
+
1. **安装**:`npx @captain_z/zsk add` → 选 profile bundle(或 custom 多选)+ 目标路径(`~/.claude/skills/` / `~/.codex/skills/` / 自定义)→ 落盘
|
|
25
27
|
2. **自动发现**:LLM(Claude Code / Codex / Gemini CLI)会话启动时扫描 skill 目录,读取每份 `SKILL.md` 的 frontmatter
|
|
26
28
|
3. **自动触发**:遇到匹配 `description` 或 `triggers` 的任务时,LLM 载入对应 SKILL.md 的完整内容
|
|
27
|
-
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 |
|
|
28
89
|
|
|
29
90
|
**典型消费路径**(production,安装后):
|
|
30
91
|
|
|
31
|
-
- `~/.claude/skills
|
|
32
|
-
- `~/.codex/skills
|
|
33
|
-
-
|
|
92
|
+
- `~/.claude/skills/zsk-<slug>/SKILL.md` — Claude Code / flat target
|
|
93
|
+
- `~/.codex/skills/zsk-<slug>/SKILL.md` — Codex / flat target
|
|
94
|
+
- `./.claude-plugin/skills/<slug>/SKILL.md` + `commands/<slug>.md` — Claude plugin local target
|
|
95
|
+
- `@captain_z/zsk-skills/<slug>/SKILL.md` — 通过 npm 读
|
|
96
|
+
|
|
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`。
|
|
34
98
|
|
|
35
99
|
## 和项目知识工作区的关系
|
|
36
100
|
|
|
37
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` 做确定性校验。
|
|
38
102
|
|
|
39
|
-
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`。
|
|
40
104
|
|
|
41
|
-
|
|
105
|
+
每个 skill/stage 的输入、输出、工具/能力、脚本策略和 Browser Use 策略由 harness 的 `skill-io-contract.yaml` 约束;完成后的产物路径、issue 索引同步和确认后的文档反哺由 `completion-contract.yaml` 约束。缺少 Documentation Feedback 时,`zsk check` 可以把它作为阶段未收口的证据。
|
|
42
106
|
|
|
43
107
|
## 领域总览
|
|
44
108
|
|
|
109
|
+
包内只保留默认可安装的 core 领域。Frontend、quality、design-handoff 等内容仍在 `.best-practices/`,按需读取,不进入默认安装面。
|
|
110
|
+
|
|
45
111
|
| 领域 | skill 数 | 职责 |
|
|
46
112
|
| ----------------- | -------- | ------------------------------------------ |
|
|
47
|
-
| `
|
|
48
|
-
|
|
|
49
|
-
| `quality/` | 5 | 跨栈质量原则 |
|
|
50
|
-
| `design-handoff/` | 5 | 设计交付方法论 |
|
|
51
|
-
| `system/` | 6 | 工程宪法级资源 |
|
|
52
|
-
| `meta/` | 1 | 元信息 |
|
|
53
|
-
| **总计** | **51** | |
|
|
113
|
+
| `skills/` | 19 | harness-first 默认工作流入口 |
|
|
114
|
+
| **总计** | **19** | |
|
|
54
115
|
|
|
55
116
|
## 安装套件(bundles.yaml)
|
|
56
117
|
|
|
57
118
|
| name | skills | 场景 |
|
|
58
119
|
| ------------------------------ | ------ | --------------------------------------------- |
|
|
59
|
-
| `
|
|
60
|
-
| `
|
|
61
|
-
| `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` |
|
|
62
127
|
| `custom` | 交互 | 通过 `zsk add` 任意多选 |
|
|
63
128
|
|
|
64
|
-
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total:
|
|
65
|
-
|
|
66
|
-
## Skill 清单(按领域)
|
|
67
|
-
|
|
68
|
-
> 内容由 `tools/catalog.ts` 从各 SKILL.md frontmatter 生成。重生成:`pnpm catalog`。
|
|
69
|
-
|
|
70
|
-
### `sdlc/` — SDLC · 7 阶段 + 3 变更工作流 + task 框架 (18)
|
|
71
|
-
|
|
72
|
-
- **`zsk:proposal`** *[stage 1 · stage · core]*
|
|
73
|
-
New-change framing (feature / bugfix / refactor) before spec work — why, success criteria, out-of-scope boundary, alternatives considered, and risks. Always the first stage of the 7-stage SDLC.
|
|
74
|
-
触发:`new feature proposal` · `bug report` · `refactor trigger` · `SMART goals`
|
|
75
|
-
|
|
76
|
-
- **`zsk:spec`** *[stage 2 · stage · core]*
|
|
77
|
-
Behavioral contract writing after proposal approval — scope, numbered functional and non-functional requirements, scenarios, acceptance criteria, edge cases, and impact boundaries. Stage 2 of the 7-stage SDLC.
|
|
78
|
-
触发:`writing spec` · `behavior contract` · `acceptance criteria` · `numbered requirements`
|
|
79
|
-
|
|
80
|
-
- **`zsk:design`** *[stage 3 · stage · core]*
|
|
81
|
-
Solution design after spec freeze — current-state scan, architectural decisions, implementation mapping, delivery slices, risks, rollback, and observability. Stage 3 of the 7-stage SDLC.
|
|
82
|
-
触发:`technical design` · `solution design` · `architecture decision` · `current state scan`
|
|
83
|
-
|
|
84
|
-
- **`zsk:coding`** *[stage 4 · stage · core]*
|
|
85
|
-
Implementation execution after design freeze — smallest viable change, auditable delivery batches, explicit TDD rules by change type, continuous evidence capture, and local quality gates before review. Stage 4 of the 7-stage SDLC.
|
|
86
|
-
触发:`implementing design` · `auditable delivery batches` · `local quality gates` · `smallest viable change`
|
|
87
|
-
|
|
88
|
-
- **`zsk:reviewing`** *[stage 5 · stage · core]*
|
|
89
|
-
PR 代码审查与 AI 多维审查核心规范。包含 Scope 偏移检测、多视角 Sub-Agent 审查、测试执行流分析、代码整洁/重构纪律、置信度校准以及按严重性排序的判定协议。
|
|
90
|
-
触发:`code review` · `PR review` · `审查合并请求` · `review this PR`
|
|
91
|
-
|
|
92
|
-
- **`zsk:verify`** *[stage 6 · stage · core]*
|
|
93
|
-
Acceptance verification before merge — independent contract check, FR/NFR coverage, AC evidence, gate records, and verdict with reproducible proof. Stage 6 of the 7-stage SDLC.
|
|
94
|
-
触发:`acceptance verification` · `evidence before assertion` · `FR coverage matrix` · `AC evidence`
|
|
95
|
-
|
|
96
|
-
- **`zsk:archive`** *[stage 7 · stage · core]*
|
|
97
|
-
Iteration closing / archive — move historical snapshots to docs/{module}/archive/, write postmortem (P0/P1 mandatory), update changelog (SemVer + Keep a Changelog), flush ADRs, update SYSTEM-SPEC if cross-module constraints emerged, feed back to standards/system docs. Stage 7 of the 7-stage SDLC.
|
|
98
|
-
触发:`archive iteration` · `postmortem` · `changelog` · `ADR flush`
|
|
99
|
-
|
|
100
|
-
- **`zsk:bugfix-tasks`** *[core]*
|
|
101
|
-
Bugfix task template with TDD enforcement — Step 1 Red (write failing reproduction test), Step 2 Green (minimal fix, no opportunistic refactor), Step 3 Regression (adjacent scenarios), Step 4 Evidence (before/after reproduction). Requires Superpowers' 3 confidence questions before starting.
|
|
102
|
-
触发:`bugfix task template` · `TDD bug fix` · `red green regression` · `bug confidence questions`
|
|
103
|
-
|
|
104
|
-
- **`zsk:dor-dod`** *[core]*
|
|
105
|
-
DoR/DoD gates between SDLC stages — generic DoR/DoD for all change types; frontend-specific rows (UE matrix / ue-mcp / 三语 i18n / 视觉回归 / axe) are in zsk:dor-dod-frontend.
|
|
106
|
-
触发:`definition of ready` · `definition of done` · `DoR DoD` · `task gate`
|
|
107
|
-
|
|
108
|
-
- **`zsk:refactor-tasks`** *[core]*
|
|
109
|
-
Refactor task template (characterization + small-step atomic) — Step 1 capture behavior baseline, Step 2 apply one Fowler technique per atomic commit (revert on red), Step 3 Parallel Change for large refactors (Expand → Migrate → Contract), Step 4 prepare behavior-unchanged evidence.
|
|
110
|
-
触发:`refactor task template` · `characterization baseline` · `Fowler techniques` · `Parallel Change tasks`
|
|
111
|
-
|
|
112
|
-
- **`zsk:task`** *[core]*
|
|
113
|
-
Cross-stage task execution mindset — what a task is, how it threads spec → verify, which template to pick by change type, cross-stage hard principles. Not for writing a specific task; use zsk:task-structure for that.
|
|
114
|
-
触发:`task framework` · `task execution overview` · `cross-stage tasks` · `which task template`
|
|
115
|
-
|
|
116
|
-
- **`zsk:task-evidence`** *[core]*
|
|
117
|
-
Task verification evidence discipline — FR coverage matrix (every FR/NFR from spec has coverage task + acceptance evidence), AC checklist with reproducible links, validation records per gate (lint/type-check/test/security/etc.). Enforces "evidence before assertion" — links must be clickable and reproducible.
|
|
118
|
-
触发:`FR coverage matrix` · `AC verification` · `validation record` · `evidence links`
|
|
119
|
-
|
|
120
|
-
- **`zsk:task-structure`** *[core]*
|
|
121
|
-
tasks.md authoring discipline — task granularity (0.5-2 person-days), two-level structure (parent/child, no deeper), estimation unit (T-shirt or Fibonacci), required fields per task (status/owner/covers-FR/deliverable/verification), FR coverage numbering rules.
|
|
122
|
-
触发:`task granularity` · `task estimation` · `T-shirt sizing` · `story points`
|
|
123
|
-
|
|
124
|
-
- **`zsk:task-tracking`** *[core]*
|
|
125
|
-
Task execution tracking — dependencies (Mermaid graph), blockers (dated log with severity H/M/L and escalation rules), milestones, auditable LLM execution batches, and task state transitions (TODO → DOING → DONE, with BLOCKED requiring log entry).
|
|
126
|
-
触发:`task dependency graph` · `blocker log` · `milestones` · `task state flow`
|
|
127
|
-
|
|
128
|
-
- **`zsk:bugfix`** *[workflow · core]*
|
|
129
|
-
Bugfix end-to-end orchestration — triage → reproduce → RCA (5 Whys with confidence questions) → TDD fix (red first) → regression coverage → postmortem (P0/P1 mandatory). Enforces Superpowers' bug confidence questioning discipline.
|
|
130
|
-
触发:`bug fix workflow` · `fix defect` · `RCA` · `5 whys`
|
|
131
|
-
|
|
132
|
-
- **`zsk:feature`** *[workflow · core]*
|
|
133
|
-
Feature end-to-end orchestration across 7 SDLC stages — brainstorming → writing-plans → plan-eng-review → executing-plans+TDD → requesting/receiving-code-review → verification-before-completion → finishing-a-development-branch.
|
|
134
|
-
触发:`new feature workflow` · `feature end to end` · `start feature` · `feature stages`
|
|
135
|
-
|
|
136
|
-
- **`zsk:refactor`** *[workflow · core]*
|
|
137
|
-
Behavior-preserving refactor discipline — Fowler catalog, characterization tests as baseline, small atomic commits, Parallel Change / Strangler Fig for large refactors. Enforces "behavior preserved" as a hard contract (any behavior change means it is not a refactor).
|
|
138
|
-
触发:`refactor workflow` · `Fowler refactoring` · `characterization test` · `Parallel Change`
|
|
139
|
-
|
|
140
|
-
- **`zsk:standard-dev-flow`** *[workflow · core]*
|
|
141
|
-
交互式标准开发工作流,包含 Prepare 预检 + 7 阶段 SDLC(Proposal, Spec, Design, Coding, Reviewing, Verify, Archive)。通过强门禁、可审计批次和多视角审查,保障高质量开发落地。
|
|
142
|
-
触发:`standard dev flow` · `start a new feature workflow` · `execute enterprise workflow` · `7 stage development`
|
|
143
|
-
|
|
144
|
-
### `frontend/` — Frontend · React + Web 层实现规范 (16)
|
|
145
|
-
|
|
146
|
-
- **`zsk:spec-frontend`** *[stage 2 · stage · optional]*
|
|
147
|
-
Frontend component/page spec.md authoring — adds Component Public Contract (Props / Events / TS types), UE state matrix with a11y attributes, UE/MCP reference, and the 6-category Frontend NFR (performance / a11y / security / i18n / compat / observability). Extends the generic zsk:spec framework.
|
|
148
|
-
触发:`frontend spec` · `Component Public Contract` · `Props Event Contract` · `UE state matrix`
|
|
149
|
-
|
|
150
|
-
- **`zsk:design-frontend`** *[stage 3 · stage · optional]*
|
|
151
|
-
Frontend module design.md authoring — adds Props/state/event implementation mapping, UE-state-to-structure mapping, Figma-to-implementation mapping, performance budget (Core Web Vitals), ErrorBoundary placement. Extends the generic zsk:design framework.
|
|
152
|
-
触发:`frontend design` · `Props implementation mapping` · `UE state to structure` · `Figma to implementation`
|
|
153
|
-
|
|
154
|
-
- **`zsk:review-frontend`** *[stage 5 · stage · optional]*
|
|
155
|
-
Frontend PR code review — frontend-specific self-checklist and reviewer checklist covering TypeScript red lines (no any / @ts-ignore), React hooks rules, dangerouslySetInnerHTML, large-list performance hazards, visual regression, i18n three-language sync, jsx-a11y. Extends zsk:reviewing generic checklist.
|
|
156
|
-
触发:`frontend code review` · `React review checklist` · `TypeScript red lines` · `hooks review`
|
|
157
|
-
|
|
158
|
-
- **`zsk:dor-dod-frontend`** *[optional]*
|
|
159
|
-
Frontend-specific DoR/DoD for SDLC stage transitions — frontend-specific rows on top of the generic checklist. Covers UE state matrix completeness, ue-mcp.md registration, visual regression, three-language i18n sync, a11y (keyboard/aria/focus), frontend NFR (CWV) evidence.
|
|
160
|
-
触发:`frontend DoR DoD` · `frontend definition of ready done` · `UE matrix gate` · `visual regression gate`
|
|
161
|
-
|
|
162
|
-
- **`zsk:feature-tasks-frontend`** *[optional]*
|
|
163
|
-
Frontend component/page feature task template — 7-category mandatory (事实源对齐 / Props 契约 / UE-MCP 刷新 / UE 状态 / 测试 / 视觉回归 / 质量门禁). Enforces TDD-first, contract-driven, evidence-before-assertion.
|
|
164
|
-
触发:`frontend feature tasks` · `component tasks template` · `7 category tasks` · `Props UE state visual regression`
|
|
165
|
-
|
|
166
|
-
- **`zsk:nfr-web`** *[optional]*
|
|
167
|
-
Web-side NFR thresholds for the 7-category framework — Core Web Vitals (LCP/INP/CLS/TTFB/TTI targets), WCAG 2.1 AA itemized rules, Web security NFR items, i18n language list + baseline + entry + RTL, browser/OS/device compatibility matrix, responsive breakpoints, observability (web-vitals + error reporting), reliability (ErrorBoundary + timeout + retry). Inherits system/nfr-baseline; modules declare deviations only.
|
|
168
|
-
触发:`Web NFR` · `CWV thresholds` · `WCAG AA rules` · `browser matrix`
|
|
169
|
-
|
|
170
|
-
- **`zsk:a11y-web`** *[standard · optional]*
|
|
171
|
-
React/JSX accessibility implementation — label association (htmlFor/wrap), aria props usage, Modal focus trap (inert + initialFocus + restoreFocus), dialog role, live regions for async, skip link, axe-core + jsx-a11y toolchain, keyboard event handlers, prefers-reduced-motion. Implementation layer; principles (WCAG, POUR, contrast) live in quality/a11y-principles.
|
|
172
|
-
触发:`jsx a11y` · `focus trap` · `Modal accessibility` · `axe-core`
|
|
173
|
-
|
|
174
|
-
- **`zsk:api-contract-ts`** *[standard · optional]*
|
|
175
|
-
TypeScript frontend × backend API contract — never hand-write API types, always consume from the shared types package or generated codegen. Covers source-of-truth pattern (backend-owned types), codegen workflows (OpenAPI / GraphQL / tRPC / Protobuf), breaking-change handling, version discipline, runtime validation (Zod at boundary), and service-layer shape. Pairs with typescript.md red lines.
|
|
176
|
-
触发:`API type sync` · `do not hand-write API types` · `OpenAPI codegen` · `GraphQL codegen`
|
|
177
|
-
|
|
178
|
-
- **`zsk:i18n`** *[standard · optional]*
|
|
179
|
-
Frontend module i18n implementation — unified entry (i18n.t with mandatory fallback), key namespace structure (namespace.module.leaf_key), three-language sync rule (commit-atomic), ICU MessageFormat for plural/select, Intl.* for date/number/currency, RTL declaration, React Trans component for JSX interpolation. Replaces standards/i18n for frontend scope.
|
|
180
|
-
触发:`i18n implementation` · `key namespace` · `fallback baseline` · `ICU plural`
|
|
181
|
-
|
|
182
|
-
- **`zsk:performance-web`** *[standard · optional]*
|
|
183
|
-
React / Web frontend performance for Core Web Vitals — CWV thresholds (LCP/INP/CLS/TTFB/TTI), React memoization discipline (when to memo vs not), virtualization for lists ≥ 200, lazy loading via React.lazy + Suspense + IntersectionObserver, bundle splitting + tree-shaking, image srcset + loading="lazy", debounce/throttle, re-render diagnosis with React DevTools Profiler. Implementation layer; budget framework in system/nfr-baseline + frontend/nfr-web.
|
|
184
|
-
触发:`Core Web Vitals` · `LCP INP CLS` · `React memo` · `virtual scrolling`
|
|
185
|
-
|
|
186
|
-
- **`zsk:react-components`** *[standard · optional]*
|
|
187
|
-
React component API design — layering (UI/logic separation via hooks), composition vs configuration (compound components over flat-prop explosion), granularity (5-question checklist), controlled vs uncontrolled boundary, Props API design. React-specific implementation of generic component discipline.
|
|
188
|
-
触发:`React component design` · `compound components` · `component granularity` · `controlled uncontrolled`
|
|
189
|
-
|
|
190
|
-
- **`zsk:react-naming`** *[standard · optional]*
|
|
191
|
-
React + TypeScript naming conventions — components, files, folders, variables, booleans, event handlers, event props, hooks, TS types/interfaces, constants, and i18n keys. Principles transfer to Vue/Svelte with syntax adjustments.
|
|
192
|
-
触发:`React naming` · `component file naming` · `event handler naming` · `boolean naming`
|
|
193
|
-
|
|
194
|
-
- **`zsk:security-web`** *[standard · optional]*
|
|
195
|
-
Web frontend security — XSS (React default escape + dangerouslySetInnerHTML red line + DOMPurify exception), URL protocol whitelist, Storage red lines (no sensitive data in Local/SessionStorage), CSRF token integration, console log scrubbing for production, CSP meta/header consumption, SRI for third-party scripts, clickjacking (frame-ancestors awareness), postMessage origin checks. Frontend UI is the convenience defense; backend is final.
|
|
196
|
-
触发:`dangerouslySetInnerHTML` · `XSS React` · `DOMPurify` · `LocalStorage sensitive`
|
|
197
|
-
|
|
198
|
-
- **`zsk:styling-system`** *[standard · optional]*
|
|
199
|
-
Frontend styling system discipline — scheme detection, naming conventions, nesting depth (≤3 layers), token usage rules (no hardcoded color/spacing), scope isolation, responsive breakpoints, and !important prohibition across Less / Sass / CSS Modules / Tailwind / CSS-in-JS.
|
|
200
|
-
触发:`CSS scheme detection` · `BEM naming` · `Less nesting` · `design token`
|
|
201
|
-
|
|
202
|
-
- **`zsk:testing-web`** *[standard · optional]*
|
|
203
|
-
Frontend tests for React codebases — full toolchain (Jest/Vitest + React Testing Library + renderHook + user-event + MSW + Playwright + Chromatic + jest-axe), test structure (AAA/GWT), mock strategy (MSW for HTTP, manual for modules), coverage thresholds (new code / global), and the component test template. Implementation layer; cross-stack principles live in quality/testing-pyramid.
|
|
204
|
-
触发:`Jest Vitest` · `React Testing Library` · `MSW mock service worker` · `Playwright`
|
|
129
|
+
<!-- Auto-generated by tools/catalog.ts — do not edit manually. Total: 19 skills -->
|
|
205
130
|
|
|
206
|
-
|
|
207
|
-
TypeScript in frontend codebases — red lines (no any / as any / @ts-ignore / empty interface / Object type), must-do (explicit types for public boundaries, union literals, strict + noUncheckedIndexedAccess), API types from backend (not hand-written), type vs interface, generics discipline, unknown over any. Complements quality/code-hygiene for cross-language hygiene.
|
|
208
|
-
触发:`TypeScript red lines` · `no any` · `strict mode` · `noUncheckedIndexedAccess`
|
|
131
|
+
## Skill 清单(core skills)
|
|
209
132
|
|
|
210
|
-
|
|
133
|
+
> 内容由 `tools/catalog.ts` 从 `packages/skills/*/SKILL.md` frontmatter 生成。重生成:`pnpm catalog`。
|
|
211
134
|
|
|
212
|
-
|
|
213
|
-
Accessibility principles at the concept level — WCAG 2.1 AA baseline, POUR principles, keyboard operation matrix, focus management, aria semantics, contrast ratios, don't-rely-on-color, reduced motion. For Web/JSX implementation (axe-core, jsx-a11y, focus traps in Modal, etc.) see frontend/a11y-web.md.
|
|
214
|
-
触发:`accessibility principles` · `WCAG AA` · `POUR` · `keyboard matrix`
|
|
135
|
+
### `<slug>/` — Core · harness-first 默认工作流入口 (19)
|
|
215
136
|
|
|
216
|
-
- **`
|
|
217
|
-
|
|
218
|
-
触发:`code hygiene` · `comment policy` · `import order` · `WHY not WHAT`
|
|
137
|
+
- **`dispatch`**
|
|
138
|
+
At task intake, asks OMX to assign subagents to the right zsk skill from request, state, evidence, and blockers.
|
|
219
139
|
|
|
220
|
-
- **`
|
|
221
|
-
|
|
222
|
-
触发:`SemVer` · `changelog` · `conventional changelog` · `hotfix`
|
|
140
|
+
- **`flow`**
|
|
141
|
+
Starts or resumes delivery by reading state, resources, and blockers, then selecting the next legal stage.
|
|
223
142
|
|
|
224
|
-
- **`
|
|
225
|
-
|
|
226
|
-
触发:`OWASP Top 10` · `CVE response` · `license whitelist` · `supply chain security`
|
|
143
|
+
- **`prepare`**
|
|
144
|
+
After project init, collects resource origins, snapshots evidence, and updates config/manifests before proposal/spec.
|
|
227
145
|
|
|
228
|
-
- **`
|
|
229
|
-
|
|
230
|
-
触发:`test pyramid` · `TDD discipline` · `test coverage target` · `AAA GWT structure`
|
|
146
|
+
- **`proposal`**
|
|
147
|
+
Before spec, frames the problem, scope, non-goals, success criteria, stakeholders, risks, and resource gaps.
|
|
231
148
|
|
|
232
|
-
|
|
149
|
+
- **`spec`**
|
|
150
|
+
After proposal, defines sourced FR/NFR, acceptance criteria, scenarios, edge cases, and open gaps.
|
|
233
151
|
|
|
234
|
-
- **`
|
|
235
|
-
|
|
236
|
-
触发:`figma to code` · `100 percent fidelity` · `node naming conversion` · `design annotations`
|
|
152
|
+
- **`design`**
|
|
153
|
+
After spec freeze, maps behavior to interfaces, data flow, rollout plan, risks, and implementation surfaces.
|
|
237
154
|
|
|
238
|
-
- **`
|
|
239
|
-
|
|
240
|
-
触发:`UE MCP context` · `figma snapshot` · `design source reference` · `module UE deviation`
|
|
155
|
+
- **`task`**
|
|
156
|
+
After design approval, creates executable tasks with dependencies, FR/AC coverage, owners, and evidence hooks.
|
|
241
157
|
|
|
242
|
-
- **`
|
|
243
|
-
|
|
244
|
-
触发:`wireframe` · `low fidelity design` · `Pencil design` · `UX flow`
|
|
158
|
+
- **`coding`**
|
|
159
|
+
For approved tasks, implements small scoped diffs with tests, evidence, and blocker reporting.
|
|
245
160
|
|
|
246
|
-
- **`
|
|
247
|
-
|
|
248
|
-
触发:`design system` · `design tokens` · `Figma variables` · `component variants`
|
|
161
|
+
- **`smoke`**
|
|
162
|
+
After coding, proves changed behavior locally with targeted tests and relevant lint/typecheck/build evidence.
|
|
249
163
|
|
|
250
|
-
- **`
|
|
251
|
-
|
|
252
|
-
触发:`generate Figma` · `high fidelity design` · `figma generate design` · `hifi UI`
|
|
164
|
+
- **`review`**
|
|
165
|
+
After smoke, reviews implementation against scope, specs, tasks, tests, security, maintainability, and evidence.
|
|
253
166
|
|
|
254
|
-
|
|
167
|
+
- **`commit`**
|
|
168
|
+
After smoke and review pass, prepares a scoped commit with intent, evidence, and clean staging.
|
|
255
169
|
|
|
256
|
-
- **`
|
|
257
|
-
|
|
258
|
-
触发:`architecture decision record` · `ADR template` · `MADR` · `cross-module decision`
|
|
170
|
+
- **`demo`**
|
|
171
|
+
Before formal testing, runs planned demos and captures evidence without making acceptance claims.
|
|
259
172
|
|
|
260
|
-
- **`
|
|
261
|
-
|
|
262
|
-
触发:`sub agent orchestration` · `parallel agents` · `multi agent workflow` · `agent responsibilities`
|
|
173
|
+
- **`defect`**
|
|
174
|
+
After formal QA reports findings, normalizes defects with repro, evidence, FR/AC links, and fix routing.
|
|
263
175
|
|
|
264
|
-
- **`
|
|
265
|
-
|
|
266
|
-
触发:`system architecture` · `C4 model` · `tech stack baseline` · `module boundaries`
|
|
176
|
+
- **`ready`**
|
|
177
|
+
Before independent verification, prepares a handoff with issue mappings, evidence, version, and regression notes.
|
|
267
178
|
|
|
268
|
-
- **`
|
|
269
|
-
|
|
270
|
-
触发:`glossary` · `ubiquitous language` · `DDD terms` · `business term`
|
|
179
|
+
- **`verify`**
|
|
180
|
+
Independently verifies fixes or acceptance criteria against a stated claim, target version, and linked evidence.
|
|
271
181
|
|
|
272
|
-
- **`
|
|
273
|
-
|
|
274
|
-
触发:`NFR baseline` · `non functional requirements` · `quality attributes` · `ISO 25010`
|
|
182
|
+
- **`acceptance`**
|
|
183
|
+
After independent verify passes, records accept/reject decision, linked evidence, and residual-risk owner.
|
|
275
184
|
|
|
276
|
-
- **`
|
|
277
|
-
|
|
278
|
-
触发:`project constraints` · `SYSTEM-SPEC` · `import origins` · `forbidden packages`
|
|
185
|
+
- **`deploy`**
|
|
186
|
+
After review, deploys to non-production or demo targets with version, smoke evidence, and rollback owner.
|
|
279
187
|
|
|
280
|
-
|
|
188
|
+
- **`archive`**
|
|
189
|
+
After acceptance, closes the iteration by preserving artifacts, decisions, issues, and learning proposals.
|
|
281
190
|
|
|
282
|
-
- **`
|
|
283
|
-
|
|
284
|
-
触发:`zsk philosophy` · `why is zsk organized this way` · `design rationale` · `LLM wiki vs superpowers`
|
|
191
|
+
- **`issue`**
|
|
192
|
+
Tracks defects, blockers, questions, and risks with taxonomy, severity, owner, reproduction, and evidence.
|
|
285
193
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: acceptance
|
|
3
|
+
description: After independent verify passes, records accept/reject decision,
|
|
4
|
+
linked evidence, and residual-risk owner.
|
|
5
|
+
kind: workflow-node
|
|
6
|
+
pack: core
|
|
7
|
+
stage: acceptance
|
|
8
|
+
requires:
|
|
9
|
+
- constraints.evidence-rules
|
|
10
|
+
- constraints.stage-gates
|
|
11
|
+
domain: core
|
|
12
|
+
category: stage
|
|
13
|
+
tier: core
|
|
14
|
+
triggers:
|
|
15
|
+
- acceptance
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
# Acceptance
|
|
19
|
+
|
|
20
|
+
Use this stage after independent `verify` has passed and the product/business owner needs an acceptance decision. Acceptance is not another implementation review; it decides whether the delivered change is fit to close, reject, or archive with explicit residual risk.
|
|
21
|
+
|
|
22
|
+
## Inputs
|
|
23
|
+
|
|
24
|
+
- `verify-report` with linked evidence and unresolved findings.
|
|
25
|
+
- `demo-report` when the change has user-visible behavior.
|
|
26
|
+
- Linked issue records, waivers, and regression notes.
|
|
27
|
+
- Proposal/spec/design/task artifacts for the accepted scope.
|
|
28
|
+
|
|
29
|
+
## Procedure
|
|
30
|
+
|
|
31
|
+
1. Re-check the accepted scope against proposal and spec, not against late wish-list items.
|
|
32
|
+
2. Confirm P0/P1 acceptance criteria are verified or explicitly waived.
|
|
33
|
+
3. Summarize residual risks, owners, and follow-up issues.
|
|
34
|
+
4. Record one decision: `ACCEPT`, `ACCEPT_WITH_RISK`, `REJECT`, or `BLOCKED`.
|
|
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.
|
|
37
|
+
|
|
38
|
+
## Constraints
|
|
39
|
+
|
|
40
|
+
- Do not accept work with missing verify evidence.
|
|
41
|
+
- Do not hide product disagreement as a minor issue.
|
|
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
|
+
- Keep the decision short, dated, and evidence-linked.
|
|
45
|
+
|
|
46
|
+
## Outputs
|
|
47
|
+
|
|
48
|
+
- `acceptance` decision artifact.
|
|
49
|
+
- Residual-risk list with owner and due date.
|
|
50
|
+
- Updated spec/design/task documentation feedback or explicit no-update rationale.
|
|
51
|
+
- Archive readiness or rejection route.
|
|
52
|
+
|
|
53
|
+
## Installed Harness Contract
|
|
54
|
+
|
|
55
|
+
This core skill is generated from root `skills/acceptance/SKILL.md` and is governed by the zsk harness. Enforce these rules even when the full harness files are not present in the target:
|
|
56
|
+
|
|
57
|
+
- Stage gates: do not skip required inputs, illegal transitions, blockers, or evidence checks.
|
|
58
|
+
- Evidence rules: no PASS / DONE / READY claim without linked command, artifact, issue, scenario, or human decision evidence.
|
|
59
|
+
- Source of truth: read configured resources before inventing intent; record conflicts instead of choosing silently.
|
|
60
|
+
- Issue taxonomy: route demo, smoke, review, test, verify, and acceptance findings to the correct issue type.
|
|
61
|
+
- Learning loop: reusable gaps become learning proposals; never mutate core constraints, templates, packs, or skills automatically.
|
|
62
|
+
|
|
63
|
+
When a `harness/` directory is installed beside this file, treat it as the local contract source:
|
|
64
|
+
|
|
65
|
+
- Read `harness/workflow/skill-io-contract.yaml` for this skill's required inputs, outputs, tools, and capabilities.
|
|
66
|
+
- Read `harness/workflow/state-machine.yaml` and `harness/constraints/stage-gates.md` before moving between stages.
|
|
67
|
+
- Read `harness/constraints/evidence-rules.md` and `harness/workflow/completion-contract.yaml` before claiming READY / PASS / DONE.
|
|
68
|
+
- Read `harness/constraints/issue-taxonomy.md` before creating or updating blockers, risks, defects, or questions.
|
|
69
|
+
- Read the relevant file under `harness/best-practices/` when the task touches SDLC, quality, frontend, design handoff, system constraints, or agent orchestration.
|
|
70
|
+
|
|
@@ -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.
|