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
|
@@ -2,20 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
## 来源与定位
|
|
4
4
|
|
|
5
|
-
本文件基于本地设计系统包 `/Users/zhudaoming/Downloads/Product-Design-System`
|
|
5
|
+
本文件基于本地设计系统包 `/Users/zhudaoming/Downloads/Product-Design-System` 首次分析整理,并在后续用项目 Ant Design 5 Less / `:root` CSS 变量覆盖默认亮色主题。自本文件落地后,项目内设计系统的权威来源为 `docs/design/design.md` 与 `docs/design/tokens/*`,外部 Downloads 目录和原始 Less 文件仅作为历史输入记录,不作为后续执行依赖,也不作为实现语言。
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
关键来源:
|
|
8
8
|
|
|
9
|
-
|
|
|
9
|
+
| 来源 | 作用 | 采用结论 |
|
|
10
10
|
| --- | --- | --- |
|
|
11
|
-
| `
|
|
11
|
+
| 历史 `Product-Design-System` 包 | 首次引入 Ant Design 企业级语义、状态矩阵和验收习惯 | 保留原则、组件规则和审查清单 |
|
|
12
|
+
| 项目 Ant Design 5 Less / `:root` 变量 | 默认亮色主题、运行时切换别名、色板与布局 token | **默认主题权威**;冲突时以 `:root` 为准 |
|
|
12
13
|
| `docs/design/tokens/tokens.default.json` | 默认亮色主题派生 token | 作为实现 token 基线 |
|
|
13
|
-
| `docs/design/tokens/tokens.dark.json` | 暗色主题派生 token |
|
|
14
|
-
| `docs/design/tokens/tokens.compact.json` | 紧凑密度主题派生 token |
|
|
15
|
-
| `docs/design/tokens/variables.css` | `--brand-*`
|
|
14
|
+
| `docs/design/tokens/tokens.dark.json` | 暗色主题派生 token | 暗色仍走 `darkAlgorithm`;本轮未按新 seed 重派生完整暗色色板 |
|
|
15
|
+
| `docs/design/tokens/tokens.compact.json` | 紧凑密度主题派生 token | 共享亮色 seed,紧凑高度算法保持现状 |
|
|
16
|
+
| `docs/design/tokens/variables.css` | `--brand-*` 与运行时别名 | 前端实现时优先转换为项目 token |
|
|
16
17
|
| `docs/design/tokens/theme.json` | Ant Design `ConfigProvider` theme 配置 | React + Ant Design 项目可直接参考 |
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
|
|
19
|
+
同份 Less 输入存在两套互相覆盖的默认值。项目裁定如下,并已写入 token 快照:
|
|
20
|
+
|
|
21
|
+
| 项 | 采用 | 丢弃 |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| 主色 | `#3371ff`(`--primary-color`) | `#3177ff` fallback、历史 `#1677ff` |
|
|
24
|
+
| 信息色 | `#3371ff` | 历史 `#1677ff` |
|
|
25
|
+
| 错误色 | `#f5222d` | 历史 `#ff4d4f` |
|
|
26
|
+
| 页面背景 | `#f0f2f5` | 历史 `#f5f5f5` |
|
|
27
|
+
| 主文本 / 次文本 | `rgba(0, 0, 0, 0.88)` / `rgba(0, 0, 0, 0.65)` | `#2e2e2e` / `#646464` |
|
|
28
|
+
| 边框 / 分割线 | `#d9d9d9` / `#f0f0f0` | `#dbdbdb` / `#f1f1f1` |
|
|
29
|
+
| 默认圆角 | `6px` | Less 前半 `4px`、历史品牌 `8px` |
|
|
30
|
+
| 字体栈 | 系统栈 | 强制 `Inter` |
|
|
31
|
+
| hover / active | `#4096ff` / `#0958d9`(`:root` 显式值) | 由新主色算法重算 |
|
|
32
|
+
|
|
33
|
+
`.m-1` / `.flex-*` 等 utility class、`::-webkit-scrollbar` 定制和原始 `.less` 文件不纳入规范正文,只可作为可选实现备注。
|
|
19
34
|
|
|
20
35
|
结论:这不是营销型视觉系统,而是面向中后台、数据密集、表单密集、流程密集产品的 Ant Design 风格企业级设计系统。项目内 UI 默认应以“清晰、确定、低装饰、可扫描、高一致性”为目标。
|
|
21
36
|
|
|
@@ -23,6 +38,10 @@
|
|
|
23
38
|
|
|
24
39
|
原型使用 Ant Design 时,`https://ant.design/design.md` 与官方 `antd` CLI 提供的是**上游默认**和组件事实;项目的 `docs/design/design.md`、`docs/design/tokens/*` 是经过确认的**项目覆盖**。当前功能只能在这两层之下完成语义组件映射。若上游默认与项目 token 不同,以项目覆盖为准,并在 `prototype-evidence.yaml` 中记录差异;不得把上游默认直接写回项目实现。
|
|
25
40
|
|
|
41
|
+
当前项目覆盖与官方默认的主要差异:主色 `#3371ff` ≠ 官方 `#1677ff`,错误色 `#f5222d` ≠ 官方 `#ff4d4f`,页面背景 `#f0f2f5`,文本使用 Ant Design 透明度阶,默认圆角 `6px`。`blue` 等预设色板仍可保留官方蓝谱;**色板预设 ≠ 品牌主色**。
|
|
42
|
+
|
|
43
|
+
Codex `$design-qa` 的 Colors/tokens 与 Fonts/typography 对照必须以本文件和 `docs/design/tokens/*` 为 source visual truth,而不是官方默认或历史 `#1677ff` / `Inter` / `8px` 品牌圆角。执行清单见 `.agents/skills/yss-design-system/references/design-qa-theme.md`。
|
|
44
|
+
|
|
26
45
|
## 设计原则
|
|
27
46
|
|
|
28
47
|
本项目采用该设计系统时,优先遵循四个原则:
|
|
@@ -40,29 +59,54 @@
|
|
|
40
59
|
|
|
41
60
|
| Token | 值 | 用途 |
|
|
42
61
|
| --- | --- | --- |
|
|
43
|
-
| `colorPrimary` | `#
|
|
62
|
+
| `colorPrimary` | `#3371ff` | 主按钮、链接、焦点、选中态、激活导航 |
|
|
44
63
|
| `colorPrimaryHover` | `#4096ff` | 主色 hover |
|
|
45
64
|
| `colorPrimaryActive` | `#0958d9` | 主色 active |
|
|
46
65
|
| `colorSuccess` | `#52c41a` | 成功状态 |
|
|
47
66
|
| `colorWarning` | `#faad14` | 警告状态 |
|
|
48
|
-
| `colorError` | `#
|
|
49
|
-
| `colorInfo` | `#
|
|
50
|
-
| `colorBgLayout` | `#
|
|
67
|
+
| `colorError` | `#f5222d` | 错误状态 |
|
|
68
|
+
| `colorInfo` | `#3371ff` | 信息提示 |
|
|
69
|
+
| `colorBgLayout` | `#f0f2f5` | 页面背景 |
|
|
51
70
|
| `colorBgContainer` | `#ffffff` | 卡片、表格、表单、面板容器 |
|
|
52
71
|
| `colorBgElevated` | `#ffffff` | 弹窗、下拉、浮层 |
|
|
53
|
-
| `colorText` |
|
|
54
|
-
| `colorTextSecondary` |
|
|
55
|
-
| `colorTextTertiary` | `#
|
|
56
|
-
| `colorTextQuaternary` | `#
|
|
57
|
-
| `colorBorder` | `#
|
|
58
|
-
| `colorBorderSecondary` | `#
|
|
72
|
+
| `colorText` | `rgba(0, 0, 0, 0.88)` | 主文本 |
|
|
73
|
+
| `colorTextSecondary` | `rgba(0, 0, 0, 0.65)` | 次级文本 |
|
|
74
|
+
| `colorTextTertiary` | `#8c8c8c` | 说明 / 弱提示 |
|
|
75
|
+
| `colorTextQuaternary` | `#bfbfbf` | placeholder / disabled |
|
|
76
|
+
| `colorBorder` | `#d9d9d9` | 主边框 |
|
|
77
|
+
| `colorBorderSecondary` | `#f0f0f0` | 次级分割线 |
|
|
59
78
|
|
|
60
79
|
颜色使用规则:
|
|
61
80
|
|
|
62
81
|
- 主色只表达全局主操作、链接、选中态和焦点态,不作为大面积背景装饰。
|
|
63
82
|
- `success`、`warning`、`error`、`info` 只用于功能状态,不与品牌强调混用。
|
|
64
|
-
- 预设色板如 `blue`、`purple`、`cyan`、`green`、`magenta`、`red`、`orange`、`yellow`、`volcano`、`geekblue`、`gold`、`lime` 主要用于 Tag
|
|
83
|
+
- 预设色板如 `blue`、`purple`、`cyan`、`green`、`magenta`、`red`、`orange`、`yellow`、`volcano`、`geekblue`、`gold`、`lime` 主要用于 Tag、图表和分类可视化;其中 `blue-6` 仍可能是官方 `#1677ff`,不得当作品牌主色。
|
|
65
84
|
- 产品代码中不要硬编码 `#ffffff`、`#fafafa` 等表面色,应引用语义 token。
|
|
85
|
+
- 主色浅阶 `primary-1` 使用 `color-mix(in srgb, var(--primary-color) 10%, transparent)`,不要对 CSS 变量调用 Less `fade()`。
|
|
86
|
+
|
|
87
|
+
### 运行时主题变量
|
|
88
|
+
|
|
89
|
+
默认亮色支持运行时切换。`:root` 中的短名别名必须指向 `--brand-*`,不要再维护第二套色值。
|
|
90
|
+
|
|
91
|
+
| 运行时别名 | 指向 | 默认值 |
|
|
92
|
+
| --- | --- | --- |
|
|
93
|
+
| `--primary-color` | `--brand-color-primary` | `#3371ff` |
|
|
94
|
+
| `--primary-color-hover` | `--brand-color-primary-hover` | `#4096ff` |
|
|
95
|
+
| `--primary-color-active` | `--brand-color-primary-active` | `#0958d9` |
|
|
96
|
+
| `--primary-1` | `color-mix(in srgb, var(--primary-color) 10%, transparent)` | 主色 10% 透明 |
|
|
97
|
+
| `--primary-7` | `--primary-color-active` | `#0958d9` |
|
|
98
|
+
| `--success-color` | `--brand-color-success` | `#52c41a` |
|
|
99
|
+
| `--warning-color` | `--brand-color-warning` | `#faad14` |
|
|
100
|
+
| `--error-color` | `--brand-color-error` | `#f5222d` |
|
|
101
|
+
| `--info-color` | `--brand-color-info` | `#3371ff` |
|
|
102
|
+
| `--text-color` | `--brand-color-text` | `rgba(0, 0, 0, 0.88)` |
|
|
103
|
+
| `--text-color-secondary` | `--brand-color-text-secondary` | `rgba(0, 0, 0, 0.65)` |
|
|
104
|
+
| `--border-color` | `--brand-color-border` | `#d9d9d9` |
|
|
105
|
+
| `--border-color-split` | `--brand-color-border-secondary` | `#f0f0f0` |
|
|
106
|
+
| `--bg-color` | `--brand-color-bg-layout` | `#f0f2f5` |
|
|
107
|
+
| `--bg-color-container` | `--brand-color-bg-container` | `#ffffff` |
|
|
108
|
+
|
|
109
|
+
切换主题时只改 `--brand-*` 或同步改短名别名;不要在页面里另写一套 Less 变量。
|
|
66
110
|
|
|
67
111
|
### 排版
|
|
68
112
|
|
|
@@ -80,7 +124,7 @@
|
|
|
80
124
|
字体栈:
|
|
81
125
|
|
|
82
126
|
```text
|
|
83
|
-
|
|
127
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
|
|
84
128
|
```
|
|
85
129
|
|
|
86
130
|
排版规则:
|
|
@@ -88,6 +132,7 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
|
|
|
88
132
|
- 中后台产品默认正文使用 14px,以保证信息密度和可扫描性。
|
|
89
133
|
- UI 字重优先使用 400 和 600,不使用 700+ 的重粗字作为状态强调。
|
|
90
134
|
- 选中 / 激活状态优先通过颜色、边框、下划线和背景表达,不通过突然加粗制造跳动。
|
|
135
|
+
- 不把 `Inter` 或其他品牌字体写成强制默认栈;项目若要引入品牌字体,必须先更新本文件和 token 快照。
|
|
91
136
|
|
|
92
137
|
### 间距与尺寸
|
|
93
138
|
|
|
@@ -111,16 +156,32 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
|
|
|
111
156
|
- 表单、筛选区、工具栏、表格和详情页应优先使用密集但有节奏的布局。
|
|
112
157
|
- 不使用任意 magic number;如确需新增尺寸,应先判断是否要扩展 token。
|
|
113
158
|
|
|
159
|
+
### 布局 token
|
|
160
|
+
|
|
161
|
+
| Token | 值 | 用途 |
|
|
162
|
+
| --- | --- | --- |
|
|
163
|
+
| `layoutHeaderHeight` | `64px` | 顶栏高度 |
|
|
164
|
+
| `layoutSiderBackground` | `#001529` | 深色侧栏背景 |
|
|
165
|
+
| `layoutBodyBackground` | `#f0f2f5` | 与 `colorBgLayout` 对齐的页面背景 |
|
|
166
|
+
| `screenXS` | `480px` | 布局断点 |
|
|
167
|
+
| `screenSM` | `576px` | 布局断点 |
|
|
168
|
+
| `screenMD` | `768px` | 布局断点 |
|
|
169
|
+
| `screenLG` | `992px` | 布局断点 |
|
|
170
|
+
| `screenXL` | `1200px` | 布局断点 |
|
|
171
|
+
| `screenXXL` | `1600px` | 布局断点 |
|
|
172
|
+
|
|
173
|
+
这些断点用于栅格、隐藏工具类和布局折叠,不替换下方截图验收视口矩阵。
|
|
174
|
+
|
|
114
175
|
### 圆角
|
|
115
176
|
|
|
116
177
|
| Token | 值 | 用途 |
|
|
117
178
|
| --- | --- | --- |
|
|
118
|
-
| `borderRadiusXS` |
|
|
119
|
-
| `borderRadiusSM` |
|
|
120
|
-
| `borderRadius` |
|
|
121
|
-
| `borderRadiusLG` |
|
|
179
|
+
| `borderRadiusXS` | 2 | 极小元素 |
|
|
180
|
+
| `borderRadiusSM` | 4 | 小标签、小控件 |
|
|
181
|
+
| `borderRadius` | 6 | 默认控件圆角 |
|
|
182
|
+
| `borderRadiusLG` | 8 | 大容器 / 浮层 |
|
|
122
183
|
|
|
123
|
-
|
|
184
|
+
保持“控件圆角小于或等于容器圆角”:默认控件 `6px`,小控件 `4px`,容器 `8px`。实现时以 `docs/design/tokens/tokens.default.json` 为准。
|
|
124
185
|
|
|
125
186
|
### 动效
|
|
126
187
|
|
|
@@ -181,6 +242,8 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
|
|
|
181
242
|
| desktop | 1440 × 900 |
|
|
182
243
|
| wide desktop | 1920 × 1080 |
|
|
183
244
|
|
|
245
|
+
布局 CSS 断点补充:`480 / 576 / 768 / 992 / 1200 / 1600`。它们用于栅格和显示/隐藏,不替代上表截图验收尺寸。
|
|
246
|
+
|
|
184
247
|
验收规则:
|
|
185
248
|
|
|
186
249
|
- 不允许出现横向滚动,除非是明确设计的表格横向滚动容器。
|
|
@@ -195,7 +258,7 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
|
|
|
195
258
|
- 使用 `ConfigProvider` 注入 `docs/design/tokens/theme.json` 中的 theme 配置。
|
|
196
259
|
- 组件样式优先通过 Ant Design token、component token、CSS variables 或主题算法表达。
|
|
197
260
|
- 消息、通知、Modal 静态方法应使用 `App`、hook API 或 context holder,避免主题上下文丢失。
|
|
198
|
-
- 暗色模式使用 `darkAlgorithm` 或 `docs/design/tokens/variables.dark.css
|
|
261
|
+
- 暗色模式使用 `darkAlgorithm` 或 `docs/design/tokens/variables.dark.css`,不要手工反转颜色。本轮只同步了暗色的字体栈和圆角 seed;完整暗色色板仍是历史算法结果,启用暗色前应再派生一次。
|
|
199
262
|
- 紧凑模式使用 `compactAlgorithm` 或 `docs/design/tokens/tokens.compact.json`,不要逐组件压缩高度。
|
|
200
263
|
|
|
201
264
|
如果前端不是 Ant Design:
|
|
@@ -203,6 +266,7 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
|
|
|
203
266
|
- 先把 `docs/design/tokens/tokens.default.json` 转为项目设计 token,再映射到目标 UI 库。
|
|
204
267
|
- 保留组件语义和状态语义,不要只复制颜色。
|
|
205
268
|
- 尽量保持 32px 默认控件高度、14px 默认字号、4px 间距网格和三层表面模型。
|
|
269
|
+
- 运行时动态换肤使用 `--primary-color` 等短名别名,或直接改 `--brand-*`。
|
|
206
270
|
|
|
207
271
|
## 设计审查清单
|
|
208
272
|
|
|
@@ -215,12 +279,13 @@ Inter, system-ui, -apple-system, Segoe UI, Helvetica Neue, Arial, sans-serif
|
|
|
215
279
|
- 主操作是否唯一且清楚,次级操作是否降级。
|
|
216
280
|
- 是否存在硬编码颜色、任意间距、重复自造控件或与系统冲突的交互。
|
|
217
281
|
- 是否覆盖关键响应式断点。
|
|
282
|
+
- Codex `$design-qa` 是否按项目覆盖对照主色、错误色、背景、文本、圆角和字体栈。
|
|
218
283
|
|
|
219
284
|
## 后续落地 TODO
|
|
220
285
|
|
|
221
286
|
- 将 `docs/design/tokens/theme.json` 接入前端工程主题配置。
|
|
222
|
-
- 将 `docs/design/tokens/variables.css` 中的 `--brand-*`
|
|
223
|
-
-
|
|
287
|
+
- 将 `docs/design/tokens/variables.css` 中的 `--brand-*` 与运行时别名纳入项目 token 管理。
|
|
288
|
+
- 如果项目启用暗色模式,用 `darkAlgorithm` 按新 seed 重派生 `docs/design/tokens/tokens.dark.json`,并补充截图验收。
|
|
224
289
|
- 如果项目存在高密度表格 / 审批 / 运营台,补充 `docs/design/tokens/tokens.compact.json` 的适用边界。
|
|
225
290
|
|
|
226
291
|
## Ant Design v6 原型补充基线
|
|
@@ -9,7 +9,16 @@ design_baseline:
|
|
|
9
9
|
upstream_design_md_source: https://ant.design/design.md
|
|
10
10
|
upstream_design_md_record_ref: <path-to-json-output-or-summary>
|
|
11
11
|
project_override_reviewed: false
|
|
12
|
+
theme_override:
|
|
13
|
+
color_primary: "#3371ff"
|
|
14
|
+
color_error: "#f5222d"
|
|
15
|
+
color_bg_layout: "#f0f2f5"
|
|
16
|
+
border_radius: 6
|
|
17
|
+
font_family: system-stack
|
|
18
|
+
recorded: false
|
|
19
|
+
note: 与官方 #1677ff / Inter / 8px 的差异必须记录;无差异则 recorded=false 并说明沿用项目默认。
|
|
12
20
|
antd:
|
|
21
|
+
fact_skill: yss-antd-design
|
|
13
22
|
cli_command: antd
|
|
14
23
|
cli_version: <actual-cli-version>
|
|
15
24
|
target_antd_version: <project-selected-v6-version>
|
|
@@ -21,7 +30,9 @@ antd:
|
|
|
21
30
|
demo_ref: <path-to-json-output>
|
|
22
31
|
token_ref: <path-to-json-output>
|
|
23
32
|
semantic_ref: <path-to-json-output>
|
|
24
|
-
|
|
33
|
+
lint_applicable: not-applicable
|
|
34
|
+
lint_reason: html-prototype
|
|
35
|
+
lint_ref: <path-to-json-output-or-none>
|
|
25
36
|
lint_passed: false
|
|
26
37
|
browser_verification:
|
|
27
38
|
executor: <browser-or-automation-name>
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"token": {
|
|
3
|
-
"colorPrimary": "#
|
|
3
|
+
"colorPrimary": "#3371ff",
|
|
4
4
|
"colorSuccess": "#52c41a",
|
|
5
5
|
"colorWarning": "#faad14",
|
|
6
|
-
"colorError": "#
|
|
7
|
-
"colorInfo": "#
|
|
8
|
-
"colorTextBase": "#
|
|
6
|
+
"colorError": "#f5222d",
|
|
7
|
+
"colorInfo": "#3371ff",
|
|
8
|
+
"colorTextBase": "#000000",
|
|
9
9
|
"colorBgBase": "#ffffff",
|
|
10
|
-
"
|
|
11
|
-
"
|
|
10
|
+
"colorBgLayout": "#f0f2f5",
|
|
11
|
+
"colorText": "rgba(0, 0, 0, 0.88)",
|
|
12
|
+
"colorTextSecondary": "rgba(0, 0, 0, 0.65)",
|
|
13
|
+
"colorBorder": "#d9d9d9",
|
|
14
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
|
|
15
|
+
"fontFamilyCode": "\"SFMono-Regular\", Consolas, \"Liberation Mono\", Menlo, Courier, monospace",
|
|
12
16
|
"fontSize": 14,
|
|
13
|
-
"borderRadius":
|
|
17
|
+
"borderRadius": 6,
|
|
14
18
|
"sizeUnit": 4,
|
|
15
19
|
"sizeStep": 4,
|
|
16
20
|
"controlHeight": 32,
|
|
@@ -18,7 +22,10 @@
|
|
|
18
22
|
"motionUnit": 0.1,
|
|
19
23
|
"motionBase": 0,
|
|
20
24
|
"wireframe": false,
|
|
21
|
-
"motion": true
|
|
25
|
+
"motion": true,
|
|
26
|
+
"layoutHeaderHeight": 64,
|
|
27
|
+
"layoutSiderBackground": "#001529",
|
|
28
|
+
"layoutBodyBackground": "#f0f2f5"
|
|
22
29
|
},
|
|
23
30
|
"algorithm": "default"
|
|
24
|
-
}
|
|
31
|
+
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "compact",
|
|
3
|
-
"colorPrimary": "#
|
|
4
|
-
"colorPrimaryBg": "#
|
|
5
|
-
"colorPrimaryBgHover": "#
|
|
6
|
-
"colorPrimaryBorder": "#
|
|
7
|
-
"colorPrimaryBorderHover": "#
|
|
3
|
+
"colorPrimary": "#3371ff",
|
|
4
|
+
"colorPrimaryBg": "#d6e4ff",
|
|
5
|
+
"colorPrimaryBgHover": "#adc6ff",
|
|
6
|
+
"colorPrimaryBorder": "#85a5ff",
|
|
7
|
+
"colorPrimaryBorderHover": "#597ef7",
|
|
8
8
|
"colorPrimaryHover": "#4096ff",
|
|
9
9
|
"colorPrimaryActive": "#0958d9",
|
|
10
10
|
"colorPrimaryText": "#002c8c",
|
|
11
11
|
"colorSuccess": "#52c41a",
|
|
12
12
|
"colorSuccessBg": "#f6ffed",
|
|
13
|
-
"colorSuccessBorder": "#
|
|
14
|
-
"colorSuccessHover": "#
|
|
13
|
+
"colorSuccessBorder": "#b7eb8f",
|
|
14
|
+
"colorSuccessHover": "#73d13d",
|
|
15
15
|
"colorSuccessActive": "#389e0d",
|
|
16
16
|
"colorWarning": "#faad14",
|
|
17
17
|
"colorWarningBg": "#fffbe6",
|
|
18
18
|
"colorWarningBorder": "#ffe58f",
|
|
19
19
|
"colorWarningHover": "#ffc53d",
|
|
20
20
|
"colorWarningActive": "#d48806",
|
|
21
|
-
"colorError": "#
|
|
21
|
+
"colorError": "#f5222d",
|
|
22
22
|
"colorErrorBg": "#fff2f0",
|
|
23
23
|
"colorErrorBorder": "#ffccc7",
|
|
24
|
-
"colorErrorHover": "#
|
|
25
|
-
"colorErrorActive": "#
|
|
26
|
-
"colorInfo": "#
|
|
24
|
+
"colorErrorHover": "#ff4d4f",
|
|
25
|
+
"colorErrorActive": "#cf1322",
|
|
26
|
+
"colorInfo": "#3371ff",
|
|
27
27
|
"colorInfoBg": "#e6f4ff",
|
|
28
28
|
"colorInfoBorder": "#91caff",
|
|
29
|
-
"colorLink": "#
|
|
29
|
+
"colorLink": "#3371ff",
|
|
30
30
|
"colorLinkHover": "#4096ff",
|
|
31
31
|
"colorLinkActive": "#0958d9",
|
|
32
|
-
"colorText": "
|
|
33
|
-
"colorTextSecondary": "
|
|
34
|
-
"colorTextTertiary": "#
|
|
35
|
-
"colorTextQuaternary": "#
|
|
36
|
-
"colorFill": "#
|
|
37
|
-
"colorFillSecondary": "#
|
|
32
|
+
"colorText": "rgba(0, 0, 0, 0.88)",
|
|
33
|
+
"colorTextSecondary": "rgba(0, 0, 0, 0.65)",
|
|
34
|
+
"colorTextTertiary": "#8c8c8c",
|
|
35
|
+
"colorTextQuaternary": "#bfbfbf",
|
|
36
|
+
"colorFill": "#d9d9d9",
|
|
37
|
+
"colorFillSecondary": "#f0f0f0",
|
|
38
38
|
"colorFillTertiary": "#f5f5f5",
|
|
39
39
|
"colorFillQuaternary": "#fafafa",
|
|
40
|
-
"colorBgLayout": "#
|
|
40
|
+
"colorBgLayout": "#f0f2f5",
|
|
41
41
|
"colorBgContainer": "#ffffff",
|
|
42
42
|
"colorBgElevated": "#ffffff",
|
|
43
|
-
"colorBorder": "#
|
|
44
|
-
"colorBorderSecondary": "#
|
|
45
|
-
"fontFamily": "
|
|
43
|
+
"colorBorder": "#d9d9d9",
|
|
44
|
+
"colorBorderSecondary": "#f0f0f0",
|
|
45
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
|
|
46
46
|
"fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
|
|
47
47
|
"fontSize": 14,
|
|
48
48
|
"fontSizeSM": 12,
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"sizeLG": 16,
|
|
65
65
|
"sizeXL": 24,
|
|
66
66
|
"sizeXXL": 32,
|
|
67
|
-
"borderRadiusXS":
|
|
68
|
-
"borderRadiusSM":
|
|
69
|
-
"borderRadius":
|
|
70
|
-
"borderRadiusLG":
|
|
67
|
+
"borderRadiusXS": 2,
|
|
68
|
+
"borderRadiusSM": 4,
|
|
69
|
+
"borderRadius": 6,
|
|
70
|
+
"borderRadiusLG": 8,
|
|
71
71
|
"lineWidth": 1,
|
|
72
72
|
"controlHeightXS": 14,
|
|
73
73
|
"controlHeightSM": 21,
|
|
@@ -78,13 +78,16 @@
|
|
|
78
78
|
"motionDurationSlow": "0.3s",
|
|
79
79
|
"motionEaseInOut": "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
80
80
|
"motionEaseOut": "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
81
|
+
"layoutHeaderHeight": 64,
|
|
82
|
+
"layoutSiderBackground": "#001529",
|
|
83
|
+
"layoutBodyBackground": "#f0f2f5",
|
|
81
84
|
"primaryPalette": [
|
|
82
|
-
"#
|
|
83
|
-
"#
|
|
84
|
-
"#
|
|
85
|
-
"#
|
|
86
|
-
"#
|
|
87
|
-
"#
|
|
85
|
+
"color-mix(in srgb, #3371ff 10%, transparent)",
|
|
86
|
+
"#d6e4ff",
|
|
87
|
+
"#adc6ff",
|
|
88
|
+
"#85a5ff",
|
|
89
|
+
"#597ef7",
|
|
90
|
+
"#3371ff",
|
|
88
91
|
"#0958d9",
|
|
89
92
|
"#003eb3",
|
|
90
93
|
"#002c8c",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"colorBgElevated": "#272727",
|
|
43
43
|
"colorBorder": "#3e3e3e",
|
|
44
44
|
"colorBorderSecondary": "#303030",
|
|
45
|
-
"fontFamily": "
|
|
45
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
|
|
46
46
|
"fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
|
|
47
47
|
"fontSize": 14,
|
|
48
48
|
"fontSizeSM": 12,
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"sizeLG": 24,
|
|
65
65
|
"sizeXL": 32,
|
|
66
66
|
"sizeXXL": 48,
|
|
67
|
-
"borderRadiusXS":
|
|
68
|
-
"borderRadiusSM":
|
|
69
|
-
"borderRadius":
|
|
70
|
-
"borderRadiusLG":
|
|
67
|
+
"borderRadiusXS": 2,
|
|
68
|
+
"borderRadiusSM": 4,
|
|
69
|
+
"borderRadius": 6,
|
|
70
|
+
"borderRadiusLG": 8,
|
|
71
71
|
"lineWidth": 1,
|
|
72
72
|
"controlHeightXS": 16,
|
|
73
73
|
"controlHeightSM": 24,
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"algorithm": "default",
|
|
3
|
-
"colorPrimary": "#
|
|
4
|
-
"colorPrimaryBg": "#
|
|
5
|
-
"colorPrimaryBgHover": "#
|
|
6
|
-
"colorPrimaryBorder": "#
|
|
7
|
-
"colorPrimaryBorderHover": "#
|
|
3
|
+
"colorPrimary": "#3371ff",
|
|
4
|
+
"colorPrimaryBg": "#d6e4ff",
|
|
5
|
+
"colorPrimaryBgHover": "#adc6ff",
|
|
6
|
+
"colorPrimaryBorder": "#85a5ff",
|
|
7
|
+
"colorPrimaryBorderHover": "#597ef7",
|
|
8
8
|
"colorPrimaryHover": "#4096ff",
|
|
9
9
|
"colorPrimaryActive": "#0958d9",
|
|
10
10
|
"colorPrimaryText": "#002c8c",
|
|
11
11
|
"colorSuccess": "#52c41a",
|
|
12
12
|
"colorSuccessBg": "#f6ffed",
|
|
13
|
-
"colorSuccessBorder": "#
|
|
14
|
-
"colorSuccessHover": "#
|
|
13
|
+
"colorSuccessBorder": "#b7eb8f",
|
|
14
|
+
"colorSuccessHover": "#73d13d",
|
|
15
15
|
"colorSuccessActive": "#389e0d",
|
|
16
16
|
"colorWarning": "#faad14",
|
|
17
17
|
"colorWarningBg": "#fffbe6",
|
|
18
18
|
"colorWarningBorder": "#ffe58f",
|
|
19
19
|
"colorWarningHover": "#ffc53d",
|
|
20
20
|
"colorWarningActive": "#d48806",
|
|
21
|
-
"colorError": "#
|
|
21
|
+
"colorError": "#f5222d",
|
|
22
22
|
"colorErrorBg": "#fff2f0",
|
|
23
23
|
"colorErrorBorder": "#ffccc7",
|
|
24
|
-
"colorErrorHover": "#
|
|
25
|
-
"colorErrorActive": "#
|
|
26
|
-
"colorInfo": "#
|
|
24
|
+
"colorErrorHover": "#ff4d4f",
|
|
25
|
+
"colorErrorActive": "#cf1322",
|
|
26
|
+
"colorInfo": "#3371ff",
|
|
27
27
|
"colorInfoBg": "#e6f4ff",
|
|
28
28
|
"colorInfoBorder": "#91caff",
|
|
29
|
-
"colorLink": "#
|
|
29
|
+
"colorLink": "#3371ff",
|
|
30
30
|
"colorLinkHover": "#4096ff",
|
|
31
31
|
"colorLinkActive": "#0958d9",
|
|
32
|
-
"colorText": "
|
|
33
|
-
"colorTextSecondary": "
|
|
34
|
-
"colorTextTertiary": "#
|
|
35
|
-
"colorTextQuaternary": "#
|
|
36
|
-
"colorFill": "#
|
|
37
|
-
"colorFillSecondary": "#
|
|
32
|
+
"colorText": "rgba(0, 0, 0, 0.88)",
|
|
33
|
+
"colorTextSecondary": "rgba(0, 0, 0, 0.65)",
|
|
34
|
+
"colorTextTertiary": "#8c8c8c",
|
|
35
|
+
"colorTextQuaternary": "#bfbfbf",
|
|
36
|
+
"colorFill": "#d9d9d9",
|
|
37
|
+
"colorFillSecondary": "#f0f0f0",
|
|
38
38
|
"colorFillTertiary": "#f5f5f5",
|
|
39
39
|
"colorFillQuaternary": "#fafafa",
|
|
40
|
-
"colorBgLayout": "#
|
|
40
|
+
"colorBgLayout": "#f0f2f5",
|
|
41
41
|
"colorBgContainer": "#ffffff",
|
|
42
42
|
"colorBgElevated": "#ffffff",
|
|
43
|
-
"colorBorder": "#
|
|
44
|
-
"colorBorderSecondary": "#
|
|
45
|
-
"fontFamily": "
|
|
43
|
+
"colorBorder": "#d9d9d9",
|
|
44
|
+
"colorBorderSecondary": "#f0f0f0",
|
|
45
|
+
"fontFamily": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"",
|
|
46
46
|
"fontFamilyCode": "'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",
|
|
47
47
|
"fontSize": 14,
|
|
48
48
|
"fontSizeSM": 12,
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"sizeLG": 24,
|
|
65
65
|
"sizeXL": 32,
|
|
66
66
|
"sizeXXL": 48,
|
|
67
|
-
"borderRadiusXS":
|
|
68
|
-
"borderRadiusSM":
|
|
69
|
-
"borderRadius":
|
|
70
|
-
"borderRadiusLG":
|
|
67
|
+
"borderRadiusXS": 2,
|
|
68
|
+
"borderRadiusSM": 4,
|
|
69
|
+
"borderRadius": 6,
|
|
70
|
+
"borderRadiusLG": 8,
|
|
71
71
|
"lineWidth": 1,
|
|
72
72
|
"controlHeightXS": 16,
|
|
73
73
|
"controlHeightSM": 24,
|
|
@@ -78,13 +78,22 @@
|
|
|
78
78
|
"motionDurationSlow": "0.3s",
|
|
79
79
|
"motionEaseInOut": "cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
80
80
|
"motionEaseOut": "cubic-bezier(0.215, 0.61, 0.355, 1)",
|
|
81
|
+
"layoutHeaderHeight": 64,
|
|
82
|
+
"layoutSiderBackground": "#001529",
|
|
83
|
+
"layoutBodyBackground": "#f0f2f5",
|
|
84
|
+
"screenXS": 480,
|
|
85
|
+
"screenSM": 576,
|
|
86
|
+
"screenMD": 768,
|
|
87
|
+
"screenLG": 992,
|
|
88
|
+
"screenXL": 1200,
|
|
89
|
+
"screenXXL": 1600,
|
|
81
90
|
"primaryPalette": [
|
|
82
|
-
"#
|
|
83
|
-
"#
|
|
84
|
-
"#
|
|
85
|
-
"#
|
|
86
|
-
"#
|
|
87
|
-
"#
|
|
91
|
+
"color-mix(in srgb, #3371ff 10%, transparent)",
|
|
92
|
+
"#d6e4ff",
|
|
93
|
+
"#adc6ff",
|
|
94
|
+
"#85a5ff",
|
|
95
|
+
"#597ef7",
|
|
96
|
+
"#3371ff",
|
|
88
97
|
"#0958d9",
|
|
89
98
|
"#003eb3",
|
|
90
99
|
"#002c8c",
|