create-yss-spec 2.1.11 → 2.1.14
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 +1 -1
- package/package.json +1 -1
- package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.agents/skills/llm-wiki/SKILL.md +60 -0
- package/template/.agents/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.agents/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.agents/skills/llm-wiki/references/compile.md +126 -0
- package/template/.agents/skills/llm-wiki/references/discover.md +41 -0
- package/template/.agents/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.agents/skills/llm-wiki/references/lint.md +54 -0
- package/template/.agents/skills/llm-wiki/references/query.md +21 -0
- package/template/.agents/skills/llm-wiki/references/schema.md +45 -0
- package/template/.agents/skills/llm-wiki/references/writing.md +35 -0
- package/template/.agents/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.agents/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.agents/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.agents/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.agents/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.agents/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.agents/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.agents/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.agents/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.agents/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.agents/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.agents/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.agents/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.agents/skills/yss-design-system/SKILL.md +9 -5
- package/template/.agents/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.agents/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.agents/skills/yss-ui/SKILL.md +1 -1
- package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.claude/skills/llm-wiki/SKILL.md +60 -0
- package/template/.claude/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.claude/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.claude/skills/llm-wiki/references/compile.md +126 -0
- package/template/.claude/skills/llm-wiki/references/discover.md +41 -0
- package/template/.claude/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.claude/skills/llm-wiki/references/lint.md +54 -0
- package/template/.claude/skills/llm-wiki/references/query.md +21 -0
- package/template/.claude/skills/llm-wiki/references/schema.md +45 -0
- package/template/.claude/skills/llm-wiki/references/writing.md +35 -0
- package/template/.claude/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.claude/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.claude/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.claude/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.claude/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.claude/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.claude/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.claude/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.claude/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.claude/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.claude/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.claude/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.claude/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.claude/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.claude/skills/yss-design-system/SKILL.md +9 -5
- package/template/.claude/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.claude/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.claude/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.claude/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.claude/skills/yss-ui/SKILL.md +1 -1
- package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.codex/skills/llm-wiki/SKILL.md +60 -0
- package/template/.codex/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.codex/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.codex/skills/llm-wiki/references/compile.md +126 -0
- package/template/.codex/skills/llm-wiki/references/discover.md +41 -0
- package/template/.codex/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.codex/skills/llm-wiki/references/lint.md +54 -0
- package/template/.codex/skills/llm-wiki/references/query.md +21 -0
- package/template/.codex/skills/llm-wiki/references/schema.md +45 -0
- package/template/.codex/skills/llm-wiki/references/writing.md +35 -0
- package/template/.codex/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.codex/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.codex/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.codex/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.codex/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.codex/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.codex/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.codex/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.codex/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.codex/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.codex/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.codex/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.codex/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.codex/skills/yss-design-system/SKILL.md +9 -5
- package/template/.codex/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.codex/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.codex/skills/yss-ui/SKILL.md +1 -1
- package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.cursor/skills/llm-wiki/SKILL.md +60 -0
- package/template/.cursor/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.cursor/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.cursor/skills/llm-wiki/references/compile.md +126 -0
- package/template/.cursor/skills/llm-wiki/references/discover.md +41 -0
- package/template/.cursor/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.cursor/skills/llm-wiki/references/lint.md +54 -0
- package/template/.cursor/skills/llm-wiki/references/query.md +21 -0
- package/template/.cursor/skills/llm-wiki/references/schema.md +45 -0
- package/template/.cursor/skills/llm-wiki/references/writing.md +35 -0
- package/template/.cursor/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.cursor/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.cursor/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.cursor/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.cursor/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.cursor/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.cursor/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.cursor/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.cursor/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.cursor/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.cursor/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.cursor/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.cursor/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.cursor/skills/yss-design-system/SKILL.md +9 -5
- package/template/.cursor/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.cursor/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.cursor/skills/yss-ui/SKILL.md +1 -1
- package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.hermes/skills/llm-wiki/SKILL.md +60 -0
- package/template/.hermes/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.hermes/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.hermes/skills/llm-wiki/references/compile.md +126 -0
- package/template/.hermes/skills/llm-wiki/references/discover.md +41 -0
- package/template/.hermes/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.hermes/skills/llm-wiki/references/lint.md +54 -0
- package/template/.hermes/skills/llm-wiki/references/query.md +21 -0
- package/template/.hermes/skills/llm-wiki/references/schema.md +45 -0
- package/template/.hermes/skills/llm-wiki/references/writing.md +35 -0
- package/template/.hermes/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.hermes/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.hermes/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.hermes/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.hermes/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.hermes/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.hermes/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.hermes/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.hermes/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.hermes/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.hermes/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.hermes/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.hermes/skills/yss-design-system/SKILL.md +9 -5
- package/template/.hermes/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.hermes/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.hermes/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.hermes/skills/yss-ui/SKILL.md +1 -1
- package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.pi/skills/llm-wiki/SKILL.md +60 -0
- package/template/.pi/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.pi/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.pi/skills/llm-wiki/references/compile.md +126 -0
- package/template/.pi/skills/llm-wiki/references/discover.md +41 -0
- package/template/.pi/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.pi/skills/llm-wiki/references/lint.md +54 -0
- package/template/.pi/skills/llm-wiki/references/query.md +21 -0
- package/template/.pi/skills/llm-wiki/references/schema.md +45 -0
- package/template/.pi/skills/llm-wiki/references/writing.md +35 -0
- package/template/.pi/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.pi/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.pi/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.pi/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.pi/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.pi/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.pi/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.pi/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.pi/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.pi/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.pi/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.pi/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.pi/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.pi/skills/yss-design-system/SKILL.md +9 -5
- package/template/.pi/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.pi/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.pi/skills/yss-ui/SKILL.md +1 -1
- package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.qoder/skills/llm-wiki/SKILL.md +60 -0
- package/template/.qoder/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.qoder/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.qoder/skills/llm-wiki/references/compile.md +126 -0
- package/template/.qoder/skills/llm-wiki/references/discover.md +41 -0
- package/template/.qoder/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.qoder/skills/llm-wiki/references/lint.md +54 -0
- package/template/.qoder/skills/llm-wiki/references/query.md +21 -0
- package/template/.qoder/skills/llm-wiki/references/schema.md +45 -0
- package/template/.qoder/skills/llm-wiki/references/writing.md +35 -0
- package/template/.qoder/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.qoder/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.qoder/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.qoder/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.qoder/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.qoder/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.qoder/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.qoder/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.qoder/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.qoder/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.qoder/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.qoder/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.qoder/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.qoder/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.qoder/skills/yss-design-system/SKILL.md +9 -5
- package/template/.qoder/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.qoder/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.qoder/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.qoder/skills/yss-ui/SKILL.md +1 -1
- package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +1 -18
- package/template/.trae/skills/llm-wiki/SKILL.md +60 -0
- package/template/.trae/skills/llm-wiki/assets/CLAUDE.md.template +26 -0
- package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/CLAUDE.md +3 -0
- package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/index.md +5 -0
- package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki/log.md +1 -0
- package/template/.trae/skills/llm-wiki/assets/fixtures/broken-wiki/wiki//345/255/230/345/234/250/347/232/204/351/241/265.md +7 -0
- package/template/.trae/skills/llm-wiki/references/compile.md +126 -0
- package/template/.trae/skills/llm-wiki/references/discover.md +41 -0
- package/template/.trae/skills/llm-wiki/references/ingest.md +36 -0
- package/template/.trae/skills/llm-wiki/references/lint.md +54 -0
- package/template/.trae/skills/llm-wiki/references/query.md +21 -0
- package/template/.trae/skills/llm-wiki/references/schema.md +45 -0
- package/template/.trae/skills/llm-wiki/references/writing.md +35 -0
- package/template/.trae/skills/llm-wiki/scripts/advise.mjs +196 -0
- package/template/.trae/skills/llm-wiki/scripts/advise.test.mjs +91 -0
- package/template/.trae/skills/llm-wiki/scripts/extract.mjs +55 -0
- package/template/.trae/skills/llm-wiki/scripts/extract.test.mjs +34 -0
- package/template/.trae/skills/llm-wiki/scripts/inventory.mjs +174 -0
- package/template/.trae/skills/llm-wiki/scripts/inventory.test.mjs +98 -0
- package/template/.trae/skills/llm-wiki/scripts/lint-wikilinks.mjs +177 -0
- package/template/.trae/skills/llm-wiki/scripts/lint-wikilinks.test.mjs +212 -0
- package/template/.trae/skills/yss-antd-design/SKILL.md +34 -0
- package/template/.trae/skills/yss-antd-design/references/boundaries.md +30 -0
- package/template/.trae/skills/yss-antd-design/references/cli-matrix.md +38 -0
- package/template/.trae/skills/yss-antd-design/references/evidence.md +26 -0
- package/template/.trae/skills/yss-antd-design/scripts/validate-frontmatter.mjs +46 -0
- package/template/.trae/skills/yss-antd-design/scripts/validate-frontmatter.test.mjs +27 -0
- package/template/.trae/skills/yss-design-system/SKILL.md +9 -5
- package/template/.trae/skills/yss-design-system/references/design-qa-theme.md +64 -0
- package/template/.trae/skills/yss-design-system/references/design-system.md +20 -12
- package/template/.trae/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +1 -1
- package/template/.trae/skills/yss-prototype-stage/SKILL.md +3 -1
- package/template/.trae/skills/yss-ui/SKILL.md +1 -1
- package/template/AGENTS.md +5 -3
- package/template/CLAUDE.md +13 -0
- package/template/CONTEXT.md +75 -65
- package/template/docs/agents/domain.md +4 -3
- package/template/docs/agents/yss-skill-registry.yaml +12 -0
- package/template/docs/design/README.md +5 -5
- package/template/docs/design/design.md +94 -29
- package/template/docs/design/templates/prototype-evidence-template.yaml +12 -1
- package/template/docs/design/tokens/theme.json +16 -9
- package/template/docs/design/tokens/tokens.compact.json +35 -32
- package/template/docs/design/tokens/tokens.dark.json +5 -5
- package/template/docs/design/tokens/tokens.default.json +41 -32
- package/template/docs/design/tokens/variables.css +62 -37
- package/template/docs/design/tokens/variables.dark.css +5 -5
- package/template/docs/process/implementation-repo-integration.md +9 -0
- package/template/docs/templates/requirement-freeze-template.md +1 -1
- package/template/docs/templates/review-report-template.md +1 -0
- package/template/docs/templates/spec-template.md +1 -1
- package/template/docs/templates/vertical-slice-ticket-template.md +1 -1
- package/template/docs/user-guide//344/272/247/345/223/201/347/224/237/345/221/275/345/221/250/346/234/237/345/267/245/344/275/234/346/265/201.md +10 -10
- package/template/docs/user-guide//344/272/247/345/223/201/347/240/224/345/217/221/345/205/250/347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +7 -7
- package/template/docs/user-guide//347/224/237/345/221/275/345/221/250/346/234/237/346/234/200/344/275/263/345/256/236/350/267/265.md +5 -5
- package/template/docs/user-guide//351/234/200/346/261/202/346/276/204/346/270/205/346/214/207/345/215/227.md +6 -7
- package/template/docs/user-guide//351/234/200/346/261/202/346/276/204/346/270/205/346/234/200/344/275/263/345/256/236/350/267/265.md +3 -3
- package/template/skills-lock.json +37 -5
- package/template/wiki/.wiki-manifest.json +390 -0
- package/template/wiki/raw/AGENTS.md +43 -62
- package/template/wiki/raw/CONTEXT.md +76 -42
- package/template/wiki/raw/README.md +4 -1
- package/template/wiki/raw/create-yss-spec-repository-mode-contract.md +95 -0
- package/template/wiki/raw/harness-process-tailoring.md +64 -0
- package/template/wiki/raw/implementation-repo-integration.md +62 -0
- package/template/wiki/raw/issue-tracker.md +135 -0
- package/template/wiki/raw/lifecycle-registry.yaml +369 -0
- package/template/wiki/raw/maintenance-intensity.yaml +25 -0
- package/template/wiki/raw/skills-lock-names.md +93 -0
- package/template/wiki/raw/skills-maintenance.md +90 -0
- package/template/wiki/raw/spec-template.md +4 -5
- package/template/wiki/raw/triage-labels.md +15 -0
- package/template/wiki/raw/vertical-slice-ticket-template.md +15 -9
- package/template/wiki/raw/yss-skill-registry.yaml +510 -0
- package/template/wiki/wiki/Agent/345/205/245/345/217/243/350/247/204/345/210/231.md +17 -5
- package/template/wiki/wiki/CLAUDE.md +15 -11
- package/template/wiki/wiki/Fresh/351/252/214/350/257/201/344/270/216/347/213/254/347/253/213/345/256/241/346/237/245.md +15 -5
- package/template/wiki/wiki/LLM Wiki.md +30 -0
- package/template/wiki/wiki/Matt/346/212/200/350/203/275/344/275/223/347/263/273.md +17 -5
- package/template/wiki/wiki/OpenAPI/345/245/221/347/272/246.md +16 -5
- package/template/wiki/wiki/SpecDelta.md +15 -5
- package/template/wiki/wiki/Spec/345/237/272/347/272/277.md +18 -5
- package/template/wiki/wiki/Ticket/344/270/216/346/265/201/347/250/213/347/212/266/346/200/201.md +17 -5
- package/template/wiki/wiki/YSS/345/267/245/347/250/213/346/212/200/350/203/275/344/275/223/347/263/273.md +19 -5
- package/template/wiki/wiki/YSS/350/267/257/347/224/261/344/270/216/345/220/210/345/220/214/347/274/226/350/257/221.md +16 -5
- package/template/wiki/wiki/concept-table.md +9 -0
- package/template/wiki/wiki/index.md +12 -11
- package/template/wiki/wiki/log.md +34 -0
- package/template/wiki/wiki//344/272/247/345/223/201/347/240/224/345/217/221/347/224/237/345/221/275/345/221/250/346/234/237.md +15 -4
- package/template/wiki/wiki//344/272/247/345/223/201/350/256/276/350/256/241/345/275/261/345/223/215/344/270/216/345/216/237/345/236/213.md +14 -4
- package/template/wiki/wiki//344/273/223/345/272/223/350/272/253/344/273/275/344/270/216/350/267/257/347/224/261.md +15 -4
- package/template/wiki/wiki//345/210/207/347/211/207/345/256/236/347/216/260/345/220/210/345/220/214.md +17 -5
- package/template/wiki/wiki//345/236/202/347/233/264/345/210/207/347/211/207Ticket.md +19 -5
- package/template/wiki/wiki//345/244/215/347/233/230/344/270/216/346/235/203/345/250/201/350/265/204/344/272/247/344/277/256/350/256/242.md +15 -4
- package/template/wiki/wiki//345/256/236/347/216/260/344/273/223/345/272/223/344/270/216/350/267/250/344/273/223/345/272/223/345/245/221/347/272/246.md +17 -4
- package/template/wiki/wiki//345/275/261/345/223/215/351/235/242/345/210/206/350/257/212/344/270/216/346/265/201/347/250/213/350/243/201/345/211/252.md +15 -4
- package/template/wiki/wiki//346/212/200/350/203/275/346/212/225/345/275/261/344/270/216/351/224/201/345/256/232.md +18 -4
- package/template/wiki/wiki//346/235/241/344/273/266/345/274/272/345/210/266/351/227/250/347/246/201.md +13 -4
- package/template/wiki/wiki//346/250/241/346/235/277/345/217/221/345/270/203/351/227/250/347/246/201/344/270/216/351/252/214/350/257/201.md +17 -4
- package/template/wiki/wiki//346/250/241/346/235/277/346/200/273/350/247/210.md +16 -5
- package/template/wiki/wiki//346/250/241/346/235/277/347/273/264/346/212/244/346/265/201/347/250/213.md +14 -4
- package/template/yss-public-skills.json +2 -0
- package/template.snapshot.json +4 -4
- package/template/wiki/raw/create-yss-spec-contract.md +0 -59
- package/template/wiki/raw/skills-lock.json +0 -1379
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import assert from "node:assert/strict";
|
|
2
|
+
import test from "node:test";
|
|
3
|
+
import { validateFrontmatter, validateSetupBan } from "./validate-frontmatter.mjs";
|
|
4
|
+
|
|
5
|
+
const valid = `---
|
|
6
|
+
name: yss-antd-design
|
|
7
|
+
description: Use when 原型设计。不用于前端代码落地(改用 yss-ui)、安装官方 antd skill,或替代 yss-prototype-stage。
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# body
|
|
11
|
+
- 禁止 \`antd setup\`、\`npx skills add ant-design/ant-design-cli\`
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
test("accepts the required skill frontmatter", () => {
|
|
15
|
+
assert.equal(validateFrontmatter(valid), "yss-antd-design");
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
test("rejects missing exclusion branches in description", () => {
|
|
19
|
+
assert.throws(
|
|
20
|
+
() => validateFrontmatter("---\nname: yss-antd-design\ndescription: Use when querying antd.\n---\n"),
|
|
21
|
+
/exclude frontend landing/
|
|
22
|
+
);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
test("rejects a skill that does not forbid official setup", () => {
|
|
26
|
+
assert.throws(() => validateSetupBan("# no setup ban"), /forbid antd setup/);
|
|
27
|
+
});
|
|
@@ -13,7 +13,9 @@ description: Use when YSS 产品设计系统与 Ant Design 企业级 UI 风格
|
|
|
13
13
|
- 项目 token 快照:`docs/design/tokens/theme.json`、`docs/design/tokens/tokens.default.json`、`docs/design/tokens/tokens.dark.json`、`docs/design/tokens/tokens.compact.json`、`docs/design/tokens/variables.css`、`docs/design/tokens/variables.dark.css`。
|
|
14
14
|
- 本技能执行清单:`references/design-system.md`,用于 Agent 执行和评审,不替代 `docs/design/design.md`。
|
|
15
15
|
- 历史输入包:`/Users/zhudaoming/Downloads/Product-Design-System`,只用于追溯首次引入来源,不作为后续工程依赖。
|
|
16
|
-
-
|
|
16
|
+
- 默认亮色覆盖:项目 Ant Design 5 Less / `:root` 变量已裁定进 `docs/design/design.md` 与 token 快照;原始 Less 不是实现语言。
|
|
17
|
+
- Codex `$design-qa` 项目对照:`references/design-qa-theme.md`,不替代官方 `design-qa` 流程,也不改上游插件正文。
|
|
18
|
+
- 原型阶段合同:`yss-prototype-stage`,用于统一跨 Agent 的原型资产和浏览器验证证据。AntD 事实由 `yss-antd-design` 提供,且只用于原型设计构建。
|
|
17
19
|
|
|
18
20
|
如果只需要快速判断,先读本文件。若要写 UI 规范、实现页面、评审设计或调整 token,必须读项目内 `docs/design/design.md`;若要执行评审或实现检查,再读 `references/design-system.md`。
|
|
19
21
|
|
|
@@ -29,10 +31,11 @@ description: Use when YSS 产品设计系统与 Ant Design 企业级 UI 风格
|
|
|
29
31
|
## 核心基线
|
|
30
32
|
|
|
31
33
|
- UI 定位:中后台、数据密集、表单密集、流程密集、可扫描、低装饰。
|
|
32
|
-
- 主色:`#
|
|
33
|
-
- 默认字号:14px;主要字重:400 / 600
|
|
34
|
-
- 默认控件高度:32px。
|
|
34
|
+
- 主色:`#3371ff`(`--primary-color` / `--brand-color-primary`),用于主操作、链接、焦点、选中态和激活导航。
|
|
35
|
+
- 默认字号:14px;主要字重:400 / 600;字体栈为系统字体,不强制 `Inter`。
|
|
36
|
+
- 默认控件高度:32px;默认圆角 6px。
|
|
35
37
|
- 间距:4px 网格,优先使用 token,不写任意 magic number。
|
|
38
|
+
- 运行时换肤:短名 CSS 变量必须指向 `--brand-*`,不要再维护第二套色值。
|
|
36
39
|
- 表面层级:页面背景、内容容器、浮层三层模型。
|
|
37
40
|
- 组件语言:优先 Ant Design / YSS UI 语义,不自造同类控件。
|
|
38
41
|
- 状态完整性:loading、empty、error、readonly、disabled、no-permission、conflict、success 必须在设计或实现中可解释。
|
|
@@ -84,7 +87,8 @@ description: Use when YSS 产品设计系统与 Ant Design 企业级 UI 风格
|
|
|
84
87
|
| 前端页面实现 | `yss-ui` / `yss-page-module-development` |
|
|
85
88
|
| 表单 schema | `yss-formily` |
|
|
86
89
|
| YTable / YTree / 高度自适应 | `yss-components` / `yss-use-table-height` / `yss-use-tree-height` |
|
|
87
|
-
| Ant Design v6 组件 / token / demo 查询 |
|
|
90
|
+
| 原型阶段的 Ant Design v6 组件 / token / demo 查询 | `yss-antd-design`(只用于原型设计构建;前端落地改用 `yss-ui`) |
|
|
91
|
+
| Codex 原型交接前的视觉 QA | `design-qa`;token / 字体对照读 `references/design-qa-theme.md`,以项目覆盖为准 |
|
|
88
92
|
| API 契约 / 接入 | `yss-openapi-governance` / `api-integration` |
|
|
89
93
|
|
|
90
94
|
## 更新设计系统
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Design QA 项目主题对照
|
|
2
|
+
|
|
3
|
+
本文件给 Codex `$design-qa` 使用。官方 `design-qa` skill 仍负责截图对比流程和 `final result: passed|blocked`;本文件只提供项目视觉真相,不改上游插件正文。
|
|
4
|
+
|
|
5
|
+
## Source visual truth
|
|
6
|
+
|
|
7
|
+
- 规范:`docs/design/design.md`
|
|
8
|
+
- Token:`docs/design/tokens/theme.json`、`docs/design/tokens/tokens.default.json`、`docs/design/tokens/variables.css`
|
|
9
|
+
- 实现截图:当前原型或页面在同一 viewport / 主题 / 状态下的渲染
|
|
10
|
+
|
|
11
|
+
官方 `https://ant.design/design.md` 只是上游默认。项目覆盖与官方不同时,以项目覆盖为准。
|
|
12
|
+
|
|
13
|
+
## 必查 fidelity surface(项目覆盖)
|
|
14
|
+
|
|
15
|
+
### Colors and visual tokens
|
|
16
|
+
|
|
17
|
+
| 角色 | 必须对照 | 记为 P1 token drift |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| 主色 | `#3371ff` | `#1677ff` 或 `#3177ff` 当默认主色 |
|
|
20
|
+
| 主色 hover / active | `#4096ff` / `#0958d9` | 用算法重算替代 `:root` 显式值且未记录 |
|
|
21
|
+
| 错误色 | `#f5222d` | 官方 `#ff4d4f` 当默认错误色 |
|
|
22
|
+
| 成功 / 警告 | `#52c41a` / `#faad14` | 改成非功能色装饰 |
|
|
23
|
+
| 页面背景 | `#f0f2f5` | `#f5f5f5` 或其它灰底当默认 layout |
|
|
24
|
+
| 容器 / 浮层 | `#ffffff` | 用卡片阴影堆叠替代表面层级 |
|
|
25
|
+
| 主文本 / 次文本 | `rgba(0, 0, 0, 0.88)` / `rgba(0, 0, 0, 0.65)` | `#2e2e2e` / `#646464` 当默认文本 |
|
|
26
|
+
| 边框 / 分割线 | `#d9d9d9` / `#f0f0f0` | `#dbdbdb` / `#f1f1f1` 当默认边框 |
|
|
27
|
+
| 运行时变量 | `--primary-color` 指向 `--brand-color-primary` | 页面另写一套 Less 色值 |
|
|
28
|
+
|
|
29
|
+
`blue` 预设色板里的 `#1677ff` 不是品牌主色,不要据此判定主色漂移。
|
|
30
|
+
|
|
31
|
+
### Fonts and typography
|
|
32
|
+
|
|
33
|
+
| 角色 | 必须对照 | 记为 P1 token drift |
|
|
34
|
+
| --- | --- | --- |
|
|
35
|
+
| 默认正文字号 | 14px | 16px 营销字号当正文 |
|
|
36
|
+
| 默认控件高度 | 32px | 明显偏离 32px 且未走 compact algorithm |
|
|
37
|
+
| 字体栈 | 系统栈(`-apple-system, BlinkMacSystemFont, "Segoe UI", ...`) | 强制 `Inter` 或其它未登记品牌字体 |
|
|
38
|
+
| 字重 | 400 / 600 | 用 700+ 表达选中或激活 |
|
|
39
|
+
|
|
40
|
+
### Spacing and layout rhythm
|
|
41
|
+
|
|
42
|
+
| 角色 | 必须对照 | 记为 P1 token drift |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| 圆角 | 小控件 4px、默认 6px、容器 8px | 历史品牌 8px / 10px,或 Less 前半 4px 当全局默认 |
|
|
45
|
+
| 间距网格 | 4 / 8 / 12 / 16 / 20 / 24 / 32 / 48 | 任意 magic number 撑开中后台密度 |
|
|
46
|
+
| 顶栏 / 侧栏 | 顶栏 64px,深色侧栏 `#001529` | 未说明就改成营销式顶栏 |
|
|
47
|
+
|
|
48
|
+
### Image quality and copy
|
|
49
|
+
|
|
50
|
+
沿用官方 `design-qa` 规则。本主题不引入插画、logo 或营销文案;出现这类素材时按官方 rubric 记 finding,并同时记为偏离中后台定位。
|
|
51
|
+
|
|
52
|
+
## 判定
|
|
53
|
+
|
|
54
|
+
- 仍用官方 `#1677ff`、强制 `Inter` 或 8px 品牌圆角作为默认主题:P1。
|
|
55
|
+
- 只改局部组件、且 `prototype-evidence.yaml` 的 `theme_override` 已记录:按官方 severity 评估,不自动升 P1。
|
|
56
|
+
- 暗色模式:本轮未重派生完整暗色色板;暗色对照前若缺少新的 algorithm 派生证据,`final result: blocked`,写明 blocker。
|
|
57
|
+
|
|
58
|
+
## 报告要求
|
|
59
|
+
|
|
60
|
+
`design-qa.md` 必须写明:
|
|
61
|
+
|
|
62
|
+
- source visual truth path:`docs/design/design.md` 与对应 token 文件
|
|
63
|
+
- 已按本清单核对 Colors/tokens 与 Fonts/typography
|
|
64
|
+
- 与官方默认的差异是否被接受为项目覆盖
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
|
|
40
40
|
| Token | 值 | 用途 |
|
|
41
41
|
| --- | --- | --- |
|
|
42
|
-
| `colorPrimary` | `#
|
|
42
|
+
| `colorPrimary` | `#3371ff` | 主操作、链接、焦点、选中态 |
|
|
43
43
|
| `colorPrimaryHover` | `#4096ff` | 主色 hover |
|
|
44
44
|
| `colorPrimaryActive` | `#0958d9` | 主色 active |
|
|
45
45
|
| `colorSuccess` | `#52c41a` | 成功状态 |
|
|
46
46
|
| `colorWarning` | `#faad14` | 警告状态 |
|
|
47
|
-
| `colorError` | `#
|
|
48
|
-
| `colorInfo` | `#
|
|
49
|
-
| `colorBgLayout` | `#
|
|
47
|
+
| `colorError` | `#f5222d` | 错误状态 |
|
|
48
|
+
| `colorInfo` | `#3371ff` | 信息提示 |
|
|
49
|
+
| `colorBgLayout` | `#f0f2f5` | 页面背景 |
|
|
50
50
|
| `colorBgContainer` | `#ffffff` | 内容容器 |
|
|
51
51
|
| `colorBgElevated` | `#ffffff` | 浮层容器 |
|
|
52
|
-
| `colorText` |
|
|
53
|
-
| `colorTextSecondary` |
|
|
54
|
-
| `colorTextTertiary` | `#
|
|
55
|
-
| `colorTextQuaternary` | `#
|
|
56
|
-
| `colorBorder` | `#
|
|
57
|
-
| `colorBorderSecondary` | `#
|
|
52
|
+
| `colorText` | `rgba(0, 0, 0, 0.88)` | 主文本 |
|
|
53
|
+
| `colorTextSecondary` | `rgba(0, 0, 0, 0.65)` | 次级文本 |
|
|
54
|
+
| `colorTextTertiary` | `#8c8c8c` | 弱说明 |
|
|
55
|
+
| `colorTextQuaternary` | `#bfbfbf` | placeholder / disabled |
|
|
56
|
+
| `colorBorder` | `#d9d9d9` | 主边框 |
|
|
57
|
+
| `colorBorderSecondary` | `#f0f0f0` | 次级分割线 |
|
|
58
58
|
|
|
59
59
|
颜色规则:
|
|
60
60
|
|
|
@@ -63,7 +63,10 @@
|
|
|
63
63
|
- 预设色板只用于 Tag、图表、分类可视化,不用于重新定义主操作。
|
|
64
64
|
- 不硬编码白色、灰色、状态色;优先引用 token、CSS variables 或 Ant Design theme。
|
|
65
65
|
- semantic token 优先于色值:页面先声明背景、容器、浮层、文本、边框、状态等角色,再映射到具体 token。
|
|
66
|
+
- 运行时短名 `--primary-color`、`--text-color`、`--bg-color` 必须指向 `--brand-*`,不要再维护第二套色值。
|
|
67
|
+
- `blue` 等预设色板可以仍含官方 `#1677ff`;色板预设 ≠ 品牌主色。
|
|
66
68
|
- accessibility contrast 不足时,通过 `ConfigProvider` 的 seed token 或组件 token 调整;不要为单个页面制造不可复用的深浅色例外。
|
|
69
|
+
- Codex `$design-qa` 的 token / 字体对照读 `references/design-qa-theme.md`。
|
|
67
70
|
|
|
68
71
|
### 排版
|
|
69
72
|
|
|
@@ -81,6 +84,7 @@
|
|
|
81
84
|
|
|
82
85
|
- UI 默认正文 14px。
|
|
83
86
|
- UI 字重优先 400 / 600。
|
|
87
|
+
- 字体栈使用系统字体,不强制 `Inter`。
|
|
84
88
|
- 不用 700+ 粗体表达选中或激活状态。
|
|
85
89
|
- 选中状态优先使用颜色、边框、下划线、背景表达。
|
|
86
90
|
|
|
@@ -93,8 +97,12 @@
|
|
|
93
97
|
| 小控件高度 | 24px |
|
|
94
98
|
| 大控件高度 | 40px |
|
|
95
99
|
| 默认字号 | 14px |
|
|
96
|
-
|
|
|
97
|
-
|
|
|
100
|
+
| 字体栈 | 系统栈,不强制 `Inter` |
|
|
101
|
+
| 小控件圆角 | 4px |
|
|
102
|
+
| 默认控件圆角 | 6px |
|
|
103
|
+
| 大容器 / 浮层圆角 | 8px |
|
|
104
|
+
| 顶栏高度 | 64px |
|
|
105
|
+
| 深色侧栏 | `#001529` |
|
|
98
106
|
|
|
99
107
|
执行规则:
|
|
100
108
|
|
|
@@ -29,7 +29,7 @@ Matt 的 `grill-with-docs`、`to-spec`、`to-tickets`、`implement` 等保留为
|
|
|
29
29
|
| 入口分诊 | 身份、影响面、最近可信阶段 | `yss-product-lifecycle` | `yss-project.yaml` 合法且影响面可解释 |
|
|
30
30
|
| 机会调研/需求分析 | Discovery、用户/MVP/非目标/成功标准、测试 seam | `work-unit.discovery-opportunity` + `work-unit.discovery-requirements`;市场/竞品事实用 `competitive-intelligence`,技术/标准事实用 `research`;`grill-with-docs` 为兼容入口 | 未决事实已 research 或 handoff,用户确认,无 runnable blocker |
|
|
31
31
|
| Spec/功能架构 | Spec、产品总体设计、功能架构;必要时 Spec Delta | 原生 `work-unit.spec-synthesis`;`to-spec` 为兼容入口 | 初稿先为 `ready-for-human`;只有 Spec baseline 人工批准后资产才为 `approved` 并进入下游 |
|
|
32
|
-
| 原型设计 | 交互说明、低保真、状态矩阵、高保真 HTML、评审记录 | `yss-design-system` → `yss-prototype-stage` → Codex `product-design:index`(非 Codex
|
|
32
|
+
| 原型设计 | 交互说明、低保真、状态矩阵、高保真 HTML、评审记录 | `yss-design-system` → `yss-prototype-stage` → `yss-antd-design`(仅原型事实)→ Codex `product-design:index`(非 Codex 交付等价合同)。前端落地改用 `yss-ui` | `gate.prototype-reviewed`、`gate.prototype-verified`、`gate.user-confirmation` 均有证据 |
|
|
33
33
|
| 技术分析 | OpenAPI Draft/Freeze、数据架构、工程基线、架构审查 | `yss-openapi-governance` / `yss-openapi-draft-review`、`codebase-design`、`implementation-repo-onboarding`、`yss-router` | API/架构契约冻结;无 API 影响有明确记录;脚手架策略满足 |
|
|
34
34
|
| Ticket 正式化 | 功能父 Ticket、垂直切片、Slice Implementation Contract | 原生 `work-unit.ticket-decomposition`;`to-tickets` 为兼容入口;生命周期复算 | 依赖、验收、测试 seam 可执行;合同已批准、持久化且为当前版本 |
|
|
35
35
|
| 技术实现 | 前端/后端代码、TDD 证据、YSS Skill Execution Result | 原生 `work-unit.slice-implementation`;`implement` 为兼容入口;前端按 `yss-ui` + `yss-page-module-development`,后端按 `yss-router` 最小闭包,业务行为统一 `tdd` | 只写允许路径;业务行为用 `behavior-tdd`;UI 影响必须有还原计划 |
|
|
@@ -138,7 +138,7 @@ work_unit_routes:
|
|
|
138
138
|
human_gate: spec-baseline
|
|
139
139
|
work-unit.prototype-design:
|
|
140
140
|
native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
|
|
141
|
-
skills: [yss-design-system, yss-prototype-stage, product-design:index]
|
|
141
|
+
skills: [yss-design-system, yss-prototype-stage, yss-antd-design, product-design:index]
|
|
142
142
|
human_gate: prototype-confirmation
|
|
143
143
|
work-unit.technical-analysis:
|
|
144
144
|
native: {source: yss-product-lifecycle, skill: yss-product-lifecycle, invocation_mode: model-invoked}
|
|
@@ -25,7 +25,9 @@ description: Use when a YSS feature has product-design impact on a primary flow,
|
|
|
25
25
|
|
|
26
26
|
优先级固定为:官方 `design.md` 的上游默认 → `docs/design/design.md` 与项目 token 的 `project_design` 项目覆盖 → 当前功能的语义组件映射。不得用上游默认覆盖项目 token。
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Codex `$design-qa` 仍走官方对比流程;Colors/tokens 与 Fonts/typography 必须以项目覆盖为 source visual truth。对照清单见 `yss-design-system/references/design-qa-theme.md`。仍用官方 `#1677ff`、强制 `Inter` 或历史 8px 品牌圆角当默认主题,视为项目覆盖漂移。
|
|
29
|
+
|
|
30
|
+
Ant Design v6 事实由 `yss-antd-design` 查询并回写证据,不要并列调用官方 `antd` skill,也不要在前端代码落地时继续使用它。进入实现后改走 `yss-ui`。
|
|
29
31
|
|
|
30
32
|
## 验证与回流
|
|
31
33
|
|
|
@@ -30,7 +30,7 @@ pnpm why vue @yss-ui/components @yss-ui/hooks ant-design-vue vxe-table
|
|
|
30
30
|
|
|
31
31
|
记录实际版本、lockfile、验证命令和环境阻塞。完整策略见 `references/antdv-compatibility.md`。
|
|
32
32
|
|
|
33
|
-
产品设计使用的 Ant Design v6 视觉/token 语义,不等于 Vue 生产实现 API。生产代码必须使用项目安装的 Ant Design Vue 4.x API,禁止复制 React hook、props
|
|
33
|
+
产品设计使用的 Ant Design v6 视觉/token 语义,不等于 Vue 生产实现 API。生产代码必须使用项目安装的 Ant Design Vue 4.x API,禁止复制 React hook、props 或组件写法。`yss-antd-design` 与 `@ant-design/cli` 只用于原型设计构建,进入本技能后不得再调用。
|
|
34
34
|
|
|
35
35
|
## 3. 组件选型门禁
|
|
36
36
|
|
package/template/AGENTS.md
CHANGED
|
@@ -24,14 +24,14 @@
|
|
|
24
24
|
| 技能清单、来源、版本、哈希和投影目标 | `skills-lock.json` |
|
|
25
25
|
| 技能分层、别名、默认可发现性和运行时入口 | `docs/agents/yss-skill-registry.yaml`(当前 `status: shadow`,不作为 Router / 生命周期运行时入口) |
|
|
26
26
|
|
|
27
|
-
README
|
|
27
|
+
README、用户指南、根目录 `CLAUDE.md` 和其他说明文档只引用或解释上述事实,不重复定义同一规则。`CLAUDE.md` 是 Claude Code 入口指针,不是第二套 Agent 规则。
|
|
28
28
|
|
|
29
29
|
## 3. 标准文档语言与规范语汇
|
|
30
30
|
|
|
31
31
|
- 所有面向业务、产品、架构、实施、审查、发布和复盘的落地文档,正文统一使用简体中文。
|
|
32
32
|
- 英文专有名词、代码标识、API 路径、schema、类名、方法名、枚举值、错误码、命令、文件名和协议 metadata 保持原样。
|
|
33
33
|
- 新流程统一使用 Spec、Ticket、`to-spec`、`to-tickets`。过时术语和技能名只能出现在迁移指南或明确标注的旧项目上下文。
|
|
34
|
-
- 实施前读取 `CONTEXT.md
|
|
34
|
+
- 实施前读取 `CONTEXT.md`。业务术语必须已有 PascalCase `英文标识`;代码类型 / 字段与契约 property 使用该词干按 `CONTEXT.md` 文首规则变形。改中文术语或英文标识都先回写 `CONTEXT.md`。与词汇或 ADR 冲突时立即指出并先解决冲突。
|
|
35
35
|
|
|
36
36
|
## 4. `template-source` 模板维护路由
|
|
37
37
|
|
|
@@ -67,6 +67,7 @@ README、用户指南和其他说明文档只引用或解释上述事实,不
|
|
|
67
67
|
- 无可复用工程时,先确认外部目标仓库或输出目录,再使用 `yss-ddd-scaffold-generator` / `yss-frontend-scaffold-generator`;当前仓库缺少 frontend / backend 目录不改变此路由。
|
|
68
68
|
- 脚手架只在 `scaffold_status=required` 且受控生成合同已持久化、获得生命周期批准后运行;它只产生机械骨架,业务行为回到 Router 并使用 `behavior-tdd`。
|
|
69
69
|
- 正式垂直切片必须消费已批准、已持久化且版本当前的 Slice Implementation Contract。Router 只生成草案,不批准合同、不设置 `ready-for-agent`、不宣布完成。合同 schema、Backend 子合同和证据字段以 `yss-router` references 为准。
|
|
70
|
+
- 前端测试、type-check 与构建优先使用 `pnpm`;后端校验、测试与编译优先使用项目根 `./mvnw`。不要默认 `npm` / `yarn` 或裸 `mvn`。既有仓库确实没有 pnpm 或 Maven Wrapper 时,必须记录受控例外和实际命令。登记字段见 `docs/process/implementation-repo-integration.md`。
|
|
70
71
|
- 路径越界、证据缺失、未执行验证、`drift`、`violation` 或 `new_impacts` 时停止实现并重新路由。
|
|
71
72
|
|
|
72
73
|
实现细则由已批准合同、YSS skills 和实现接入文档定义;`AGENTS.md` 只保留入口与边界。
|
|
@@ -77,11 +78,12 @@ README、用户指南和其他说明文档只引用或解释上述事实,不
|
|
|
77
78
|
|---|---|
|
|
78
79
|
| 技术事实、标准、第三方 API 或框架行为影响决策 | `research` 或等价的一手资料记录 |
|
|
79
80
|
| 竞品、市场或用户口碑事实 | `competitive-intelligence` |
|
|
80
|
-
| UI 设计、原型、组件或主题 | `yss-design-system` 后使用 `yss-prototype-stage`;Codex 再路由 `product-design:index`,其他 Agent
|
|
81
|
+
| UI 设计、原型、组件或主题 | `yss-design-system` 后使用 `yss-prototype-stage`;Codex 再路由 `product-design:index`,其他 Agent 交付等价合同资产;原型产出前后用 `yss-antd-design` 记录 Ant Design v6 事实与浏览器验证。前端代码落地改用 `yss-ui`,不要继续调用 `yss-antd-design` |
|
|
81
82
|
| Bug、测试失败或性能回退 | `diagnosing-bugs` 建立可复现反馈,再用 `tdd` |
|
|
82
83
|
| merge / rebase 冲突 | `resolving-merge-conflicts` |
|
|
83
84
|
| 架构治理、难测模块或深模块设计 | `improve-codebase-architecture` / `codebase-design` |
|
|
84
85
|
| 跨线程、跨仓库、上下文过长或原型结论回流 | `handoff` 或等价交接记录 |
|
|
86
|
+
| 本地知识库 init / refresh / rebuild,或要把研究结果落成持久 wiki | `llm-wiki`(落成持久 wiki 用 `ingest`;已映射 live 源变了用 `refresh`) |
|
|
85
87
|
|
|
86
88
|
业务行为默认按 `tdd` 使用已确认的公开 seam 逐切片实现。一次性生成、纯配置或流程文档不适用代码 TDD 时,必须记录例外理由和可执行验证方式。
|
|
87
89
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
Agent 入口、硬门禁与禁止事项以仓库根 `AGENTS.md` 为准。每个任务先读 `yss-project.yaml` 识别仓库身份,再读 `CONTEXT.md`。本文件不另定义流程规则。
|
|
4
|
+
|
|
5
|
+
## 前端 / 后端验证命令
|
|
6
|
+
|
|
7
|
+
进入 frontend 或 backend 的实现、测试或编译时:
|
|
8
|
+
|
|
9
|
+
- 前端优先使用 `pnpm` 做依赖、测试、type-check 与构建;不要默认 `npm` / `yarn`。
|
|
10
|
+
- 后端优先使用项目根 `./mvnw` 做 `validate` / `test` / `package`;不要默认裸 `mvn`。
|
|
11
|
+
- 既有仓库确实没有 pnpm 或 Maven Wrapper 时,记录受控例外和实际命令。
|
|
12
|
+
|
|
13
|
+
登记字段与跨仓约束见 `docs/process/implementation-repo-integration.md`。
|
package/template/CONTEXT.md
CHANGED
|
@@ -1,70 +1,80 @@
|
|
|
1
1
|
# 领域上下文
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
本文档是项目的领域词汇表,只记录稳定业务语言和协作概念,不记录实现细节、计划草稿或架构说明。
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
| 术语 | 含义 | 避免 / 备注 |
|
|
8
|
-
|---|---|---|
|
|
9
|
-
| Agent | 执行特定工作流步骤的 AI 协作者。 | 不要与人工审查者混用。 |
|
|
10
|
-
| Agent 入口规则 | Agent 启动任务时必须先遵守的全局路由、硬门禁和禁止事项。 | 不作为 YSS 后端、前端或其他专项编码规范的完整手册。 |
|
|
11
|
-
| 标准文档语言 | 面向业务、产品、架构、实施、审查、发布和复盘的持久化文档所使用的默认语言。 | 统一使用简体中文;英文专有名词、代码标识、API 路径、schema、文件名和协议 metadata 保持原样。 |
|
|
12
|
-
| Matt Engineering Skills | 来自 `mattpocock/skills` 的轻量工程流程技能集合。 | 用于澄清、Spec、Ticket、实现、TDD、诊断、审查和架构治理,不替代 YSS 专项规范。 |
|
|
13
|
-
| 上游技能基线 | 从外部技能源锁定的可追溯 revision 及其未经项目适配的原始内容。 | 不等同于项目当前实际生效的 skill;上游更新不得直接覆盖 YSS 适配。 |
|
|
14
|
-
| YSS 技能适配 | 在上游技能基线之上,为 YSS 仓库身份、门禁、状态、授权和专项规范保留的可追溯差异。 | 必须同时保留上游内容哈希、有效内容哈希和适配依据,不作无记录的直接 fork。 |
|
|
15
|
-
| YSS skills | 本项目内置的 YSS 工程规范技能。 | 用于 DDD、UI、OpenAPI、Repository、Controller、DTO、组件和编码规范。 |
|
|
16
|
-
| 技能投影 | 从权威共享技能生成、供特定 Agent root 加载的同步副本。 | 投影不是独立维护的技能源,不应在各 Agent root 中分别修改。 |
|
|
17
|
-
| Spec | 记录用户问题、解决方案、用户故事、关键决策、验收标准和测试 seam 的产品研发规格。 | 新资产统一使用 Spec;旧规格称谓只在迁移记录中保留。 |
|
|
18
|
-
| Spec Delta | 记录相对于既有冻结 Spec 基线的 `ADDED / MODIFIED / REMOVED` 行为、验收场景和测试映射。 | 不用于全新产品或全新模块,也不替代完整 Spec、OpenAPI 或架构资产。 |
|
|
19
|
-
| Ticket | 在追踪平台上承载功能生命周期或可实现工作单元的通用追踪对象。 | GitHub Issues / GitLab Issues 是具体平台对象名称;领域资产统一称为 Ticket。 |
|
|
20
|
-
| 功能父 Ticket | 汇总一个功能从 Spec 到契约冻结的阶段状态、资产链接、审查结论和阻塞项的 Ticket。 | 不作为 Agent 直接实现的垂直切片。 |
|
|
21
|
-
| 垂直切片 Ticket | 契约冻结后生成的可独立验证实现单元,记录范围、阻塞关系、验收标准和验证证据。 | 只有通过必要门禁并具备直接实现条件时才能标记 `ready-for-agent`。 |
|
|
22
|
-
| `ready-for-human` | 表示 Spec、设计、契约草案或其他资产仍需人工审查或确认的流程状态。 | 此状态不表示可以直接进入实现。 |
|
|
23
|
-
| `ready-for-agent` | 表示垂直切片已通过必要门禁并具备直接实现条件的流程状态。 | 不得用于 Spec 初稿、原型、OpenAPI Draft 或其他未冻结资产。 |
|
|
24
|
-
| OpenAPI Draft | review-only 的 OpenAPI 3.1 契约草案。 | Freeze 前不得作为前后端稳定实现契约。 |
|
|
25
|
-
| OpenAPI Freeze | 已通过评审、可作为前后端实现和契约测试输入的 OpenAPI 3.1 契约。 | Freeze 后变更必须回到 API 影响分析和设计审查。 |
|
|
26
|
-
| YSS 响应包装 | 对外 API 使用 `Result` 基础字段及 `SingleResult`、`MultiResult`、`PageResult` 表达单对象、非分页列表和分页查询结果的统一返回结构。 | Java 泛型记法是语义简称;公开 schema 必须落成具体 endpoint wire shape。 |
|
|
27
|
-
| DTO wire shape | DTO 在 HTTP/JSON 边界实际暴露的字段、类型、可空性和方向性;与 Java 字段、getter 或内部协作字段区分。 | 以目标 mapper / contract evidence 为准,不从 getter、Lombok 或 `@JsonIgnore` 机械推断。 |
|
|
28
|
-
| UI 影响 | 会改变用户可见页面、导航、交互流程、状态呈现或权限体验的功能影响。 | 纯后端、API、批处理或数据变更不自动构成 UI 影响。 |
|
|
29
|
-
| 产品设计影响 | UI 变化触及主流程、导航、权限体验、异常 / 恢复状态、状态流转或 API 反推,需要页面流、状态矩阵和原型校准。 | 文案、token、颜色、间距和无行为变化的孤立视觉修复属于 UI 影响,但不自动构成产品设计影响。 |
|
|
30
|
-
| 高保真 HTML 原型 | 低保真原型评审通过后,用于在浏览器中审查真实视觉密度、交互状态和页面流的产品设计资产。 | 不等同于生产前端实现,也不替代 OpenAPI、Spec 校准或垂直切片。 |
|
|
31
|
-
| Visual Baseline Contract | 为生产前端还原冻结页面、视口、交互状态、参考图像和允许差异的可验收合同。 | 不是仅有一张原型截图或绝对像素匹配;每个基线必须可定位到同一视口和同一状态复验。 |
|
|
32
|
-
| 垂直切片(Vertical Slice) | 贯穿所有受影响层、可独立验证的窄功能路径。 | 优先使用垂直切片,避免只按层拆分的横向任务。 |
|
|
33
|
-
| Slice Implementation Contract | 阶段 7 进入实现前,由 `yss-router` 根据冻结资产和垂直切片编译、再由生命周期编排器批准的实现合同,包含 Common、Frontend、Backend、Contract 和 Cross-repo 子合同。 | Router 只能生成草案,不能自行批准、设置 `ready-for-agent` 或宣布完成;Backend 子合同仍保留额外强约束。 |
|
|
34
|
-
| YSS Skill Execution Result | YSS 专项 skill 完成工作单元后返回的结构化执行证据,记录合同版本、变更文件、证据文件、实际验证、延期 seam、偏离和新增影响。 | 实现者自报 `implemented` 不构成最终通过,必须由 Router、生命周期编排器和独立 Reviewer 复核。 |
|
|
35
|
-
| ADR | 架构决策记录,用于沉淀难以回滚、非显而易见且存在真实取舍的技术决策。 | 常规实现选择不要写 ADR。 |
|
|
36
|
-
| Fresh Verification | 完成前重新执行的验证证据,包括测试命令、契约校验、关键路径检查或人工审查结论。 | 不等同于“之前跑过”或实现者自述。 |
|
|
37
|
-
| 测试质量基线 | 项目实例明确采纳的覆盖率阈值、关键流程清单和受控例外。 | 模板推荐值本身不构成可执行门禁;未定义关键流程时,不得声称其 E2E 覆盖率达到 100%。 |
|
|
38
|
-
| 主阶段 | 对相邻研发目标、工作单元和退出条件的粗粒度生命周期分组。 | 不等同于门禁编号,也不因增加门禁而自动增加主阶段。 |
|
|
39
|
-
| 生命周期门禁(条件强制门禁) | 只有当影响面命中触发条件时才必须裁决的生命周期审查点。 | 未触发时记录 `not-applicable` 及原因,不生成空文档;门禁不是产物、工作单元或证据的统称。 |
|
|
40
|
-
| 生命周期产物 | 生命周期工作单元形成并持久化、可被审查和引用的业务或工程结果。 | 文件存在不代表产物已经批准或仍然新鲜。 |
|
|
41
|
-
| 工作单元 | 具有明确输入、输出、允许动作和完成条件的一次有界执行。 | 不等同于主阶段或门禁;一个主阶段可以包含多个工作单元。 |
|
|
42
|
-
| 执行证据 | 用于证明工作单元结果、门禁裁决或完成结论的可读取引用和实际验证记录。 | 口头声明、计划执行的命令或无法解析的引用不构成执行证据。 |
|
|
43
|
-
| 单一事实来源(Single Source of Truth) | 对某一类流程事实拥有唯一定义权的权威资产。 | 其他资产只引用或解释,不重复定义同一规则。 |
|
|
44
|
-
| 流程模板资产 | 可被不同项目复用的文档模板、技能说明、校验脚本、流程规范和目录占位文件。 | 不包含某个具体产品的 Spec、设计、OpenAPI 或 Ticket。 |
|
|
45
|
-
| 模板维护流程 | 用于评估影响、修改权威资产、同步投影、执行压力验证并审查模板演进的工作流。 | 面向模板源仓库,不默认生成具体产品的 Spec、原型、OpenAPI 或垂直切片 Ticket。 |
|
|
46
|
-
| 模板发布门禁 | 模板源发布前必须通过的结构、技能同步、流程语义和压力场景验证集合。 | 不等同于只检查文件存在、Markdown 链接或 YAML 语法。 |
|
|
47
|
-
| Harness 工程 | 串联研发生命周期阶段、门禁、产物、Agent/Skill 编排和追踪证据的工程化治理载体。 | 不等同于单个 CI 流水线或零散提示词集合。 |
|
|
48
|
-
| YSS 研发操作系统 | 由生命周期控制、通用工作流、YSS 专项技能、证据反馈和技能供应链共同构成的可版本化研发治理体系。 | 不等同于单个主控 skill、某个 Agent 客户端或运行时代码平台。 |
|
|
49
|
-
| 生命周期注册表 | 结构化定义主阶段、门禁、产物、工作单元、证据及其稳定标识和关系的机器可读权威资产。 | Markdown 地图、数量说明和验证 fixture 是其派生产物,不应分别维护同一结构事实。 |
|
|
50
|
-
| 生命周期编排器 | 持有阶段、影响面、产物状态、门禁裁决、工作单元路由和恢复条件的研发流程控制平面。 | 不替代专项技能执行业务实现,也不以文件存在或执行者自述宣布完成。 |
|
|
51
|
-
| 前端实现还原验证 | 证明生产前端相对冻结 Spec、交互说明、状态矩阵和高保真原型不存在未解释差异的独立验证。 | 不是绝对像素复刻、普通 type-check 或原型评审;UI 影响切片需覆盖关键视觉、状态、交互和工程证据。 |
|
|
52
|
-
| 生命周期稳定 ID | 以对象类型命名空间和英文标识唯一指向一个生命周期对象的兼容身份。 | 中文名称、展示顺序和数量可以变化;已发布 ID 不得复用来表达另一种语义。 |
|
|
53
|
-
| 派生产物 | 根据生命周期注册表确定性生成的结构表、数量、索引、依赖图或测试 fixture。 | 不承载需要人工解释的原理、取舍或实践建议,禁止脱离注册表分别维护。 |
|
|
54
|
-
| 核心技能(Core Skill) | 默认可发现、负责生命周期控制或通用研发入口的稳定技能。 | 不包含只在特定技术影响下才需要的专项实现规则。 |
|
|
55
|
-
| 专项技能(Specialist Skill) | 由 Router 根据影响面和实现合同按需选择的前端、后端、OpenAPI 或组件技能。 | 不作为所有任务的平级默认入口。 |
|
|
56
|
-
| 试验技能 | 尚未达到项目默认支持成熟度的技能。 | 只在明确试验范围内使用,不进入 Router 默认技能闭包。 |
|
|
57
|
-
| 显式兼容入口 | 为已有用户操作习惯保留的 user-invoked 工作流入口,写入前由生命周期编排器预检,结果回交其验收。 | 不是默认路径、过时别名或可以越过门禁的第二套生命周期。 |
|
|
58
|
-
| 技能成熟度 | 描述技能从 `draft`、`verified`、`supported` 到 `deprecated` 的治理状态。 | 不等同于文件存在、已被投影或能够安装。 |
|
|
59
|
-
| 技能注册表 | 记录技能身份、别名、分层、适用影响面、成熟度、默认可发现性和 Agent 运行时入口的机器可读路由资产。 | 不替代 `skills-lock.json` 的来源、hash 和投影完整性职责。当前 `docs/agents/yss-skill-registry.yaml` 为 `shadow`,Router 与生命周期不得按其裁剪发现面。 |
|
|
60
|
-
| 生态发布清单 | 关联模板 schema 与 commit、CLI 版本与快照、公开技能来源与导出 hash 的跨仓发布证据。 | 不要求尚未生成的仓库 commit 互相循环引用。 |
|
|
61
|
-
| 研发管理仓库 | 承载 Spec、OpenAPI、架构、Ticket、验证、发布和复盘等研发管理资产的仓库。 | 不等同于前端 / 后端代码 monorepo。 |
|
|
62
|
-
| 实现仓库 | 承载前端、后端或其他运行时代码及其 Git、CI、MR / PR、测试命令和发布流水线的仓库。 | 不要把实现仓库的源码所有权混入研发管理仓库。 |
|
|
63
|
-
| 跨仓库契约变更 | 需要两个或多个独立仓库协同实现、验证和按顺序发布的共享契约变化。 | 任一参与仓库未完成契约对齐和集成验证时,不得单独声称整体可发布。 |
|
|
64
|
-
| 模板源仓库(`template-source`) | 承载 `yss-spec-project-template` 权威模板资产及其演进规则的仓库身份。 | 只管理可复用模板,不承载某个具体产品的研发生命周期资产。 |
|
|
65
|
-
| 模板实例仓库(`project-instance`) | 由模板初始化后生成、承载某个具体产品研发生命周期资产的仓库身份。 | 不作为通用流程模板的权威来源。 |
|
|
66
|
-
| 模板实例分发面 | 模板源中应随 CLI 快照进入 `project-instance` 的共享生命周期、模板、用户指南和验证资产集合。 | 不包含模板源审查、研究、发布路线或源仓库专属 ADR。 |
|
|
67
|
-
| 模板源治理区 | 仅供 `template-source` 使用、保存审查证据、研究记录、跨仓契约、发布路线和源仓库治理决策的归档区域。 | 不随 CLI 分发;不等于产品实例的研发管理资产。 |
|
|
68
|
-
| 仓库身份清单 | 显式声明仓库身份和清单结构版本的机器可读资产。 | 不承载项目名称、团队规模、Tracker 或其他易变业务配置。 |
|
|
5
|
+
`英文标识` 是 PascalCase 词干,不是英语释义。`## 业务术语` 必须填写该列;`## 流程术语` 填 `—`。代码类型名、字段名和契约 property 由该词干变形:类名 = 词干 + YSS 工程后缀;字段与 JSON property 为 camelCase;数据库列为 snake_case;枚举常量为 UPPER_SNAKE。工程后缀以 YSS skill 和当前工程惯例为准,不作为领域词写入本表。JSON 与 Java 字段不一致时,以 DTO wire shape / OpenAPI 为准,不在本表另开列。改中文术语或英文标识都是统一语言变更,必须先回写本表。`避免 / 备注` 同时记录禁用中文和禁用英文别名。
|
|
69
6
|
|
|
70
7
|
只有在计划、分诊、调试或架构讨论中明确沉淀出稳定语言时,才新增术语。
|
|
8
|
+
|
|
9
|
+
## 流程术语
|
|
10
|
+
|
|
11
|
+
模板源与生命周期协作概念放在本节。`英文标识` 填 `—`,不回溯补译。
|
|
12
|
+
|
|
13
|
+
| 术语 | 含义 | 英文标识 | 避免 / 备注 |
|
|
14
|
+
|---|---|---|---|
|
|
15
|
+
| Agent | 执行特定工作流步骤的 AI 协作者。 | — | 不要与人工审查者混用。 |
|
|
16
|
+
| Agent 入口规则 | Agent 启动任务时必须先遵守的全局路由、硬门禁和禁止事项。 | — | 不作为 YSS 后端、前端或其他专项编码规范的完整手册。 |
|
|
17
|
+
| 标准文档语言 | 面向业务、产品、架构、实施、审查、发布和复盘的持久化文档所使用的默认语言。 | — | 统一使用简体中文;英文专有名词、代码标识、API 路径、schema、文件名和协议 metadata 保持原样。 |
|
|
18
|
+
| Matt Engineering Skills | 来自 `mattpocock/skills` 的轻量工程流程技能集合。 | — | 用于澄清、Spec、Ticket、实现、TDD、诊断、审查和架构治理,不替代 YSS 专项规范。 |
|
|
19
|
+
| 上游技能基线 | 从外部技能源锁定的可追溯 revision 及其未经项目适配的原始内容。 | — | 不等同于项目当前实际生效的 skill;上游更新不得直接覆盖 YSS 适配。 |
|
|
20
|
+
| YSS 技能适配 | 在上游技能基线之上,为 YSS 仓库身份、门禁、状态、授权和专项规范保留的可追溯差异。 | — | 必须同时保留上游内容哈希、有效内容哈希和适配依据,不作无记录的直接 fork。 |
|
|
21
|
+
| YSS skills | 本项目内置的 YSS 工程规范技能。 | — | 用于 DDD、UI、OpenAPI、Repository、Controller、DTO、组件和编码规范。 |
|
|
22
|
+
| 技能投影 | 从权威共享技能生成、供特定 Agent root 加载的同步副本。 | — | 投影不是独立维护的技能源,不应在各 Agent root 中分别修改。 |
|
|
23
|
+
| Spec | 记录用户问题、解决方案、用户故事、关键决策、验收标准和测试 seam 的产品研发规格。 | — | 新资产统一使用 Spec;旧规格称谓只在迁移记录中保留。 |
|
|
24
|
+
| Spec Delta | 记录相对于既有冻结 Spec 基线的 `ADDED / MODIFIED / REMOVED` 行为、验收场景和测试映射。 | — | 不用于全新产品或全新模块,也不替代完整 Spec、OpenAPI 或架构资产。 |
|
|
25
|
+
| Ticket | 在追踪平台上承载功能生命周期或可实现工作单元的通用追踪对象。 | — | GitHub Issues / GitLab Issues 是具体平台对象名称;领域资产统一称为 Ticket。 |
|
|
26
|
+
| 功能父 Ticket | 汇总一个功能从 Spec 到契约冻结的阶段状态、资产链接、审查结论和阻塞项的 Ticket。 | — | 不作为 Agent 直接实现的垂直切片。 |
|
|
27
|
+
| 垂直切片 Ticket | 契约冻结后生成的可独立验证实现单元,记录范围、阻塞关系、验收标准和验证证据。 | — | 只有通过必要门禁并具备直接实现条件时才能标记 `ready-for-agent`。 |
|
|
28
|
+
| `ready-for-human` | 表示 Spec、设计、契约草案或其他资产仍需人工审查或确认的流程状态。 | — | 此状态不表示可以直接进入实现。 |
|
|
29
|
+
| `ready-for-agent` | 表示垂直切片已通过必要门禁并具备直接实现条件的流程状态。 | — | 不得用于 Spec 初稿、原型、OpenAPI Draft 或其他未冻结资产。 |
|
|
30
|
+
| OpenAPI Draft | review-only 的 OpenAPI 3.1 契约草案。 | — | Freeze 前不得作为前后端稳定实现契约。 |
|
|
31
|
+
| OpenAPI Freeze | 已通过评审、可作为前后端实现和契约测试输入的 OpenAPI 3.1 契约。 | — | Freeze 后变更必须回到 API 影响分析和设计审查。 |
|
|
32
|
+
| YSS 响应包装 | 对外 API 使用 `Result` 基础字段及 `SingleResult`、`MultiResult`、`PageResult` 表达单对象、非分页列表和分页查询结果的统一返回结构。 | — | Java 泛型记法是语义简称;公开 schema 必须落成具体 endpoint wire shape。 |
|
|
33
|
+
| DTO wire shape | DTO 在 HTTP/JSON 边界实际暴露的字段、类型、可空性和方向性;与 Java 字段、getter 或内部协作字段区分。 | — | 以目标 mapper / contract evidence 为准,不从 getter、Lombok 或 `@JsonIgnore` 机械推断。 |
|
|
34
|
+
| UI 影响 | 会改变用户可见页面、导航、交互流程、状态呈现或权限体验的功能影响。 | — | 纯后端、API、批处理或数据变更不自动构成 UI 影响。 |
|
|
35
|
+
| 产品设计影响 | UI 变化触及主流程、导航、权限体验、异常 / 恢复状态、状态流转或 API 反推,需要页面流、状态矩阵和原型校准。 | — | 文案、token、颜色、间距和无行为变化的孤立视觉修复属于 UI 影响,但不自动构成产品设计影响。 |
|
|
36
|
+
| 高保真 HTML 原型 | 低保真原型评审通过后,用于在浏览器中审查真实视觉密度、交互状态和页面流的产品设计资产。 | — | 不等同于生产前端实现,也不替代 OpenAPI、Spec 校准或垂直切片。 |
|
|
37
|
+
| Visual Baseline Contract | 为生产前端还原冻结页面、视口、交互状态、参考图像和允许差异的可验收合同。 | — | 不是仅有一张原型截图或绝对像素匹配;每个基线必须可定位到同一视口和同一状态复验。 |
|
|
38
|
+
| 垂直切片(Vertical Slice) | 贯穿所有受影响层、可独立验证的窄功能路径。 | — | 优先使用垂直切片,避免只按层拆分的横向任务。 |
|
|
39
|
+
| Slice Implementation Contract | 阶段 7 进入实现前,由 `yss-router` 根据冻结资产和垂直切片编译、再由生命周期编排器批准的实现合同,包含 Common、Frontend、Backend、Contract 和 Cross-repo 子合同。 | — | Router 只能生成草案,不能自行批准、设置 `ready-for-agent` 或宣布完成;Backend 子合同仍保留额外强约束。 |
|
|
40
|
+
| YSS Skill Execution Result | YSS 专项 skill 完成工作单元后返回的结构化执行证据,记录合同版本、变更文件、证据文件、实际验证、延期 seam、偏离和新增影响。 | — | 实现者自报 `implemented` 不构成最终通过,必须由 Router、生命周期编排器和独立 Reviewer 复核。 |
|
|
41
|
+
| ADR | 架构决策记录,用于沉淀难以回滚、非显而易见且存在真实取舍的技术决策。 | — | 常规实现选择不要写 ADR。 |
|
|
42
|
+
| Fresh Verification | 完成前重新执行的验证证据,包括测试命令、契约校验、关键路径检查或人工审查结论。 | — | 不等同于“之前跑过”或实现者自述。 |
|
|
43
|
+
| 实现验证命令 | 前端测试 / 构建优先 `pnpm`,后端校验 / 测试 / 编译优先 `./mvnw`。 | — | 不要默认 `npm`、`yarn` 或裸 `mvn`;仓库确实缺少 pnpm 或 Maven Wrapper 时记受控例外。 |
|
|
44
|
+
| 测试质量基线 | 项目实例明确采纳的覆盖率阈值、关键流程清单和受控例外。 | — | 模板推荐值本身不构成可执行门禁;未定义关键流程时,不得声称其 E2E 覆盖率达到 100%。 |
|
|
45
|
+
| 主阶段 | 对相邻研发目标、工作单元和退出条件的粗粒度生命周期分组。 | — | 不等同于门禁编号,也不因增加门禁而自动增加主阶段。 |
|
|
46
|
+
| 生命周期门禁(条件强制门禁) | 只有当影响面命中触发条件时才必须裁决的生命周期审查点。 | — | 未触发时记录 `not-applicable` 及原因,不生成空文档;门禁不是产物、工作单元或证据的统称。 |
|
|
47
|
+
| 生命周期产物 | 生命周期工作单元形成并持久化、可被审查和引用的业务或工程结果。 | — | 文件存在不代表产物已经批准或仍然新鲜。 |
|
|
48
|
+
| 工作单元 | 具有明确输入、输出、允许动作和完成条件的一次有界执行。 | — | 不等同于主阶段或门禁;一个主阶段可以包含多个工作单元。 |
|
|
49
|
+
| 执行证据 | 用于证明工作单元结果、门禁裁决或完成结论的可读取引用和实际验证记录。 | — | 口头声明、计划执行的命令或无法解析的引用不构成执行证据。 |
|
|
50
|
+
| 单一事实来源(Single Source of Truth) | 对某一类流程事实拥有唯一定义权的权威资产。 | — | 其他资产只引用或解释,不重复定义同一规则。 |
|
|
51
|
+
| 流程模板资产 | 可被不同项目复用的文档模板、技能说明、校验脚本、流程规范和目录占位文件。 | — | 不包含某个具体产品的 Spec、设计、OpenAPI 或 Ticket。 |
|
|
52
|
+
| 模板维护流程 | 用于评估影响、修改权威资产、同步投影、执行压力验证并审查模板演进的工作流。 | — | 面向模板源仓库,不默认生成具体产品的 Spec、原型、OpenAPI 或垂直切片 Ticket。 |
|
|
53
|
+
| 模板发布门禁 | 模板源发布前必须通过的结构、技能同步、流程语义和压力场景验证集合。 | — | 不等同于只检查文件存在、Markdown 链接或 YAML 语法。 |
|
|
54
|
+
| Harness 工程 | 串联研发生命周期阶段、门禁、产物、Agent/Skill 编排和追踪证据的工程化治理载体。 | — | 不等同于单个 CI 流水线或零散提示词集合。 |
|
|
55
|
+
| YSS 研发操作系统 | 由生命周期控制、通用工作流、YSS 专项技能、证据反馈和技能供应链共同构成的可版本化研发治理体系。 | — | 不等同于单个主控 skill、某个 Agent 客户端或运行时代码平台。 |
|
|
56
|
+
| 生命周期注册表 | 结构化定义主阶段、门禁、产物、工作单元、证据及其稳定标识和关系的机器可读权威资产。 | — | Markdown 地图、数量说明和验证 fixture 是其派生产物,不应分别维护同一结构事实。 |
|
|
57
|
+
| 生命周期编排器 | 持有阶段、影响面、产物状态、门禁裁决、工作单元路由和恢复条件的研发流程控制平面。 | — | 不替代专项技能执行业务实现,也不以文件存在或执行者自述宣布完成。 |
|
|
58
|
+
| 前端实现还原验证 | 证明生产前端相对冻结 Spec、交互说明、状态矩阵和高保真原型不存在未解释差异的独立验证。 | — | 不是绝对像素复刻、普通 type-check 或原型评审;UI 影响切片需覆盖关键视觉、状态、交互和工程证据。 |
|
|
59
|
+
| 生命周期稳定 ID | 以对象类型命名空间和英文标识唯一指向一个生命周期对象的兼容身份。 | — | 中文名称、展示顺序和数量可以变化;已发布 ID 不得复用来表达另一种语义。 |
|
|
60
|
+
| 派生产物 | 根据生命周期注册表确定性生成的结构表、数量、索引、依赖图或测试 fixture。 | — | 不承载需要人工解释的原理、取舍或实践建议,禁止脱离注册表分别维护。 |
|
|
61
|
+
| 核心技能(Core Skill) | 默认可发现、负责生命周期控制或通用研发入口的稳定技能。 | — | 不包含只在特定技术影响下才需要的专项实现规则。 |
|
|
62
|
+
| 专项技能(Specialist Skill) | 由 Router 根据影响面和实现合同按需选择的前端、后端、OpenAPI 或组件技能。 | — | 不作为所有任务的平级默认入口。 |
|
|
63
|
+
| 试验技能 | 尚未达到项目默认支持成熟度的技能。 | — | 只在明确试验范围内使用,不进入 Router 默认技能闭包。 |
|
|
64
|
+
| 显式兼容入口 | 为已有用户操作习惯保留的 user-invoked 工作流入口,写入前由生命周期编排器预检,结果回交其验收。 | — | 不是默认路径、过时别名或可以越过门禁的第二套生命周期。 |
|
|
65
|
+
| 技能成熟度 | 描述技能从 `draft`、`verified`、`supported` 到 `deprecated` 的治理状态。 | — | 不等同于文件存在、已被投影或能够安装。 |
|
|
66
|
+
| 技能注册表 | 记录技能身份、别名、分层、适用影响面、成熟度、默认可发现性和 Agent 运行时入口的机器可读路由资产。 | — | 不替代 `skills-lock.json` 的来源、hash 和投影完整性职责。当前 `docs/agents/yss-skill-registry.yaml` 为 `shadow`,Router 与生命周期不得按其裁剪发现面。 |
|
|
67
|
+
| LLM Wiki | 由 `raw/`、`wiki/` 与 `.wiki-manifest.json` 组成的本地持久知识库。 | — | 不是 `research` 一次性笔记,也不替代权威源。`ingest` 只把用户点名的外源或已落盘研究笔记编进 IR,不改 live 权威文件。 |
|
|
68
|
+
| 生态发布清单 | 关联模板 schema 与 commit、CLI 版本与快照、公开技能来源与导出 hash 的跨仓发布证据。 | — | 不要求尚未生成的仓库 commit 互相循环引用。 |
|
|
69
|
+
| 研发管理仓库 | 承载 Spec、OpenAPI、架构、Ticket、验证、发布和复盘等研发管理资产的仓库。 | — | 不等同于前端 / 后端代码 monorepo。 |
|
|
70
|
+
| 实现仓库 | 承载前端、后端或其他运行时代码及其 Git、CI、MR / PR、测试命令和发布流水线的仓库。 | — | 不要把实现仓库的源码所有权混入研发管理仓库。 |
|
|
71
|
+
| 跨仓库契约变更 | 需要两个或多个独立仓库协同实现、验证和按顺序发布的共享契约变化。 | — | 任一参与仓库未完成契约对齐和集成验证时,不得单独声称整体可发布。 |
|
|
72
|
+
| 模板源仓库(`template-source`) | 承载 `yss-spec-project-template` 权威模板资产及其演进规则的仓库身份。 | — | 只管理可复用模板,不承载某个具体产品的研发生命周期资产。 |
|
|
73
|
+
| 模板实例仓库(`project-instance`) | 由模板初始化后生成、承载某个具体产品研发生命周期资产的仓库身份。 | — | 不作为通用流程模板的权威来源。 |
|
|
74
|
+
| 模板实例分发面 | 模板源中应随 CLI 快照进入 `project-instance` 的共享生命周期、模板、用户指南和验证资产集合。 | — | 不包含模板源审查、研究、发布路线或源仓库专属 ADR。 |
|
|
75
|
+
| 模板源治理区 | 仅供 `template-source` 使用、保存审查证据、研究记录、跨仓契约、发布路线和源仓库治理决策的归档区域。 | — | 不随 CLI 分发;不等于产品实例的研发管理资产。 |
|
|
76
|
+
| 仓库身份清单 | 显式声明仓库身份和清单结构版本的机器可读资产。 | — | 不承载项目名称、团队规模、Tracker 或其他易变业务配置。 |
|
|
77
|
+
|
|
78
|
+
## 业务术语
|
|
79
|
+
|
|
80
|
+
`project-instance` 在本节新增产品对象。每一行必须有 PascalCase `英文标识`;缺该列视为统一语言未冻结。模板源不放虚构业务行。
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
|
|
25
25
|
## 使用规则
|
|
26
26
|
|
|
27
|
-
- 在 Spec、Ticket 标题、测试、架构说明和实施总结中使用 `CONTEXT.md`
|
|
28
|
-
-
|
|
29
|
-
-
|
|
27
|
+
- 在 Spec、Ticket 标题、测试、架构说明和实施总结中使用 `CONTEXT.md` 定义的中文术语。
|
|
28
|
+
- 业务术语必须同时有 PascalCase `英文标识`;代码类型 / 字段与契约 property 使用该词干按 `CONTEXT.md` 文首规则变形。不把具体类全名、表名或接口路径写入词汇表。
|
|
29
|
+
- `CONTEXT.md` 是领域词汇表,不是需求或实现规格;临时计划和未确认猜测不写入。
|
|
30
|
+
- 如果提案与现有 ADR 或已冻结术语冲突,必须在继续执行前明确指出冲突。
|
|
@@ -121,6 +121,12 @@ skills:
|
|
|
121
121
|
instance_default_discoverable: true
|
|
122
122
|
aliases: []
|
|
123
123
|
impacts: [quality]
|
|
124
|
+
- id: llm-wiki
|
|
125
|
+
layer: core
|
|
126
|
+
maturity: verified
|
|
127
|
+
instance_default_discoverable: true
|
|
128
|
+
aliases: []
|
|
129
|
+
impacts: [quality]
|
|
124
130
|
- id: lombok
|
|
125
131
|
layer: specialist
|
|
126
132
|
maturity: supported
|
|
@@ -277,6 +283,12 @@ skills:
|
|
|
277
283
|
instance_default_discoverable: false
|
|
278
284
|
aliases: []
|
|
279
285
|
impacts: [writing]
|
|
286
|
+
- id: yss-antd-design
|
|
287
|
+
layer: specialist
|
|
288
|
+
maturity: supported
|
|
289
|
+
instance_default_discoverable: false
|
|
290
|
+
aliases: []
|
|
291
|
+
impacts: [prototype]
|
|
280
292
|
- id: yss-api-integration
|
|
281
293
|
layer: specialist
|
|
282
294
|
maturity: supported
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
设计系统基线:
|
|
6
6
|
|
|
7
|
-
- `docs/design/design.md
|
|
8
|
-
- `docs/design/tokens/`:随仓库保存的主题、亮色 / 暗色 / 紧凑 token 和 CSS 变量快照,后续实现不得依赖本机 Downloads
|
|
7
|
+
- `docs/design/design.md`:项目设计系统说明。默认亮色覆盖来自项目 Ant Design 5 `:root` / Less 裁定(主色 `#3371ff`、系统字体、6px 圆角),不再只沿用历史 `Product-Design-System` 包;官方 `design.md` 是上游默认,项目 token 是项目覆盖,优先级以该文件为准。
|
|
8
|
+
- `docs/design/tokens/`:随仓库保存的主题、亮色 / 暗色 / 紧凑 token 和 CSS 变量快照,后续实现不得依赖本机 Downloads 目录或原始 Less。
|
|
9
9
|
|
|
10
10
|
产品原型产出默认以 `product-design:index` 为主入口。该 skill 只负责路由,实际按 Product Design plugin 规则进入 `$get-context`、`$ideate`、`$prototype`、`$image-to-code`、`$url-to-code`、`$share` 或 `$design-qa` 等 focused skill;YSS 生命周期仍负责校验低保真评审、高保真 HTML 原型、AntD CLI 校验证据、用户确认和 Spec / OpenAPI 回填。
|
|
11
11
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
- 表单、表格、弹窗、抽屉、步骤流等交互说明。
|
|
21
21
|
- loading、empty、error、readonly、disabled、no-permission、conflict 等状态矩阵。
|
|
22
22
|
- 页面字段、筛选条件、操作按钮和权限规则。
|
|
23
|
-
- 低保真原型评审通过后的 Ant Design v6 高保真可交互 HTML 原型,默认路径为 `docs/.scratch/<feature>/design/prototypes/index.html`;该产物可由系统 / Agent 自动生成,不要求用户手工提供,产出前必须使用 `antd`
|
|
23
|
+
- 低保真原型评审通过后的 Ant Design v6 高保真可交互 HTML 原型,默认路径为 `docs/.scratch/<feature>/design/prototypes/index.html`;该产物可由系统 / Agent 自动生成,不要求用户手工提供,产出前必须使用 `yss-antd-design` 查询设计语言、组件 API、demo、token 和 semantic 信息,产出后必须记录 AntD v6 校验证据并获得用户确认。前端代码落地改用 `yss-ui`。
|
|
24
24
|
|
|
25
25
|
这些资产用于反推 API 影响、契约草案、OpenAPI 请求 / 响应字段、错误结构、分页筛选、权限状态和前端验收标准。
|
|
26
26
|
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
|
|
36
36
|
推荐技能:
|
|
37
37
|
|
|
38
|
-
- `yss-design-system`:项目设计系统与 Ant Design 企业级 UI 风格基线;页面设计、原型评审、UI 实现和主题 token 落地时默认先引用。
|
|
38
|
+
- `yss-design-system`:项目设计系统与 Ant Design 企业级 UI 风格基线;页面设计、原型评审、UI 实现和主题 token 落地时默认先引用。Codex `$design-qa` 的 token / 字体对照读该技能的 `references/design-qa-theme.md`,以项目覆盖为准,不改上游 `design-qa` 插件。
|
|
39
39
|
- `yss-prototype-stage`:跨 Agent 的原型阶段合同,固定资产、证据、设计优先级与生命周期回流;Codex 的主路由为 `product-design:index`。
|
|
40
40
|
- `product-design:index`:Codex 产品原型产出的主路由;根据输入是否有 URL、截图、Figma、代码目标或视觉方向,进入 `$get-context`、`$ideate`、`$prototype`、`$image-to-code`、`$url-to-code`、`$share` 或 `$design-qa` 等 focused skill。
|
|
41
41
|
- Product Design focused skills:基于 Spec 初稿和产品总体设计 / 功能架构,产出低保真 / 高保真页面、原型、交互设计资产和可分享原型;高保真 HTML 原型默认由该路由链路产出。
|
|
42
|
-
- `antd
|
|
42
|
+
- `yss-antd-design`:仅用于原型设计构建的 Ant Design v6 事实技能;生成或修改高保真 HTML 原型前后必须留下 CLI 校验证据。前端代码落地改用 `yss-ui`。
|
|
43
43
|
- `prototype-review`:原型阶段评审门禁;未通过则不要进入 Spec 校准 / API 影响分析 / 契约草案。
|
|
44
44
|
- 兼容入口:`product-design-prototype`、`high-fidelity-html-prototype` 仅作为历史兼容或产物门禁名称保留;新的产品原型产出默认使用 `product-design:index`,已退休技能不再提供兼容路由。
|
|
45
45
|
|