create-yss-spec 3.4.5 → 3.4.6
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/.strategic-design-skills-manifest.json +1 -1
- package/template/.agents/skills/yss-application/SKILL.md +8 -6
- package/template/.agents/skills/yss-audit-log/SKILL.md +12 -7
- package/template/.agents/skills/yss-audit-log/references/source-index.boot2-java8.md +57 -0
- package/template/.agents/skills/yss-audit-log/references/source-index.boot3-java17.md +58 -0
- package/template/.agents/skills/yss-audit-log/references/source-index.md +6 -39
- package/template/.agents/skills/yss-cache/SKILL.md +5 -1
- package/template/.agents/skills/yss-cache/references/source-index.boot2-java8.md +81 -0
- package/template/.agents/skills/yss-cache/references/source-index.boot3-java17.md +83 -0
- package/template/.agents/skills/yss-cache/references/source-index.md +6 -63
- package/template/.agents/skills/yss-cache/scripts/check-skill-freshness.sh +20 -15
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/engineering-baseline.md +53 -0
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +5 -51
- package/template/.agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +3 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +2 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +1 -1
- package/template/.agents/skills/yss-distributed-id/SKILL.md +4 -0
- package/template/.agents/skills/yss-distributed-id/references/source-index.boot2-java8.md +102 -0
- package/template/.agents/skills/yss-distributed-id/references/source-index.boot3-java17.md +90 -0
- package/template/.agents/skills/yss-distributed-id/references/source-index.md +6 -82
- package/template/.agents/skills/yss-dto/SKILL.md +2 -2
- package/template/.agents/skills/yss-dto/references/source-index.boot2-java8.md +67 -0
- package/template/.agents/skills/yss-dto/references/source-index.boot3-java17.md +70 -0
- package/template/.agents/skills/yss-dto/references/source-index.md +6 -51
- package/template/.agents/skills/yss-excel-mvc/SKILL.md +4 -0
- package/template/.agents/skills/yss-excel-mvc/references/source-index.boot2-java8.md +90 -0
- package/template/.agents/skills/yss-excel-mvc/references/source-index.boot3-java17.md +58 -0
- package/template/.agents/skills/yss-excel-mvc/references/source-index.md +6 -70
- package/template/.agents/skills/yss-exception/SKILL.md +12 -9
- package/template/.agents/skills/yss-exception/references/source-index.boot2-java8.md +50 -0
- package/template/.agents/skills/yss-exception/references/source-index.boot3-java17.md +50 -0
- package/template/.agents/skills/yss-exception/references/source-index.md +6 -31
- package/template/.agents/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.agents/skills/yss-implementation-contract-compiler/references/boundaries.md +3 -5
- package/template/.agents/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +27 -2
- package/template/.agents/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -1
- package/template/.agents/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +60 -14
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/SKILL.md +6 -5
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +2 -2
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +2 -0
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +82 -0
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +23 -9
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +30 -6
- package/template/.agents/skills/yss-layered-mvc-scaffold-generator/tests/scaffold-generator.test.mjs +2 -0
- package/template/.agents/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +5 -15
- package/template/.agents/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +9 -68
- package/template/.agents/skills/yss-mvc-design/SKILL.md +5 -9
- package/template/.agents/skills/yss-mvc-design/agents/openai.yaml +3 -3
- package/template/.agents/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.agents/skills/yss-mybatis/references/source-index.boot2-java8.md +126 -0
- package/template/.agents/skills/yss-mybatis/references/source-index.boot3-java17.md +126 -0
- package/template/.agents/skills/yss-mybatis/references/source-index.md +6 -109
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +10 -8
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.agents/skills/yss-repository/SKILL.md +1 -1
- package/template/.agents/skills/yss-resilience4j/SKILL.md +4 -0
- package/template/.agents/skills/yss-resilience4j/references/source-index.boot2-java8.md +48 -0
- package/template/.agents/skills/yss-resilience4j/references/source-index.boot3-java17.md +48 -0
- package/template/.agents/skills/yss-resilience4j/references/source-index.md +6 -29
- package/template/.agents/skills/yss-security-algorithm/SKILL.md +34 -10
- package/template/.agents/skills/yss-security-algorithm/references/source-index.boot2-java8.md +50 -0
- package/template/.agents/skills/yss-security-algorithm/references/source-index.boot3-java17.md +51 -0
- package/template/.agents/skills/yss-security-algorithm/references/source-index.md +6 -31
- package/template/.agents/skills/yss-skill-source-index-refresh/SKILL.md +12 -6
- package/template/.agents/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +27 -0
- package/template/.agents/skills/yss-skill-source-index-refresh/references/source-location.md +4 -4
- package/template/.agents/skills/yss-skill-source-index-refresh/references/source-map-config.md +10 -3
- package/template/.agents/skills/yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs +60 -0
- package/template/.agents/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +247 -54
- package/template/.agents/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +74 -7
- package/template/.agents/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.agents/skills/yss-tactical-design/references/output-template.md +1 -1
- package/template/.agents/skills/yss-technical-design/SKILL.md +3 -1
- package/template/.agents/skills/yss-technical-design/references/mvc-design.schema.json +315 -0
- package/template/.agents/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.agents/skills/yss-technical-design/scripts/generate-schema.mjs +1 -1
- package/template/.agents/skills/yss-technical-design/tests/run-scenarios.mjs +4 -1
- package/template/.agents/skills/yss-up-springboot3/SKILL.md +23 -9
- package/template/.agents/skills/yss-userinfo/SKILL.md +21 -14
- package/template/.agents/skills/yss-userinfo/references/source-index.boot2-java8.md +49 -0
- package/template/.agents/skills/yss-userinfo/references/source-index.boot3-java17.md +54 -0
- package/template/.agents/skills/yss-userinfo/references/source-index.md +6 -30
- package/template/.agents/skills/yss-validation/SKILL.md +12 -17
- package/template/.agents/skills/yss-validation/references/source-index.boot2-java8.md +47 -0
- package/template/.agents/skills/yss-validation/references/source-index.boot3-java17.md +47 -0
- package/template/.agents/skills/yss-validation/references/source-index.md +6 -29
- package/template/.agents/skills/yss-web-controller/SKILL.md +4 -4
- package/template/.agents/skills/yss-web-controller/scripts/generate_controller.test.mjs +1 -1
- package/template/.codex/skills/yss-application/SKILL.md +8 -6
- package/template/.codex/skills/yss-audit-log/SKILL.md +12 -7
- package/template/.codex/skills/yss-audit-log/references/source-index.boot2-java8.md +57 -0
- package/template/.codex/skills/yss-audit-log/references/source-index.boot3-java17.md +58 -0
- package/template/.codex/skills/yss-audit-log/references/source-index.md +6 -39
- package/template/.codex/skills/yss-cache/SKILL.md +5 -1
- package/template/.codex/skills/yss-cache/references/source-index.boot2-java8.md +81 -0
- package/template/.codex/skills/yss-cache/references/source-index.boot3-java17.md +83 -0
- package/template/.codex/skills/yss-cache/references/source-index.md +6 -63
- package/template/.codex/skills/yss-cache/scripts/check-skill-freshness.sh +20 -15
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/engineering-baseline.md +53 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +5 -51
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +3 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +2 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +1 -1
- package/template/.codex/skills/yss-distributed-id/SKILL.md +4 -0
- package/template/.codex/skills/yss-distributed-id/references/source-index.boot2-java8.md +102 -0
- package/template/.codex/skills/yss-distributed-id/references/source-index.boot3-java17.md +90 -0
- package/template/.codex/skills/yss-distributed-id/references/source-index.md +6 -82
- package/template/.codex/skills/yss-dto/SKILL.md +2 -2
- package/template/.codex/skills/yss-dto/references/source-index.boot2-java8.md +67 -0
- package/template/.codex/skills/yss-dto/references/source-index.boot3-java17.md +70 -0
- package/template/.codex/skills/yss-dto/references/source-index.md +6 -51
- package/template/.codex/skills/yss-excel-mvc/SKILL.md +4 -0
- package/template/.codex/skills/yss-excel-mvc/references/source-index.boot2-java8.md +90 -0
- package/template/.codex/skills/yss-excel-mvc/references/source-index.boot3-java17.md +58 -0
- package/template/.codex/skills/yss-excel-mvc/references/source-index.md +6 -70
- package/template/.codex/skills/yss-exception/SKILL.md +12 -9
- package/template/.codex/skills/yss-exception/references/source-index.boot2-java8.md +50 -0
- package/template/.codex/skills/yss-exception/references/source-index.boot3-java17.md +50 -0
- package/template/.codex/skills/yss-exception/references/source-index.md +6 -31
- package/template/.codex/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.codex/skills/yss-implementation-contract-compiler/references/boundaries.md +3 -5
- package/template/.codex/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +27 -2
- package/template/.codex/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -1
- package/template/.codex/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +60 -14
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/SKILL.md +6 -5
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +2 -0
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +82 -0
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +23 -9
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +30 -6
- package/template/.codex/skills/yss-layered-mvc-scaffold-generator/tests/scaffold-generator.test.mjs +2 -0
- package/template/.codex/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +5 -15
- package/template/.codex/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +9 -68
- package/template/.codex/skills/yss-mvc-design/SKILL.md +5 -9
- package/template/.codex/skills/yss-mvc-design/agents/openai.yaml +3 -3
- package/template/.codex/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.codex/skills/yss-mybatis/references/source-index.boot2-java8.md +126 -0
- package/template/.codex/skills/yss-mybatis/references/source-index.boot3-java17.md +126 -0
- package/template/.codex/skills/yss-mybatis/references/source-index.md +6 -109
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +10 -8
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.codex/skills/yss-repository/SKILL.md +1 -1
- package/template/.codex/skills/yss-resilience4j/SKILL.md +4 -0
- package/template/.codex/skills/yss-resilience4j/references/source-index.boot2-java8.md +48 -0
- package/template/.codex/skills/yss-resilience4j/references/source-index.boot3-java17.md +48 -0
- package/template/.codex/skills/yss-resilience4j/references/source-index.md +6 -29
- package/template/.codex/skills/yss-security-algorithm/SKILL.md +34 -10
- package/template/.codex/skills/yss-security-algorithm/references/source-index.boot2-java8.md +50 -0
- package/template/.codex/skills/yss-security-algorithm/references/source-index.boot3-java17.md +51 -0
- package/template/.codex/skills/yss-security-algorithm/references/source-index.md +6 -31
- package/template/.codex/skills/yss-skill-source-index-refresh/SKILL.md +12 -6
- package/template/.codex/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +27 -0
- package/template/.codex/skills/yss-skill-source-index-refresh/references/source-location.md +4 -4
- package/template/.codex/skills/yss-skill-source-index-refresh/references/source-map-config.md +10 -3
- package/template/.codex/skills/yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs +60 -0
- package/template/.codex/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +247 -54
- package/template/.codex/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +74 -7
- package/template/.codex/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.codex/skills/yss-tactical-design/references/output-template.md +1 -1
- package/template/.codex/skills/yss-technical-design/SKILL.md +3 -1
- package/template/.codex/skills/yss-technical-design/references/mvc-design.schema.json +315 -0
- package/template/.codex/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.codex/skills/yss-technical-design/scripts/generate-schema.mjs +1 -1
- package/template/.codex/skills/yss-technical-design/tests/run-scenarios.mjs +4 -1
- package/template/.codex/skills/yss-up-springboot3/SKILL.md +23 -9
- package/template/.codex/skills/yss-userinfo/SKILL.md +21 -14
- package/template/.codex/skills/yss-userinfo/references/source-index.boot2-java8.md +49 -0
- package/template/.codex/skills/yss-userinfo/references/source-index.boot3-java17.md +54 -0
- package/template/.codex/skills/yss-userinfo/references/source-index.md +6 -30
- package/template/.codex/skills/yss-validation/SKILL.md +12 -17
- package/template/.codex/skills/yss-validation/references/source-index.boot2-java8.md +47 -0
- package/template/.codex/skills/yss-validation/references/source-index.boot3-java17.md +47 -0
- package/template/.codex/skills/yss-validation/references/source-index.md +6 -29
- package/template/.codex/skills/yss-web-controller/SKILL.md +4 -4
- package/template/.codex/skills/yss-web-controller/scripts/generate_controller.test.mjs +1 -1
- package/template/.cursor/skills/yss-application/SKILL.md +8 -6
- package/template/.cursor/skills/yss-audit-log/SKILL.md +12 -7
- package/template/.cursor/skills/yss-audit-log/references/source-index.boot2-java8.md +57 -0
- package/template/.cursor/skills/yss-audit-log/references/source-index.boot3-java17.md +58 -0
- package/template/.cursor/skills/yss-audit-log/references/source-index.md +6 -39
- package/template/.cursor/skills/yss-cache/SKILL.md +5 -1
- package/template/.cursor/skills/yss-cache/references/source-index.boot2-java8.md +81 -0
- package/template/.cursor/skills/yss-cache/references/source-index.boot3-java17.md +83 -0
- package/template/.cursor/skills/yss-cache/references/source-index.md +6 -63
- package/template/.cursor/skills/yss-cache/scripts/check-skill-freshness.sh +20 -15
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/engineering-baseline.md +53 -0
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +5 -51
- package/template/.cursor/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +3 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +2 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +1 -1
- package/template/.cursor/skills/yss-distributed-id/SKILL.md +4 -0
- package/template/.cursor/skills/yss-distributed-id/references/source-index.boot2-java8.md +102 -0
- package/template/.cursor/skills/yss-distributed-id/references/source-index.boot3-java17.md +90 -0
- package/template/.cursor/skills/yss-distributed-id/references/source-index.md +6 -82
- package/template/.cursor/skills/yss-dto/SKILL.md +2 -2
- package/template/.cursor/skills/yss-dto/references/source-index.boot2-java8.md +67 -0
- package/template/.cursor/skills/yss-dto/references/source-index.boot3-java17.md +70 -0
- package/template/.cursor/skills/yss-dto/references/source-index.md +6 -51
- package/template/.cursor/skills/yss-excel-mvc/SKILL.md +4 -0
- package/template/.cursor/skills/yss-excel-mvc/references/source-index.boot2-java8.md +90 -0
- package/template/.cursor/skills/yss-excel-mvc/references/source-index.boot3-java17.md +58 -0
- package/template/.cursor/skills/yss-excel-mvc/references/source-index.md +6 -70
- package/template/.cursor/skills/yss-exception/SKILL.md +12 -9
- package/template/.cursor/skills/yss-exception/references/source-index.boot2-java8.md +50 -0
- package/template/.cursor/skills/yss-exception/references/source-index.boot3-java17.md +50 -0
- package/template/.cursor/skills/yss-exception/references/source-index.md +6 -31
- package/template/.cursor/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/boundaries.md +3 -5
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +27 -2
- package/template/.cursor/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -1
- package/template/.cursor/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +60 -14
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/SKILL.md +6 -5
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +2 -2
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +2 -0
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +82 -0
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +23 -9
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +30 -6
- package/template/.cursor/skills/yss-layered-mvc-scaffold-generator/tests/scaffold-generator.test.mjs +2 -0
- package/template/.cursor/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +5 -15
- package/template/.cursor/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +9 -68
- package/template/.cursor/skills/yss-mvc-design/SKILL.md +5 -9
- package/template/.cursor/skills/yss-mvc-design/agents/openai.yaml +3 -3
- package/template/.cursor/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.cursor/skills/yss-mybatis/references/source-index.boot2-java8.md +126 -0
- package/template/.cursor/skills/yss-mybatis/references/source-index.boot3-java17.md +126 -0
- package/template/.cursor/skills/yss-mybatis/references/source-index.md +6 -109
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +10 -8
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.cursor/skills/yss-repository/SKILL.md +1 -1
- package/template/.cursor/skills/yss-resilience4j/SKILL.md +4 -0
- package/template/.cursor/skills/yss-resilience4j/references/source-index.boot2-java8.md +48 -0
- package/template/.cursor/skills/yss-resilience4j/references/source-index.boot3-java17.md +48 -0
- package/template/.cursor/skills/yss-resilience4j/references/source-index.md +6 -29
- package/template/.cursor/skills/yss-security-algorithm/SKILL.md +34 -10
- package/template/.cursor/skills/yss-security-algorithm/references/source-index.boot2-java8.md +50 -0
- package/template/.cursor/skills/yss-security-algorithm/references/source-index.boot3-java17.md +51 -0
- package/template/.cursor/skills/yss-security-algorithm/references/source-index.md +6 -31
- package/template/.cursor/skills/yss-skill-source-index-refresh/SKILL.md +12 -6
- package/template/.cursor/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +27 -0
- package/template/.cursor/skills/yss-skill-source-index-refresh/references/source-location.md +4 -4
- package/template/.cursor/skills/yss-skill-source-index-refresh/references/source-map-config.md +10 -3
- package/template/.cursor/skills/yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs +60 -0
- package/template/.cursor/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +247 -54
- package/template/.cursor/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +74 -7
- package/template/.cursor/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.cursor/skills/yss-tactical-design/references/output-template.md +1 -1
- package/template/.cursor/skills/yss-technical-design/SKILL.md +3 -1
- package/template/.cursor/skills/yss-technical-design/references/mvc-design.schema.json +315 -0
- package/template/.cursor/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.cursor/skills/yss-technical-design/scripts/generate-schema.mjs +1 -1
- package/template/.cursor/skills/yss-technical-design/tests/run-scenarios.mjs +4 -1
- package/template/.cursor/skills/yss-up-springboot3/SKILL.md +23 -9
- package/template/.cursor/skills/yss-userinfo/SKILL.md +21 -14
- package/template/.cursor/skills/yss-userinfo/references/source-index.boot2-java8.md +49 -0
- package/template/.cursor/skills/yss-userinfo/references/source-index.boot3-java17.md +54 -0
- package/template/.cursor/skills/yss-userinfo/references/source-index.md +6 -30
- package/template/.cursor/skills/yss-validation/SKILL.md +12 -17
- package/template/.cursor/skills/yss-validation/references/source-index.boot2-java8.md +47 -0
- package/template/.cursor/skills/yss-validation/references/source-index.boot3-java17.md +47 -0
- package/template/.cursor/skills/yss-validation/references/source-index.md +6 -29
- package/template/.cursor/skills/yss-web-controller/SKILL.md +4 -4
- package/template/.cursor/skills/yss-web-controller/scripts/generate_controller.test.mjs +1 -1
- package/template/.pi/skills/yss-application/SKILL.md +8 -6
- package/template/.pi/skills/yss-audit-log/SKILL.md +12 -7
- package/template/.pi/skills/yss-audit-log/references/source-index.boot2-java8.md +57 -0
- package/template/.pi/skills/yss-audit-log/references/source-index.boot3-java17.md +58 -0
- package/template/.pi/skills/yss-audit-log/references/source-index.md +6 -39
- package/template/.pi/skills/yss-cache/SKILL.md +5 -1
- package/template/.pi/skills/yss-cache/references/source-index.boot2-java8.md +81 -0
- package/template/.pi/skills/yss-cache/references/source-index.boot3-java17.md +83 -0
- package/template/.pi/skills/yss-cache/references/source-index.md +6 -63
- package/template/.pi/skills/yss-cache/scripts/check-skill-freshness.sh +20 -15
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +2 -2
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/engineering-baseline.md +53 -0
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +5 -51
- package/template/.pi/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/agents/openai.yaml +3 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/first-slice-verification.test.mjs +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +2 -2
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_first_slice_verification.mjs +2 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/run_scaffold_verification.mjs +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +1 -1
- package/template/.pi/skills/yss-distributed-id/SKILL.md +4 -0
- package/template/.pi/skills/yss-distributed-id/references/source-index.boot2-java8.md +102 -0
- package/template/.pi/skills/yss-distributed-id/references/source-index.boot3-java17.md +90 -0
- package/template/.pi/skills/yss-distributed-id/references/source-index.md +6 -82
- package/template/.pi/skills/yss-dto/SKILL.md +2 -2
- package/template/.pi/skills/yss-dto/references/source-index.boot2-java8.md +67 -0
- package/template/.pi/skills/yss-dto/references/source-index.boot3-java17.md +70 -0
- package/template/.pi/skills/yss-dto/references/source-index.md +6 -51
- package/template/.pi/skills/yss-excel-mvc/SKILL.md +4 -0
- package/template/.pi/skills/yss-excel-mvc/references/source-index.boot2-java8.md +90 -0
- package/template/.pi/skills/yss-excel-mvc/references/source-index.boot3-java17.md +58 -0
- package/template/.pi/skills/yss-excel-mvc/references/source-index.md +6 -70
- package/template/.pi/skills/yss-exception/SKILL.md +12 -9
- package/template/.pi/skills/yss-exception/references/source-index.boot2-java8.md +50 -0
- package/template/.pi/skills/yss-exception/references/source-index.boot3-java17.md +50 -0
- package/template/.pi/skills/yss-exception/references/source-index.md +6 -31
- package/template/.pi/skills/yss-implementation-contract-compiler/SKILL.md +2 -0
- package/template/.pi/skills/yss-implementation-contract-compiler/references/boundaries.md +3 -5
- package/template/.pi/skills/yss-implementation-contract-compiler/references/compiler-contract.yaml +27 -2
- package/template/.pi/skills/yss-implementation-contract-compiler/references/yss-skill-execution-result.md +2 -1
- package/template/.pi/skills/yss-implementation-contract-compiler/tests/compiler-scenarios.test.mjs +60 -14
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/SKILL.md +6 -5
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/agents/openai.yaml +2 -2
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/references/architecture.md +2 -0
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/data-analysis-profile.mjs +82 -0
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/generate_scaffold.mjs +23 -9
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/scripts/scaffold-generator.test.mjs +30 -6
- package/template/.pi/skills/yss-layered-mvc-scaffold-generator/tests/scaffold-generator.test.mjs +2 -0
- package/template/.pi/skills/yss-mvc-data-analysis-project-initializer/SKILL.md +5 -15
- package/template/.pi/skills/yss-mvc-data-analysis-project-initializer/scripts/generate_project.mjs +9 -68
- package/template/.pi/skills/yss-mvc-design/SKILL.md +5 -9
- package/template/.pi/skills/yss-mvc-design/agents/openai.yaml +3 -3
- package/template/.pi/skills/yss-mybatis/SKILL.md +2 -2
- package/template/.pi/skills/yss-mybatis/references/source-index.boot2-java8.md +126 -0
- package/template/.pi/skills/yss-mybatis/references/source-index.boot3-java17.md +126 -0
- package/template/.pi/skills/yss-mybatis/references/source-index.md +6 -109
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +10 -8
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +2 -2
- package/template/.pi/skills/yss-repository/SKILL.md +1 -1
- package/template/.pi/skills/yss-resilience4j/SKILL.md +4 -0
- package/template/.pi/skills/yss-resilience4j/references/source-index.boot2-java8.md +48 -0
- package/template/.pi/skills/yss-resilience4j/references/source-index.boot3-java17.md +48 -0
- package/template/.pi/skills/yss-resilience4j/references/source-index.md +6 -29
- package/template/.pi/skills/yss-security-algorithm/SKILL.md +34 -10
- package/template/.pi/skills/yss-security-algorithm/references/source-index.boot2-java8.md +50 -0
- package/template/.pi/skills/yss-security-algorithm/references/source-index.boot3-java17.md +51 -0
- package/template/.pi/skills/yss-security-algorithm/references/source-index.md +6 -31
- package/template/.pi/skills/yss-skill-source-index-refresh/SKILL.md +12 -6
- package/template/.pi/skills/yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md +27 -0
- package/template/.pi/skills/yss-skill-source-index-refresh/references/source-location.md +4 -4
- package/template/.pi/skills/yss-skill-source-index-refresh/references/source-map-config.md +10 -3
- package/template/.pi/skills/yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs +60 -0
- package/template/.pi/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs +247 -54
- package/template/.pi/skills/yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.test.mjs +74 -7
- package/template/.pi/skills/yss-tactical-design/SKILL.md +1 -1
- package/template/.pi/skills/yss-tactical-design/references/output-template.md +1 -1
- package/template/.pi/skills/yss-technical-design/SKILL.md +3 -1
- package/template/.pi/skills/yss-technical-design/references/mvc-design.schema.json +315 -0
- package/template/.pi/skills/yss-technical-design/references/technical-design-contract.md +1 -1
- package/template/.pi/skills/yss-technical-design/scripts/generate-schema.mjs +1 -1
- package/template/.pi/skills/yss-technical-design/tests/run-scenarios.mjs +4 -1
- package/template/.pi/skills/yss-up-springboot3/SKILL.md +23 -9
- package/template/.pi/skills/yss-userinfo/SKILL.md +21 -14
- package/template/.pi/skills/yss-userinfo/references/source-index.boot2-java8.md +49 -0
- package/template/.pi/skills/yss-userinfo/references/source-index.boot3-java17.md +54 -0
- package/template/.pi/skills/yss-userinfo/references/source-index.md +6 -30
- package/template/.pi/skills/yss-validation/SKILL.md +12 -17
- package/template/.pi/skills/yss-validation/references/source-index.boot2-java8.md +47 -0
- package/template/.pi/skills/yss-validation/references/source-index.boot3-java17.md +47 -0
- package/template/.pi/skills/yss-validation/references/source-index.md +6 -29
- package/template/.pi/skills/yss-web-controller/SKILL.md +4 -4
- package/template/.pi/skills/yss-web-controller/scripts/generate_controller.test.mjs +1 -1
- package/template/docs/agents/backend-architecture-profiles.md +1 -1
- package/template/docs/agents/digital-human-roles.yaml +1 -1
- package/template/docs/agents/skill-migrations.md +23 -0
- package/template/docs/agents/yss-skill-registry.yaml +109 -40
- package/template/docs/api/templates/openapi-draft-review-checklist.md +1 -1
- package/template/docs/architecture/templates/engineering-baseline-review-template.md +3 -3
- package/template/docs/architecture/templates/system-overview-design-template.md +1 -1
- package/template/docs/engineering/backend-platforms.json +662 -9
- package/template/docs/engineering/backend-platforms.md +33 -7
- package/template/docs/process/schemas/backend-architecture-identity.schema.json +102 -0
- package/template/docs/process/schemas/project-scaffold-contract.schema.json +16 -4
- package/template/docs/process/schemas/scaffold-architecture-decisions.schema.json +7 -0
- package/template/docs/process/schemas/slice-implementation-contract-v3.schema.json +143 -0
- package/template/docs/process/strategic-handoff-package.md +1 -1
- package/template/docs/templates/implementation-routing-template.md +1 -1
- package/template/docs/user-guide//346/212/200/346/234/257/350/256/276/350/256/241/347/224/250/346/210/267/346/214/207/345/215/227.md +2 -2
- package/template/scripts/backend-platforms +77 -8
- package/template/scripts/lib/backend-platform.mjs +232 -5
- package/template/scripts/lib/existing-backend-architecture.mjs +3 -2
- package/template/scripts/lib/implementation-contract-compiler.mjs +93 -9
- package/template/scripts/lib/skill-registry.mjs +165 -12
- package/template/scripts/lib/slice-contract-preparation.mjs +6 -5
- package/template/scripts/verify-backend-platform-matrix +1 -1
- package/template/skills-lock.json +29 -29
- package/template.snapshot.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yss-validation
|
|
3
|
-
description: "接入或排查 YSS Bean Validation
|
|
3
|
+
description: "接入或排查 YSS Bean Validation、校验消息与校验错误映射;不存在的历史 EL 组件路由保持阻断。"
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# yss-validation
|
|
@@ -13,40 +13,35 @@ Use this skill for YSS 校验组件. Keep implementation grounded in the local p
|
|
|
13
13
|
|
|
14
14
|
- Backend source location is environment-specific; resolve it with `yss-skill-source-index-refresh/references/source-location.md`.
|
|
15
15
|
- Generated index: `references/source-index.md`
|
|
16
|
-
- Component path hints: `yss-microservice-components/yss-component-validation-
|
|
16
|
+
- Component path hints: `yss-microservice-components/yss-component-validation-jsr303`
|
|
17
17
|
|
|
18
18
|
Read `references/source-index.md` as a path-hint index whenever the task depends on exact modules, annotations, auto configuration, properties, controllers, clients, repositories, DTOs, handlers, or troubleshooting.
|
|
19
19
|
|
|
20
20
|
## Workflow
|
|
21
21
|
|
|
22
|
-
1. Identify whether the task is JSR-303 annotation validation
|
|
22
|
+
1. Identify whether the task is JSR-303 annotation validation or an expression/EL parser request.
|
|
23
23
|
2. Read `references/source-index.md`; for JSR-303 behavior, read `yss-component-validation-jsr303/readme.md` first.
|
|
24
|
-
3.
|
|
25
|
-
4.
|
|
26
|
-
5.
|
|
27
|
-
6. 消费工程基线选择 javax/jakarta,不自行升级 Java/Boot。MVC 输入校验放在 server/client,业务不变量由 service/core 验证;不生成 DDD Domain。HTTP 失败形态由 server 的合同测试验证。
|
|
24
|
+
3. 当前组件仓不存在历史 `yss-component-validation-engine-parent`;表达式、LiteFlow EL 或 `ExpressParserFactory` 请求返回 `blocked`,先确认真实组件来源和生命周期影响,不以旧索引或通用知识生成实现。
|
|
25
|
+
4. Keep validation failures mapped to the service/API error contract used by the local project.
|
|
26
|
+
5. 消费工程基线选择 javax/jakarta,不自行升级 Java/Boot。MVC 输入校验放在 server/client,业务不变量由 service/core 验证;不生成 DDD Domain。HTTP 失败形态由 server 的合同测试验证。
|
|
28
27
|
|
|
29
28
|
## Capability Split
|
|
30
29
|
|
|
31
30
|
- `validation-jsr303`: currently a dependency/message-resource aggregation module; it has no local Validator, Advice, or auto-configuration Java implementation.
|
|
32
|
-
- `validation-el-parser
|
|
33
|
-
- `ExpressParserFactory`: central parser registry backed by a concurrent map.
|
|
34
|
-
- Parser extension point: implement/provide `ExpressParser` with a non-null parser type and register it as a bean.
|
|
31
|
+
- 历史 `validation-el-parser` / `ExpressParserFactory`:当前源码根不存在,状态为 `blocked`,不得作为可用 capability。
|
|
35
32
|
|
|
36
33
|
## Troubleshooting Notes
|
|
37
34
|
|
|
38
|
-
- If
|
|
35
|
+
- If an EL/parser capability is requested, stop and resolve its actual repository/module instead of assuming the removed path.
|
|
39
36
|
- If validation annotations do not fire, check controller/service validation annotations and Spring validation starter wiring before editing parser code.
|
|
40
37
|
- The component README is empty; use the POM, message resources, Controller annotations, and `GlobalExceptionAdvice` as current evidence.
|
|
41
|
-
- Duplicate parser type keys are silently overwritten by `PARSER_MAP.put`; require collision and round-trip tests for extensions.
|
|
42
38
|
- If behavior differs between expression validation and DTO validation, route the problem to the correct submodule first.
|
|
43
39
|
|
|
44
40
|
## Checklist
|
|
45
41
|
|
|
46
42
|
- Required dependency or starter module is present.
|
|
47
|
-
- JSR-303 and expression
|
|
48
|
-
-
|
|
49
|
-
- Parser registration is verified through `ExpressParserFactory.PARSER_MAP`.
|
|
43
|
+
- JSR-303 and unavailable expression-validation requests are not mixed in the same fix.
|
|
44
|
+
- No class, parser or configuration is attributed to the absent historical module.
|
|
50
45
|
- Validation errors preserve readable messages for Chinese business users.
|
|
51
46
|
- Existing project conventions are reused before adding new wrappers.
|
|
52
47
|
|
|
@@ -56,6 +51,6 @@ Read `references/source-index.md` as a path-hint index whenever the task depends
|
|
|
56
51
|
- Do not replace component extension points with business-local framework code.
|
|
57
52
|
- Do not broaden the task into unrelated YSS components unless the user asks.
|
|
58
53
|
|
|
59
|
-
##
|
|
54
|
+
## 平台与源码门禁
|
|
60
55
|
|
|
61
|
-
|
|
56
|
+
接入、修改、代码生成或给出精确类名/配置前,读取 [后端组件平台与源码门禁](../yss-skill-source-index-refresh/references/backend-component-platform-compatibility.md),从批准的 `platform_configuration.component_platform_line` 选择 `source-index.boot2-java8.md` 或 `source-index.boot3-java17.md`,并以 `--skill yss-validation --platform-line <line> --source-root <matching-root>` 运行统一 freshness 校验。平台线与源码根不匹配、组件 tree 不一致、组件子树 dirty、索引缺少平台信号,或 Manifest / 组件 GAV 缺少 verified 兼容证据时返回 `blocked`;不得回退另一代索引,也不在业务实现中升级、降级或替换 YSS 组件。既有工程只读分诊可继续,但不得据此宣称跨 Boot/JDK 兼容。
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# yss-validation Source Index
|
|
2
|
+
|
|
3
|
+
Index schema: `backend-component-source-index-v2`
|
|
4
|
+
Platform line: `boot2-java8`
|
|
5
|
+
Generated: 2026-09-18T18:40:26.031Z
|
|
6
|
+
Source commit: `a3be2b2e33dca4545782e2b31894aaa00d0305cd`
|
|
7
|
+
Component worktree: `clean`
|
|
8
|
+
Component tree `yss-microservice-components/yss-component-validation-jsr303`: `fe5b36afb474afa41541fe1187a6828bdae080dc`
|
|
9
|
+
Indexed source root: resolved at refresh time; set `YSS_SOURCE_ROOT_BOOT2_JAVA8` to reproduce or refresh.
|
|
10
|
+
|
|
11
|
+
This file is generated by `yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs`. Do not hand-edit generated sections.
|
|
12
|
+
|
|
13
|
+
Paths are relocatable source hints. Exact guidance requires a matching component tree and a clean indexed component subtree; the repository commit is trace metadata and may differ when unrelated components change.
|
|
14
|
+
|
|
15
|
+
## Component Path Hints
|
|
16
|
+
|
|
17
|
+
- `yss-microservice-components/yss-component-validation-jsr303` (existed when indexed)
|
|
18
|
+
|
|
19
|
+
## Documentation Files
|
|
20
|
+
|
|
21
|
+
- `yss-microservice-components/yss-component-validation-jsr303/readme.md`
|
|
22
|
+
|
|
23
|
+
Component documentation is a discovery aid. For API signatures, conditions and defaults, prefer the indexed source facts below when documentation differs.
|
|
24
|
+
|
|
25
|
+
## Maven Modules
|
|
26
|
+
|
|
27
|
+
- `yss-microservice-components/yss-component-validation-jsr303/pom.xml` — GAV `com.yss.cloud:yss-component-validation-jsr303:2.0.0-SNAPSHOT`; parent `com.yss.cloud:yss-cloud-microservice:2.0.0-SNAPSHOT`
|
|
28
|
+
|
|
29
|
+
## Platform Signals
|
|
30
|
+
|
|
31
|
+
- Inherited Java signals: `1.8`.
|
|
32
|
+
- Inherited Spring Boot signals: `2.7.18`.
|
|
33
|
+
- Namespace source signals: `javax.*` in 0 main Java files; `jakarta.*` in 0 main Java files.
|
|
34
|
+
- Auto-configuration metadata: 0 `spring.factories`; 0 `AutoConfiguration.imports` files.
|
|
35
|
+
- These are source observations, not compatibility certification. Use the approved `platform_configuration` and verified compatibility evidence before integration or generation.
|
|
36
|
+
|
|
37
|
+
## Key Java Entry Points
|
|
38
|
+
|
|
39
|
+
- No key Java entry points matched the configured name patterns.
|
|
40
|
+
|
|
41
|
+
## Freshness and Use
|
|
42
|
+
|
|
43
|
+
- Locate the current source root using `YSS_SOURCE_ROOT_BOOT2_JAVA8`, CodeGraph, Maven artifact names or repository search.
|
|
44
|
+
- Compare each indexed `Component tree` with `git rev-parse HEAD:<component-path>` and require the current component subtree to be clean before exact guidance.
|
|
45
|
+
- Run `node ../yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs --skill <skill-id> --platform-line boot2-java8 --source-root <root>` from the canonical skill root before exact integration guidance.
|
|
46
|
+
- A repository commit difference alone is not stale when the component tree is unchanged; a component tree mismatch or component-local dirty state is stale.
|
|
47
|
+
- Read only the source entries needed for the current decision or troubleshooting path.
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# yss-validation Source Index
|
|
2
|
+
|
|
3
|
+
Index schema: `backend-component-source-index-v2`
|
|
4
|
+
Platform line: `boot3-java17`
|
|
5
|
+
Generated: 2026-09-18T18:40:26.031Z
|
|
6
|
+
Source commit: `5041c41fbe96c25821bbc15f688c0521b8c97a3d`
|
|
7
|
+
Component worktree: `clean`
|
|
8
|
+
Component tree `yss-microservice-components/yss-component-validation-jsr303`: `aee5fea02f5de4d1e459679424f158d7537c5499`
|
|
9
|
+
Indexed source root: resolved at refresh time; set `YSS_SOURCE_ROOT_BOOT3_JAVA17` to reproduce or refresh.
|
|
10
|
+
|
|
11
|
+
This file is generated by `yss-skill-source-index-refresh/scripts/refresh-yss-skill-index.mjs`. Do not hand-edit generated sections.
|
|
12
|
+
|
|
13
|
+
Paths are relocatable source hints. Exact guidance requires a matching component tree and a clean indexed component subtree; the repository commit is trace metadata and may differ when unrelated components change.
|
|
14
|
+
|
|
15
|
+
## Component Path Hints
|
|
16
|
+
|
|
17
|
+
- `yss-microservice-components/yss-component-validation-jsr303` (existed when indexed)
|
|
18
|
+
|
|
19
|
+
## Documentation Files
|
|
20
|
+
|
|
21
|
+
- `yss-microservice-components/yss-component-validation-jsr303/readme.md`
|
|
22
|
+
|
|
23
|
+
Component documentation is a discovery aid. For API signatures, conditions and defaults, prefer the indexed source facts below when documentation differs.
|
|
24
|
+
|
|
25
|
+
## Maven Modules
|
|
26
|
+
|
|
27
|
+
- `yss-microservice-components/yss-component-validation-jsr303/pom.xml` — GAV `com.yss.cloud:yss-component-validation-jsr303:3.0.0-SNAPSHOT`; parent `com.yss.cloud:yss-cloud-microservice:3.0.0-SNAPSHOT`
|
|
28
|
+
|
|
29
|
+
## Platform Signals
|
|
30
|
+
|
|
31
|
+
- Inherited Java signals: `17`.
|
|
32
|
+
- Inherited Spring Boot signals: `3.5.16`.
|
|
33
|
+
- Namespace source signals: `javax.*` in 0 main Java files; `jakarta.*` in 0 main Java files.
|
|
34
|
+
- Auto-configuration metadata: 0 `spring.factories`; 0 `AutoConfiguration.imports` files.
|
|
35
|
+
- These are source observations, not compatibility certification. Use the approved `platform_configuration` and verified compatibility evidence before integration or generation.
|
|
36
|
+
|
|
37
|
+
## Key Java Entry Points
|
|
38
|
+
|
|
39
|
+
- No key Java entry points matched the configured name patterns.
|
|
40
|
+
|
|
41
|
+
## Freshness and Use
|
|
42
|
+
|
|
43
|
+
- Locate the current source root using `YSS_SOURCE_ROOT_BOOT3_JAVA17`, CodeGraph, Maven artifact names or repository search.
|
|
44
|
+
- Compare each indexed `Component tree` with `git rev-parse HEAD:<component-path>` and require the current component subtree to be clean before exact guidance.
|
|
45
|
+
- Run `node ../yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs --skill <skill-id> --platform-line boot3-java17 --source-root <root>` from the canonical skill root before exact integration guidance.
|
|
46
|
+
- A repository commit difference alone is not stale when the component tree is unchanged; a component tree mismatch or component-local dirty state is stale.
|
|
47
|
+
- Read only the source entries needed for the current decision or troubleshooting path.
|
|
@@ -1,33 +1,10 @@
|
|
|
1
|
-
# yss-validation Source Index
|
|
1
|
+
# yss-validation Source Index Router
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Source commit: `38b556a5081e6c66c0c538cbc1ef839b19996ed3`
|
|
5
|
-
Source worktree: `dirty`
|
|
6
|
-
Indexed source root: resolved at refresh time; set `YSS_SOURCE_ROOT` to reproduce or refresh.
|
|
3
|
+
Index schema: `backend-component-source-index-router-v1`
|
|
7
4
|
|
|
8
|
-
|
|
5
|
+
Select the source index from the approved `platform_configuration.component_platform_line`; do not infer a line from imports, a branch name or a requested upgrade.
|
|
9
6
|
|
|
10
|
-
|
|
7
|
+
- `boot2-java8` — [Spring Boot 2.7 / Java 8 maintenance line](source-index.boot2-java8.md)
|
|
8
|
+
- `boot3-java17` — [Spring Boot 3.5 / Java 17 mainline](source-index.boot3-java17.md)
|
|
11
9
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- `yss-microservice-components/yss-component-validation-engine-parent` (missing when indexed)
|
|
15
|
-
- `yss-microservice-components/yss-component-validation-jsr303` (existed when indexed)
|
|
16
|
-
|
|
17
|
-
## Documentation Files
|
|
18
|
-
|
|
19
|
-
- `yss-microservice-components/yss-component-validation-jsr303/readme.md`
|
|
20
|
-
|
|
21
|
-
## Maven Modules
|
|
22
|
-
|
|
23
|
-
- `yss-microservice-components/yss-component-validation-jsr303`
|
|
24
|
-
|
|
25
|
-
## Key Java Entry Points
|
|
26
|
-
|
|
27
|
-
- No key Java entry points matched the configured name patterns.
|
|
28
|
-
|
|
29
|
-
## Recommended Next Reads
|
|
30
|
-
|
|
31
|
-
- Start with the documentation files above when learning component usage.
|
|
32
|
-
- Search the key Java entry points for annotations, auto configuration, properties, aspects, interceptors, handlers, and result objects before changing application code.
|
|
33
|
-
- Prefer existing component extension points over rewriting framework logic in business modules.
|
|
10
|
+
Run the freshness checker with the same explicit `--platform-line` and its matching clean source root before exact integration guidance.
|
|
@@ -47,7 +47,7 @@ node scripts/generate_controller.mjs \
|
|
|
47
47
|
--domain-segment example \
|
|
48
48
|
--web-project-dir /path/demo-adapter/demo-web \
|
|
49
49
|
--application-service-package com.yss.demo.application.service \
|
|
50
|
-
--validation-namespace
|
|
50
|
+
--validation-namespace <resolved-platform-namespace>
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
## 输出预期
|
|
@@ -68,10 +68,10 @@ node scripts/generate_controller.mjs \
|
|
|
68
68
|
- HTTP Request 不继承会暴露内部协作字段的 `PageQuery`;只生成冻结 OpenAPI allowlist 字段,禁止把 `offset`、`needTotalCount`、`tempTotalCount` 变成客户端输入。
|
|
69
69
|
- `fields.<table>.pagination` 必须显式列出 `yss-dto` wire profile 允许暴露的字段子集;模板不得无条件生成字段或自行定义默认值。
|
|
70
70
|
- 先跑脚本,再按项目规范做少量手调。
|
|
71
|
-
-
|
|
71
|
+
- Validation namespace 参数必须来自批准的精确平台配置和当前工程基线,不得按记忆或 Boot 大版本自行选择。
|
|
72
72
|
- 若用户只是要改单个 Controller,先看现有代码,不要盲覆盖整个目录。
|
|
73
73
|
- 脚本是 initialize-only;写入前先规划全部目标并校验 `allowed_write_paths`,任一目标已存在或传入 `--force` 时整体返回 `unsupported`。落盘使用排他创建和失败回滚,不得留下部分文件;旧项目迁移不属于该生成器。
|
|
74
|
-
- `integration_mode=existing-project`
|
|
74
|
+
- `integration_mode=existing-project` 只复用工程登记、effective POM 与依赖树共同证明的精确平台,不从 Boot 大版本推断能力;`integration_mode=scaffold-v2` 必须提供 `--scaffold-manifest-file`,且 Manifest 已达到 `empty-scaffold-verified`,Profile、基础包、标准 Web module 路径和平台绑定全部一致。
|
|
75
75
|
|
|
76
76
|
## 按需读取
|
|
77
77
|
|
|
@@ -92,4 +92,4 @@ node scripts/generate_controller.mjs \
|
|
|
92
92
|
|
|
93
93
|
## 新脚手架平台约束
|
|
94
94
|
|
|
95
|
-
消费批准切片架构身份中的 `platform_configuration
|
|
95
|
+
消费批准切片架构身份中的 `platform_configuration`,并与工程 Manifest、effective POM 和依赖树核对。DTO、Validation、Exception 或其他 YSS 组件命中时,逐项消费合同中的 `component_bindings`;缺少 verified 架构证据、构件摘要或绑定发生漂移时回合同编译器阻断。Validation namespace、Jackson wire 行为、Web starter 和自动配置机制只来自解析后的精确平台事实;命令参数必须使用该解析值,不在本 Skill 中按 Boot 大版本硬编码。不得在业务实现中升级、降级或替换组件;平台迁移使用独立迁移工作单元。详见仓库共享合同 `docs/engineering/backend-platforms.md`。
|
|
@@ -13,7 +13,7 @@ const dtoWireProfileDigest = createHash("sha256").update(await readFile(dtoWireP
|
|
|
13
13
|
|
|
14
14
|
for (const [profile, module, placement, modules, generator] of [
|
|
15
15
|
["layered-mvc-service", "service", "server", ["server", "service", "repository"], "yss-layered-mvc-scaffold-generator"],
|
|
16
|
-
["mvc-data-analysis-v1", "core", "client", ["server", "core", "client", "repository", "adapter", "feign-client"], "yss-mvc-
|
|
16
|
+
["mvc-data-analysis-v1", "core", "client", ["server", "core", "client", "repository", "adapter", "feign-client"], "yss-layered-mvc-scaffold-generator"]
|
|
17
17
|
]) test(`${profile} binds MVC service types, DTO ownership and drift checks`, async (t) => {
|
|
18
18
|
const data = await fixture({ platform_profile: "spring-boot-2.7-jdk8", validation_namespace: "javax" });
|
|
19
19
|
t.after(() => rm(data.root, { recursive: true, force: true }));
|
|
@@ -21,7 +21,7 @@ Profile、模块闭包、生成器、成熟度和 Recipe 的权威映射见 `yss
|
|
|
21
21
|
|
|
22
22
|
- 新脚手架统一 `verification_database=h2`、`production_database=not-bound`。仅测试和显式 `scaffold-local` 使用 H2;普通配置不设置数据库或默认激活 Profile。不另加生产驱动、第三方数据源或 Mock 服务。
|
|
23
23
|
- 生产数据库、DDL、索引和方言在后续批准的存储工作单元接入;H2 测试不能证明生产方言兼容。脚手架不包含业务 SQL、schema/data 占位或业务 API。
|
|
24
|
-
- DDD / 通用 MVC 消费批准的 `platform_configuration`
|
|
24
|
+
- DDD / 通用 MVC 消费批准的 `platform_configuration` v2,平台清单与证据规则见 `docs/engineering/backend-platforms.md`。凡注册表标记 `component_binding: required` 的能力,编译器必须从该配置指向的同一 compatibility 条目解析 `component_capabilities`;未登记、非 `verified`、架构证据缺失或构件摘要漂移均阻断。数据分析初始化器保留 `spring-boot-2.7-jdk8` / `javax`,不自动开放新平台。组件 Skill 不擅自升级 Java、Boot、处理器或替换 YSS 依赖。MapStruct + Lombok 必须验证 binding 与生成代码编译。
|
|
25
25
|
- 对 SQL 注入、敏感信息、权限和事务的规则不因 H2 或模板而豁免。MySQL 专属语法规则仅适用于批准的 MySQL 存储工作单元;框架命名/返回包装等差异须记录明确的 YSS 基线例外。
|
|
26
26
|
|
|
27
27
|
## 验证含义
|
|
@@ -124,7 +124,7 @@ roles:
|
|
|
124
124
|
title: YSS 后端工程师
|
|
125
125
|
stages: [ stage.system-data-engineering, stage.ticket-formalization, stage.vertical-slice-implementation, stage.verification-release-retrospective ]
|
|
126
126
|
draft_artifact_ids: [ artifact.openapi-draft, artifact.data-architecture, artifact.technical-design ]
|
|
127
|
-
core_skills: [ yss-implementation-contract-compiler, yss-technical-design, yss-tactical-design, yss-
|
|
127
|
+
core_skills: [ yss-implementation-contract-compiler, yss-technical-design, yss-tactical-design, yss-domain, yss-application, yss-repository, yss-mybatis, yss-web-controller, yss-dto, mapstruct, lombok, alibaba-java-code-style, yss-exception, yss-validation, tdd, yss-ddd-scaffold-generator, yss-layered-mvc-scaffold-generator ]
|
|
128
128
|
forbidden_skills: [ yss-ui, yss-ui-business-page-generation, yss-formily, yss-frontend-scaffold-generator, page-list-module, page-form-module ]
|
|
129
129
|
description: >-
|
|
130
130
|
Own OpenAPI Draft, data-architecture contributions, and backend tests. Write only contract-allowed backend paths. Verify with ./mvnw. Do not Freeze OpenAPI, treat UI copy as requirements, or countersign your own implementation.
|
|
@@ -2,6 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
本文记录已退役技能入口的迁移路径。退役技能不保留物理目录、投影或 lock 条目;本文件是历史名称的唯一持久兼容说明。
|
|
4
4
|
|
|
5
|
+
## 后端组件源码索引双轨迁移(2026-09-19)
|
|
6
|
+
|
|
7
|
+
后端组件 Skill 的单一 `references/source-index.md` 已迁移为平台线选择页。生成证据分别保存在 `source-index.boot2-java8.md` 与 `source-index.boot3-java17.md`,来源根分别由 `YSS_SOURCE_ROOT_BOOT2_JAVA8` 与 `YSS_SOURCE_ROOT_BOOT3_JAVA17` 显式提供。
|
|
8
|
+
|
|
9
|
+
- 精确接入、代码生成和配置指导必须从批准的 `platform_configuration.component_platform_line` 选择索引,并以相同 `--platform-line` 和匹配源码根运行 freshness 检查。
|
|
10
|
+
- 平台线缺失、源码根错配、组件 tree 漂移或组件子树 dirty 均返回 `blocked`;禁止退回另一代索引,也不能用源码可编译替代构件兼容认证。
|
|
11
|
+
- 历史提交中的单轨索引只作只读证据;当前刷新不得覆盖另一平台线或把两个变量指向同一代源码。
|
|
12
|
+
|
|
13
|
+
## 后端设计与脚手架入口两阶段退役(2026-09-18)
|
|
14
|
+
|
|
15
|
+
以下入口已停止承接新合同,但在迁移期保留可诊断壳;它们不是 alias,不能静默继承原批准:
|
|
16
|
+
|
|
17
|
+
- `yss-mvc-design`:新工作使用 `yss-technical-design`。MVC schema、规则和 API impact 的 OpenAPI review 条件依赖由技术设计入口持有。
|
|
18
|
+
- `yss-mvc-data-analysis-project-initializer`:新工作使用 `yss-layered-mvc-scaffold-generator` 的 `mvc-data-analysis-v1` Profile,继续保留六模块、H2、CONTEXT handoff、skillUtils 和独立 Git 行为。
|
|
19
|
+
- `yss-backend-scaffold-parent`:新工作使用 `yss-ddd-scaffold-generator`;原嵌套 Skill 仅作为迁移期参考,基线约束迁入生成器内部 reference 和验证器。
|
|
20
|
+
|
|
21
|
+
迁移期统一规则:
|
|
22
|
+
|
|
23
|
+
- `maturity: deprecated`、`new_use: forbidden`、`cleanup_status: migration-only`;计划移除日期为 `2026-12-17`,但日期到达不等于授权删除。
|
|
24
|
+
- 旧 Slice、Technical Design 或 Scaffold Contract 因 Registry、Profile 或 generator 摘要变化变为 `stale`,必须重新编译和批准。
|
|
25
|
+
- 新请求命中迁移壳返回 `skill-deprecated`;硬退役后命中旧 ID 返回 `skill-retired`。
|
|
26
|
+
- 引用、投影和 lock 未归零时不得将 `cleanup_status` 改为 `remove-ready`;硬退役后不保留 alias、物理目录、投影或 lock 条目。
|
|
27
|
+
|
|
5
28
|
## DDD 分层包装与前端组件总入口收敛(2026-09-15)
|
|
6
29
|
|
|
7
30
|
以下入口已硬退役,不保留 alias、物理目录、投影或 lock 条目:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
schema_version:
|
|
1
|
+
schema_version: 3
|
|
2
2
|
registry_id: yss.skill-routing
|
|
3
3
|
status: active
|
|
4
4
|
description: >-
|
|
@@ -6,6 +6,47 @@ description: >-
|
|
|
6
6
|
单一可执行注册表。实现合同编译器与生命周期编排器只消费通过本表校验的
|
|
7
7
|
canonical 技能;skills-lock.json 继续独立持有来源、hash 与投影完整性。
|
|
8
8
|
canonical_content_root: .agents/skills
|
|
9
|
+
backend_skill_domains:
|
|
10
|
+
schema_version: 1
|
|
11
|
+
scope: active-yss-backend-capability-owners
|
|
12
|
+
domain_ids: [technical-design, layered-implementation, wire-framework-contract, component-capability, engineering-initialization, platform-governance-migration]
|
|
13
|
+
assignments:
|
|
14
|
+
yss-technical-design: technical-design
|
|
15
|
+
yss-tactical-design: technical-design
|
|
16
|
+
yss-domain: layered-implementation
|
|
17
|
+
yss-application: layered-implementation
|
|
18
|
+
yss-repository: layered-implementation
|
|
19
|
+
yss-web-controller: layered-implementation
|
|
20
|
+
yss-mybatis: wire-framework-contract
|
|
21
|
+
yss-dto: wire-framework-contract
|
|
22
|
+
yss-validation: wire-framework-contract
|
|
23
|
+
yss-exception: wire-framework-contract
|
|
24
|
+
yss-cache: component-capability
|
|
25
|
+
yss-userinfo: component-capability
|
|
26
|
+
yss-audit-log: component-capability
|
|
27
|
+
yss-excel-mvc: component-capability
|
|
28
|
+
yss-distributed-id: component-capability
|
|
29
|
+
yss-resilience4j: component-capability
|
|
30
|
+
yss-security-algorithm: component-capability
|
|
31
|
+
yss-ddd-scaffold-generator: engineering-initialization
|
|
32
|
+
yss-layered-mvc-scaffold-generator: engineering-initialization
|
|
33
|
+
yss-implementation-contract-compiler: platform-governance-migration
|
|
34
|
+
yss-skill-source-index-refresh: platform-governance-migration
|
|
35
|
+
yss-up-springboot3: platform-governance-migration
|
|
36
|
+
deprecated_skills: [yss-mvc-design, yss-mvc-data-analysis-project-initializer, yss-backend-scaffold-parent]
|
|
37
|
+
backend_source_index_contract:
|
|
38
|
+
schema_version: 1
|
|
39
|
+
owner_skill: yss-skill-source-index-refresh
|
|
40
|
+
scope: yss-component-capability-skills
|
|
41
|
+
component_skills: [yss-audit-log, yss-cache, yss-distributed-id, yss-dto, yss-excel-mvc, yss-exception, yss-mybatis, yss-resilience4j, yss-security-algorithm, yss-userinfo, yss-validation]
|
|
42
|
+
selector_path: references/source-index.md
|
|
43
|
+
generated_path_pattern: references/source-index.<platform-line>.md
|
|
44
|
+
platform_lines:
|
|
45
|
+
- { id: boot2-java8, source_env: YSS_SOURCE_ROOT_BOOT2_JAVA8, generated_suffix: source-index.boot2-java8.md }
|
|
46
|
+
- { id: boot3-java17, source_env: YSS_SOURCE_ROOT_BOOT3_JAVA17, generated_suffix: source-index.boot3-java17.md }
|
|
47
|
+
platform_line_source: approved-platform-configuration
|
|
48
|
+
freshness_checker: yss-skill-source-index-refresh/scripts/check-backend-skill-source-index.mjs
|
|
49
|
+
cross_line_fallback: forbidden
|
|
9
50
|
existing_project_profiles:
|
|
10
51
|
existing-domain-driven-maven:
|
|
11
52
|
source_kind: existing-registration
|
|
@@ -45,7 +86,7 @@ architecture_profiles:
|
|
|
45
86
|
dto_modules: [server, client]
|
|
46
87
|
mvc-data-analysis-v1:
|
|
47
88
|
architecture_family: layered-mvc
|
|
48
|
-
generator_skill: yss-mvc-
|
|
89
|
+
generator_skill: yss-layered-mvc-scaffold-generator
|
|
49
90
|
maturity: draft
|
|
50
91
|
core_modules: [server, core, client, repository, adapter, feign-client]
|
|
51
92
|
capability_modules: {}
|
|
@@ -58,7 +99,7 @@ runtime_policy:
|
|
|
58
99
|
consumed_by_lifecycle: true
|
|
59
100
|
discovery_enforced: true
|
|
60
101
|
capability_contract:
|
|
61
|
-
schema_version:
|
|
102
|
+
schema_version: 3
|
|
62
103
|
id_pattern: "^[a-z][a-z0-9-]*(?:\\.[a-z][a-z0-9-]*)+$"
|
|
63
104
|
dependency_types: [context-required, context-conditional, coordination-only, review-only, component-dependency]
|
|
64
105
|
task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input, contract-compilation, reroute, result-validation, source-index-refresh]
|
|
@@ -69,39 +110,54 @@ capability_contract:
|
|
|
69
110
|
deduplicate_skills: true
|
|
70
111
|
preserve_all_reasons: true
|
|
71
112
|
deterministic_order: [recipe-declaration, dependency-topology, skill-id]
|
|
113
|
+
platform_component_binding:
|
|
114
|
+
marker: provider
|
|
115
|
+
required_kind: yss-component
|
|
116
|
+
catalog_source: docs/engineering/backend-platforms.json
|
|
117
|
+
provider_kinds: [yss-component, platform-managed, none]
|
|
118
|
+
retirement_contract:
|
|
119
|
+
schema_version: 1
|
|
120
|
+
stages: [deprecated, retired]
|
|
121
|
+
deprecated_new_use: forbidden
|
|
122
|
+
cleanup_statuses: [migration-only, remove-ready]
|
|
123
|
+
hard_retirement_tombstone: docs/agents/skill-migrations.md
|
|
124
|
+
retired_id_source: scripts/lib/skill-supply-chain.mjs#OBSOLETE
|
|
125
|
+
failure_codes:
|
|
126
|
+
deprecated: skill-deprecated
|
|
127
|
+
retired: skill-retired
|
|
72
128
|
capabilities:
|
|
73
|
-
- { id: writing.lifecycle-document, primary_skill: i-have-adhd, task_modes: [guidance] }
|
|
74
|
-
- { id: architecture.technical-design, primary_skill: yss-technical-design, task_modes: [guidance, integration, review-input] }
|
|
75
|
-
- { id: architecture.mvc-design, primary_skill: yss-
|
|
76
|
-
- { id: layer.mvc-service, primary_skill: yss-application, architecture_family: layered-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
77
|
-
- { id: layer.mvc-persistence, primary_skill: yss-repository, architecture_family: layered-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
78
|
-
- { id: layer.mvc-web, primary_skill: yss-web-controller, architecture_family: layered-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
79
|
-
- { id: governance.implementation-contract, primary_skill: yss-implementation-contract-compiler, task_modes: [contract-compilation, reroute, result-validation] }
|
|
80
|
-
- { id: maintenance.skill-source-index, primary_skill: yss-skill-source-index-refresh, task_modes: [component-maintenance, source-index-refresh] }
|
|
81
|
-
- { id: architecture.tactical-domain, primary_skill: yss-tactical-design, architecture_family: domain-driven, task_modes: [guidance, integration, slice-implementation, review-input] }
|
|
82
|
-
- { id: layer.domain, primary_skill: yss-domain, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
83
|
-
- { id: layer.application, primary_skill: yss-application, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
84
|
-
- { id: layer.persistence, primary_skill: yss-repository, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
85
|
-
- { id: layer.web-adapter, primary_skill: yss-web-controller, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
86
|
-
- { id: contract.dto-wire, primary_skill: yss-dto, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
87
|
-
- { id: contract.request-validation, primary_skill: yss-validation, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
88
|
-
- { id: contract.error-mapping, primary_skill: yss-exception, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
89
|
-
- { id: framework.mybatis, primary_skill: yss-mybatis, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
90
|
-
- { id: quality.java-code-style, primary_skill: alibaba-java-code-style, task_modes: [guidance, slice-implementation, review-input] }
|
|
91
|
-
- { id: codegen.mapstruct, primary_skill: mapstruct, task_modes: [integration, slice-implementation, troubleshooting, review-input] }
|
|
92
|
-
- { id: codegen.lombok, primary_skill: lombok, task_modes: [integration, slice-implementation, troubleshooting, review-input] }
|
|
93
|
-
- { id: component.cache, primary_skill: yss-cache, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
94
|
-
- { id: component.current-user-context, primary_skill: yss-userinfo, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
95
|
-
- { id: component.audit-log, primary_skill: yss-audit-log, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
96
|
-
- { id: component.excel-import-export, primary_skill: yss-excel-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
97
|
-
- { id: component.distributed-id, primary_skill: yss-distributed-id, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
98
|
-
- { id: component.security-algorithm, primary_skill: yss-security-algorithm, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
99
|
-
- { id: component.gateway-resilience, primary_skill: yss-resilience4j, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
100
|
-
- { id: scaffold.ddd, primary_skill: yss-ddd-scaffold-generator, task_modes: [integration, component-maintenance] }
|
|
101
|
-
- { id: scaffold.layered-mvc, primary_skill: yss-layered-mvc-scaffold-generator, task_modes: [integration, component-maintenance] }
|
|
102
|
-
- { id: scaffold.frontend-vue3, primary_skill: yss-frontend-scaffold-generator, task_modes: [integration, component-maintenance] }
|
|
103
|
-
- { id: project-init.mvc-data-analysis, primary_skill: yss-mvc-
|
|
104
|
-
- { id: migration.springboot3, primary_skill: yss-up-springboot3, task_modes: [guidance, integration, troubleshooting, component-maintenance, review-input] }
|
|
129
|
+
- { id: writing.lifecycle-document, primary_skill: i-have-adhd, provider: { kind: none }, task_modes: [guidance] }
|
|
130
|
+
- { id: architecture.technical-design, primary_skill: yss-technical-design, provider: { kind: none }, task_modes: [guidance, integration, review-input] }
|
|
131
|
+
- { id: architecture.mvc-design, primary_skill: yss-technical-design, provider: { kind: none }, architecture_family: layered-mvc, task_modes: [guidance, integration, review-input] }
|
|
132
|
+
- { id: layer.mvc-service, primary_skill: yss-application, provider: { kind: none }, architecture_family: layered-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
133
|
+
- { id: layer.mvc-persistence, primary_skill: yss-repository, provider: { kind: none }, architecture_family: layered-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
134
|
+
- { id: layer.mvc-web, primary_skill: yss-web-controller, provider: { kind: none }, architecture_family: layered-mvc, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
135
|
+
- { id: governance.implementation-contract, primary_skill: yss-implementation-contract-compiler, provider: { kind: none }, task_modes: [contract-compilation, reroute, result-validation] }
|
|
136
|
+
- { id: maintenance.skill-source-index, primary_skill: yss-skill-source-index-refresh, provider: { kind: none }, task_modes: [component-maintenance, source-index-refresh] }
|
|
137
|
+
- { id: architecture.tactical-domain, primary_skill: yss-tactical-design, provider: { kind: none }, architecture_family: domain-driven, task_modes: [guidance, integration, slice-implementation, review-input] }
|
|
138
|
+
- { id: layer.domain, primary_skill: yss-domain, provider: { kind: none }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
139
|
+
- { id: layer.application, primary_skill: yss-application, provider: { kind: none }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
140
|
+
- { id: layer.persistence, primary_skill: yss-repository, provider: { kind: none }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
141
|
+
- { id: layer.web-adapter, primary_skill: yss-web-controller, provider: { kind: none }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
142
|
+
- { id: contract.dto-wire, primary_skill: yss-dto, provider: { kind: yss-component, binding_id: contract.dto-wire }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
143
|
+
- { id: contract.request-validation, primary_skill: yss-validation, provider: { kind: platform-managed, binding_id: spring-validation }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
144
|
+
- { id: contract.error-mapping, primary_skill: yss-exception, provider: { kind: yss-component, binding_id: contract.error-mapping }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
145
|
+
- { id: framework.mybatis, primary_skill: yss-mybatis, provider: { kind: yss-component, binding_id: framework.mybatis }, task_modes: [guidance, integration, slice-implementation, troubleshooting, review-input] }
|
|
146
|
+
- { id: quality.java-code-style, primary_skill: alibaba-java-code-style, provider: { kind: none }, task_modes: [guidance, slice-implementation, review-input] }
|
|
147
|
+
- { id: codegen.mapstruct, primary_skill: mapstruct, provider: { kind: none }, task_modes: [integration, slice-implementation, troubleshooting, review-input] }
|
|
148
|
+
- { id: codegen.lombok, primary_skill: lombok, provider: { kind: none }, task_modes: [integration, slice-implementation, troubleshooting, review-input] }
|
|
149
|
+
- { id: component.cache, primary_skill: yss-cache, provider: { kind: yss-component, binding_id: component.cache }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
150
|
+
- { id: component.current-user-context, primary_skill: yss-userinfo, provider: { kind: yss-component, binding_id: component.current-user-context }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
151
|
+
- { id: component.audit-log, primary_skill: yss-audit-log, provider: { kind: yss-component, binding_id: component.audit-log }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
152
|
+
- { id: component.excel-import-export, primary_skill: yss-excel-mvc, provider: { kind: yss-component, binding_id: component.excel-import-export }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
153
|
+
- { id: component.distributed-id, primary_skill: yss-distributed-id, provider: { kind: yss-component, binding_id: component.distributed-id }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
154
|
+
- { id: component.security-algorithm, primary_skill: yss-security-algorithm, provider: { kind: yss-component, binding_id: component.security-algorithm, new_adoption: forbidden, failure_code: component-new-adoption-forbidden }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
155
|
+
- { id: component.gateway-resilience, primary_skill: yss-resilience4j, provider: { kind: yss-component, binding_id: component.gateway-resilience }, task_modes: [guidance, integration, slice-implementation, troubleshooting, component-maintenance, review-input] }
|
|
156
|
+
- { id: scaffold.ddd, primary_skill: yss-ddd-scaffold-generator, provider: { kind: none }, task_modes: [integration, component-maintenance] }
|
|
157
|
+
- { id: scaffold.layered-mvc, primary_skill: yss-layered-mvc-scaffold-generator, provider: { kind: none }, task_modes: [integration, component-maintenance] }
|
|
158
|
+
- { id: scaffold.frontend-vue3, primary_skill: yss-frontend-scaffold-generator, provider: { kind: none }, task_modes: [integration, component-maintenance] }
|
|
159
|
+
- { id: project-init.mvc-data-analysis, primary_skill: yss-layered-mvc-scaffold-generator, provider: { kind: none }, task_modes: [component-maintenance] }
|
|
160
|
+
- { id: migration.springboot3, primary_skill: yss-up-springboot3, provider: { kind: none }, task_modes: [guidance, integration, troubleshooting, component-maintenance, review-input] }
|
|
105
161
|
recipes:
|
|
106
162
|
- { id: backend.ddd-domain-behavior, architecture_family: domain-driven, capabilities: [layer.domain, layer.application, quality.java-code-style] }
|
|
107
163
|
- { id: backend.ddd-persistence-mybatis, architecture_family: domain-driven, capabilities: [layer.persistence, framework.mybatis, codegen.mapstruct, codegen.lombok, quality.java-code-style] }
|
|
@@ -145,7 +201,6 @@ skill_dependencies:
|
|
|
145
201
|
- { skill: prototype-review, type: review-only }
|
|
146
202
|
- { skill: yss-design-system, type: coordination-only }
|
|
147
203
|
yss-ddd-scaffold-generator:
|
|
148
|
-
- { skill: yss-backend-scaffold-parent, type: context-required }
|
|
149
204
|
- { skill: alibaba-java-code-style, type: context-required }
|
|
150
205
|
yss-layered-mvc-scaffold-generator:
|
|
151
206
|
- { skill: alibaba-java-code-style, type: context-required }
|
|
@@ -157,8 +212,6 @@ skill_dependencies:
|
|
|
157
212
|
yss-technical-design:
|
|
158
213
|
- { skill: i-have-adhd, type: context-conditional, when: lifecycle-document-output }
|
|
159
214
|
- { skill: yss-tactical-design, type: coordination-only, when: domain-driven }
|
|
160
|
-
- { skill: yss-mvc-design, type: coordination-only, when: layered-mvc }
|
|
161
|
-
yss-mvc-design:
|
|
162
215
|
- { skill: yss-openapi-draft-review, type: review-only, when: api-impact }
|
|
163
216
|
yss-tactical-design:
|
|
164
217
|
- { skill: domain-modeling, type: coordination-only }
|
|
@@ -506,7 +559,12 @@ skills:
|
|
|
506
559
|
impacts: [backend, lifecycle]
|
|
507
560
|
- id: yss-mvc-design
|
|
508
561
|
layer: specialist
|
|
509
|
-
maturity:
|
|
562
|
+
maturity: deprecated
|
|
563
|
+
replacement_skill: yss-technical-design
|
|
564
|
+
deprecation:
|
|
565
|
+
new_use: forbidden
|
|
566
|
+
cleanup_status: migration-only
|
|
567
|
+
remove_after: 2026-12-17
|
|
510
568
|
instance_default_discoverable: false
|
|
511
569
|
aliases: []
|
|
512
570
|
impacts: [backend, lifecycle]
|
|
@@ -560,7 +618,12 @@ skills:
|
|
|
560
618
|
impacts: [frontend]
|
|
561
619
|
- id: yss-mvc-data-analysis-project-initializer
|
|
562
620
|
layer: specialist
|
|
563
|
-
maturity:
|
|
621
|
+
maturity: deprecated
|
|
622
|
+
replacement_skill: yss-layered-mvc-scaffold-generator
|
|
623
|
+
deprecation:
|
|
624
|
+
new_use: forbidden
|
|
625
|
+
cleanup_status: migration-only
|
|
626
|
+
remove_after: 2026-12-17
|
|
564
627
|
instance_default_discoverable: false
|
|
565
628
|
aliases: []
|
|
566
629
|
impacts: [backend]
|
|
@@ -788,3 +851,9 @@ platform_skills:
|
|
|
788
851
|
external_skills:
|
|
789
852
|
- id: yss-backend-scaffold-parent
|
|
790
853
|
source: .agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md
|
|
854
|
+
maturity: deprecated
|
|
855
|
+
replacement_skill: yss-ddd-scaffold-generator
|
|
856
|
+
deprecation:
|
|
857
|
+
new_use: forbidden
|
|
858
|
+
cleanup_status: migration-only
|
|
859
|
+
remove_after: 2026-12-17
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
| 原型交付物 | `docs/.scratch/<feature>/design/prototypes/index.html` 或稳定 URL | 有产品设计影响时必需;必须引用 Prototype Evidence schema v4、Visual Baseline schema v1 档位决策与交付物验证 |
|
|
21
21
|
| 条件 AntD 事实 | `prototype-evidence.yaml` 的档位证据 | H1 不适用;H2 使用 AntD 时引用新鲜 fact pack 或增量 CLI;不得作为生产 YSS/AntDV 组件事实 |
|
|
22
22
|
| 用户确认记录 | `docs/.scratch/<feature>/design/<feature>-prototype-confirmation.md` | 有 UI 时必需;未确认前不得进入 OpenAPI Draft 评审 |
|
|
23
|
-
| YSS 工程基线 | `.
|
|
23
|
+
| YSS 工程基线 | `.agents/skills/yss-ddd-scaffold-generator/references/engineering-baseline.md` | |
|
|
24
24
|
| YSS DTO wire profile | `.agents/skills/yss-dto/references/openapi-wire-profile.yaml`;`scripts/verify-yss-dto-openapi-profile` | |
|
|
25
25
|
|
|
26
26
|
## P0 追踪矩阵
|
|
@@ -77,7 +77,7 @@ owner: ai
|
|
|
77
77
|
| 场景 | 推荐 skill | 是否需要 | 备注 |
|
|
78
78
|
|------|-------------|----------|------|
|
|
79
79
|
| 新服务骨架 | `yss-ddd-scaffold-generator` / `yss-layered-mvc-scaffold-generator` | 是 / 否 | 按批准的 architecture_family 选择 |
|
|
80
|
-
| 后端基线检查 | `yss-
|
|
80
|
+
| 后端基线检查 | `yss-ddd-scaffold-generator` 内部 `engineering-baseline` / `yss-layered-mvc-scaffold-generator` | 是 / 否 | |
|
|
81
81
|
| 领域建模 | `yss-domain` | 是 / 否 | |
|
|
82
82
|
| Application 用例编排 / 事务边界 | `yss-application` | 是 / 否 | |
|
|
83
83
|
| Repository / MyBatis | `yss-repository` / `yss-mybatis` | 是 / 否 | |
|
|
@@ -91,7 +91,7 @@ owner: ai
|
|
|
91
91
|
| `scaffold_status=required` 时已由 Agent 推荐并通过 `gate.backend-architecture-platform-approved` 同时确认 DDD / MVC 与精确 Spring Boot 版本,随后编译 schema v4 合同并经生命周期批准,再使用对应生成器;既有工程核验复用登记值 | 是 / 否 / 不适用 | gate、decision_id / digest、platform_configuration、contract_id / contract_version、批准引用、持久化引用和 Manifest v4 |
|
|
92
92
|
| 脚手架生成结果只包含工程结构、配置和机械模板 | 是 / 否 | 禁止生成业务行为 |
|
|
93
93
|
| 生成器输入、预期文件和实际 `./mvnw validate` / `./mvnw test` / `./mvnw package` 已留证 | 是 / 否 | 每条命令记录 `exit_code`、`duration_ms`、stdout/stderr 引用和执行时间;打印命令不算证据 |
|
|
94
|
-
|
|
|
94
|
+
| 生成器内部工程基线校验已完成并重新进入 `yss-implementation-contract-compiler` | 是 / 否 / 不适用 | |
|
|
95
95
|
| 脚手架后所有业务代码均绑定批准 Slice Implementation Contract 和 YSS Skill Execution Result | 是 / 否 | |
|
|
96
96
|
|
|
97
97
|
## 5. 完成标准
|
|
@@ -104,7 +104,7 @@ owner: ai
|
|
|
104
104
|
- [ ] `baseline_id` / `baseline_version` 已登记,后续切片和审查只引用该质量基线,未重复定义。
|
|
105
105
|
- [ ] 命中高风险影响时已完成 Doubt-Driven 主张、反证、证据和残余风险记录;未命中时已记录 `not-applicable` 原因。
|
|
106
106
|
- [ ] 风险影响、验证证据和责任人已记录。
|
|
107
|
-
- [ ]
|
|
107
|
+
- [ ] 原型确认后已按脚手架顺序完成工程基线、生成器内部基线校验和 实现合同编译器 重编译;脚手架未生成业务行为。
|
|
108
108
|
|
|
109
109
|
## 6. 下一步门禁
|
|
110
110
|
|
|
@@ -74,7 +74,7 @@ owner: ai
|
|
|
74
74
|
|---|---|---|---|---|---|
|
|
75
75
|
| | | | | | |
|
|
76
76
|
|
|
77
|
-
检查规则和关键场景逐条承接、成功/失败测试、分层依赖及事务回滚。MVC 不填写聚合、值对象或 DDD Gateway
|
|
77
|
+
检查规则和关键场景逐条承接、成功/失败测试、分层依赖及事务回滚。MVC 不填写聚合、值对象或 DDD Gateway;详细规则由 `yss-technical-design` 的 `layered-mvc` 分支负责。
|
|
78
78
|
|
|
79
79
|
### 8.2 DDD Tactical Check
|
|
80
80
|
|