create-yss-spec 2.1.10 → 2.1.13
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/ask-matt/SKILL.md +8 -2
- package/template/.agents/skills/code-review/SKILL.md +6 -4
- package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.agents/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.agents/skills/yss-application/SKILL.md +52 -0
- package/template/.agents/skills/yss-application/agents/openai.yaml +5 -0
- package/template/{.claude/skills/yss-backend-scaffold-application/SKILL.md → .agents/skills/yss-application/references/application-layer-guide.md} +0 -7
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/{.claude/skills/yss-backend-scaffold-domain/SKILL.md → .agents/skills/yss-domain/references/domain-layer-guide.md} +0 -7
- package/template/.agents/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.agents/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.agents/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.agents/skills/yss-repository/SKILL.md +5 -0
- package/template/{.codex/skills/yss-backend-scaffold-infrastructure/SKILL.md → .agents/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
- package/template/.agents/skills/yss-router/references/boundaries.md +2 -6
- package/template/.agents/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.agents/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.agents/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.agents/skills/yss-ui/SKILL.md +1 -1
- package/template/.agents/skills/yss-web-controller/SKILL.md +1 -0
- package/template/.agents/skills/{yss-backend-scaffold-web/SKILL.md → yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
- package/template/.claude/skills/ask-matt/SKILL.md +8 -2
- package/template/.claude/skills/code-review/SKILL.md +6 -4
- package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.claude/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.claude/skills/yss-application/SKILL.md +52 -0
- package/template/.claude/skills/yss-application/agents/openai.yaml +5 -0
- package/template/{.codex/skills/yss-backend-scaffold-application/SKILL.md → .claude/skills/yss-application/references/application-layer-guide.md} +0 -7
- package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.claude/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/{.agents/skills/yss-backend-scaffold-domain/SKILL.md → .claude/skills/yss-domain/references/domain-layer-guide.md} +0 -7
- package/template/.claude/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.claude/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.claude/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.claude/skills/yss-repository/SKILL.md +5 -0
- package/template/.claude/skills/{yss-backend-scaffold-infrastructure/SKILL.md → yss-repository/references/infrastructure-layer-guide.md} +0 -7
- package/template/.claude/skills/yss-router/references/boundaries.md +2 -6
- package/template/.claude/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.claude/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.claude/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.claude/skills/yss-ui/SKILL.md +1 -1
- package/template/.claude/skills/yss-web-controller/SKILL.md +1 -0
- package/template/{.codex/skills/yss-backend-scaffold-web/SKILL.md → .claude/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
- package/template/.codex/skills/ask-matt/SKILL.md +8 -2
- package/template/.codex/skills/code-review/SKILL.md +6 -4
- package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.codex/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.codex/skills/yss-application/SKILL.md +52 -0
- package/template/.codex/skills/yss-application/agents/openai.yaml +5 -0
- package/template/{.agents/skills/yss-backend-scaffold-application/SKILL.md → .codex/skills/yss-application/references/application-layer-guide.md} +0 -7
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/.codex/skills/{yss-backend-scaffold-domain/SKILL.md → yss-domain/references/domain-layer-guide.md} +0 -7
- package/template/.codex/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.codex/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.codex/skills/yss-repository/SKILL.md +5 -0
- package/template/{.hermes/skills/yss-backend-scaffold-infrastructure/SKILL.md → .codex/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
- package/template/.codex/skills/yss-router/references/boundaries.md +2 -6
- package/template/.codex/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.codex/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.codex/skills/yss-ui/SKILL.md +1 -1
- package/template/.codex/skills/yss-web-controller/SKILL.md +1 -0
- package/template/{.hermes/skills/yss-backend-scaffold-web/SKILL.md → .codex/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
- package/template/.cursor/environment.json +5 -0
- package/template/.cursor/skills/alibaba-java-code-style/SKILL.md +51 -0
- package/template/.cursor/skills/alibaba-java-code-style/agents/openai.yaml +4 -0
- package/template/.cursor/skills/alibaba-java-code-style/references/database-engineering-design.md +147 -0
- package/template/.cursor/skills/alibaba-java-code-style/references/java-programming.md +178 -0
- package/template/.cursor/skills/alibaba-java-code-style/references/reliability-test-security.md +89 -0
- package/template/.cursor/skills/ask-matt/PHASE-BOUNDARIES.md +55 -0
- package/template/.cursor/skills/ask-matt/SKILL.md +95 -0
- package/template/.cursor/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.cursor/skills/code-review/SKILL.md +117 -0
- package/template/.cursor/skills/code-review/agents/openai.yaml +3 -0
- package/template/.cursor/skills/codebase-design/DEEPENING.md +37 -0
- package/template/.cursor/skills/codebase-design/DESIGN-IT-TWICE.md +44 -0
- package/template/.cursor/skills/codebase-design/SKILL.md +114 -0
- package/template/.cursor/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.cursor/skills/competitive-intelligence/SKILL.md +94 -0
- package/template/.cursor/skills/cross-repo-implementation-routing/SKILL.md +51 -0
- package/template/.cursor/skills/diagnosing-bugs/SKILL.md +138 -0
- package/template/.cursor/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.cursor/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +44 -0
- package/template/.cursor/skills/dispatching-parallel-agents/SKILL.md +185 -0
- package/template/.cursor/skills/domain-modeling/ADR-FORMAT.md +47 -0
- package/template/.cursor/skills/domain-modeling/CONTEXT-FORMAT.md +60 -0
- package/template/.cursor/skills/domain-modeling/SKILL.md +74 -0
- package/template/.cursor/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.cursor/skills/grill-me/SKILL.md +7 -0
- package/template/.cursor/skills/grill-me/agents/openai.yaml +5 -0
- package/template/.cursor/skills/grill-with-docs/SKILL.md +19 -0
- package/template/.cursor/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.cursor/skills/grilling/SKILL.md +28 -0
- package/template/.cursor/skills/grilling/agents/openai.yaml +3 -0
- package/template/.cursor/skills/handoff/SKILL.md +16 -0
- package/template/.cursor/skills/handoff/agents/openai.yaml +5 -0
- package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +89 -0
- package/template/.cursor/skills/high-fidelity-html-prototype/agents/openai.yaml +5 -0
- package/template/.cursor/skills/implement/SKILL.md +15 -0
- package/template/.cursor/skills/implement/agents/openai.yaml +5 -0
- package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +50 -0
- package/template/.cursor/skills/improve-codebase-architecture/HTML-REPORT.md +123 -0
- package/template/.cursor/skills/improve-codebase-architecture/SKILL.md +71 -0
- package/template/.cursor/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- 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/lombok/SKILL.md +351 -0
- package/template/.cursor/skills/loop-me/SKILL.md +32 -0
- package/template/.cursor/skills/loop-me/agents/openai.yaml +5 -0
- package/template/.cursor/skills/maintaining-skills/SKILL.md +25 -0
- package/template/.cursor/skills/mapstruct/SKILL.md +334 -0
- package/template/.cursor/skills/migrate-to-shoehorn/SKILL.md +118 -0
- package/template/.cursor/skills/migrate-to-shoehorn/agents/openai.yaml +3 -0
- package/template/.cursor/skills/prototype/LOGIC.md +67 -0
- package/template/.cursor/skills/prototype/SKILL.md +26 -0
- package/template/.cursor/skills/prototype/UI.md +112 -0
- package/template/.cursor/skills/prototype/agents/openai.yaml +3 -0
- package/template/.cursor/skills/prototype-review/SKILL.md +74 -0
- package/template/.cursor/skills/prototype-review/agents/openai.yaml +4 -0
- package/template/.cursor/skills/research/SKILL.md +12 -0
- package/template/.cursor/skills/research/agents/openai.yaml +3 -0
- package/template/.cursor/skills/resolving-merge-conflicts/SKILL.md +14 -0
- package/template/.cursor/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.cursor/skills/scaffold-exercises/SKILL.md +106 -0
- package/template/.cursor/skills/scaffold-exercises/agents/openai.yaml +3 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/SKILL.md +125 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/domain.md +51 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-github.md +45 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +46 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/issue-tracker-local.md +66 -0
- package/template/.cursor/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
- package/template/.cursor/skills/setup-pre-commit/SKILL.md +91 -0
- package/template/.cursor/skills/setup-pre-commit/agents/openai.yaml +3 -0
- package/template/.cursor/skills/setup-ts-deep-modules/SKILL.md +102 -0
- package/template/.cursor/skills/setup-ts-deep-modules/agents/openai.yaml +5 -0
- package/template/.cursor/skills/setup-ts-deep-modules/dependency-cruiser.config.cjs +95 -0
- package/template/.cursor/skills/tdd/SKILL.md +38 -0
- package/template/.cursor/skills/tdd/agents/openai.yaml +3 -0
- package/template/.cursor/skills/tdd/mocking.md +59 -0
- package/template/.cursor/skills/tdd/tests.md +77 -0
- package/template/.cursor/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/.cursor/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/.cursor/skills/teach/MISSION-FORMAT.md +31 -0
- package/template/.cursor/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/template/.cursor/skills/teach/SKILL.md +140 -0
- package/template/.cursor/skills/teach/agents/openai.yaml +5 -0
- package/template/.cursor/skills/to-questionnaire/SKILL.md +53 -0
- package/template/.cursor/skills/to-questionnaire/agents/openai.yaml +5 -0
- package/template/.cursor/skills/to-spec/SKILL.md +75 -0
- package/template/.cursor/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.cursor/skills/to-tickets/SKILL.md +105 -0
- package/template/.cursor/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.cursor/skills/triage/AGENT-BRIEF.md +207 -0
- package/template/.cursor/skills/triage/OUT-OF-SCOPE.md +105 -0
- package/template/.cursor/skills/triage/SKILL.md +112 -0
- package/template/.cursor/skills/triage/agents/openai.yaml +5 -0
- package/template/.cursor/skills/using-git-worktrees/SKILL.md +202 -0
- package/template/.cursor/skills/wait-what/SKILL.md +7 -0
- package/template/.cursor/skills/wait-what/agents/openai.yaml +5 -0
- package/template/.cursor/skills/wayfinder/SKILL.md +128 -0
- package/template/.cursor/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.cursor/skills/writing-beats/SKILL.md +67 -0
- package/template/.cursor/skills/writing-beats/agents/openai.yaml +5 -0
- package/template/.cursor/skills/writing-for-agents/SKILL-MECHANICS.md +22 -0
- package/template/.cursor/skills/writing-for-agents/SKILL.md +81 -0
- package/template/.cursor/skills/writing-for-agents/agents/openai.yaml +3 -0
- package/template/.cursor/skills/writing-fragments/SKILL.md +79 -0
- package/template/.cursor/skills/writing-fragments/agents/openai.yaml +5 -0
- package/template/.cursor/skills/writing-shape/SKILL.md +79 -0
- package/template/.cursor/skills/writing-shape/agents/openai.yaml +5 -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-api-integration/SKILL.md +429 -0
- package/template/.cursor/skills/yss-api-integration/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-application/SKILL.md +52 -0
- package/template/.cursor/skills/yss-application/agents/openai.yaml +5 -0
- package/template/{.hermes/skills/yss-backend-scaffold-application/SKILL.md → .cursor/skills/yss-application/references/application-layer-guide.md} +0 -7
- package/template/.cursor/skills/yss-audit-log/SKILL.md +67 -0
- package/template/.cursor/skills/yss-audit-log/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-audit-log/assets/AuditLogAspect.java +262 -0
- package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogPrintSubscriberImpl.java +37 -0
- package/template/.cursor/skills/yss-audit-log/assets/YssAuditLogSysManagerSubscriberImpl.java +18 -0
- package/template/.cursor/skills/yss-audit-log/assets/YssAuditPublishService.java +69 -0
- package/template/.cursor/skills/yss-audit-log/references/README.md +69 -0
- package/template/.cursor/skills/yss-audit-log/references/source-index.md +43 -0
- package/template/.cursor/skills/yss-cache/SKILL.md +44 -0
- package/template/.cursor/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-cache/references/annotations.md +39 -0
- package/template/.cursor/skills/yss-cache/references/architecture.md +25 -0
- package/template/.cursor/skills/yss-cache/references/configuration.md +34 -0
- package/template/.cursor/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.cursor/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.cursor/skills/yss-cache/references/serialization.md +17 -0
- package/template/.cursor/skills/yss-cache/references/source-index.md +67 -0
- package/template/.cursor/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.cursor/skills/yss-cache/references/verification.md +34 -0
- package/template/.cursor/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.cursor/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.cursor/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/.cursor/skills/yss-components/SKILL.md +386 -0
- package/template/.cursor/skills/yss-components/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-components/references/frontend-docs.md +9 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +96 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/application.yml.template +37 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/logback-spring.xml.template +15 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/config/parent-pom.xml.template +84 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/adapter-pom.xml.template +19 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/application-pom.xml.template +43 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/bootstrap-pom.xml.template +50 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/domain-pom.xml.template +36 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/infrastructure-pom.xml.template +34 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/parent-pom.xml.template +95 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/templates/pom/web-pom.xml.template +44 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/jvm.config +1 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/maven.config +3 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/settings.xml +128 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/MavenWrapperDownloader.java +117 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.jar +0 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/.mvn/wrapper/maven-wrapper.properties +18 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw +316 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/assets/wrapper/mvnw.cmd +188 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +194 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/USAGE_EXAMPLES.md +420 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/SKILL.md +199 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-adapter/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +8 -0
- package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +8 -0
- package/template/{.agents/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +8 -0
- package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +138 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +8 -0
- package/template/{.claude/skills → .cursor/skills/yss-ddd-scaffold-generator/references}/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +225 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +32 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +26 -0
- package/template/.cursor/skills/yss-design-system/SKILL.md +103 -0
- package/template/.cursor/skills/yss-design-system/agents/openai.yaml +5 -0
- 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 +245 -0
- package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.mjs +36 -0
- package/template/.cursor/skills/yss-design-system/scripts/validate-frontmatter.test.mjs +12 -0
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +69 -0
- package/template/.cursor/skills/yss-distributed-id/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-distributed-id/assets/AutoIdInterceptor.java +246 -0
- package/template/.cursor/skills/yss-distributed-id/assets/EnableDistributedId.java +25 -0
- package/template/.cursor/skills/yss-distributed-id/assets/LeafConf.java +36 -0
- package/template/.cursor/skills/yss-distributed-id/references/README.md +51 -0
- package/template/.cursor/skills/yss-distributed-id/references/source-index.md +86 -0
- package/template/.cursor/skills/yss-domain/SKILL.md +68 -0
- package/template/.cursor/skills/yss-domain/agents/openai.yaml +5 -0
- package/template/{.hermes/skills/yss-backend-scaffold-domain/SKILL.md → .cursor/skills/yss-domain/references/domain-layer-guide.md} +0 -7
- package/template/.cursor/skills/yss-dto/SKILL.md +86 -0
- package/template/.cursor/skills/yss-dto/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-dto/assets/CommandDTO.java +8 -0
- package/template/.cursor/skills/yss-dto/assets/PageQuery.java +133 -0
- package/template/.cursor/skills/yss-dto/assets/QueryDTO.java +6 -0
- package/template/.cursor/skills/yss-dto/assets/Result.java +105 -0
- package/template/.cursor/skills/yss-dto/references/README.md +67 -0
- package/template/.cursor/skills/yss-dto/references/openapi-wire-profile.yaml +181 -0
- package/template/.cursor/skills/yss-dto/references/source-index.md +55 -0
- package/template/.cursor/skills/yss-excel-mvc/SKILL.md +66 -0
- package/template/.cursor/skills/yss-excel-mvc/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-excel-mvc/assets/ExcelDynamicData.java +66 -0
- package/template/.cursor/skills/yss-excel-mvc/assets/RequestExcel.java +33 -0
- package/template/.cursor/skills/yss-excel-mvc/assets/RequestFastExcelArgumentResolver.java +272 -0
- package/template/.cursor/skills/yss-excel-mvc/assets/ResponseExcel.java +46 -0
- package/template/.cursor/skills/yss-excel-mvc/assets/ResponseFastExcelReturnValueHandler.java +154 -0
- package/template/.cursor/skills/yss-excel-mvc/references/README.md +5 -0
- package/template/.cursor/skills/yss-excel-mvc/references/source-index.md +74 -0
- package/template/.cursor/skills/yss-exception/SKILL.md +55 -0
- package/template/.cursor/skills/yss-exception/agents/openai.yaml +4 -0
- package/template/{.agents/skills/yss-log → .cursor/skills/yss-exception}/references/source-index.md +8 -7
- package/template/.cursor/skills/yss-formily/SKILL.md +304 -0
- package/template/.cursor/skills/yss-formily/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-formily/references/examples.md +65 -0
- package/template/.cursor/skills/yss-formily-schema-generator/SKILL.md +189 -0
- package/template/.cursor/skills/yss-formily-schema-generator/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/ExampleUsage.java +111 -0
- package/template/.cursor/skills/yss-formily-schema-generator/assets/java-sdk/YssFormilyDsl.java +1219 -0
- package/template/.cursor/skills/yss-formily-schema-generator/references/workflow.md +240 -0
- package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +76 -0
- package/template/.cursor/skills/yss-hook/SKILL.md +200 -0
- package/template/.cursor/skills/yss-hook/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-hook/references/frontend-docs.md +10 -0
- package/template/.cursor/skills/yss-microapp-commit/SKILL.md +201 -0
- package/template/.cursor/skills/yss-microapp-commit/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-microapp-commit/references/scope-mapping.md +204 -0
- package/template/.cursor/skills/yss-mybatis/SKILL.md +77 -0
- package/template/.cursor/skills/yss-mybatis/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-mybatis/assets/BaseRepository.java +112 -0
- package/template/.cursor/skills/yss-mybatis/assets/EntityQueryAspect.java +37 -0
- package/template/.cursor/skills/yss-mybatis/assets/MybatisBaseConfiguration.java +18 -0
- package/template/.cursor/skills/yss-mybatis/assets/PageQueryEntityConfigration.java +18 -0
- package/template/.cursor/skills/yss-mybatis/references/README.md +57 -0
- package/template/.cursor/skills/yss-mybatis/references/source-index.md +93 -0
- package/template/.cursor/skills/yss-openapi-draft-review/SKILL.md +82 -0
- package/template/.cursor/skills/yss-openapi-governance/SKILL.md +130 -0
- package/template/.cursor/skills/yss-openapi-governance/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-page-module-development/SKILL.md +153 -0
- package/template/.cursor/skills/yss-page-module-development/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/constant.ts +32 -0
- package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/hooks/useRuleConfig.ts +158 -0
- package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/index.vue +188 -0
- package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.cursor/skills/yss-page-module-development/examples/AdvancedFormPage/style.less +76 -0
- package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/constant.ts +128 -0
- package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useQualityRuleList.ts +144 -0
- package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/hooks/useRuleActions.ts +141 -0
- package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/index.vue +175 -0
- package/template/.cursor/skills/yss-page-module-development/examples/StandardListPage/style.less +83 -0
- package/template/.cursor/skills/yss-page-module-development/references/frontend-docs.md +11 -0
- package/template/.cursor/skills/yss-product-lifecycle/SKILL.md +49 -0
- package/template/.cursor/skills/yss-product-lifecycle/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/artifact-dependencies.md +32 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +122 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +521 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +103 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +107 -0
- package/template/.cursor/skills/yss-prototype-stage/SKILL.md +42 -0
- package/template/.cursor/skills/yss-repository/SKILL.md +76 -0
- package/template/.cursor/skills/yss-repository/agents/openai.yaml +5 -0
- package/template/{.agents/skills/yss-backend-scaffold-infrastructure/SKILL.md → .cursor/skills/yss-repository/references/infrastructure-layer-guide.md} +0 -7
- package/template/.cursor/skills/yss-resilience4j/SKILL.md +46 -0
- package/template/.cursor/skills/yss-resilience4j/agents/openai.yaml +4 -0
- package/template/{.hermes/skills/yss-jdbc → .cursor/skills/yss-resilience4j}/references/source-index.md +6 -6
- package/template/.cursor/skills/yss-router/SKILL.md +49 -0
- package/template/.cursor/skills/yss-router/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-router/references/boundaries.md +50 -0
- package/template/.cursor/skills/yss-router/references/router-contract.yaml +245 -0
- package/template/.cursor/skills/yss-router/references/slice-implementation-contract.md +113 -0
- package/template/.cursor/skills/yss-router/references/yss-skill-execution-result.md +62 -0
- package/template/.cursor/skills/yss-security-algorithm/SKILL.md +52 -0
- package/template/.cursor/skills/yss-security-algorithm/agents/openai.yaml +4 -0
- package/template/{.agents/skills/yss-jdbc → .cursor/skills/yss-security-algorithm}/references/source-index.md +7 -5
- package/template/.cursor/skills/yss-source-index/SKILL.md +63 -0
- package/template/.cursor/skills/yss-source-index/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-source-index/references/source-location.md +18 -0
- package/template/.cursor/skills/yss-source-index/references/source-map-config.md +30 -0
- package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +24 -0
- package/template/.cursor/skills/yss-source-index/scripts/refresh-yss-skill-index.test.mjs +15 -0
- package/template/.cursor/skills/yss-ui/SKILL.md +169 -0
- package/template/.cursor/skills/yss-ui/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-ui/assets/demos/button/auth-basic.vue +24 -0
- package/template/.cursor/skills/yss-ui/assets/demos/button/auth-dropdown.vue +29 -0
- package/template/.cursor/skills/yss-ui/assets/demos/button/permission.vue +10 -0
- package/template/.cursor/skills/yss-ui/assets/demos/button/size.vue +12 -0
- package/template/.cursor/skills/yss-ui/assets/demos/button/states.vue +12 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/basic/index.vue +54 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/basic/style.less +41 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/cover/index.vue +25 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/index.vue +122 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/flexible-layout/style.less +191 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/index.vue +260 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/header-extra/style.less +124 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/constants.ts +61 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/index.vue +72 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/metrics-cards.vue +70 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/layout-metrics/style.less +232 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/loading/index.vue +19 -0
- package/template/.cursor/skills/yss-ui/assets/demos/card/meta/index.vue +19 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/constants.ts +44 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/hooks/useConditionBasic.ts +18 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/basic/index.vue +100 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/constants.ts +51 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/hooks/useConditionLinked.ts +29 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/linked/index.vue +23 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/constants.ts +35 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/hooks/useConditionNesting.ts +25 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/nesting-between/index.vue +24 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/constants.ts +7 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/hooks/useConditionRemote.ts +75 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/remote/index.vue +23 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/constants.ts +42 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/hooks/useConditionBasic.ts +22 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation/index.vue +138 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/constants.ts +42 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/hooks/useConditionBasic.ts +22 -0
- package/template/.cursor/skills/yss-ui/assets/demos/condition-builder/validation-custom/index.vue +134 -0
- package/template/.cursor/skills/yss-ui/assets/demos/cron/basic/index.vue +54 -0
- package/template/.cursor/skills/yss-ui/assets/demos/cron/select/index.vue +145 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/basic.vue +30 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/calendar-heatmap.vue +49 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/candlestick.vue +30 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/dark.vue +40 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/expose-methods.vue +97 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/funnel.vue +42 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/gauge.vue +25 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/line.vue +24 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/mix.vue +33 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/pie.vue +34 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/radar.vue +38 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/ring-segment.vue +77 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/scatter.vue +23 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-area.vue +55 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/stacked-bar.vue +52 -0
- package/template/.cursor/skills/yss-ui/assets/demos/echarts/treemap.vue +30 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/hooks/useAllTypes.ts +259 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/all-types/index.vue +33 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/hooks/useAsyncRemote.ts +201 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/async-remote/index.vue +45 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/basic/index.vue +104 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/big-data/index.vue +82 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/custom-rule/index.vue +114 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/direct-editable/index.vue +94 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/drag/index.vue +125 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/filter/index.vue +107 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/linkage/index.vue +181 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/pagination-action/index.vue +131 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/required/index.vue +95 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-edit/index.vue +220 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/row-options/index.vue +165 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/slot-linkage/index.vue +184 -0
- package/template/.cursor/skills/yss-ui/assets/demos/edit-table/submit-view/index.vue +107 -0
- package/template/.cursor/skills/yss-ui/assets/demos/file-import/basic.vue +54 -0
- package/template/.cursor/skills/yss-ui/assets/demos/file-import/formily.vue +42 -0
- package/template/.cursor/skills/yss-ui/assets/demos/file-import/multiple.vue +33 -0
- package/template/.cursor/skills/yss-ui/assets/demos/file-import/result-slot.vue +30 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/actions.vue +61 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/align.vue +56 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/async-validate.vue +69 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/basic.vue +317 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/collapse.vue +104 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/custom-component.vue +75 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/disabled.vue +71 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic-array.vue +74 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/dynamic.vue +59 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/effects.vue +117 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/events-inline.vue +82 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/events-scope.vue +101 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/grid.vue +71 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/group.vue +102 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/helper-slot.vue +50 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/label-tip.vue +42 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage-multi.vue +127 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/linkage.vue +78 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/modes.vue +72 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/remote-enum.vue +88 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/slot.vue +54 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/steps.vue +135 -0
- package/template/.cursor/skills/yss-ui/assets/demos/formily/submit-failed.vue +72 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/basic.vue +40 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/diff-basic.vue +143 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/fullscreen.vue +84 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/history-log-viewer.vue +586 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/log-viewer.vue +260 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/mock/mockLogApi.ts +199 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/monaco.vue +66 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/readonly.vue +20 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/resizable.vue +22 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/sql-schema.vue +20 -0
- package/template/.cursor/skills/yss-ui/assets/demos/monaco/switch-lang-theme.vue +48 -0
- package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/constant.ts +18 -0
- package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/index.vue +60 -0
- package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table/style.less +39 -0
- package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/hooks/useTreeTable.ts +158 -0
- package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/index.vue +88 -0
- package/template/.cursor/skills/yss-ui/assets/demos/split-pane/tree-table-layout/style.less +73 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/action/index.vue +83 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/action/style.less +3 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/action-auth/index.vue +41 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/index.vue +62 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/action-slot/style.less +36 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/basic/hooks/useBasicTable.ts +205 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/basic/index.vue +89 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/basic/style.less +28 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/hooks/useColumnCustomSearch.ts +236 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/index.vue +141 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/column-custom-search/style.less +48 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/drag/index.vue +42 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/expand/action-expand.vue +142 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/expand/index.vue +35 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-async/index.vue +93 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-auto/index.vue +99 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-custom/index.vue +72 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-local/index.vue +112 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-mixed/index.vue +142 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/constant.ts +129 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/hooks/useTableData.ts +186 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/filter-remote/index.vue +73 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/index.vue +86 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/group-header/style.less +3 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/index.vue +29 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/header-height/style.less +9 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/hooks/useMergeCells.ts +183 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/index.vue +17 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/merge-cells/style.less +3 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/hooks/usePaginationRemote.ts +106 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/pagination-remote/index.vue +24 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/renderers/index.vue +64 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/index.vue +88 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/selection-checkbox/style.less +9 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/index.vue +57 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/selection-radio/style.less +9 -0
- package/template/.cursor/skills/yss-ui/assets/demos/table/transform/index.vue +32 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/basic-left/index.vue +124 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/datasource-group/index.vue +31 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/multi-checkable/index.vue +86 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/multiple-select/index.vue +76 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/resource-list/index.vue +41 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/search-toolbar/index.vue +156 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-icon/index.vue +36 -0
- package/template/.cursor/skills/yss-ui/assets/demos/tree/slot-switcher-icon/index.vue +34 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/button.md +79 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/card.md +162 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/conditionBuilder.md +114 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/cron.md +77 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/echarts.md +110 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/editTable.md +212 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/fileImport.md +85 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/formily.md +370 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/monaco.md +369 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/sheet.md +169 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/split-pane.md +45 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/table.md +398 -0
- package/template/.cursor/skills/yss-ui/assets/docs/components/tree.md +102 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/gitlab-ci-integration.md +166 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/index.md +132 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/installation.md +97 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/jsp.md +227 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/llms.md +295 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/monorepo-versioning.md +149 -0
- package/template/.cursor/skills/yss-ui/assets/docs/guide/release-workflow.md +251 -0
- package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-table-height.md +101 -0
- package/template/.cursor/skills/yss-ui/assets/docs/hooks/use-tree-height.md +115 -0
- package/template/.cursor/skills/yss-ui/assets/docs/hooks/useFullscreen.md +130 -0
- package/template/.cursor/skills/yss-ui/assets/docs/hooks/useLoading.md +97 -0
- package/template/.cursor/skills/yss-ui/assets/docs/root/resources.md +18 -0
- package/template/.cursor/skills/yss-ui/assets/keyword-index.json +53 -0
- package/template/.cursor/skills/yss-ui/assets/keyword-index.md +47 -0
- package/template/.cursor/skills/yss-ui/assets/reference-index.json +55 -0
- package/template/.cursor/skills/yss-ui/assets/reference-index.md +74 -0
- package/template/.cursor/skills/yss-ui/assets/scenario-index.json +50 -0
- package/template/.cursor/skills/yss-ui/assets/scenario-index.md +41 -0
- package/template/.cursor/skills/yss-ui/references/accessibility.md +23 -0
- package/template/.cursor/skills/yss-ui/references/antdv-compatibility.md +39 -0
- package/template/.cursor/skills/yss-ui/references/checklist.md +110 -0
- package/template/.cursor/skills/yss-ui/references/component-routing.md +31 -0
- package/template/.cursor/skills/yss-ui/references/frontend-docs.md +11 -0
- package/template/.cursor/skills/yss-ui/references/migration-antdv-to-yss.md +20 -0
- package/template/.cursor/skills/yss-ui/references/quick-recipes.md +280 -0
- package/template/.cursor/skills/yss-ui/references/theme-locale-overlay.md +25 -0
- package/template/.cursor/skills/yss-ui/references/verification.md +20 -0
- package/template/.cursor/skills/yss-up-springboot3/SKILL.md +40 -0
- package/template/.cursor/skills/yss-up-springboot3/agents/openai.yaml +4 -0
- package/template/.cursor/skills/yss-use-table-height/SKILL.md +340 -0
- package/template/.cursor/skills/yss-use-table-height/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-use-table-height/references/frontend-docs.md +9 -0
- package/template/.cursor/skills/yss-use-tree-height/SKILL.md +431 -0
- package/template/.cursor/skills/yss-use-tree-height/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-use-tree-height/references/frontend-docs.md +9 -0
- package/template/.cursor/skills/yss-userinfo/SKILL.md +49 -0
- package/template/.cursor/skills/yss-userinfo/agents/openai.yaml +4 -0
- package/template/{.codex/skills/yss-jdbc → .cursor/skills/yss-userinfo}/references/source-index.md +6 -5
- package/template/.cursor/skills/yss-validation/SKILL.md +56 -0
- package/template/.cursor/skills/yss-validation/agents/openai.yaml +4 -0
- package/template/{.claude/skills/yss-jdbc → .cursor/skills/yss-validation}/references/source-index.md +6 -6
- package/template/.cursor/skills/yss-web-controller/SKILL.md +78 -0
- package/template/.cursor/skills/yss-web-controller/agents/openai.yaml +5 -0
- package/template/.cursor/skills/yss-web-controller/assets/templates/Controller.java.template +73 -0
- package/template/.cursor/skills/yss-web-controller/assets/templates/WebConvertor.java.template +23 -0
- package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/AddCmd.java.template +23 -0
- package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/cmd/UpdateCmd.java.template +23 -0
- package/template/.cursor/skills/yss-web-controller/assets/templates/domain/dto/query/PageQuery.java.template +21 -0
- package/template/.cursor/skills/yss-web-controller/assets/templates/domain/vo/VO.java.template +20 -0
- package/template/{.claude/skills/yss-backend-scaffold-web/SKILL.md → .cursor/skills/yss-web-controller/references/web-adapter-layer-guide.md} +0 -7
- package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.mjs +77 -0
- package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.test.mjs +19 -0
- package/template/.hermes/skills/ask-matt/SKILL.md +8 -2
- package/template/.hermes/skills/code-review/SKILL.md +6 -4
- package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.hermes/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.hermes/skills/yss-application/SKILL.md +52 -0
- package/template/.hermes/skills/yss-application/agents/openai.yaml +5 -0
- package/template/.hermes/skills/yss-application/references/application-layer-guide.md +132 -0
- package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.hermes/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/.hermes/skills/yss-domain/references/domain-layer-guide.md +274 -0
- package/template/.hermes/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.hermes/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.hermes/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.hermes/skills/yss-repository/SKILL.md +5 -0
- package/template/.hermes/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
- package/template/.hermes/skills/yss-router/references/boundaries.md +2 -6
- package/template/.hermes/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.hermes/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.hermes/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.hermes/skills/yss-ui/SKILL.md +1 -1
- package/template/.hermes/skills/yss-web-controller/SKILL.md +1 -0
- package/template/.hermes/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
- package/template/.pi/skills/ask-matt/SKILL.md +8 -2
- package/template/.pi/skills/code-review/SKILL.md +6 -4
- package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.pi/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.pi/skills/yss-application/SKILL.md +52 -0
- package/template/.pi/skills/yss-application/agents/openai.yaml +5 -0
- package/template/.pi/skills/yss-application/references/application-layer-guide.md +132 -0
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/.pi/skills/yss-domain/references/domain-layer-guide.md +274 -0
- package/template/.pi/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.pi/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.pi/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.pi/skills/yss-repository/SKILL.md +5 -0
- package/template/.pi/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
- package/template/.pi/skills/yss-router/references/boundaries.md +2 -6
- package/template/.pi/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.pi/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.pi/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.pi/skills/yss-ui/SKILL.md +1 -1
- package/template/.pi/skills/yss-web-controller/SKILL.md +1 -0
- package/template/.pi/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
- package/template/.qoder/skills/ask-matt/SKILL.md +8 -2
- package/template/.qoder/skills/code-review/SKILL.md +6 -4
- package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.qoder/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.qoder/skills/yss-application/SKILL.md +52 -0
- package/template/.qoder/skills/yss-application/agents/openai.yaml +5 -0
- package/template/.qoder/skills/yss-application/references/application-layer-guide.md +132 -0
- package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.qoder/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/.qoder/skills/yss-domain/references/domain-layer-guide.md +274 -0
- package/template/.qoder/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.qoder/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.qoder/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.qoder/skills/yss-repository/SKILL.md +5 -0
- package/template/.qoder/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
- package/template/.qoder/skills/yss-router/references/boundaries.md +2 -6
- package/template/.qoder/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.qoder/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.qoder/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.qoder/skills/yss-ui/SKILL.md +1 -1
- package/template/.qoder/skills/yss-web-controller/SKILL.md +1 -0
- package/template/.qoder/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
- package/template/.trae/skills/ask-matt/SKILL.md +8 -2
- package/template/.trae/skills/code-review/SKILL.md +6 -4
- package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +2 -19
- package/template/.trae/skills/implement/SKILL.md +1 -1
- 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/to-spec/SKILL.md +1 -1
- 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-api-integration/SKILL.md +2 -0
- package/template/.trae/skills/yss-application/SKILL.md +52 -0
- package/template/.trae/skills/yss-application/agents/openai.yaml +5 -0
- package/template/.trae/skills/yss-application/references/application-layer-guide.md +132 -0
- package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/ARCHITECTURE.md +4 -4
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/SKILL.md +2 -2
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-application/agents/openai.yaml +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/SKILL.md +2 -2
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-domain/agents/openai.yaml +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/SKILL.md +3 -3
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-infrastructure/agents/openai.yaml +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/SKILL.md +4 -4
- package/template/.trae/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-web/agents/openai.yaml +1 -1
- 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-domain/SKILL.md +5 -0
- package/template/.trae/skills/yss-domain/references/domain-layer-guide.md +274 -0
- package/template/.trae/skills/yss-microapp-commit/SKILL.md +2 -0
- package/template/.trae/skills/yss-product-lifecycle/SKILL.md +1 -1
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +2 -2
- package/template/.trae/skills/yss-prototype-stage/SKILL.md +4 -2
- package/template/.trae/skills/yss-repository/SKILL.md +5 -0
- package/template/.trae/skills/yss-repository/references/infrastructure-layer-guide.md +192 -0
- package/template/.trae/skills/yss-router/references/boundaries.md +2 -6
- package/template/.trae/skills/yss-router/references/router-contract.yaml +8 -12
- package/template/.trae/skills/yss-source-index/references/source-map-config.md +0 -4
- package/template/.trae/skills/yss-source-index/scripts/refresh-yss-skill-index.mjs +1 -1
- package/template/.trae/skills/yss-ui/SKILL.md +1 -1
- package/template/.trae/skills/yss-web-controller/SKILL.md +1 -0
- package/template/.trae/skills/yss-web-controller/references/web-adapter-layer-guide.md +168 -0
- package/template/AGENTS.md +18 -3
- package/template/CLAUDE.md +13 -0
- package/template/CONTEXT.md +3 -3
- package/template/README.md +2 -1
- package/template/docs/agents/README.md +6 -4
- package/template/docs/agents/skills-maintenance.md +3 -1
- package/template/docs/agents/yss-skill-registry.yaml +510 -0
- package/template/docs/architecture/templates/engineering-baseline-review-template.md +2 -2
- 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/build-architecture-checklist-template.md +5 -5
- package/template/docs/templates/implementation-routing-template.md +5 -5
- package/template/docs/templates/review-report-template.md +3 -3
- package/template/docs/templates/vertical-slice-ticket-template.md +4 -4
- 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 +5 -4
- 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 +2 -2
- package/template/scripts/lib/skill-registry.mjs +198 -0
- package/template/scripts/lib/skill-supply-chain.mjs +7 -4
- package/template/scripts/verify-skill-registry +10 -0
- package/template/scripts/verify-template +3 -2
- package/template/skills-lock.json +125 -133
- package/template/wiki/.wiki-manifest.json +390 -0
- package/template/wiki/raw/AGENTS.md +42 -61
- package/template/wiki/raw/CONTEXT.md +27 -1
- 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 +92 -0
- package/template/wiki/raw/skills-maintenance.md +90 -0
- package/template/wiki/raw/spec-template.md +3 -4
- package/template/wiki/raw/triage-labels.md +15 -0
- package/template/wiki/raw/vertical-slice-ticket-template.md +14 -8
- package/template/wiki/raw/yss-skill-registry.yaml +504 -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 +27 -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 +4 -16
- package/template.snapshot.json +4 -4
- package/template/.agents/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.agents/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.agents/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.agents/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.agents/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.agents/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.agents/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.agents/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.agents/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.agents/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.agents/skills/yss-jdbc/references/README.md +0 -55
- package/template/.agents/skills/yss-log/SKILL.md +0 -48
- package/template/.agents/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.agents/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.agents/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.agents/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/.claude/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.claude/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.claude/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.claude/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.claude/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.claude/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.claude/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.claude/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.claude/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.claude/skills/yss-jdbc/references/README.md +0 -55
- package/template/.claude/skills/yss-log/SKILL.md +0 -48
- package/template/.claude/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-log/references/source-index.md +0 -34
- package/template/.claude/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.claude/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.claude/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/.codex/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.codex/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.codex/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.codex/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.codex/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.codex/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.codex/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.codex/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.codex/skills/yss-jdbc/references/README.md +0 -55
- package/template/.codex/skills/yss-log/SKILL.md +0 -48
- package/template/.codex/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-log/references/source-index.md +0 -34
- package/template/.codex/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.codex/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/.hermes/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.hermes/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.hermes/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.hermes/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.hermes/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.hermes/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.hermes/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.hermes/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.hermes/skills/yss-jdbc/references/README.md +0 -55
- package/template/.hermes/skills/yss-log/SKILL.md +0 -48
- package/template/.hermes/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-log/references/source-index.md +0 -34
- package/template/.hermes/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.hermes/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.hermes/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/.pi/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.pi/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-backend-scaffold-application/SKILL.md +0 -139
- package/template/.pi/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
- package/template/.pi/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
- package/template/.pi/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-backend-scaffold-web/SKILL.md +0 -175
- package/template/.pi/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.pi/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.pi/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.pi/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.pi/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.pi/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.pi/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.pi/skills/yss-jdbc/references/README.md +0 -55
- package/template/.pi/skills/yss-jdbc/references/source-index.md +0 -33
- package/template/.pi/skills/yss-log/SKILL.md +0 -48
- package/template/.pi/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-log/references/source-index.md +0 -34
- package/template/.pi/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.pi/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.pi/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/.qoder/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.qoder/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-backend-scaffold-application/SKILL.md +0 -139
- package/template/.qoder/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
- package/template/.qoder/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
- package/template/.qoder/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-backend-scaffold-web/SKILL.md +0 -175
- package/template/.qoder/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.qoder/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.qoder/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.qoder/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.qoder/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.qoder/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.qoder/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.qoder/skills/yss-jdbc/references/README.md +0 -55
- package/template/.qoder/skills/yss-jdbc/references/source-index.md +0 -33
- package/template/.qoder/skills/yss-log/SKILL.md +0 -48
- package/template/.qoder/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-log/references/source-index.md +0 -34
- package/template/.qoder/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.qoder/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.qoder/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/.trae/skills/product-design-prototype/SKILL.md +0 -91
- package/template/.trae/skills/product-design-prototype/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-backend-scaffold-application/SKILL.md +0 -139
- package/template/.trae/skills/yss-backend-scaffold-application/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-backend-scaffold-domain/SKILL.md +0 -281
- package/template/.trae/skills/yss-backend-scaffold-domain/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-backend-scaffold-infrastructure/SKILL.md +0 -199
- package/template/.trae/skills/yss-backend-scaffold-infrastructure/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-backend-scaffold-web/SKILL.md +0 -175
- package/template/.trae/skills/yss-backend-scaffold-web/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-dictionary/SKILL.md +0 -49
- package/template/.trae/skills/yss-dictionary/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-dictionary/references/source-index.md +0 -80
- package/template/.trae/skills/yss-jdbc/SKILL.md +0 -73
- package/template/.trae/skills/yss-jdbc/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolConfiguration.java +0 -9
- package/template/.trae/skills/yss-jdbc/assets/DefaultHutoolDbHolder.java +0 -33
- package/template/.trae/skills/yss-jdbc/assets/DsParam.java +0 -19
- package/template/.trae/skills/yss-jdbc/assets/JdbcSqlUtil.java +0 -92
- package/template/.trae/skills/yss-jdbc/references/README.md +0 -55
- package/template/.trae/skills/yss-jdbc/references/source-index.md +0 -33
- package/template/.trae/skills/yss-log/SKILL.md +0 -48
- package/template/.trae/skills/yss-log/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-log/references/source-index.md +0 -34
- package/template/.trae/skills/yss-taskflow/SKILL.md +0 -58
- package/template/.trae/skills/yss-taskflow/agents/openai.yaml +0 -4
- package/template/.trae/skills/yss-taskflow/references/source-index.md +0 -158
- package/template/wiki/raw/create-yss-spec-contract.md +0 -59
- package/template/wiki/raw/skills-lock.json +0 -1379
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "yss-backend-scaffold-domain"
|
|
3
|
-
description: "YSS 管理服务领域层的脚手架和最佳实践。在实现业务逻辑、定义数据网关或创建领域模型时调用。"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Domain 层开发规范 (Domain Layer Development Guide)
|
|
7
|
-
|
|
8
|
-
本 Skill 提供了 YSS 数据质量管理服务 **Domain (领域层)** 的开发规范。Domain 层是系统的核心,包含业务逻辑、领域模型和接口定义。
|
|
9
|
-
|
|
10
|
-
## 1. 核心职责 (Core Responsibilities)
|
|
11
|
-
|
|
12
|
-
- **定义业务模型 (Model)**: 包含实体 (Entity)、值对象 (VO)、聚合根 (Aggregate Root)。
|
|
13
|
-
- **定义服务接口 (Gateway/Service)**: 定义与 Infrastructure 层交互的接口 (Gateway) 以及领域内部服务 (Domain Service)。
|
|
14
|
-
- **定义数据契约 (DTO)**: 定义 Command (增删改), Query (查询), VO (视图) 等数据传输对象。
|
|
15
|
-
- **业务逻辑实现**: 核心业务规则的校验和处理。
|
|
16
|
-
|
|
17
|
-
## 2. 代码结构 (Code Structure)
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
com.yss.{module}
|
|
21
|
-
├── client # 对外暴露的数据契约 (DTOs)
|
|
22
|
-
│ ├── dto
|
|
23
|
-
│ │ ├── cmd # Command: 写操作参数 (e.g., QualityRuleAddCmd)
|
|
24
|
-
│ │ └── query # Query: 读操作参数 (e.g., QualityRulePage)
|
|
25
|
-
│ └── vo # Value Object: 返回结果 (e.g., QualityBusinessRuleVO)
|
|
26
|
-
└── domain # 领域核心实现
|
|
27
|
-
└── {domain_name} # 具体的领域模块 (e.g., user, metadata)
|
|
28
|
-
├── gateway # 网关接口定义 (e.g., UserGateway)
|
|
29
|
-
├── model # 领域实体/枚举 (e.g., User, UserType)
|
|
30
|
-
└── service # 领域服务 (e.g., UserService)
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## 3. 开发规范 (Development Guidelines)
|
|
34
|
-
|
|
35
|
-
### 3.1 数据传输对象 (DTO)
|
|
36
|
-
|
|
37
|
-
- **Command (Cmd)**: 用于数据修改 (Create/Update/Delete)。
|
|
38
|
-
- 继承 `com.yss.cloud.dto.CommandDTO`。
|
|
39
|
-
- 按 `lombok` skill 选择 `@Getter` / `@Setter` / 构造器等最小注解;不默认使用 `@Data`。
|
|
40
|
-
- 必须使用 JSR-303/380 注解进行参数校验 (`@NotBlank`, `@NotNull`, `@Size` 等)。
|
|
41
|
-
- **示例**: `QualityRuleAddCmd`
|
|
42
|
-
|
|
43
|
-
- **Query**: 用于数据查询。
|
|
44
|
-
- 分页查询继承 `com.yss.cloud.dto.page.PageQuery`。
|
|
45
|
-
- 普通查询继承 `com.yss.cloud.dto.QueryDTO`。
|
|
46
|
-
- **示例**: `QualityRulePage`
|
|
47
|
-
|
|
48
|
-
- **View Object (VO)**: 用于展示层返回数据。
|
|
49
|
-
- 纯 POJO 仍按 `lombok` skill 选择最小注解;涉及身份、关系、敏感字段或懒加载时不得默认使用 `@Data`。
|
|
50
|
-
- **示例**: `QualityBusinessRuleVO`
|
|
51
|
-
|
|
52
|
-
### 3.2 网关接口 (Gateway)
|
|
53
|
-
|
|
54
|
-
Gateway 定义了领域层对外的依赖接口,通常由 Infrastructure 层实现。
|
|
55
|
-
|
|
56
|
-
- **命名**: `DomainName` + `Gateway` (e.g., `QualityTemplateGateway`)。
|
|
57
|
-
- **方法定义规范**:
|
|
58
|
-
- **分页查询**: `PageResult<VO> pageXxx(Query query)`
|
|
59
|
-
- **列表查询**: `List<VO> listXxx(Query query)`
|
|
60
|
-
- **单条查询**: `VO getXxxById(Long id)` 或 `VO getXxxByCode(String code)`
|
|
61
|
-
- **新增**: `Long/ResultVO addXxx(Cmd cmd)` (返回 ID 或 结果对象)
|
|
62
|
-
- **更新**: `void/ResultVO updateXxx(Cmd cmd)`
|
|
63
|
-
- **删除**: `void deleteXxx(Cmd cmd)`
|
|
64
|
-
|
|
65
|
-
### 3.3 领域服务 (Domain Service)
|
|
66
|
-
|
|
67
|
-
当业务逻辑涉及多个聚合根或不适合放入单一实体时,使用 Domain Service。
|
|
68
|
-
|
|
69
|
-
- **命名**: `DomainName` + `Service` (e.g., `QualityTemplateService`)。
|
|
70
|
-
- **职责**: 编排领域逻辑,调用 Gateway。
|
|
71
|
-
|
|
72
|
-
### 3.4 常用类与注解
|
|
73
|
-
|
|
74
|
-
- **分页结果**: `com.yss.cloud.dto.result.PageResult<T>`
|
|
75
|
-
- **校验注解**: `javax.validation.constraints.*` (`@NotNull`, `@NotBlank`)
|
|
76
|
-
- **Lombok**: 按对象语义选择 `@Getter`, `@Setter`, `@Builder`, `@NoArgsConstructor`, `@AllArgsConstructor`,不默认使用聚合式 `@Data`。
|
|
77
|
-
|
|
78
|
-
## 4. 详细案例 (Detailed Examples)
|
|
79
|
-
|
|
80
|
-
### 4.1 Command (新增命令)
|
|
81
|
-
|
|
82
|
-
```java
|
|
83
|
-
package com.yss.quality.client.dto.cmd;
|
|
84
|
-
|
|
85
|
-
import com.yss.cloud.dto.CommandDTO;
|
|
86
|
-
import com.yss.quality.domain.QualityRuleTemplateType;
|
|
87
|
-
import com.yss.quality.domain.QualityType;
|
|
88
|
-
import com.yss.quality.domain.datasource.entity.DatabaseType;
|
|
89
|
-
import com.yss.quality.domain.rule.entity.QualityRuleType;
|
|
90
|
-
import lombok.Getter;
|
|
91
|
-
import lombok.Setter;
|
|
92
|
-
|
|
93
|
-
import javax.validation.constraints.NotBlank;
|
|
94
|
-
import javax.validation.constraints.NotEmpty;
|
|
95
|
-
import javax.validation.constraints.NotNull;
|
|
96
|
-
import java.util.List;
|
|
97
|
-
import java.util.Map;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* 数据质量规则模板新增命令对象
|
|
101
|
-
*/
|
|
102
|
-
@Getter
|
|
103
|
-
@Setter
|
|
104
|
-
public class QualityTemplateAddCmd extends CommandDTO {
|
|
105
|
-
|
|
106
|
-
@NotBlank(message = "模板名称不能为空")
|
|
107
|
-
private String templateName;
|
|
108
|
-
|
|
109
|
-
@NotBlank(message = "模板编码不能为空")
|
|
110
|
-
private String templateCode;
|
|
111
|
-
|
|
112
|
-
@NotEmpty(message = "数据库类型不能为空")
|
|
113
|
-
private List<DatabaseType> databaseType;
|
|
114
|
-
|
|
115
|
-
@NotNull(message = "模板类型不能为空")
|
|
116
|
-
private QualityRuleTemplateType templateType;
|
|
117
|
-
|
|
118
|
-
@NotNull(message = "模板规则类型不能为空")
|
|
119
|
-
private QualityType ruleType;
|
|
120
|
-
|
|
121
|
-
private String description;
|
|
122
|
-
|
|
123
|
-
@NotBlank(message = "异常SQL不能为空")
|
|
124
|
-
private String exceptionCountSql;
|
|
125
|
-
|
|
126
|
-
@NotNull
|
|
127
|
-
private String resultLabel;
|
|
128
|
-
|
|
129
|
-
private Boolean defaultFlag;
|
|
130
|
-
|
|
131
|
-
Map<String, Object> ruleTemplateParam;
|
|
132
|
-
}
|
|
133
|
-
```
|
|
134
|
-
|
|
135
|
-
### 4.2 Query (分页查询)
|
|
136
|
-
|
|
137
|
-
```java
|
|
138
|
-
package com.yss.quality.client.dto.query;
|
|
139
|
-
|
|
140
|
-
import com.yss.cloud.dto.page.PageQuery;
|
|
141
|
-
import com.yss.quality.domain.QualityRuleTemplateType;
|
|
142
|
-
import com.yss.quality.domain.QualityType;
|
|
143
|
-
import lombok.Getter;
|
|
144
|
-
import lombok.Setter;
|
|
145
|
-
|
|
146
|
-
import javax.validation.constraints.NotNull;
|
|
147
|
-
|
|
148
|
-
/**
|
|
149
|
-
* 数据质量规则模板查询对象
|
|
150
|
-
*/
|
|
151
|
-
@Getter
|
|
152
|
-
@Setter
|
|
153
|
-
public class QualityTemplatePage extends PageQuery {
|
|
154
|
-
/**
|
|
155
|
-
* 模板类型
|
|
156
|
-
*/
|
|
157
|
-
private QualityRuleTemplateType templateType;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* 规则类型
|
|
161
|
-
*/
|
|
162
|
-
@NotNull
|
|
163
|
-
private QualityType ruleType;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* 模板名称
|
|
167
|
-
*/
|
|
168
|
-
private String templateName;
|
|
169
|
-
|
|
170
|
-
private Integer status;
|
|
171
|
-
}
|
|
172
|
-
```
|
|
173
|
-
|
|
174
|
-
### 4.3 Gateway (网关接口)
|
|
175
|
-
|
|
176
|
-
```java
|
|
177
|
-
package com.yss.quality.domain.template.gateway;
|
|
178
|
-
|
|
179
|
-
import com.yss.cloud.dto.result.PageResult;
|
|
180
|
-
import com.yss.quality.client.dto.cmd.QualityTemplateAddCmd;
|
|
181
|
-
import com.yss.quality.client.dto.cmd.QualityTemplateDeleteCmd;
|
|
182
|
-
import com.yss.quality.client.dto.cmd.QualityTemplateUpdateCmd;
|
|
183
|
-
import com.yss.quality.client.dto.query.QualityTemplatePage;
|
|
184
|
-
import com.yss.quality.client.vo.QualityTemplateVO;
|
|
185
|
-
|
|
186
|
-
/**
|
|
187
|
-
* 数据质量规则模板网关接口
|
|
188
|
-
*/
|
|
189
|
-
public interface QualityTemplateGateway {
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* 分页查询数据质量规则模板
|
|
193
|
-
*/
|
|
194
|
-
PageResult<QualityTemplateVO> pageQualityTemplate(QualityTemplatePage query);
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* 根据ID查询数据质量规则模板
|
|
198
|
-
*/
|
|
199
|
-
QualityTemplateVO getQualityTemplateById(Long id);
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* 新增数据质量规则模板
|
|
203
|
-
*/
|
|
204
|
-
Long addQualityTemplate(QualityTemplateAddCmd cmd);
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* 更新数据质量规则模板
|
|
208
|
-
*/
|
|
209
|
-
void updateQualityTemplate(QualityTemplateUpdateCmd cmd);
|
|
210
|
-
|
|
211
|
-
/**
|
|
212
|
-
* 删除数据质量规则模板
|
|
213
|
-
*/
|
|
214
|
-
void deleteQualityTemplate(QualityTemplateDeleteCmd cmd);
|
|
215
|
-
}
|
|
216
|
-
```
|
|
217
|
-
|
|
218
|
-
### 4.4 Domain Service (领域服务)
|
|
219
|
-
|
|
220
|
-
```java
|
|
221
|
-
package com.yss.quality.domain.template.service;
|
|
222
|
-
|
|
223
|
-
import com.yss.cloud.dto.result.PageResult;
|
|
224
|
-
import com.yss.quality.client.dto.cmd.QualityTemplateAddCmd;
|
|
225
|
-
import com.yss.quality.client.dto.query.QualityTemplatePage;
|
|
226
|
-
import com.yss.quality.client.vo.QualityTemplateVO;
|
|
227
|
-
|
|
228
|
-
/**
|
|
229
|
-
* 数据质量规则模板服务接口
|
|
230
|
-
*/
|
|
231
|
-
public interface QualityTemplateService {
|
|
232
|
-
|
|
233
|
-
PageResult<QualityTemplateVO> pageQualityTemplate(QualityTemplatePage query);
|
|
234
|
-
|
|
235
|
-
QualityTemplateVO getQualityTemplateById(Long id);
|
|
236
|
-
|
|
237
|
-
Long addQualityTemplate(QualityTemplateAddCmd cmd);
|
|
238
|
-
|
|
239
|
-
// 更多业务方法...
|
|
240
|
-
}
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
### 4.5 Value Object (视图对象)
|
|
244
|
-
|
|
245
|
-
```java
|
|
246
|
-
package com.yss.quality.client.vo;
|
|
247
|
-
|
|
248
|
-
import lombok.Getter;
|
|
249
|
-
import lombok.Setter;
|
|
250
|
-
import java.io.Serializable;
|
|
251
|
-
import java.util.Map;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* 数据质量规则模板值对象
|
|
255
|
-
*/
|
|
256
|
-
@Getter
|
|
257
|
-
@Setter
|
|
258
|
-
public class QualityTemplateVO implements Serializable {
|
|
259
|
-
private Long id;
|
|
260
|
-
private String templateName;
|
|
261
|
-
private String templateCode;
|
|
262
|
-
private String resultLabel;
|
|
263
|
-
private String databaseType;
|
|
264
|
-
private String qualityRuleType;
|
|
265
|
-
private String qualityType;
|
|
266
|
-
private Map<String,Object> ruleTemplateParam;
|
|
267
|
-
private Boolean defaultFlag;
|
|
268
|
-
}
|
|
269
|
-
```
|
|
270
|
-
|
|
271
|
-
## 5. 注意事项 (Notes)
|
|
272
|
-
|
|
273
|
-
1. **依赖倒置**: Domain 层**不应依赖** Infrastructure 层或 Web 层。所有外部交互通过 Gateway 接口定义。
|
|
274
|
-
2. **贫血模型 vs 充血模型**: 虽然目前主要是贫血模型 (DTO/VO),但鼓励将核心业务逻辑下沉到 Domain Model 中。
|
|
275
|
-
3. **参数校验**: 必须在 Cmd 对象中使用注解进行严格的参数校验,Gateway 实现层应进行 `@Valid` 校验。
|
|
276
|
-
|
|
277
|
-
## 6. 阶段 7 合同
|
|
278
|
-
|
|
279
|
-
- 领域规则、状态机和不变量必须使用 `behavior-tdd`;只允许 DTO/VO/接口等机械骨架使用受控生成。
|
|
280
|
-
- 消费批准后的合同和 work unit,写入允许路径,并返回统一 `YSS Skill Execution Result`。
|
|
281
|
-
- 发现新的状态机、权限、数据模型、API 或跨上下文影响时返回 `new_impacts` 并暂停。
|
|
@@ -1,199 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "yss-backend-scaffold-infrastructure"
|
|
3
|
-
description: "YSS 服务的基础设施层开发框架和技术指南。在实现数据访问层、数据库实体、外部服务适配器时需要用到。"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Infrastructure 层开发规范 (Infrastructure Layer Development Guide)
|
|
7
|
-
|
|
8
|
-
本 Skill 提供了 YSS **Infrastructure (基础设施层)** 的通用开发规范。Infrastructure 层负责实现 Domain 层定义的网关接口,处理数据持久化、外部服务调用和配置管理。
|
|
9
|
-
|
|
10
|
-
## 1. 核心职责 (Core Responsibilities)
|
|
11
|
-
|
|
12
|
-
- **实现网关接口 (Gateway Implementation)**: 实现 Domain 层定义的 `Gateway` 接口。
|
|
13
|
-
- **数据持久化 (Persistence)**: 定义 `Repository` 接口和 `PO` (Persistent Object) 实体,操作数据库。
|
|
14
|
-
- **对象转换 (Conversion)**: 使用 MapStruct 实现 PO 与 Domain Model/DTO 之间的转换。
|
|
15
|
-
- **外部适配 (External Adapters)**: 集成外部服务 (如文件存储、消息队列)。
|
|
16
|
-
|
|
17
|
-
## 2. 代码结构 (Code Structure)
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
com.yss.{module}.repository
|
|
21
|
-
├── entity # 持久化对象 (PO)
|
|
22
|
-
├── gateway.impl # Domain Gateway 接口实现
|
|
23
|
-
├── convertor # MapStruct 转换器
|
|
24
|
-
├── util # 工具类
|
|
25
|
-
└── {Domain}Repository.java # MyBatis Plus Repository 接口
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## 3. 开发规范 (Development Guidelines)
|
|
29
|
-
|
|
30
|
-
### 3.1 持久化对象 (PO)
|
|
31
|
-
|
|
32
|
-
- **命名**: `DomainName` + `PO` (e.g., `QualityTemplatePO`)。
|
|
33
|
-
- **继承**: 推荐继承 `AuditableEntity` 以自动处理审计字段 (`created_by`, `created_date` 等),但非强制要求。
|
|
34
|
-
- **注解**:
|
|
35
|
-
- `@TableName("t_table_name")`: 指定数据库表名。
|
|
36
|
-
- `@TableId(value = "id", type = IdType.ASSIGN_ID)`: 指定主键策略 (雪花算法)。
|
|
37
|
-
- `@TableField("column_name")`: 指定字段映射。
|
|
38
|
-
- 按 `lombok` skill 选择最小注解;PO 默认使用 `@Getter` / `@Setter`,不得无条件使用 `@Data`。继承基类时再审查 `equals/hashCode/toString` 风险。
|
|
39
|
-
|
|
40
|
-
### 3.2 Repository 接口
|
|
41
|
-
|
|
42
|
-
- **继承**: `com.yss.cloud.mybatis.support.BasePlusRepository<PO>`。
|
|
43
|
-
- **位置**: 直接位于 `com.yss.{module}.repository` 包下。
|
|
44
|
-
- **Mapper XML**: 对应的 XML 文件位于 `src/main/resources/mappers`。
|
|
45
|
-
|
|
46
|
-
### 3.3 Gateway 实现
|
|
47
|
-
|
|
48
|
-
- **位置**: `com.yss.{module}.repository.gateway.impl`。
|
|
49
|
-
- **注解**: `@Repository` 或 `@Service`。
|
|
50
|
-
- **依赖注入**: 使用 `@RequiredArgsConstructor` (Lombok) 或 `@Autowired` 注入 Repository。
|
|
51
|
-
- **查询逻辑**: 使用 `Wrappers.lambdaQuery()` 构建类型安全的查询条件。
|
|
52
|
-
- **分页处理**: 使用 `PageUtil.page(query)` 构建分页对象,返回 `PageResult.of(...)`。
|
|
53
|
-
|
|
54
|
-
### 3.4 对象转换 (Convertor)
|
|
55
|
-
|
|
56
|
-
- **工具**: MapStruct。
|
|
57
|
-
- **位置**: `com.yss.{module}.repository.convertor`。
|
|
58
|
-
- **命名**: `DomainName` + `Convertor` (e.g., `QualityTemplateConvertor`)。
|
|
59
|
-
- **规范**: 定义 `INSTANCE` 常量,使用 `Mappers.getMapper(...)` 获取实例。
|
|
60
|
-
|
|
61
|
-
## 4. 详细案例 (Detailed Examples)
|
|
62
|
-
|
|
63
|
-
### 4.1 Persistent Object (PO)
|
|
64
|
-
|
|
65
|
-
```java
|
|
66
|
-
package com.yss.quality.repository.entity;
|
|
67
|
-
|
|
68
|
-
import com.baomidou.mybatisplus.annotation.IdType;
|
|
69
|
-
import com.baomidou.mybatisplus.annotation.TableField;
|
|
70
|
-
import com.baomidou.mybatisplus.annotation.TableId;
|
|
71
|
-
import com.baomidou.mybatisplus.annotation.TableName;
|
|
72
|
-
import lombok.Getter;
|
|
73
|
-
import lombok.Setter;
|
|
74
|
-
import lombok.EqualsAndHashCode;
|
|
75
|
-
|
|
76
|
-
@Getter
|
|
77
|
-
@Setter
|
|
78
|
-
@EqualsAndHashCode(callSuper = true)
|
|
79
|
-
@TableName("t_quality_template")
|
|
80
|
-
public class QualityTemplatePO extends AuditableEntity {
|
|
81
|
-
|
|
82
|
-
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
|
83
|
-
private Long id;
|
|
84
|
-
|
|
85
|
-
@TableField("template_name")
|
|
86
|
-
private String templateName;
|
|
87
|
-
|
|
88
|
-
@TableField("template_code")
|
|
89
|
-
private String templateCode;
|
|
90
|
-
|
|
91
|
-
@TableField("status")
|
|
92
|
-
private Integer status;
|
|
93
|
-
}
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### 4.2 Repository Interface
|
|
97
|
-
|
|
98
|
-
```java
|
|
99
|
-
package com.yss.quality.repository;
|
|
100
|
-
|
|
101
|
-
import com.yss.cloud.mybatis.support.BasePlusRepository;
|
|
102
|
-
import com.yss.quality.repository.entity.QualityTemplatePO;
|
|
103
|
-
|
|
104
|
-
public interface QualityTemplateRepository extends BasePlusRepository<QualityTemplatePO> {
|
|
105
|
-
}
|
|
106
|
-
```
|
|
107
|
-
|
|
108
|
-
### 4.3 Gateway Implementation
|
|
109
|
-
|
|
110
|
-
```java
|
|
111
|
-
package com.yss.quality.repository.gateway.impl;
|
|
112
|
-
|
|
113
|
-
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
114
|
-
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|
115
|
-
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
116
|
-
import com.yss.cloud.dto.result.PageResult;
|
|
117
|
-
import com.yss.quality.client.dto.query.QualityTemplatePage;
|
|
118
|
-
import com.yss.quality.client.vo.QualityTemplateVO;
|
|
119
|
-
import com.yss.quality.domain.template.gateway.QualityTemplateGateway;
|
|
120
|
-
import com.yss.quality.repository.QualityTemplateRepository;
|
|
121
|
-
import com.yss.quality.repository.convertor.QualityTemplateConvertor;
|
|
122
|
-
import com.yss.quality.repository.entity.QualityTemplatePO;
|
|
123
|
-
import com.yss.quality.repository.util.PageUtil;
|
|
124
|
-
import lombok.RequiredArgsConstructor;
|
|
125
|
-
import org.springframework.stereotype.Repository;
|
|
126
|
-
import org.springframework.util.StringUtils;
|
|
127
|
-
|
|
128
|
-
import java.util.List;
|
|
129
|
-
|
|
130
|
-
@Repository
|
|
131
|
-
@RequiredArgsConstructor
|
|
132
|
-
public class QualityTemplateGatewayImpl implements QualityTemplateGateway {
|
|
133
|
-
|
|
134
|
-
private final QualityTemplateRepository qualityTemplateRepository;
|
|
135
|
-
|
|
136
|
-
@Override
|
|
137
|
-
public PageResult<QualityTemplateVO> pageQualityTemplate(QualityTemplatePage query) {
|
|
138
|
-
LambdaQueryWrapper<QualityTemplatePO> wrapper = Wrappers.lambdaQuery(QualityTemplatePO.class);
|
|
139
|
-
|
|
140
|
-
// 构建查询条件
|
|
141
|
-
if (StringUtils.hasText(query.getTemplateName())) {
|
|
142
|
-
wrapper.like(QualityTemplatePO::getTemplateName, query.getTemplateName());
|
|
143
|
-
}
|
|
144
|
-
if (query.getStatus() != null) {
|
|
145
|
-
wrapper.eq(QualityTemplatePO::getStatus, query.getStatus());
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
wrapper.orderByDesc(QualityTemplatePO::getCreatedDate);
|
|
149
|
-
|
|
150
|
-
// 执行分页查询
|
|
151
|
-
IPage<QualityTemplatePO> result = qualityTemplateRepository.selectPage(PageUtil.page(query), wrapper);
|
|
152
|
-
|
|
153
|
-
// 转换结果
|
|
154
|
-
List<QualityTemplateVO> records = QualityTemplateConvertor.INSTANCE.toQualityTemplateVOList(result.getRecords());
|
|
155
|
-
|
|
156
|
-
return PageResult.of(
|
|
157
|
-
records,
|
|
158
|
-
result.getTotal(),
|
|
159
|
-
result.getSize(),
|
|
160
|
-
result.getCurrent()
|
|
161
|
-
);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
### 4.4 Convertor (MapStruct)
|
|
167
|
-
|
|
168
|
-
```java
|
|
169
|
-
package com.yss.quality.repository.convertor;
|
|
170
|
-
|
|
171
|
-
import com.yss.quality.client.vo.QualityTemplateVO;
|
|
172
|
-
import com.yss.quality.repository.entity.QualityTemplatePO;
|
|
173
|
-
import org.mapstruct.Mapper;
|
|
174
|
-
import org.mapstruct.factory.Mappers;
|
|
175
|
-
|
|
176
|
-
import java.util.List;
|
|
177
|
-
|
|
178
|
-
@Mapper
|
|
179
|
-
public interface QualityTemplateConvertor {
|
|
180
|
-
QualityTemplateConvertor INSTANCE = Mappers.getMapper(QualityTemplateConvertor.class);
|
|
181
|
-
|
|
182
|
-
QualityTemplateVO toQualityTemplateVO(QualityTemplatePO po);
|
|
183
|
-
|
|
184
|
-
List<QualityTemplateVO> toQualityTemplateVOList(List<QualityTemplatePO> pos);
|
|
185
|
-
}
|
|
186
|
-
```
|
|
187
|
-
|
|
188
|
-
## 5. 注意事项 (Notes)
|
|
189
|
-
|
|
190
|
-
1. **AuditableEntity**: 推荐业务 PO 继承此基类,以便自动维护审计信息。
|
|
191
|
-
2. **Lombok 使用**: 使用 `@RequiredArgsConstructor` 进行构造器注入是推荐的最佳实践。
|
|
192
|
-
3. **Wrapper 使用**: 优先使用 `Wrappers.lambdaQuery()` 而不是字符串列名,以提高重构安全性。
|
|
193
|
-
4. **分页工具**: 使用 `PageUtil` 统一处理分页参数,避免手动计算 offset。
|
|
194
|
-
|
|
195
|
-
## 6. 阶段 7 合同
|
|
196
|
-
|
|
197
|
-
- 前置条件是批准的数据架构、Repository 策略和 Slice Contract。
|
|
198
|
-
- PO/Repository/Convertor 骨架可受控生成;复杂查询、分页语义、数据源、事务、迁移和并发使用 `behavior-tdd`。
|
|
199
|
-
- 返回统一 `YSS Skill Execution Result`,证据包含实际文件、集成测试、MapStruct/Lombok 配置和 `./mvnw ...` 结果。
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: "yss-backend-scaffold-web"
|
|
3
|
-
description: "YSS 管理服务的 Web Adapter 开发框架和技术指南。在实现 REST API 控制器、请求处理和响应格式化时需要用到。"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Web Adapter Layer Development Guide
|
|
7
|
-
|
|
8
|
-
本技能为开发 YSS 服务的**Web 适配器层**(REST API)提供指导和框架。
|
|
9
|
-
Web 适配器负责通过 HTTP 公开业务功能、处理输入验证和格式化响应。
|
|
10
|
-
|
|
11
|
-
## 1. 核心职责 (Core Responsibilities)
|
|
12
|
-
|
|
13
|
-
- **Request Handling**: Map HTTP requests (GET, POST, PUT, DELETE) to Java methods.
|
|
14
|
-
- **Input Validation**: Validate request bodies and parameters using JSR-303/380 annotations (`@Valid`, `@NotNull`, etc.).
|
|
15
|
-
- **Response Formatting**: Wrap business results into standard `Result` objects (`SingleResult`, `PageResult`, `MultiResult`).
|
|
16
|
-
- **Orchestration Delegation**: Delegate business logic to the **Application Service**. Simple queries can be delegated directly to the **Domain Gateway** (CQRS pattern).
|
|
17
|
-
|
|
18
|
-
## 2. 代码结构 (Code Structure)
|
|
19
|
-
|
|
20
|
-
Web Adapters are typically located in the `bootstrap` module or a dedicated `web` module.
|
|
21
|
-
|
|
22
|
-
```
|
|
23
|
-
com.yss.{module}.rest
|
|
24
|
-
├── {Domain}Controller.java # Main REST Controller
|
|
25
|
-
└── {Domain}ReportController.java # Optional: For reporting/stats APIs
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## 3. 开发规范 (Development Guidelines)
|
|
29
|
-
|
|
30
|
-
### 3.1 Controller 定义
|
|
31
|
-
|
|
32
|
-
- **注解**: 使用 `@RestController`。
|
|
33
|
-
- **路径**: `@RequestMapping("/api/{module}/{domain}")` (e.g., `/api/quality/rule`).
|
|
34
|
-
- **依赖注入**: 使用 Lombok `@RequiredArgsConstructor` 进行构造器注入。
|
|
35
|
-
- **命名**: `{Domain}Controller` (e.g., `QualityRuleController`).
|
|
36
|
-
|
|
37
|
-
### 3.2 依赖注入原则
|
|
38
|
-
|
|
39
|
-
- **写操作/复杂逻辑**: 必须注入 **Application Service** (`XxxService`)。
|
|
40
|
-
- **读操作 (Query)**: 允许直接注入 **Domain Gateway** (`XxxGateway`) 以减少样板代码 (CQRS)。
|
|
41
|
-
|
|
42
|
-
### 3.3 参数与响应
|
|
43
|
-
|
|
44
|
-
- **Command (写)**: 使用 `@PostMapping`/`@PutMapping` + `@RequestBody` + `{Domain}Cmd` 对象。
|
|
45
|
-
- **Query (读)**: 使用 `@PostMapping` (for complex search) + `@RequestBody` + `{Domain}Page/Query` 对象。
|
|
46
|
-
- **Wrapper**:
|
|
47
|
-
- `SingleResult<T>`: 单个对象或基本类型。
|
|
48
|
-
- `MultiResult<T>`: 列表。
|
|
49
|
-
- `PageResult<T>`: 分页数据。
|
|
50
|
-
- **Validation**: 必须在参数前添加 `@Valid` 注解。
|
|
51
|
-
|
|
52
|
-
### 3.4 异常处理
|
|
53
|
-
|
|
54
|
-
- **不要**在 Controller 中捕获通用异常 (`Exception`)。
|
|
55
|
-
- 让全局异常处理器 (`GlobalExceptionHandler`) 统一处理运行时异常。
|
|
56
|
-
- 仅在需要特定 HTTP 状态码转换时捕获特定异常。
|
|
57
|
-
|
|
58
|
-
## 4. 代码示例 (Code Examples)
|
|
59
|
-
|
|
60
|
-
### 4.1 标准 CRUD Controller
|
|
61
|
-
|
|
62
|
-
```java
|
|
63
|
-
package com.yss.{module}.rest;
|
|
64
|
-
|
|
65
|
-
import com.yss.cloud.dto.result.MultiResult;
|
|
66
|
-
import com.yss.cloud.dto.result.PageResult;
|
|
67
|
-
import com.yss.cloud.dto.result.SingleResult;
|
|
68
|
-
import com.yss.{module}.client.dto.cmd.{Domain}AddCmd;
|
|
69
|
-
import com.yss.{module}.client.dto.cmd.{Domain}UpdateCmd;
|
|
70
|
-
import com.yss.{module}.client.dto.cmd.{Domain}StatusCmd;
|
|
71
|
-
import com.yss.{module}.client.dto.query.{Domain}Page;
|
|
72
|
-
import com.yss.{module}.client.vo.{Domain}VO;
|
|
73
|
-
import com.yss.{module}.core.service.{Domain}Service;
|
|
74
|
-
// Optional: Import Gateway for direct queries
|
|
75
|
-
// import com.yss.{module}.domain.gateway.{Domain}Gateway;
|
|
76
|
-
import lombok.RequiredArgsConstructor;
|
|
77
|
-
import org.springframework.web.bind.annotation.*;
|
|
78
|
-
|
|
79
|
-
import javax.validation.Valid;
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* {Domain} 管理控制器
|
|
83
|
-
*
|
|
84
|
-
* @author {User}
|
|
85
|
-
*/
|
|
86
|
-
@RestController
|
|
87
|
-
@RequestMapping("/api/{module}/{domain-path}")
|
|
88
|
-
@RequiredArgsConstructor
|
|
89
|
-
public class {Domain}Controller {
|
|
90
|
-
|
|
91
|
-
private final {Domain}Service {domainVar}Service;
|
|
92
|
-
// private final {Domain}Gateway {domainVar}Gateway; // For CQRS if needed
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* 分页查询 {Domain}
|
|
96
|
-
*
|
|
97
|
-
* @param query 查询条件
|
|
98
|
-
* @return 分页结果
|
|
99
|
-
*/
|
|
100
|
-
@PostMapping("/page")
|
|
101
|
-
public PageResult<{Domain}VO> page(@Valid @RequestBody {Domain}Page query) {
|
|
102
|
-
return {domainVar}Service.page(query);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* 根据ID查询详情
|
|
107
|
-
*
|
|
108
|
-
* @param id 主键ID
|
|
109
|
-
* @return 详情对象
|
|
110
|
-
*/
|
|
111
|
-
@GetMapping("/detail/{id}")
|
|
112
|
-
public SingleResult<{Domain}VO> detail(@PathVariable String id) {
|
|
113
|
-
return SingleResult.of({domainVar}Service.detail(id));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
/**
|
|
117
|
-
* 新增 {Domain}
|
|
118
|
-
*
|
|
119
|
-
* @param cmd 新增命令
|
|
120
|
-
* @return 新增结果 (通常是ID或完整对象)
|
|
121
|
-
*/
|
|
122
|
-
@PostMapping
|
|
123
|
-
public SingleResult<Long> add(@Valid @RequestBody {Domain}AddCmd cmd) {
|
|
124
|
-
return SingleResult.of({domainVar}Service.add(cmd));
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* 更新 {Domain}
|
|
129
|
-
*
|
|
130
|
-
* @param cmd 更新命令
|
|
131
|
-
* @return 更新结果
|
|
132
|
-
*/
|
|
133
|
-
@PutMapping
|
|
134
|
-
public SingleResult<Boolean> update(@Valid @RequestBody {Domain}UpdateCmd cmd) {
|
|
135
|
-
{domainVar}Service.update(cmd);
|
|
136
|
-
return SingleResult.of(true);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* 状态变更 (启用/禁用)
|
|
141
|
-
*
|
|
142
|
-
* @param cmd 状态命令
|
|
143
|
-
* @return 变更后的状态
|
|
144
|
-
*/
|
|
145
|
-
@PostMapping("/enabled")
|
|
146
|
-
public SingleResult<Integer> switchStatus(@Valid @RequestBody {Domain}StatusCmd cmd) {
|
|
147
|
-
{domainVar}Service.switchStatus(cmd);
|
|
148
|
-
return SingleResult.of(cmd.getStatus());
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
```
|
|
152
|
-
|
|
153
|
-
### 4.2 复杂业务操作示例
|
|
154
|
-
|
|
155
|
-
```java
|
|
156
|
-
/**
|
|
157
|
-
* 执行业务操作 (e.g. 立即运行检查)
|
|
158
|
-
*
|
|
159
|
-
* @param cmd 执行命令
|
|
160
|
-
* @return 执行结果ID
|
|
161
|
-
*/
|
|
162
|
-
@PostMapping("/execute")
|
|
163
|
-
public SingleResult<String> execute(@Valid @RequestBody {Domain}ExecuteCmd cmd) {
|
|
164
|
-
// 调用 Service 处理复杂业务逻辑
|
|
165
|
-
return SingleResult.of(
|
|
166
|
-
{domainVar}Service.execute(cmd)
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
## 5. 阶段 7 合同
|
|
172
|
-
|
|
173
|
-
- 只消费冻结 OpenAPI/no-impact record 和批准合同;Controller 不得穿透 Application/Domain 边界。
|
|
174
|
-
- Controller/DTO/Convertor 骨架可受控生成;权限、校验、错误映射和接口行为使用 `behavior-tdd`。
|
|
175
|
-
- 返回统一 `YSS Skill Execution Result`,包含代码、契约/API 测试、实际验证和新增 API/权限影响。
|