create-yss-spec 2.1.15 → 2.2.1
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 +6 -2
- package/package.json +1 -1
- package/src/cli.js +276 -15
- package/template/.agents/rules/yss-ai-skills.md +59 -0
- package/template/.agents/skills/.yss-skills-manifest.json +28 -0
- package/template/.agents/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.agents/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.agents/skills/file-export-download/SKILL.md +160 -0
- package/template/.agents/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.agents/skills/formily-foundation/SKILL.md +176 -0
- package/template/.agents/skills/formily-foundation/references/examples.md +486 -0
- package/template/.agents/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.agents/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.agents/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.agents/skills/frontend-commit/SKILL.md +118 -0
- package/template/.agents/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.agents/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.agents/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.agents/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.agents/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.agents/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.agents/skills/llm-wiki/SKILL.md +1 -1
- package/template/.agents/skills/llm-wiki/references/discover.md +1 -0
- package/template/.agents/skills/page-form-module/SKILL.md +168 -0
- package/template/.agents/skills/page-list-module/SKILL.md +137 -0
- package/template/.agents/skills/page-skeleton/SKILL.md +76 -0
- package/template/.agents/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.agents/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.agents/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.agents/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.agents/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.agents/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.agents/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.agents/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.agents/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.agents/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.agents/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.agents/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.agents/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.agents/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.agents/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.agents/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.agents/skills/yss-components/SKILL.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.agents/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.agents/skills/yss-design-system/SKILL.md +1 -1
- package/template/.agents/skills/yss-formily/SKILL.md +233 -265
- package/template/.agents/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.agents/skills/yss-hook/SKILL.md +1 -1
- package/template/.agents/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.agents/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.agents/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.agents/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.agents/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.agents/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.agents/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.agents/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.agents/skills/yss-router/SKILL.md +1 -1
- package/template/.agents/skills/yss-router/references/boundaries.md +1 -1
- package/template/.agents/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.agents/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.agents/skills/yss-ui/SKILL.md +1 -1
- package/template/.agents/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.agents/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.agents/skills/ytable-usage/SKILL.md +251 -0
- package/template/.agents/skills/ytree-usage/SKILL.md +132 -0
- package/template/.claude/skills/.yss-skills-manifest.json +29 -0
- package/template/.claude/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.claude/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.claude/skills/file-export-download/SKILL.md +160 -0
- package/template/.claude/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.claude/skills/formily-foundation/SKILL.md +176 -0
- package/template/.claude/skills/formily-foundation/references/examples.md +486 -0
- package/template/.claude/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.claude/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.claude/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.claude/skills/frontend-commit/SKILL.md +118 -0
- package/template/.claude/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.claude/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.claude/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.claude/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.claude/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.claude/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.claude/skills/llm-wiki/SKILL.md +1 -1
- package/template/.claude/skills/llm-wiki/references/discover.md +1 -0
- package/template/.claude/skills/page-form-module/SKILL.md +168 -0
- package/template/.claude/skills/page-list-module/SKILL.md +137 -0
- package/template/.claude/skills/page-skeleton/SKILL.md +76 -0
- package/template/.claude/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.claude/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.claude/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.claude/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.claude/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.claude/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.claude/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.claude/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.claude/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.claude/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.claude/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.claude/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.claude/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.claude/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.claude/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.claude/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.claude/skills/yss-components/SKILL.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.claude/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.claude/skills/yss-design-system/SKILL.md +1 -1
- package/template/.claude/skills/yss-formily/SKILL.md +233 -265
- package/template/.claude/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.claude/skills/yss-hook/SKILL.md +1 -1
- package/template/.claude/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.claude/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.claude/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.claude/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.claude/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.claude/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.claude/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.claude/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.claude/skills/yss-router/SKILL.md +1 -1
- package/template/.claude/skills/yss-router/references/boundaries.md +1 -1
- package/template/.claude/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.claude/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.claude/skills/yss-ui/SKILL.md +1 -1
- package/template/.claude/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.claude/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.claude/skills/ytable-usage/SKILL.md +251 -0
- package/template/.claude/skills/ytree-usage/SKILL.md +132 -0
- package/template/.codex/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.codex/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.codex/skills/file-export-download/SKILL.md +160 -0
- package/template/.codex/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.codex/skills/formily-foundation/SKILL.md +176 -0
- package/template/.codex/skills/formily-foundation/references/examples.md +486 -0
- package/template/.codex/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.codex/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.codex/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.codex/skills/frontend-commit/SKILL.md +118 -0
- package/template/.codex/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.codex/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.codex/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.codex/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.codex/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.codex/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.codex/skills/llm-wiki/SKILL.md +1 -1
- package/template/.codex/skills/llm-wiki/references/discover.md +1 -0
- package/template/.codex/skills/page-form-module/SKILL.md +168 -0
- package/template/.codex/skills/page-list-module/SKILL.md +137 -0
- package/template/.codex/skills/page-skeleton/SKILL.md +76 -0
- package/template/.codex/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.codex/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.codex/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.codex/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.codex/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.codex/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.codex/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.codex/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.codex/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.codex/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.codex/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.codex/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.codex/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.codex/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.codex/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.codex/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.codex/skills/yss-components/SKILL.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.codex/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.codex/skills/yss-design-system/SKILL.md +1 -1
- package/template/.codex/skills/yss-formily/SKILL.md +233 -265
- package/template/.codex/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.codex/skills/yss-hook/SKILL.md +1 -1
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.codex/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.codex/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.codex/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.codex/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.codex/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.codex/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.codex/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.codex/skills/yss-router/SKILL.md +1 -1
- package/template/.codex/skills/yss-router/references/boundaries.md +1 -1
- package/template/.codex/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.codex/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.codex/skills/yss-ui/SKILL.md +1 -1
- package/template/.codex/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.codex/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.codex/skills/ytable-usage/SKILL.md +251 -0
- package/template/.codex/skills/ytree-usage/SKILL.md +132 -0
- package/template/.cursor/skills/.yss-skills-manifest.json +29 -0
- package/template/.cursor/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.cursor/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.cursor/skills/file-export-download/SKILL.md +160 -0
- package/template/.cursor/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.cursor/skills/formily-foundation/SKILL.md +176 -0
- package/template/.cursor/skills/formily-foundation/references/examples.md +486 -0
- package/template/.cursor/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.cursor/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.cursor/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.cursor/skills/frontend-commit/SKILL.md +118 -0
- package/template/.cursor/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.cursor/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.cursor/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.cursor/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.cursor/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.cursor/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.cursor/skills/llm-wiki/SKILL.md +1 -1
- package/template/.cursor/skills/llm-wiki/references/discover.md +1 -0
- package/template/.cursor/skills/page-form-module/SKILL.md +168 -0
- package/template/.cursor/skills/page-list-module/SKILL.md +137 -0
- package/template/.cursor/skills/page-skeleton/SKILL.md +76 -0
- package/template/.cursor/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.cursor/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.cursor/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.cursor/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.cursor/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.cursor/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.cursor/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.cursor/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.cursor/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.cursor/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.cursor/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.cursor/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.cursor/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.cursor/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.cursor/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.cursor/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.cursor/skills/yss-components/SKILL.md +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.cursor/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.cursor/skills/yss-design-system/SKILL.md +1 -1
- package/template/.cursor/skills/yss-formily/SKILL.md +233 -265
- package/template/.cursor/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.cursor/skills/yss-hook/SKILL.md +1 -1
- package/template/.cursor/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.cursor/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.cursor/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.cursor/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.cursor/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.cursor/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.cursor/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.cursor/skills/yss-router/SKILL.md +1 -1
- package/template/.cursor/skills/yss-router/references/boundaries.md +1 -1
- package/template/.cursor/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.cursor/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.cursor/skills/yss-ui/SKILL.md +1 -1
- package/template/.cursor/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.cursor/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.cursor/skills/ytable-usage/SKILL.md +251 -0
- package/template/.cursor/skills/ytree-usage/SKILL.md +132 -0
- package/template/.cursorrules +32 -0
- package/template/.hermes/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.hermes/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.hermes/skills/file-export-download/SKILL.md +160 -0
- package/template/.hermes/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.hermes/skills/formily-foundation/SKILL.md +176 -0
- package/template/.hermes/skills/formily-foundation/references/examples.md +486 -0
- package/template/.hermes/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.hermes/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.hermes/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.hermes/skills/frontend-commit/SKILL.md +118 -0
- package/template/.hermes/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.hermes/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.hermes/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.hermes/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.hermes/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.hermes/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.hermes/skills/llm-wiki/SKILL.md +1 -1
- package/template/.hermes/skills/llm-wiki/references/discover.md +1 -0
- package/template/.hermes/skills/page-form-module/SKILL.md +168 -0
- package/template/.hermes/skills/page-list-module/SKILL.md +137 -0
- package/template/.hermes/skills/page-skeleton/SKILL.md +76 -0
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.hermes/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.hermes/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.hermes/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.hermes/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.hermes/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.hermes/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.hermes/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.hermes/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.hermes/skills/yss-components/SKILL.md +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.hermes/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.hermes/skills/yss-design-system/SKILL.md +1 -1
- package/template/.hermes/skills/yss-formily/SKILL.md +233 -265
- package/template/.hermes/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.hermes/skills/yss-hook/SKILL.md +1 -1
- package/template/.hermes/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.hermes/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.hermes/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.hermes/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.hermes/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.hermes/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.hermes/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.hermes/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.hermes/skills/yss-router/SKILL.md +1 -1
- package/template/.hermes/skills/yss-router/references/boundaries.md +1 -1
- package/template/.hermes/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.hermes/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.hermes/skills/yss-ui/SKILL.md +1 -1
- package/template/.hermes/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.hermes/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.hermes/skills/ytable-usage/SKILL.md +251 -0
- package/template/.hermes/skills/ytree-usage/SKILL.md +132 -0
- package/template/.pi/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.pi/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.pi/skills/file-export-download/SKILL.md +160 -0
- package/template/.pi/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.pi/skills/formily-foundation/SKILL.md +176 -0
- package/template/.pi/skills/formily-foundation/references/examples.md +486 -0
- package/template/.pi/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.pi/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.pi/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.pi/skills/frontend-commit/SKILL.md +118 -0
- package/template/.pi/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.pi/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.pi/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.pi/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.pi/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.pi/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.pi/skills/llm-wiki/SKILL.md +1 -1
- package/template/.pi/skills/llm-wiki/references/discover.md +1 -0
- package/template/.pi/skills/page-form-module/SKILL.md +168 -0
- package/template/.pi/skills/page-list-module/SKILL.md +137 -0
- package/template/.pi/skills/page-skeleton/SKILL.md +76 -0
- package/template/.pi/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.pi/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.pi/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.pi/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.pi/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.pi/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.pi/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.pi/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.pi/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.pi/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.pi/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.pi/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.pi/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.pi/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.pi/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.pi/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.pi/skills/yss-components/SKILL.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.pi/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.pi/skills/yss-design-system/SKILL.md +1 -1
- package/template/.pi/skills/yss-formily/SKILL.md +233 -265
- package/template/.pi/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.pi/skills/yss-hook/SKILL.md +1 -1
- package/template/.pi/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.pi/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.pi/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.pi/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.pi/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.pi/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.pi/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.pi/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.pi/skills/yss-router/SKILL.md +1 -1
- package/template/.pi/skills/yss-router/references/boundaries.md +1 -1
- package/template/.pi/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.pi/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.pi/skills/yss-ui/SKILL.md +1 -1
- package/template/.pi/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.pi/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.pi/skills/ytable-usage/SKILL.md +251 -0
- package/template/.pi/skills/ytree-usage/SKILL.md +132 -0
- package/template/.qoder/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.qoder/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.qoder/skills/file-export-download/SKILL.md +160 -0
- package/template/.qoder/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.qoder/skills/formily-foundation/SKILL.md +176 -0
- package/template/.qoder/skills/formily-foundation/references/examples.md +486 -0
- package/template/.qoder/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.qoder/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.qoder/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.qoder/skills/frontend-commit/SKILL.md +118 -0
- package/template/.qoder/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.qoder/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.qoder/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.qoder/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.qoder/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.qoder/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.qoder/skills/llm-wiki/SKILL.md +1 -1
- package/template/.qoder/skills/llm-wiki/references/discover.md +1 -0
- package/template/.qoder/skills/page-form-module/SKILL.md +168 -0
- package/template/.qoder/skills/page-list-module/SKILL.md +137 -0
- package/template/.qoder/skills/page-skeleton/SKILL.md +76 -0
- package/template/.qoder/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.qoder/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.qoder/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.qoder/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.qoder/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.qoder/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.qoder/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.qoder/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.qoder/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.qoder/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.qoder/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.qoder/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.qoder/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.qoder/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.qoder/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.qoder/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.qoder/skills/yss-components/SKILL.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.qoder/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.qoder/skills/yss-design-system/SKILL.md +1 -1
- package/template/.qoder/skills/yss-formily/SKILL.md +233 -265
- package/template/.qoder/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.qoder/skills/yss-hook/SKILL.md +1 -1
- package/template/.qoder/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.qoder/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.qoder/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.qoder/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.qoder/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.qoder/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.qoder/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.qoder/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.qoder/skills/yss-router/SKILL.md +1 -1
- package/template/.qoder/skills/yss-router/references/boundaries.md +1 -1
- package/template/.qoder/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.qoder/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.qoder/skills/yss-ui/SKILL.md +1 -1
- package/template/.qoder/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.qoder/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.qoder/skills/ytable-usage/SKILL.md +251 -0
- package/template/.qoder/skills/ytree-usage/SKILL.md +132 -0
- package/template/.trae/skills/.yss-skills-manifest.json +29 -0
- package/template/.trae/skills/component-selection-imports/SKILL.md +64 -0
- package/template/.trae/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.trae/skills/file-export-download/SKILL.md +160 -0
- package/template/.trae/skills/file-export-download/agents/openai.yaml +4 -0
- package/template/.trae/skills/formily-foundation/SKILL.md +176 -0
- package/template/.trae/skills/formily-foundation/references/examples.md +486 -0
- package/template/.trae/skills/formily-linkage-effects/SKILL.md +167 -0
- package/template/.trae/skills/formily-mode-slot-detail/SKILL.md +137 -0
- package/template/.trae/skills/formily-step-flow/SKILL.md +194 -0
- package/template/.trae/skills/frontend-commit/SKILL.md +118 -0
- package/template/.trae/skills/frontend-commit/agents/openai.yaml +7 -0
- package/template/.trae/skills/frontend-commit/references/scope-and-examples.md +111 -0
- package/template/.trae/skills/implementation-repo-onboarding/SKILL.md +5 -5
- package/template/.trae/skills/java-backend-commit/SKILL.md +121 -0
- package/template/.trae/skills/java-backend-commit/agents/openai.yaml +7 -0
- package/template/.trae/skills/java-backend-commit/references/scope-and-examples.md +118 -0
- package/template/.trae/skills/llm-wiki/SKILL.md +1 -1
- package/template/.trae/skills/llm-wiki/references/discover.md +1 -0
- package/template/.trae/skills/page-form-module/SKILL.md +168 -0
- package/template/.trae/skills/page-list-module/SKILL.md +137 -0
- package/template/.trae/skills/page-skeleton/SKILL.md +76 -0
- package/template/.trae/skills/page-skeleton/examples/AdvancedFormPage/constant.ts +34 -0
- package/template/.trae/skills/page-skeleton/examples/AdvancedFormPage/hooks/useRuleConfig.ts +75 -0
- package/template/.trae/skills/page-skeleton/examples/AdvancedFormPage/index.vue +107 -0
- package/template/.trae/skills/page-skeleton/examples/AdvancedFormPage/schemas/ruleConfigSchema.ts +256 -0
- package/template/.trae/skills/page-skeleton/examples/AdvancedFormPage/style.less +30 -0
- package/template/.trae/skills/page-skeleton/examples/StandardListPage/constant.ts +28 -0
- package/template/.trae/skills/page-skeleton/examples/StandardListPage/hooks/useQualityRuleList.ts +58 -0
- package/template/.trae/skills/page-skeleton/examples/StandardListPage/hooks/useRuleActions.ts +65 -0
- package/template/.trae/skills/page-skeleton/examples/StandardListPage/index.vue +91 -0
- package/template/.trae/skills/page-skeleton/examples/StandardListPage/style.less +49 -0
- package/template/.trae/skills/prototype-page-acceptance/SKILL.md +62 -0
- package/template/.trae/skills/theme-token-usage/SKILL.md +123 -0
- package/template/.trae/skills/theme-token-usage/agents/openai.yaml +4 -0
- package/template/.trae/skills/vue3-best-practices/SKILL.md +68 -0
- package/template/.trae/skills/yedit-table-usage/SKILL.md +227 -0
- package/template/.trae/skills/yss-api-integration/SKILL.md +12 -2
- package/template/.trae/skills/yss-components/SKILL.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/SKILL.md +1 -1
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/generate_scaffold.mjs +30 -3
- package/template/.trae/skills/yss-ddd-scaffold-generator/scripts/scaffold-generator.test.mjs +52 -0
- package/template/.trae/skills/yss-design-system/SKILL.md +1 -1
- package/template/.trae/skills/yss-formily/SKILL.md +233 -265
- package/template/.trae/skills/yss-frontend-scaffold-generator/SKILL.md +2 -2
- package/template/.trae/skills/yss-hook/SKILL.md +1 -1
- package/template/.trae/skills/yss-openapi-governance/SKILL.md +2 -2
- package/template/.trae/skills/yss-page-module-development/SKILL.md +12 -2
- package/template/.trae/skills/yss-page-module-development/references/component-map.md +34 -0
- package/template/.trae/skills/yss-page-module-development/references/hooks-map.md +11 -0
- package/template/.trae/skills/yss-page-module-development/references/utils-map.md +14 -0
- package/template/.trae/skills/yss-product-lifecycle/references/matt-yss-adapter.md +1 -1
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration-contract.yaml +86 -1
- package/template/.trae/skills/yss-product-lifecycle/references/orchestration.md +2 -0
- package/template/.trae/skills/yss-product-lifecycle/references/state-model.md +1 -1
- package/template/.trae/skills/yss-router/SKILL.md +1 -1
- package/template/.trae/skills/yss-router/references/boundaries.md +1 -1
- package/template/.trae/skills/yss-router/references/router-contract.yaml +26 -2
- package/template/.trae/skills/yss-router/references/slice-implementation-contract.md +1 -1
- package/template/.trae/skills/yss-ui/SKILL.md +1 -1
- package/template/.trae/skills/yss-use-table-height/SKILL.md +9 -0
- package/template/.trae/skills/yss-use-tree-height/SKILL.md +9 -0
- package/template/.trae/skills/ytable-usage/SKILL.md +251 -0
- package/template/.trae/skills/ytree-usage/SKILL.md +132 -0
- package/template/AGENTS.md +5 -5
- package/template/CONTEXT.md +3 -2
- package/template/docs/agents/skill-migrations.md +16 -0
- package/template/docs/agents/skills-maintenance.md +1 -1
- package/template/docs/agents/yss-skill-registry.yaml +125 -25
- package/template/docs/process/implementation-repo-integration.md +24 -2
- package/template/docs/templates/cross-repo-slice-template.md +15 -0
- package/template/docs/templates/implementation-repo-registry-template.md +8 -3
- package/template/docs/templates/implementation-routing-template.md +3 -3
- package/template/docs/user-guide//344/272/247/345/223/201/347/224/237/345/221/275/345/221/250/346/234/237/345/267/245/344/275/234/346/265/201.md +2 -2
- 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 +4 -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 +1 -1
- package/template/scripts/lib/git-submodule-fixtures.mjs +58 -0
- package/template/scripts/lib/repository-scope-policy.mjs +456 -0
- package/template/scripts/lib/scenario-checks.mjs +32 -1
- package/template/scripts/lib/skill-governance.mjs +50 -0
- package/template/scripts/lib/skill-registry.mjs +82 -5
- package/template/scripts/lib/skill-supply-chain.mjs +5 -1
- package/template/scripts/repository-scope-policy +16 -0
- package/template/scripts/verify-repository-scope-scenarios +239 -0
- package/template/scripts/verify-scaffold-generator-scenarios +54 -0
- package/template/scripts/verify-skill-governance +10 -0
- package/template/scripts/verify-template +4 -2
- package/template/skills-lock.json +289 -33
- package/template.manifest.json +6 -5
- package/template.snapshot.json +4 -4
- package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.agents/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.agents/skills/yss-formily/references/examples.md +0 -65
- package/template/.claude/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.claude/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.claude/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.claude/skills/yss-formily/references/examples.md +0 -65
- package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.codex/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.codex/skills/yss-formily/references/examples.md +0 -65
- package/template/.cursor/environment.json +0 -5
- package/template/.cursor/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.cursor/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.cursor/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.cursor/skills/yss-formily/references/examples.md +0 -65
- package/template/.github/workflows/template-node-tooling.yml +0 -61
- package/template/.hermes/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.hermes/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.hermes/skills/yss-formily/references/examples.md +0 -65
- package/template/.pi/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.pi/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.pi/skills/yss-formily/references/examples.md +0 -65
- package/template/.qoder/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.qoder/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.qoder/skills/yss-formily/references/examples.md +0 -65
- package/template/.trae/skills/high-fidelity-html-prototype/SKILL.md +0 -89
- package/template/.trae/skills/high-fidelity-html-prototype/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-formily/agents/openai.yaml +0 -5
- package/template/.trae/skills/yss-formily/references/examples.md +0 -65
- package/template/wiki/.wiki-manifest.json +0 -390
- package/template/wiki/raw/AGENTS.md +0 -122
- package/template/wiki/raw/CONTEXT.md +0 -80
- package/template/wiki/raw/README.md +0 -130
- package/template/wiki/raw/adr-0002-repository-mode.md +0 -3
- package/template/wiki/raw/create-yss-spec-repository-mode-contract.md +0 -95
- package/template/wiki/raw/harness-process-tailoring.md +0 -64
- package/template/wiki/raw/implementation-repo-integration.md +0 -62
- package/template/wiki/raw/issue-tracker.md +0 -135
- package/template/wiki/raw/lifecycle-registry.yaml +0 -369
- package/template/wiki/raw/maintenance-intensity.yaml +0 -25
- package/template/wiki/raw/skills-lock-names.md +0 -93
- package/template/wiki/raw/skills-maintenance.md +0 -90
- package/template/wiki/raw/spec-template.md +0 -102
- package/template/wiki/raw/triage-labels.md +0 -15
- package/template/wiki/raw/vertical-slice-ticket-template.md +0 -132
- package/template/wiki/raw/yss-project.yaml +0 -2
- package/template/wiki/raw/yss-skill-registry.yaml +0 -510
- package/template/wiki/wiki/Agent/345/205/245/345/217/243/350/247/204/345/210/231.md +0 -21
- package/template/wiki/wiki/CLAUDE.md +0 -28
- 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 +0 -19
- package/template/wiki/wiki/LLM Wiki.md +0 -30
- package/template/wiki/wiki/Matt/346/212/200/350/203/275/344/275/223/347/263/273.md +0 -21
- package/template/wiki/wiki/OpenAPI/345/245/221/347/272/246.md +0 -20
- package/template/wiki/wiki/SpecDelta.md +0 -19
- package/template/wiki/wiki/Spec/345/237/272/347/272/277.md +0 -22
- package/template/wiki/wiki/Ticket/344/270/216/346/265/201/347/250/213/347/212/266/346/200/201.md +0 -21
- package/template/wiki/wiki/YSS/345/267/245/347/250/213/346/212/200/350/203/275/344/275/223/347/263/273.md +0 -23
- 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 +0 -20
- package/template/wiki/wiki/concept-table.md +0 -9
- package/template/wiki/wiki/index.md +0 -41
- package/template/wiki/wiki/log.md +0 -51
- 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 +0 -20
- 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 +0 -19
- 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 +0 -20
- package/template/wiki/wiki//345/210/207/347/211/207/345/256/236/347/216/260/345/220/210/345/220/214.md +0 -21
- package/template/wiki/wiki//345/236/202/347/233/264/345/210/207/347/211/207Ticket.md +0 -23
- 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 +0 -20
- 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 +0 -22
- 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 +0 -20
- 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 +0 -23
- package/template/wiki/wiki//346/235/241/344/273/266/345/274/272/345/210/266/351/227/250/347/246/201.md +0 -18
- 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 +0 -22
- package/template/wiki/wiki//346/250/241/346/235/277/346/200/273/350/247/210.md +0 -20
- package/template/wiki/wiki//346/250/241/346/235/277/347/273/264/346/212/244/346/265/201/347/250/213.md +0 -19
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ytree-usage
|
|
3
|
+
description: 指导 YSS UI 左树右表、组织树、分类树、目录树和节点管理页使用 @yss-ui/components 的 YTree,覆盖 fieldNames 字段映射、搜索过滤、受控选中、节点动作、删除确认、虚拟滚动和自适应高度;当生成或修改树形筛选、左树右表、树搜索或树节点操作时使用。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# YTree 使用
|
|
7
|
+
|
|
8
|
+
## 触发条件
|
|
9
|
+
|
|
10
|
+
- 生成或修改左树右表、组织树、分类树、目录树、树搜索或树节点操作。
|
|
11
|
+
- 需要配置 `fieldNames`、受控选中、`YTreeActionItem` 或树区域自适应高度。
|
|
12
|
+
|
|
13
|
+
## 不适用场景
|
|
14
|
+
|
|
15
|
+
- 树数据只用于表单 TreeSelect 字段:使用 `YFormily` 或对应表单规范。
|
|
16
|
+
- 页面只有普通列表而没有层级筛选:使用 `../ytable-usage/SKILL.md`。
|
|
17
|
+
|
|
18
|
+
## 实施流程
|
|
19
|
+
|
|
20
|
+
1. 当前会话可用 yss-ui MCP 时,先用 `get_component_docs` 查询 `YTree` 的 Props、Slots、Events 和 `YTreeActionItem`;需要搜索、节点动作、受控选中或左树右表时,再用 `get_demo` 获取对应官方 Demo。
|
|
21
|
+
2. MCP 工具不可用、调用失败或用 `search_docs/list_components` 校正后仍无结果时,才读取最新 `llms-full.txt`;若文档与当前项目依赖版本不一致,用当前源码和导出核验。
|
|
22
|
+
3. 确定树数据的 title/key/children 字段、受控状态和选中后的业务联动。
|
|
23
|
+
4. 按容器布局配置 `useTreeHeight`,再添加搜索和节点动作。
|
|
24
|
+
5. 若包含删除,单独完成气泡确认链路;不把 `danger` 颜色当成二次确认。
|
|
25
|
+
|
|
26
|
+
## 硬约束(禁止/必须)
|
|
27
|
+
|
|
28
|
+
- 从 `@yss-ui/components` 导入 `YTree`、`YTreeActionItem` 等真实导出;高度使用 `@yss-ui/hooks` 的 `useTreeHeight`。
|
|
29
|
+
- 数据字段不一致时配置 `fieldNames`,不为了改名重复递归复制树数据。
|
|
30
|
+
- 搜索使用 `filterable + v-model:searchValue`;受控选中使用 `v-model:selectedKeys`。
|
|
31
|
+
- 普通节点菜单使用 `showActions + getNodeActions`,并监听 `@action`。`YTreeActionItem` 只支持 `key/label/icon/disabled/danger`,禁止臆造 `isConfirm/click` 等字段。
|
|
32
|
+
- `danger: true` 只改变危险项视觉,不会弹出确认框。删除必须放在节点附近的 `#node-suffix` 或当前选中节点操作区,用 Ant Design Vue `Popconfirm` 的 `@confirm` 调用接口;不使用居中 `Modal.confirm`。
|
|
33
|
+
- 树区域需要滚动时绑定 `:height="treeHeight"`,不默认添加 `:virtual="true"`。只有展开后可见扁平节点数 `* itemHeight > height` 时才会实际裁剪 DOM。
|
|
34
|
+
- 使用 YTree 内置搜索时,高度 Hook 通过 `extraOffset: YTREE_SEARCH_HEIGHT` 扣除 48px;不再叠加无依据的魔法数。
|
|
35
|
+
- 左树右表优先组合 `YSplitPane + YCard + YTree + YTable`;切换节点时同步查询条件并把右表分页重置为第 1 页。
|
|
36
|
+
- 节点删除 API 的错误由 `mutator.ts` 统一提示并 reject;不在 `else/catch` 重复 `message.error`。
|
|
37
|
+
|
|
38
|
+
## 标准代码骨架
|
|
39
|
+
|
|
40
|
+
```vue
|
|
41
|
+
<script setup lang="ts">
|
|
42
|
+
import { ref } from 'vue';
|
|
43
|
+
import { YTree, type YTreeActionItem } from '@yss-ui/components';
|
|
44
|
+
import { useTreeHeight, YTREE_SEARCH_HEIGHT } from '@yss-ui/hooks';
|
|
45
|
+
|
|
46
|
+
/** 树节点数据。 */
|
|
47
|
+
interface TreeNode {
|
|
48
|
+
id: string;
|
|
49
|
+
name: string;
|
|
50
|
+
children?: TreeNode[];
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
const emit = defineEmits<{
|
|
54
|
+
create: [node: TreeNode];
|
|
55
|
+
edit: [node: TreeNode];
|
|
56
|
+
}>();
|
|
57
|
+
const treeAreaRef = ref<HTMLDivElement>();
|
|
58
|
+
const treeData = ref<TreeNode[]>([]);
|
|
59
|
+
const searchValue = ref('');
|
|
60
|
+
const selectedKeys = ref<Array<string | number>>([]);
|
|
61
|
+
const { treeHeight } = useTreeHeight(treeAreaRef, {
|
|
62
|
+
extraOffset: YTREE_SEARCH_HEIGHT,
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
/** 生成当前节点的非危险操作。 */
|
|
66
|
+
const getNodeActions = (): YTreeActionItem[] => [
|
|
67
|
+
{ key: 'add', label: '新增子节点' },
|
|
68
|
+
{ key: 'edit', label: '编辑' },
|
|
69
|
+
];
|
|
70
|
+
|
|
71
|
+
/** 处理 YTree 动作事件。 */
|
|
72
|
+
const handleTreeAction = ({ key, node }: { key: string; node: TreeNode }) => {
|
|
73
|
+
if (key === 'add') emit('create', node);
|
|
74
|
+
if (key === 'edit') emit('edit', node);
|
|
75
|
+
};
|
|
76
|
+
</script>
|
|
77
|
+
|
|
78
|
+
<template>
|
|
79
|
+
<div ref="treeAreaRef" class="tree-area">
|
|
80
|
+
<YTree
|
|
81
|
+
:height="treeHeight"
|
|
82
|
+
:tree-data="treeData"
|
|
83
|
+
:field-names="{ title: 'name', key: 'id', children: 'children' }"
|
|
84
|
+
filterable
|
|
85
|
+
show-actions
|
|
86
|
+
v-model:searchValue="searchValue"
|
|
87
|
+
v-model:selectedKeys="selectedKeys"
|
|
88
|
+
:get-node-actions="getNodeActions"
|
|
89
|
+
@action="handleTreeAction"
|
|
90
|
+
/>
|
|
91
|
+
</div>
|
|
92
|
+
</template>
|
|
93
|
+
|
|
94
|
+
<style scoped lang="less">
|
|
95
|
+
@import './style.less';
|
|
96
|
+
</style>
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
```less
|
|
100
|
+
/* style.less */
|
|
101
|
+
.tree-area {
|
|
102
|
+
flex: 1;
|
|
103
|
+
min-height: 0;
|
|
104
|
+
overflow: hidden;
|
|
105
|
+
}
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
## 删除确认边界
|
|
109
|
+
|
|
110
|
+
```vue
|
|
111
|
+
<template #node-suffix="{ node }">
|
|
112
|
+
<Popconfirm title="确认删除该节点吗?" ok-text="确定" cancel-text="取消" @confirm="handleDelete(node)">
|
|
113
|
+
<YButton type="link" @click.stop>删除</YButton>
|
|
114
|
+
</Popconfirm>
|
|
115
|
+
</template>
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
`Popconfirm` 从 `ant-design-vue` 导入,`YButton` 从 `@yss-ui/components` 导入。如果每个节点都展示删除会过密,把同样的 `Popconfirm` 放到选中节点的页面工具栏。
|
|
119
|
+
|
|
120
|
+
## 交付检查清单
|
|
121
|
+
|
|
122
|
+
- [ ] `fieldNames`、`searchValue`、`selectedKeys`、`action` 与真实 API 一致。
|
|
123
|
+
- [ ] 节点动作项未出现虚构字段,删除不会点菜单后立即执行。
|
|
124
|
+
- [ ] 高度偏移与内置搜索实际开关一致,没有多扣魔法数。
|
|
125
|
+
- [ ] 左树选中后,右表查询条件和分页重置闭环清晰。
|
|
126
|
+
|
|
127
|
+
## 失败兜底策略
|
|
128
|
+
|
|
129
|
+
- 节点字段不统一时先修正 `fieldNames`,不复制整棵树换键。
|
|
130
|
+
- 点击删除立即调用 API 时,移出节点动作菜单,改为节点附近或页面操作区 `Popconfirm`。
|
|
131
|
+
- 传入 `height` 但节点未裁剪时,先核对展开后可见节点数、`itemHeight` 和阈值,不盲目强制 `virtual=true`。
|
|
132
|
+
- 节点 API 失败后让 mutator reject 中断右表刷新等后续流程,不重复错误提示。
|
package/template/AGENTS.md
CHANGED
|
@@ -83,15 +83,15 @@ README、用户指南、根目录 `CLAUDE.md` 和其他说明文档只引用或
|
|
|
83
83
|
| merge / rebase 冲突 | `resolving-merge-conflicts` |
|
|
84
84
|
| 架构治理、难测模块或深模块设计 | `improve-codebase-architecture` / `codebase-design` |
|
|
85
85
|
| 跨线程、跨仓库、上下文过长或原型结论回流 | `handoff` 或等价交接记录 |
|
|
86
|
-
| 本地知识库 init / refresh / rebuild,或要把研究结果落成持久 wiki | `llm-wiki`(落成持久 wiki 用 `ingest`;已映射 live 源变了用 `refresh
|
|
86
|
+
| 本地知识库 init / refresh / rebuild,或要把研究结果落成持久 wiki | `llm-wiki`(落成持久 wiki 用 `ingest`;已映射 live 源变了用 `refresh`)。`template-source` 的 wiki-root 为 `.template-source/wiki`;`project-instance` 不附带源仓库编译树,需要时在仓库根 `wiki/` 执行 `init` |
|
|
87
87
|
|
|
88
88
|
业务行为默认按 `tdd` 使用已确认的公开 seam 逐切片实现。一次性生成、纯配置或流程文档不适用代码 TDD 时,必须记录例外理由和可执行验证方式。
|
|
89
89
|
|
|
90
90
|
## 9. 工作区与实现仓库边界
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
当前仓库默认是研发管理仓库,运行时代码优先位于已登记的独立实现仓库(`repository_scope: external-repository`)。只有用户明确选择当前仓库承载实现代码时,才使用同源的 `apps/backend/<project>/` 或 `apps/frontend/<project>/`(`harness-apps`),或以 Git submodule 把独立实现仓挂到同一 `apps/` 布局(`git-submodule`)。三种 scope 必须用登记字段、Git 身份和工作树 gitlink 区分;空 gitlink、detached HEAD 或 `--force` 覆盖挂载点不得当成普通目录。
|
|
93
93
|
|
|
94
|
-
`apps/backend/` 和 `apps/frontend/` 只是项目容器;`app/backend/`、`app/frontend/`
|
|
94
|
+
`apps/backend/` 和 `apps/frontend/` 只是项目容器;`app/backend/`、`app/frontend/` 及其子路径禁止作为工程输出。`git-submodule` 不得登记为 `harness-apps`,也不得把实现源码复制进 Harness。完整登记字段、嵌套 Git 授权和跨仓约束见 `docs/process/implementation-repo-integration.md`。
|
|
95
95
|
|
|
96
96
|
## 10. 独立审查、验证和追踪
|
|
97
97
|
|
|
@@ -113,8 +113,8 @@ README、用户指南、根目录 `CLAUDE.md` 和其他说明文档只引用或
|
|
|
113
113
|
|
|
114
114
|
本仓库是 `template-source` Harness / 研发管理仓库,没有前端 / 后端运行时应用;可运行、可测试的表面只有 Node 工具链与治理校验脚本。
|
|
115
115
|
|
|
116
|
-
- 依赖与工具链:Node `>=22 <27`(`.nvmrc` 固定 22);`pnpm` 通过 `packageManager` 字段由 corepack 自动切换到 `10.15.0`,无需手工切换。Node 依赖只装在 `.template-source/tooling/node`,仓库根没有 `package.json`。
|
|
117
|
-
- 测试:`pnpm --dir .template-source/tooling/node test`(`node --test`,共
|
|
116
|
+
- 依赖与工具链:Node `>=22 <27`(`.nvmrc` 固定 22);`pnpm` 通过 `packageManager` 字段由 corepack 自动切换到 `10.15.0`,无需手工切换。Node 依赖只装在 `.template-source/tooling/node`,仓库根没有 `package.json`。本仓 wiki-root 为 `.template-source/wiki`。
|
|
117
|
+
- 测试:`pnpm --dir .template-source/tooling/node test`(`node --test`,共 16 个用例)。
|
|
118
118
|
- 构建 / lint:`pnpm --dir .template-source/tooling/node build:vendor` 与 `check:vendor` 维护 `scripts/vendor/*.mjs`;顶层 lint 是 `verify-template` 内对所有脚本执行的 `node --check`。
|
|
119
119
|
- 完整发布门禁(相当于"运行应用"):`scripts/verify-template`,成功输出 `模板发布校验通过`。它串联证据索引、`pnpm test`、`check:vendor` 和全部 `scripts/verify-*` 场景校验。
|
|
120
120
|
- 非显然的坑:`scripts/verify-lifecycle-registry`(及其对应测试 `Node lifecycle registry verifier ...`)会 shell out 到 `python3` 并 `import jsonschema` 做 JSON Schema 校验。缺少该 Python 模块时测试会以 `ModuleNotFoundError: No module named 'jsonschema'` 失败,而不是代码问题;update script 已负责 `pip3 install jsonschema`。
|
package/template/CONTEXT.md
CHANGED
|
@@ -68,11 +68,12 @@
|
|
|
68
68
|
| 生态发布清单 | 关联模板 schema 与 commit、CLI 版本与快照、公开技能来源与导出 hash 的跨仓发布证据。 | — | 不要求尚未生成的仓库 commit 互相循环引用。 |
|
|
69
69
|
| 研发管理仓库 | 承载 Spec、OpenAPI、架构、Ticket、验证、发布和复盘等研发管理资产的仓库。 | — | 不等同于前端 / 后端代码 monorepo。 |
|
|
70
70
|
| 实现仓库 | 承载前端、后端或其他运行时代码及其 Git、CI、MR / PR、测试命令和发布流水线的仓库。 | — | 不要把实现仓库的源码所有权混入研发管理仓库。 |
|
|
71
|
+
| Git 子模块分层接入 | 将前端 / 后端实现仓以 Git submodule(gitlink,mode `160000`)挂到 `project-instance` 的 `apps/` 布局下,并登记 `repository_scope: git-submodule`。 | — | 不得与 `harness-apps` 同源 monorepo 或无 gitlink 的 `external-repository` 混用;禁止把实现源码复制进 Harness 冒充 submodule。 |
|
|
71
72
|
| 跨仓库契约变更 | 需要两个或多个独立仓库协同实现、验证和按顺序发布的共享契约变化。 | — | 任一参与仓库未完成契约对齐和集成验证时,不得单独声称整体可发布。 |
|
|
72
73
|
| 模板源仓库(`template-source`) | 承载 `yss-spec-project-template` 权威模板资产及其演进规则的仓库身份。 | — | 只管理可复用模板,不承载某个具体产品的研发生命周期资产。 |
|
|
73
74
|
| 模板实例仓库(`project-instance`) | 由模板初始化后生成、承载某个具体产品研发生命周期资产的仓库身份。 | — | 不作为通用流程模板的权威来源。 |
|
|
74
|
-
| 模板实例分发面 | 模板源中应随 CLI 快照进入 `project-instance` 的共享生命周期、模板、用户指南和验证资产集合。 | — |
|
|
75
|
-
| 模板源治理区 | 仅供 `template-source`
|
|
75
|
+
| 模板实例分发面 | 模板源中应随 CLI 快照进入 `project-instance` 的共享生命周期、模板、用户指南和验证资产集合。 | — | 不包含模板源审查、研究、发布路线、源仓库专属 ADR 或源仓库 LLM Wiki 编译树。 |
|
|
76
|
+
| 模板源治理区 | 仅供 `template-source` 使用、保存审查证据、研究记录、跨仓契约、发布路线、源仓库治理决策和源仓库 LLM Wiki 编译树的归档区域。 | — | 不随 CLI 分发;不等于产品实例的研发管理资产。`wiki-root` 为 `.template-source/wiki`。 |
|
|
76
77
|
| 仓库身份清单 | 显式声明仓库身份和清单结构版本的机器可读资产。 | — | 不承载项目名称、团队规模、Tracker 或其他易变业务配置。 |
|
|
77
78
|
|
|
78
79
|
## 业务术语
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# 技能迁移说明
|
|
2
|
+
|
|
3
|
+
本文记录已退役技能入口的迁移路径。退役技能不保留物理目录、投影或 lock 条目;本文件是历史名称的唯一持久兼容说明。
|
|
4
|
+
|
|
5
|
+
## high-fidelity-html-prototype
|
|
6
|
+
|
|
7
|
+
`high-fidelity-html-prototype` 已退役,不再作为 Router alias、默认发现入口或独立物理技能存在。
|
|
8
|
+
|
|
9
|
+
迁移到:
|
|
10
|
+
|
|
11
|
+
- 阶段合同:`yss-prototype-stage`
|
|
12
|
+
- Codex 产品设计主入口:`product-design:index`
|
|
13
|
+
- Ant Design v6 事实与 CLI 证据:`yss-antd-design`
|
|
14
|
+
- 独立低保真评审:`prototype-review`
|
|
15
|
+
|
|
16
|
+
迁移时保留原型评审记录、AntD CLI 验证、浏览器验证和用户确认,并由 `yss-product-lifecycle` 裁决 `gate.prototype-reviewed`、`gate.prototype-verified` 和 `gate.user-confirmation`。不得创建同名兼容目录。
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- `.agents/skills` 是跨 Agent 共享技能的唯一权威内容。
|
|
8
8
|
- `.claude/skills`、`.codex/skills`、`.cursor/skills`、`.hermes/skills`、`.pi/skills`、`.qoder/skills`、`.trae/skills` 中的同名共享技能是生成投影,不得分别手工修改。
|
|
9
9
|
- Cursor 的契约运行时入口是 `.cursor/skills`。若客户端同时枚举 `.claude/skills`,仍以 `.cursor/skills` 为 Cursor 投影契约,不得把两套同名 skill 解释为两个来源。
|
|
10
|
-
- 分层、别名和默认可发现性以 `docs/agents/yss-skill-registry.yaml`
|
|
10
|
+
- 分层、别名和默认可发现性以 `docs/agents/yss-skill-registry.yaml` 为准;当前 registry 为 `active`,Router、生命周期编排器和实例发现面必须消费通过校验的 canonical 技能及其 alias 解析结果。
|
|
11
11
|
- 只属于某个平台的 skill 继续保留在对应 root,并由 `skills-lock.json` 的 `platform` 分组记录。
|
|
12
12
|
- 共享技能投影可以是指向权威目录的符号链接,也可以是完整同步副本;`scripts/sync-skills --check` 会检查链接目标或完整目录哈希。
|
|
13
13
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
schema_version: 1
|
|
2
2
|
registry_id: yss.skill-routing
|
|
3
|
-
status:
|
|
3
|
+
status: active
|
|
4
4
|
description: >-
|
|
5
|
-
技能分层、别名、默认可发现性和 Agent
|
|
6
|
-
本文件不替代 skills-lock.json 的来源、hash 与投影完整性职责;Router
|
|
5
|
+
技能分层、别名、默认可发现性和 Agent 运行时入口的可执行路由注册表。
|
|
6
|
+
本文件不替代 skills-lock.json 的来源、hash 与投影完整性职责;Router 与生命周期编排器只消费通过本表校验的 canonical 技能。
|
|
7
7
|
canonical_content_root: .agents/skills
|
|
8
8
|
runtime_policy:
|
|
9
|
-
consumed_by_router:
|
|
10
|
-
consumed_by_lifecycle:
|
|
11
|
-
discovery_enforced:
|
|
9
|
+
consumed_by_router: true
|
|
10
|
+
consumed_by_lifecycle: true
|
|
11
|
+
discovery_enforced: true
|
|
12
12
|
agent_runtime_roots:
|
|
13
13
|
claude: .claude/skills
|
|
14
14
|
codex: .codex/skills
|
|
@@ -27,7 +27,7 @@ skills:
|
|
|
27
27
|
- id: ask-matt
|
|
28
28
|
layer: compatibility
|
|
29
29
|
maturity: supported
|
|
30
|
-
instance_default_discoverable:
|
|
30
|
+
instance_default_discoverable: false
|
|
31
31
|
aliases: []
|
|
32
32
|
impacts: [lifecycle]
|
|
33
33
|
- id: code-review
|
|
@@ -75,13 +75,13 @@ skills:
|
|
|
75
75
|
- id: grill-me
|
|
76
76
|
layer: compatibility
|
|
77
77
|
maturity: supported
|
|
78
|
-
instance_default_discoverable:
|
|
78
|
+
instance_default_discoverable: false
|
|
79
79
|
aliases: []
|
|
80
80
|
impacts: [discovery]
|
|
81
81
|
- id: grill-with-docs
|
|
82
82
|
layer: compatibility
|
|
83
83
|
maturity: supported
|
|
84
|
-
instance_default_discoverable:
|
|
84
|
+
instance_default_discoverable: false
|
|
85
85
|
aliases: []
|
|
86
86
|
impacts: [discovery]
|
|
87
87
|
- id: grilling
|
|
@@ -96,17 +96,10 @@ skills:
|
|
|
96
96
|
instance_default_discoverable: true
|
|
97
97
|
aliases: []
|
|
98
98
|
impacts: [lifecycle]
|
|
99
|
-
- id: high-fidelity-html-prototype
|
|
100
|
-
layer: compatibility
|
|
101
|
-
maturity: deprecated
|
|
102
|
-
instance_default_discoverable: false
|
|
103
|
-
aliases: []
|
|
104
|
-
impacts: [prototype]
|
|
105
|
-
replaced_by: yss-prototype-stage
|
|
106
99
|
- id: implement
|
|
107
100
|
layer: compatibility
|
|
108
101
|
maturity: supported
|
|
109
|
-
instance_default_discoverable:
|
|
102
|
+
instance_default_discoverable: false
|
|
110
103
|
aliases: []
|
|
111
104
|
impacts: [lifecycle]
|
|
112
105
|
- id: implementation-repo-onboarding
|
|
@@ -118,7 +111,7 @@ skills:
|
|
|
118
111
|
- id: improve-codebase-architecture
|
|
119
112
|
layer: compatibility
|
|
120
113
|
maturity: supported
|
|
121
|
-
instance_default_discoverable:
|
|
114
|
+
instance_default_discoverable: false
|
|
122
115
|
aliases: []
|
|
123
116
|
impacts: [quality]
|
|
124
117
|
- id: llm-wiki
|
|
@@ -190,7 +183,7 @@ skills:
|
|
|
190
183
|
- id: setup-matt-pocock-skills
|
|
191
184
|
layer: compatibility
|
|
192
185
|
maturity: supported
|
|
193
|
-
instance_default_discoverable:
|
|
186
|
+
instance_default_discoverable: false
|
|
194
187
|
aliases: []
|
|
195
188
|
impacts: [setup]
|
|
196
189
|
- id: setup-pre-commit
|
|
@@ -226,19 +219,19 @@ skills:
|
|
|
226
219
|
- id: to-spec
|
|
227
220
|
layer: compatibility
|
|
228
221
|
maturity: supported
|
|
229
|
-
instance_default_discoverable:
|
|
222
|
+
instance_default_discoverable: false
|
|
230
223
|
aliases: []
|
|
231
224
|
impacts: [lifecycle]
|
|
232
225
|
- id: to-tickets
|
|
233
226
|
layer: compatibility
|
|
234
227
|
maturity: supported
|
|
235
|
-
instance_default_discoverable:
|
|
228
|
+
instance_default_discoverable: false
|
|
236
229
|
aliases: []
|
|
237
230
|
impacts: [lifecycle]
|
|
238
231
|
- id: triage
|
|
239
232
|
layer: compatibility
|
|
240
233
|
maturity: supported
|
|
241
|
-
instance_default_discoverable:
|
|
234
|
+
instance_default_discoverable: false
|
|
242
235
|
aliases: []
|
|
243
236
|
impacts: [lifecycle]
|
|
244
237
|
- id: using-git-worktrees
|
|
@@ -413,7 +406,7 @@ skills:
|
|
|
413
406
|
layer: specialist
|
|
414
407
|
maturity: supported
|
|
415
408
|
instance_default_discoverable: false
|
|
416
|
-
aliases: []
|
|
409
|
+
aliases: [page-module-development, yss-ui-business-page-generation]
|
|
417
410
|
impacts: [frontend]
|
|
418
411
|
- id: yss-product-lifecycle
|
|
419
412
|
layer: core
|
|
@@ -473,13 +466,13 @@ skills:
|
|
|
473
466
|
layer: specialist
|
|
474
467
|
maturity: supported
|
|
475
468
|
instance_default_discoverable: false
|
|
476
|
-
aliases: []
|
|
469
|
+
aliases: [use-table-height]
|
|
477
470
|
impacts: [frontend]
|
|
478
471
|
- id: yss-use-tree-height
|
|
479
472
|
layer: specialist
|
|
480
473
|
maturity: supported
|
|
481
474
|
instance_default_discoverable: false
|
|
482
|
-
aliases: []
|
|
475
|
+
aliases: [use-tree-height]
|
|
483
476
|
impacts: [frontend]
|
|
484
477
|
- id: yss-userinfo
|
|
485
478
|
layer: specialist
|
|
@@ -499,12 +492,119 @@ skills:
|
|
|
499
492
|
instance_default_discoverable: false
|
|
500
493
|
aliases: []
|
|
501
494
|
impacts: [backend, api]
|
|
495
|
+
- id: component-selection-imports
|
|
496
|
+
layer: specialist
|
|
497
|
+
maturity: supported
|
|
498
|
+
instance_default_discoverable: false
|
|
499
|
+
aliases: []
|
|
500
|
+
impacts: [frontend]
|
|
501
|
+
- id: file-export-download
|
|
502
|
+
layer: specialist
|
|
503
|
+
maturity: supported
|
|
504
|
+
instance_default_discoverable: false
|
|
505
|
+
aliases: []
|
|
506
|
+
impacts: [frontend, api]
|
|
507
|
+
- id: formily-foundation
|
|
508
|
+
layer: specialist
|
|
509
|
+
maturity: supported
|
|
510
|
+
instance_default_discoverable: false
|
|
511
|
+
aliases: []
|
|
512
|
+
impacts: [frontend]
|
|
513
|
+
- id: formily-linkage-effects
|
|
514
|
+
layer: specialist
|
|
515
|
+
maturity: supported
|
|
516
|
+
instance_default_discoverable: false
|
|
517
|
+
aliases: []
|
|
518
|
+
impacts: [frontend]
|
|
519
|
+
- id: formily-mode-slot-detail
|
|
520
|
+
layer: specialist
|
|
521
|
+
maturity: supported
|
|
522
|
+
instance_default_discoverable: false
|
|
523
|
+
aliases: []
|
|
524
|
+
impacts: [frontend]
|
|
525
|
+
- id: formily-step-flow
|
|
526
|
+
layer: specialist
|
|
527
|
+
maturity: supported
|
|
528
|
+
instance_default_discoverable: false
|
|
529
|
+
aliases: []
|
|
530
|
+
impacts: [frontend]
|
|
531
|
+
- id: frontend-commit
|
|
532
|
+
layer: maintainer-only
|
|
533
|
+
maturity: supported
|
|
534
|
+
instance_default_discoverable: false
|
|
535
|
+
aliases: []
|
|
536
|
+
impacts: [template-maintenance]
|
|
537
|
+
- id: java-backend-commit
|
|
538
|
+
layer: maintainer-only
|
|
539
|
+
maturity: supported
|
|
540
|
+
instance_default_discoverable: false
|
|
541
|
+
aliases: []
|
|
542
|
+
impacts: [template-maintenance]
|
|
543
|
+
- id: page-form-module
|
|
544
|
+
layer: specialist
|
|
545
|
+
maturity: supported
|
|
546
|
+
instance_default_discoverable: false
|
|
547
|
+
aliases: []
|
|
548
|
+
impacts: [frontend]
|
|
549
|
+
- id: page-list-module
|
|
550
|
+
layer: specialist
|
|
551
|
+
maturity: supported
|
|
552
|
+
instance_default_discoverable: false
|
|
553
|
+
aliases: []
|
|
554
|
+
impacts: [frontend]
|
|
555
|
+
- id: page-skeleton
|
|
556
|
+
layer: specialist
|
|
557
|
+
maturity: supported
|
|
558
|
+
instance_default_discoverable: false
|
|
559
|
+
aliases: []
|
|
560
|
+
impacts: [frontend]
|
|
561
|
+
- id: prototype-page-acceptance
|
|
562
|
+
layer: specialist
|
|
563
|
+
maturity: supported
|
|
564
|
+
instance_default_discoverable: false
|
|
565
|
+
aliases: []
|
|
566
|
+
impacts: [prototype, frontend]
|
|
567
|
+
- id: theme-token-usage
|
|
568
|
+
layer: specialist
|
|
569
|
+
maturity: supported
|
|
570
|
+
instance_default_discoverable: false
|
|
571
|
+
aliases: []
|
|
572
|
+
impacts: [frontend, prototype]
|
|
573
|
+
- id: vue3-best-practices
|
|
574
|
+
layer: specialist
|
|
575
|
+
maturity: supported
|
|
576
|
+
instance_default_discoverable: false
|
|
577
|
+
aliases: []
|
|
578
|
+
impacts: [frontend]
|
|
579
|
+
- id: yedit-table-usage
|
|
580
|
+
layer: specialist
|
|
581
|
+
maturity: supported
|
|
582
|
+
instance_default_discoverable: false
|
|
583
|
+
aliases: []
|
|
584
|
+
impacts: [frontend]
|
|
585
|
+
- id: ytable-usage
|
|
586
|
+
layer: specialist
|
|
587
|
+
maturity: supported
|
|
588
|
+
instance_default_discoverable: false
|
|
589
|
+
aliases: []
|
|
590
|
+
impacts: [frontend]
|
|
591
|
+
- id: ytree-usage
|
|
592
|
+
layer: specialist
|
|
593
|
+
maturity: supported
|
|
594
|
+
instance_default_discoverable: false
|
|
595
|
+
aliases: []
|
|
596
|
+
impacts: [frontend]
|
|
502
597
|
platform_skills:
|
|
503
598
|
- id: data-analytics
|
|
504
599
|
root: .codex/skills
|
|
505
600
|
layer: maintainer-only
|
|
506
601
|
instance_default_discoverable: false
|
|
602
|
+
aliases: []
|
|
507
603
|
- id: product-design
|
|
508
604
|
root: .codex/skills
|
|
509
605
|
layer: specialist
|
|
510
606
|
instance_default_discoverable: false
|
|
607
|
+
aliases: [product-design:index]
|
|
608
|
+
external_skills:
|
|
609
|
+
- id: yss-backend-scaffold-parent
|
|
610
|
+
source: .agents/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md
|
|
@@ -21,7 +21,7 @@ apps/
|
|
|
21
21
|
- `allowed_write_paths`、`expected_evidence_files` 和生成器输出位置必须能回指具体项目目录;直接放开 `apps/backend/` 或 `apps/frontend/` 属于路径策略违规。
|
|
22
22
|
- 外部实现仓库不要求采用 Harness 的 `apps/` 布局,但仍必须登记该仓库内的实际项目根路径;跨仓库切片的写路径不得用本 Harness 的占位路径冒充真实路径。
|
|
23
23
|
|
|
24
|
-
每个 Harness 内项目至少登记 `project_type`、`project_name`、`project_root` 和 `repository_scope`。同一 Git monorepo 下的多个项目可以共用一条仓库登记,但必须逐项目列出根路径和独立验证命令;不同 Git
|
|
24
|
+
每个 Harness 内项目至少登记 `project_type`、`project_name`、`project_root` 和 `repository_scope`。`repository_scope` 只允许 `external-repository`、`harness-apps` 或 `git-submodule`。同一 Git monorepo 下的多个项目可以共用一条仓库登记,但必须逐项目列出根路径和独立验证命令;不同 Git 仓库必须分别登记,`git-submodule` 的每个子仓各一条。
|
|
25
25
|
|
|
26
26
|
## 1.2 前端 / 后端验证命令
|
|
27
27
|
|
|
@@ -32,6 +32,28 @@ apps/
|
|
|
32
32
|
- Ticket、Slice Implementation Contract、CI 和 Review 证据必须写下实际执行的上述命令。既有仓库缺少 `pnpm` 或 Maven Wrapper 时,先记录受控例外、替代命令和责任人,再执行。
|
|
33
33
|
- 本模板源仓库没有产品 frontend / backend 运行时;其 Node 校验仍按 `AGENTS.md` 的 Cursor Cloud 说明使用 `pnpm --dir .template-source/tooling/node`。
|
|
34
34
|
|
|
35
|
+
## 1.3 `repository_scope: git-submodule`
|
|
36
|
+
|
|
37
|
+
当用户明确选择分层接入、且前端 / 后端保持独立 Git 历史、同时挂到 `project-instance` 工作树时,使用 Git submodule,而不是把实现源码复制进 Harness,也不是把 gitlink 登记成 `harness-apps`。
|
|
38
|
+
|
|
39
|
+
```text
|
|
40
|
+
<project-instance>/ # superproject = 研发管理仓库
|
|
41
|
+
├── .gitmodules
|
|
42
|
+
├── apps/backend/<backend-project>/ # gitlink mode 160000
|
|
43
|
+
└── apps/frontend/<frontend-project>/ # gitlink mode 160000
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
强制规则:
|
|
47
|
+
|
|
48
|
+
- `layout_policy` / `implementation_path_policy` 必须是 `git-submodule-harness-apps`。挂载路径仍须是具体的 `apps/backend/<project>/` 或 `apps/frontend/<project>/`;容器根和 `app/` 单数路径一律阻断。
|
|
49
|
+
- 三个 `repository_scope` 必须在登记字段、Git 身份和写路径上可区分:`git-submodule` 强制 `git_url`、`gitmodules_name`、`gitlink_path`(等于 `project_root`)、`git_entry_mode: 160000`、`superproject_git_url`、`checkout_state`,并分别登记默认分支、CI、验证命令、回滚点(子仓 SHA + 父仓 gitlink SHA);`harness-apps` 与 `external-repository` 禁止填写这些 gitlink 身份字段(可填 `不适用`)。缺 `git_entry_mode` 不得默认为普通目录。
|
|
50
|
+
- 子仓 `git_url` 必须与 `superproject_git_url` 不同。登记后必须用工作树对照(`git ls-files --stage`、`.gitmodules`、`inspectWorkingTreeScope`):声明 `harness-apps` 但路径是 gitlink,或声明 `git-submodule` 但工作树只是普通目录 / 复制源码,均视为误路由并阻断。
|
|
51
|
+
- 只允许 `git submodule add` / `git submodule update --init` 形成 gitlink;禁止把实现仓库源码 copy、subtree 或普通 clone 进 Harness 后冒充 submodule。
|
|
52
|
+
- clone / CI / Cloud Agent 必须递归检出:`git clone --recurse-submodules`,或事后 `git submodule update --init`。GitHub Actions 须显式 `submodules: true|recursive` 且私有子仓另给 PAT / SSH;GitLab 须设 `GIT_SUBMODULE_STRATEGY` 并配置 job token 访问。默认不递归时目录为空,不得当作「工程不存在」去脚手架。
|
|
53
|
+
- 空 gitlink、未初始化、detached HEAD 或 `--force` 覆盖挂载点一律不得当成普通目录:`scaffold_status=required` 阻断,脚手架生成器即使收到 `--force` 也不得覆盖 gitlink,且不得进入「请显式传入 `--force`」普通目录覆盖 / rename 路径;禁止在 detached HEAD 上 commit,也不得把 `--output-dir` 指向 detached HEAD 子仓后 mkdir、staging 或生成工程。先在子仓检出跟踪分支,再写代码。写入前必须读取 `inspectWorkingTreeScope` 的对象结果:只有 `.writable === true` 才可写。已登记为 `git-submodule` 的空 gitlink / uninitialized / detached HEAD 必须 `.writable === false`,即使工作树探测失败也不得把返回值当成可写。
|
|
54
|
+
- Git 授权按仓分别计算,顺序强制为 **先子仓 commit/push,再父仓更新 gitlink**。父仓 push 使用 `git push --recurse-submodules=check`。跨仓库切片的 `delivery_order` 必须包含 `superproject-gitlink-update`。
|
|
55
|
+
- `.gitmodules`、gitlink 和子仓工作树不是 `create-yss-spec` 受管资产;CLI `sync` 不得创建、覆盖或删除它们。
|
|
56
|
+
|
|
35
57
|
## 2. 影响面路由
|
|
36
58
|
|
|
37
59
|
| 影响面 | 必须绑定的记录 | 本变更结论 |
|
|
@@ -46,7 +68,7 @@ apps/
|
|
|
46
68
|
|
|
47
69
|
- 模板仓库负责 `yss-project.yaml`、流程事实源、迁移指南、技能投影、模板校验脚本和快照可发布状态。
|
|
48
70
|
- CLI 仓库负责 `attach`、`sync`、受管 manifest、快照 commit、metadata、迁移计划、备份 / 回滚、端到端测试和用户说明。
|
|
49
|
-
- CLI 只写研发管理资产;不得创建或覆盖前后端运行时代码,不删除目标 `.git
|
|
71
|
+
- CLI 只写研发管理资产;不得创建或覆盖前后端运行时代码,不删除目标 `.git`,也不创建、覆盖或删除 `.gitmodules` 与 gitlink。
|
|
50
72
|
- 模板 commit 必须是 40 位不可变提交;开发测试可通过 `YSS_SPEC_TEMPLATE_REF` 覆盖,正式发布不得跟随浮动 `main`。
|
|
51
73
|
|
|
52
74
|
## 4. Fresh verification 与 checkpoint
|
|
@@ -65,6 +65,21 @@ owner: ai
|
|
|
65
65
|
| Frontend | | pass / fail / not-applicable |
|
|
66
66
|
| E2E / 关键路径 | | pass / fail / not-applicable |
|
|
67
67
|
|
|
68
|
+
## 5.1 Git submodule(条件)
|
|
69
|
+
|
|
70
|
+
`repository_scope: git-submodule` 时必填;其他范围标记 `not-applicable`。
|
|
71
|
+
|
|
72
|
+
| 字段 | 值 |
|
|
73
|
+
|---|---|
|
|
74
|
+
| superproject-gitlink-update | pending / ready / blocked / not-applicable |
|
|
75
|
+
| submodule_commit_sha | 子仓已推送的 40 位 SHA |
|
|
76
|
+
| superproject_gitlink_sha | 父仓记录的 gitlink SHA,必须等于 `submodule_commit_sha` |
|
|
77
|
+
| checkout_state | attached-branch / detached-head / uninitialized / empty-gitlink |
|
|
78
|
+
| push_recurse_submodules | `check` |
|
|
79
|
+
| clone_or_ci_recurse | `git clone --recurse-submodules` / `GIT_SUBMODULE_STRATEGY` / Actions `submodules` |
|
|
80
|
+
|
|
81
|
+
`delivery_order` 必须包含子仓 MR / PR,然后是 `superproject-gitlink-update`。空 gitlink、detached HEAD 或未推送的子仓 SHA 一律 `blocked`。
|
|
82
|
+
|
|
68
83
|
## 6. Release And Rollback
|
|
69
84
|
|
|
70
85
|
| 字段 | 值 |
|
|
@@ -17,11 +17,16 @@ owner: ai
|
|
|
17
17
|
| git_url | |
|
|
18
18
|
| default_branch | |
|
|
19
19
|
| local_worktree | |
|
|
20
|
-
| repository_scope | external-repository / harness-apps |
|
|
20
|
+
| repository_scope | external-repository / harness-apps / git-submodule |
|
|
21
21
|
| project_type | backend / frontend / fullstack / other |
|
|
22
22
|
| project_name | |
|
|
23
23
|
| project_root | 外部仓库相对路径,或 `apps/backend/<project>/` / `apps/frontend/<project>/` |
|
|
24
|
-
| layout_policy | `harness-apps-multi-project` / `external-repository-native` |
|
|
24
|
+
| layout_policy | `harness-apps-multi-project` / `external-repository-native` / `git-submodule-harness-apps` |
|
|
25
|
+
| gitmodules_name | `git-submodule` 必填;其他范围填 `不适用` |
|
|
26
|
+
| gitlink_path | 等于 `project_root`;仅 `git-submodule` |
|
|
27
|
+
| git_entry_mode | `160000`;仅 `git-submodule` |
|
|
28
|
+
| superproject_git_url | 父仓远端;必须与 `git_url` 不同 |
|
|
29
|
+
| checkout_state | attached-branch / detached-head / uninitialized / empty-gitlink / 不适用 |
|
|
25
30
|
| scaffold_status | existing / required / initialized |
|
|
26
31
|
| scaffold_skill | `yss-ddd-scaffold-generator` / `yss-frontend-scaffold-generator` / none |
|
|
27
32
|
| scaffold_target_confirmed | 是 / 否 / 不适用 |
|
|
@@ -41,7 +46,7 @@ owner: ai
|
|
|
41
46
|
| typecheck_command | | |
|
|
42
47
|
| ci_pipeline | | |
|
|
43
48
|
|
|
44
|
-
Harness 内项目路径约束:`apps/backend/`、`apps/frontend/` 只能作为项目容器;工程必须位于具体的 `apps/backend/<project>/` 或 `apps/frontend/<project>/`。`app/backend/`、`app/frontend/` 及其子路径禁止登记或生成。外部实现仓库填写真实项目根路径,不使用本表的 Harness
|
|
49
|
+
Harness 内项目路径约束:`apps/backend/`、`apps/frontend/` 只能作为项目容器;工程必须位于具体的 `apps/backend/<project>/` 或 `apps/frontend/<project>/`。`app/backend/`、`app/frontend/` 及其子路径禁止登记或生成。外部实现仓库填写真实项目根路径,不使用本表的 Harness 占位路径。`git-submodule` 必须同时满足 Harness `apps/` 挂载路径和独立 Git 身份,不得登记为 `harness-apps` 或无 gitlink 的 `external-repository`。空 gitlink、detached HEAD、`--force` 覆盖挂载点不得当成普通目录。登记后必须对照工作树 gitlink,禁止把复制进 Harness 的源码冒充 submodule。
|
|
45
50
|
|
|
46
51
|
## 2.1 项目清单(同一 monorepo 可登记多个项目)
|
|
47
52
|
|
|
@@ -84,8 +84,8 @@ owner: ai
|
|
|
84
84
|
| 字段 | 内容 |
|
|
85
85
|
|---|---|
|
|
86
86
|
| impacted_areas | |
|
|
87
|
-
| implementation_path_policy | `harness-apps-multi-project` / `external-repository-native` |
|
|
88
|
-
| project_roots | Harness
|
|
87
|
+
| implementation_path_policy | `harness-apps-multi-project` / `external-repository-native` / `git-submodule-harness-apps` |
|
|
88
|
+
| project_roots | Harness 内与 `git-submodule` 填写 `apps/backend/<project>/` / `apps/frontend/<project>/`;外部仓库填写真实项目根 |
|
|
89
89
|
| required_skills | |
|
|
90
90
|
| optional_skills | |
|
|
91
91
|
| unavailable_skills | 写明 provider、fallback 和阻断结论;不得静默跳过 |
|
|
@@ -187,7 +187,7 @@ owner: ai
|
|
|
187
187
|
|
|
188
188
|
## 4. 外部实现仓库
|
|
189
189
|
|
|
190
|
-
> 当前仓库默认不承载运行时代码。若用户明确选择 Harness
|
|
190
|
+
> 当前仓库默认不承载运行时代码。若用户明确选择 Harness 内实现,同源代码用 `harness-apps`;独立仓挂载用 `git-submodule`。两种项目根都必须是 `apps/backend/<project>/` 或 `apps/frontend/<project>/`;`apps/backend/`、`apps/frontend/` 不能作为项目根,`app/backend/`、`app/frontend/` 及其子路径禁止使用。
|
|
191
191
|
|
|
192
192
|
| repo_role | project_root | git_url | default_branch | working_branch | MR / PR | CI | test_command | build_command | 状态 |
|
|
193
193
|
|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
| 架构资产 | `docs/.scratch/<feature>/architecture/`、`docs/adr/` | 保存业务架构、功能架构、系统总体架构、数据架构和关键 ADR |
|
|
25
25
|
| 交付过程 | `docs/.scratch/<feature>/parent-ticket.md`、`issues/`、`gates/`、`verification/` | 跟踪垂直切片、实现路由、验证记录和审查结论 |
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
推荐把真实工程代码放在独立实现仓库(`external-repository`)。本仓库默认作为 Harness / 研发管理仓库,保存产品、契约和过程资产。如果用户明确选择把代码放入本仓库,使用同源 `harness-apps`;如果要把独立前后端仓挂进本仓工作树且保留各自 Git 历史,使用 `git-submodule`:
|
|
28
28
|
|
|
29
29
|
```text
|
|
30
30
|
apps/
|
|
@@ -34,7 +34,7 @@ docs/releases/
|
|
|
34
34
|
docs/implementation/
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
`apps/backend/` 和 `apps/frontend/` 只能作为项目容器,不能直接生成工程;`app/backend/`、`app/frontend/`
|
|
37
|
+
`apps/backend/` 和 `apps/frontend/` 只能作为项目容器,不能直接生成工程;`app/backend/`、`app/frontend/` 及其子路径禁止使用。`git-submodule` 挂载点仍是上述具体项目目录,但是 gitlink,不能登记成 `harness-apps`。不得由 Agent 自行新建任意顶层业务代码目录。实现仓库接入和跨仓库切片绑定见 `docs/process/implementation-repo-integration.md`。
|
|
38
38
|
|
|
39
39
|
## 2. 工具分工
|
|
40
40
|
|
|
@@ -165,7 +165,7 @@ skills 是让 AI 按规程工作的“操作手册”,不是关键词装饰。
|
|
|
165
165
|
使用 yss-router,基于 `docs/.scratch/data-modeling/issues/04-validate-model.md`、
|
|
166
166
|
冻结 OpenAPI `docs/.scratch/data-modeling/api/data-modeling.yaml` 和架构设计,
|
|
167
167
|
选择最小 YSS 技能集。
|
|
168
|
-
请说明为什么需要或不需要 yss-domain、yss-repository、yss-mybatis、yss-web-controller、yss-ui、api-integration。
|
|
168
|
+
请说明为什么需要或不需要 yss-domain、yss-repository、yss-mybatis、yss-web-controller、yss-ui、yss-api-integration。
|
|
169
169
|
不要实现代码,只输出技能路由、实现顺序和验证建议。
|
|
170
170
|
```
|
|
171
171
|
|
|
@@ -804,8 +804,8 @@ TDD 顺序示例:
|
|
|
804
804
|
| 后端用例编排 | `yss-application` |
|
|
805
805
|
| 持久化 | `yss-repository`、需要分页/批量/数据源时加 `yss-mybatis` |
|
|
806
806
|
| Web 接口 | `yss-web-controller`、`yss-dto` |
|
|
807
|
-
| 前端页面 | `yss-ui`、`yss-page-module-development`、`api-integration` |
|
|
808
|
-
| OpenAPI client 刷新 | `yss-openapi-governance` 从冻结 YAML 派生 JSON,随后 `api-integration` 运行 Orval;只在 Freeze 后或按实现契约刷新时使用 |
|
|
807
|
+
| 前端页面 | `yss-ui`、`yss-page-module-development`、`yss-api-integration` |
|
|
808
|
+
| OpenAPI client 刷新 | `yss-openapi-governance` 从冻结 YAML 派生 JSON,随后 `yss-api-integration` 运行 Orval;只在 Freeze 后或按实现契约刷新时使用 |
|
|
809
809
|
|
|
810
810
|
阶段门禁:
|
|
811
811
|
|
|
@@ -1072,7 +1072,7 @@ docs/user-guide/
|
|
|
1072
1072
|
使用 yss-router。
|
|
1073
1073
|
输入资产:<Spec 路径>、<交互设计路径>、<OpenAPI Freeze 路径或无 API 影响记录>、<架构设计路径>、<垂直切片路径>。
|
|
1074
1074
|
目标:选择最小 YSS 技能集。
|
|
1075
|
-
请说明每个候选技能需要或不需要的理由,尤其是 yss-domain、yss-repository、yss-mybatis、yss-web-controller、yss-ui、yss-openapi-governance、api-integration。
|
|
1075
|
+
请说明每个候选技能需要或不需要的理由,尤其是 yss-domain、yss-repository、yss-mybatis、yss-web-controller、yss-ui、yss-openapi-governance、yss-api-integration。
|
|
1076
1076
|
边界:不要实现代码,只输出技能路由、实施顺序、测试 seam 和验证建议。
|
|
1077
1077
|
```
|
|
1078
1078
|
|
|
@@ -258,7 +258,7 @@ Competitive Matrix
|
|
|
258
258
|
|
|
259
259
|
| 场景 | 主技能 | 常见补充 |
|
|
260
260
|
|---|---|---|
|
|
261
|
-
| 新建完整 Vue 业务页面 | `yss-ui` | `yss-page-module-development`、`yss-openapi-governance`、`api-integration` |
|
|
261
|
+
| 新建完整 Vue 业务页面 | `yss-ui` | `yss-page-module-development`、`yss-openapi-governance`、`yss-api-integration` |
|
|
262
262
|
| YTable / YTree / YssFormily 页面 | `yss-ui` | `yss-use-table-height`、`yss-use-tree-height`、`yss-formily` |
|
|
263
263
|
| 从零创建后端服务 | `yss-ddd-scaffold-generator` | 后续接 `yss-domain`、`yss-repository`、`yss-web-controller` |
|
|
264
264
|
| 领域建模和状态规则 | `yss-domain` | — |
|