create-yss-spec 1.1.3 → 2.0.0
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 +20 -2
- package/package.json +13 -2
- package/src/cli.js +367 -51
- package/template/.agents/skills/ask-matt/SKILL.md +8 -4
- package/template/.agents/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.agents/skills/code-review/SKILL.md +4 -4
- package/template/.agents/skills/code-review/agents/openai.yaml +3 -0
- package/template/.agents/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.agents/skills/competitive-intelligence/SKILL.md +5 -5
- package/template/.agents/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.agents/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.agents/skills/excalidraw-diagram-generator/SKILL.md +4 -4
- package/template/.agents/skills/grill-me/SKILL.md +7 -0
- package/template/.agents/skills/grill-me/agents/openai.yaml +5 -0
- package/template/.agents/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.agents/skills/grilling/SKILL.md +12 -0
- package/template/.agents/skills/grilling/agents/openai.yaml +3 -0
- package/template/.agents/skills/handoff/SKILL.md +16 -0
- package/template/.agents/skills/handoff/agents/openai.yaml +5 -0
- package/template/.agents/skills/high-fidelity-html-prototype/SKILL.md +6 -6
- package/template/.agents/skills/high-fidelity-html-prototype/agents/openai.yaml +5 -0
- package/template/.agents/skills/implement/SKILL.md +2 -2
- package/template/.agents/skills/implement/agents/openai.yaml +5 -0
- package/template/.agents/skills/improve-codebase-architecture/SKILL.md +6 -1
- package/template/.agents/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/template/.agents/skills/lombok/SKILL.md +345 -0
- package/template/.agents/skills/mapstruct/SKILL.md +328 -0
- package/template/.agents/skills/prototype/LOGIC.md +3 -3
- package/template/.agents/skills/prototype/SKILL.md +2 -6
- package/template/.agents/skills/prototype/UI.md +4 -4
- package/template/.agents/skills/prototype/agents/openai.yaml +3 -0
- package/template/.agents/skills/research/agents/openai.yaml +3 -0
- package/template/.agents/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.agents/skills/setup-matt-pocock-skills/SKILL.md +21 -32
- package/template/.agents/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
- package/template/.agents/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
- package/template/.agents/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
- package/template/.agents/skills/tdd/agents/openai.yaml +3 -0
- package/template/.agents/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/.agents/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/.agents/skills/teach/MISSION-FORMAT.md +31 -0
- package/template/.agents/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/template/.agents/skills/teach/SKILL.md +140 -0
- package/template/.agents/skills/teach/agents/openai.yaml +5 -0
- package/template/.agents/skills/to-spec/SKILL.md +58 -0
- package/template/.agents/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.agents/skills/to-tickets/SKILL.md +62 -0
- package/template/.agents/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.agents/skills/triage/SKILL.md +4 -4
- package/template/.agents/skills/triage/agents/openai.yaml +5 -0
- package/template/.agents/skills/wayfinder/SKILL.md +128 -0
- package/template/.agents/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.agents/skills/web-design-engineer/SKILL.md +2 -2
- package/template/.agents/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/template/.agents/skills/writing-great-skills/SKILL.md +83 -0
- package/template/.agents/skills/writing-great-skills/agents/openai.yaml +5 -0
- package/template/.agents/skills/yss-cache/SKILL.md +44 -0
- package/template/.agents/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.agents/skills/yss-cache/references/annotations.md +39 -0
- package/template/.agents/skills/yss-cache/references/architecture.md +25 -0
- package/template/.agents/skills/yss-cache/references/configuration.md +34 -0
- package/template/.agents/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.agents/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.agents/skills/yss-cache/references/serialization.md +17 -0
- package/template/.agents/skills/yss-cache/references/source-index.md +64 -0
- package/template/.agents/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.agents/skills/yss-cache/references/verification.md +34 -0
- package/template/.agents/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.agents/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.agents/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/.claude/skills/ask-matt/SKILL.md +8 -4
- package/template/.claude/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.claude/skills/code-review/SKILL.md +4 -4
- package/template/.claude/skills/code-review/agents/openai.yaml +3 -0
- package/template/.claude/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.claude/skills/competitive-intelligence/SKILL.md +5 -5
- package/template/.claude/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.claude/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.claude/skills/excalidraw-diagram-generator/SKILL.md +37 -16
- package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
- package/template/.claude/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
- package/template/.claude/skills/grill-me/SKILL.md +7 -0
- package/template/.claude/skills/grill-me/agents/openai.yaml +5 -0
- package/template/.claude/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.claude/skills/grilling/SKILL.md +12 -0
- package/template/.claude/skills/grilling/agents/openai.yaml +3 -0
- package/template/.claude/skills/handoff/SKILL.md +16 -0
- package/template/.claude/skills/handoff/agents/openai.yaml +5 -0
- package/template/.claude/skills/implement/SKILL.md +2 -2
- package/template/.claude/skills/implement/agents/openai.yaml +5 -0
- package/template/.claude/skills/improve-codebase-architecture/SKILL.md +6 -1
- package/template/.claude/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/template/.claude/skills/prototype/LOGIC.md +3 -3
- package/template/.claude/skills/prototype/SKILL.md +2 -6
- package/template/.claude/skills/prototype/UI.md +4 -4
- package/template/.claude/skills/prototype/agents/openai.yaml +3 -0
- package/template/.claude/skills/research/agents/openai.yaml +3 -0
- package/template/.claude/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.claude/skills/setup-matt-pocock-skills/SKILL.md +21 -32
- package/template/.claude/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
- package/template/.claude/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
- package/template/.claude/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
- package/template/.claude/skills/tdd/agents/openai.yaml +3 -0
- package/template/.claude/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/.claude/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/.claude/skills/teach/MISSION-FORMAT.md +31 -0
- package/template/.claude/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/template/.claude/skills/teach/SKILL.md +140 -0
- package/template/.claude/skills/teach/agents/openai.yaml +5 -0
- package/template/.claude/skills/to-spec/SKILL.md +58 -0
- package/template/.claude/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.claude/skills/to-tickets/SKILL.md +62 -0
- package/template/.claude/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.claude/skills/triage/SKILL.md +4 -4
- package/template/.claude/skills/triage/agents/openai.yaml +5 -0
- package/template/.claude/skills/wayfinder/SKILL.md +128 -0
- package/template/.claude/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.claude/skills/web-design-engineer/SKILL.md +2 -2
- package/template/.claude/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/template/.claude/skills/writing-great-skills/SKILL.md +83 -0
- package/template/.claude/skills/writing-great-skills/agents/openai.yaml +5 -0
- package/template/.claude/skills/yss-cache/SKILL.md +44 -0
- package/template/.claude/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.claude/skills/yss-cache/references/annotations.md +39 -0
- package/template/.claude/skills/yss-cache/references/architecture.md +25 -0
- package/template/.claude/skills/yss-cache/references/configuration.md +34 -0
- package/template/.claude/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.claude/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.claude/skills/yss-cache/references/serialization.md +17 -0
- package/template/.claude/skills/yss-cache/references/source-index.md +64 -0
- package/template/.claude/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.claude/skills/yss-cache/references/verification.md +34 -0
- package/template/.claude/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.claude/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.claude/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/.codex/config.toml +3 -0
- package/template/.codex/skills/ask-matt/SKILL.md +8 -4
- package/template/.codex/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.codex/skills/code-review/SKILL.md +4 -4
- package/template/.codex/skills/code-review/agents/openai.yaml +3 -0
- package/template/.codex/skills/code-review-process/references/automation-and-standards.md +1 -1
- package/template/.codex/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.codex/skills/competitive-intelligence/SKILL.md +5 -5
- package/template/.codex/skills/cross-repo-implementation-routing/SKILL.md +2 -2
- package/template/.codex/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.codex/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.codex/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.codex/skills/handoff/SKILL.md +16 -0
- package/template/.codex/skills/handoff/agents/openai.yaml +5 -0
- package/template/.codex/skills/high-fidelity-html-prototype/SKILL.md +6 -6
- package/template/.codex/skills/implement/SKILL.md +2 -2
- package/template/.codex/skills/implement/agents/openai.yaml +5 -0
- package/template/.codex/skills/improve-codebase-architecture/SKILL.md +6 -1
- package/template/.codex/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/template/.codex/skills/product-design-prototype/SKILL.md +14 -10
- package/template/.codex/skills/product-design-prototype/agents/openai.yaml +1 -1
- package/template/.codex/skills/prototype/LOGIC.md +3 -3
- package/template/.codex/skills/prototype/SKILL.md +2 -6
- package/template/.codex/skills/prototype/UI.md +4 -4
- package/template/.codex/skills/prototype/agents/openai.yaml +3 -0
- package/template/.codex/skills/prototype-review/SKILL.md +6 -6
- package/template/.codex/skills/prototype-review/agents/openai.yaml +2 -2
- package/template/.codex/skills/research/agents/openai.yaml +3 -0
- package/template/.codex/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.codex/skills/setup-matt-pocock-skills/SKILL.md +21 -32
- package/template/.codex/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
- package/template/.codex/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
- package/template/.codex/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
- package/template/.codex/skills/tdd/agents/openai.yaml +3 -0
- package/template/.codex/skills/to-spec/SKILL.md +58 -0
- package/template/.codex/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.codex/skills/to-tickets/SKILL.md +62 -0
- package/template/.codex/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.codex/skills/triage/SKILL.md +4 -4
- package/template/.codex/skills/triage/agents/openai.yaml +5 -0
- package/template/.codex/skills/wayfinder/SKILL.md +128 -0
- package/template/.codex/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.codex/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/template/.codex/skills/writing-great-skills/SKILL.md +83 -0
- package/template/.codex/skills/writing-great-skills/agents/openai.yaml +5 -0
- package/template/.codex/skills/yss-api-integration/SKILL.md +1 -1
- package/template/.codex/skills/yss-cache/SKILL.md +29 -58
- package/template/.codex/skills/yss-cache/agents/openai.yaml +2 -2
- package/template/.codex/skills/yss-cache/references/annotations.md +39 -0
- package/template/.codex/skills/yss-cache/references/architecture.md +25 -0
- package/template/.codex/skills/yss-cache/references/configuration.md +34 -0
- package/template/.codex/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.codex/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.codex/skills/yss-cache/references/serialization.md +17 -0
- package/template/.codex/skills/yss-cache/references/source-index.md +1 -1
- package/template/.codex/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.codex/skills/yss-cache/references/verification.md +34 -0
- package/template/.codex/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.codex/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.codex/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/SKILL.md +1 -0
- package/template/.codex/skills/yss-ddd-scaffold-generator/references/yss-backend-scaffold-parent/SKILL.md +2 -2
- package/template/.codex/skills/yss-design-system/SKILL.md +9 -2
- package/template/.codex/skills/yss-design-system/references/design-system.md +12 -0
- package/template/.codex/skills/yss-domain-modeling/SKILL.md +3 -3
- package/template/.codex/skills/yss-domain-modeling/agents/openai.yaml +1 -1
- package/template/.codex/skills/yss-domain-modeling/references/modeling-workflow.md +2 -2
- package/template/.codex/skills/yss-filerunner/SKILL.md +1 -1
- package/template/.codex/skills/yss-openapi/SKILL.md +35 -47
- package/template/.codex/skills/yss-openapi/img.png +0 -0
- package/template/.codex/skills/yss-openapi/img_1.png +0 -0
- package/template/.codex/skills/yss-openapi-draft-review/SKILL.md +3 -3
- package/template/.codex/skills/yss-openapi-governance/SKILL.md +4 -4
- package/template/.codex/skills/yss-product-lifecycle/SKILL.md +57 -34
- package/template/.codex/skills/yss-product-lifecycle/references/artifact-checklist.md +23 -21
- package/template/.codex/skills/yss-product-lifecycle/references/stage-routing.md +15 -15
- package/template/.codex/skills/yss-product-lifecycle/references/yss-skill-routing.md +13 -8
- package/template/.codex/skills/yss-repository/SKILL.md +11 -3
- package/template/.codex/skills/yss-router/SKILL.md +2 -3
- package/template/.codex/skills/yss-router/references/boundaries.md +0 -1
- package/template/.codex/skills/yss-source-index/references/source-map-config.md +0 -1
- package/template/.codex/skills/yss-source-index/scripts/refresh-yss-skill-index.py +0 -3
- package/template/.codex/skills/yss-web-controller/SKILL.md +9 -3
- package/template/.hermes/skills/ask-matt/SKILL.md +8 -4
- package/template/.hermes/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.hermes/skills/code-review/SKILL.md +4 -4
- package/template/.hermes/skills/code-review/agents/openai.yaml +3 -0
- package/template/.hermes/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.hermes/skills/competitive-intelligence/SKILL.md +5 -5
- package/template/.hermes/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.hermes/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.hermes/skills/excalidraw-diagram-generator/SKILL.md +37 -16
- package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
- package/template/.hermes/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
- package/template/.hermes/skills/grill-me/SKILL.md +7 -0
- package/template/.hermes/skills/grill-me/agents/openai.yaml +5 -0
- package/template/.hermes/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.hermes/skills/grilling/SKILL.md +12 -0
- package/template/.hermes/skills/grilling/agents/openai.yaml +3 -0
- package/template/.hermes/skills/handoff/SKILL.md +16 -0
- package/template/.hermes/skills/handoff/agents/openai.yaml +5 -0
- package/template/.hermes/skills/implement/SKILL.md +2 -2
- package/template/.hermes/skills/implement/agents/openai.yaml +5 -0
- package/template/.hermes/skills/improve-codebase-architecture/SKILL.md +6 -1
- package/template/.hermes/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/template/.hermes/skills/prototype/LOGIC.md +3 -3
- package/template/.hermes/skills/prototype/SKILL.md +2 -6
- package/template/.hermes/skills/prototype/UI.md +4 -4
- package/template/.hermes/skills/prototype/agents/openai.yaml +3 -0
- package/template/.hermes/skills/research/agents/openai.yaml +3 -0
- package/template/.hermes/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/SKILL.md +21 -32
- package/template/.hermes/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
- package/template/.hermes/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
- package/template/.hermes/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
- package/template/.hermes/skills/tdd/agents/openai.yaml +3 -0
- package/template/.hermes/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/.hermes/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/.hermes/skills/teach/MISSION-FORMAT.md +31 -0
- package/template/.hermes/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/template/.hermes/skills/teach/SKILL.md +140 -0
- package/template/.hermes/skills/teach/agents/openai.yaml +5 -0
- package/template/.hermes/skills/to-spec/SKILL.md +58 -0
- package/template/.hermes/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.hermes/skills/to-tickets/SKILL.md +62 -0
- package/template/.hermes/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.hermes/skills/triage/SKILL.md +4 -4
- package/template/.hermes/skills/triage/agents/openai.yaml +5 -0
- package/template/.hermes/skills/wayfinder/SKILL.md +128 -0
- package/template/.hermes/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.hermes/skills/web-design-engineer/SKILL.md +2 -2
- package/template/.hermes/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/template/.hermes/skills/writing-great-skills/SKILL.md +83 -0
- package/template/.hermes/skills/writing-great-skills/agents/openai.yaml +5 -0
- package/template/.hermes/skills/yss-cache/SKILL.md +44 -0
- package/template/.hermes/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.hermes/skills/yss-cache/references/annotations.md +39 -0
- package/template/.hermes/skills/yss-cache/references/architecture.md +25 -0
- package/template/.hermes/skills/yss-cache/references/configuration.md +34 -0
- package/template/.hermes/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.hermes/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.hermes/skills/yss-cache/references/serialization.md +17 -0
- package/template/.hermes/skills/yss-cache/references/source-index.md +64 -0
- package/template/.hermes/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.hermes/skills/yss-cache/references/verification.md +34 -0
- package/template/.hermes/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.hermes/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.hermes/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/.obsidian/app.json +3 -0
- package/template/.obsidian/appearance.json +5 -0
- package/template/.obsidian/community-plugins.json +4 -0
- package/template/.obsidian/core-plugins.json +33 -0
- package/template/.obsidian/graph.json +22 -0
- package/template/.obsidian/plugins/obsidian-excalidraw-plugin/data.json +1085 -0
- package/template/.obsidian/plugins/obsidian-excalidraw-plugin/main.js +30 -0
- package/template/.obsidian/plugins/obsidian-excalidraw-plugin/manifest.json +12 -0
- package/template/.obsidian/plugins/obsidian-excalidraw-plugin/styles.css +1 -0
- package/template/.obsidian/plugins/obsidian-git/main.js +415 -0
- package/template/.obsidian/plugins/obsidian-git/manifest.json +10 -0
- package/template/.obsidian/plugins/obsidian-git/styles.css +705 -0
- package/template/.obsidian/workspace.json +222 -0
- package/template/.pi/skills/ask-matt/SKILL.md +8 -4
- package/template/.pi/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.pi/skills/code-review/SKILL.md +4 -4
- package/template/.pi/skills/code-review/agents/openai.yaml +3 -0
- package/template/.pi/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.pi/skills/competitive-intelligence/SKILL.md +5 -5
- package/template/.pi/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.pi/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.pi/skills/excalidraw-diagram-generator/SKILL.md +37 -16
- package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
- package/template/.pi/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
- package/template/.pi/skills/grill-me/SKILL.md +7 -0
- package/template/.pi/skills/grill-me/agents/openai.yaml +5 -0
- package/template/.pi/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.pi/skills/grilling/SKILL.md +12 -0
- package/template/.pi/skills/grilling/agents/openai.yaml +3 -0
- package/template/.pi/skills/handoff/SKILL.md +16 -0
- package/template/.pi/skills/handoff/agents/openai.yaml +5 -0
- package/template/.pi/skills/implement/SKILL.md +2 -2
- package/template/.pi/skills/implement/agents/openai.yaml +5 -0
- package/template/.pi/skills/improve-codebase-architecture/SKILL.md +6 -1
- package/template/.pi/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/template/.pi/skills/prototype/LOGIC.md +3 -3
- package/template/.pi/skills/prototype/SKILL.md +2 -6
- package/template/.pi/skills/prototype/UI.md +4 -4
- package/template/.pi/skills/prototype/agents/openai.yaml +3 -0
- package/template/.pi/skills/research/agents/openai.yaml +3 -0
- package/template/.pi/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.pi/skills/setup-matt-pocock-skills/SKILL.md +21 -32
- package/template/.pi/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
- package/template/.pi/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
- package/template/.pi/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
- package/template/.pi/skills/tdd/agents/openai.yaml +3 -0
- package/template/.pi/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/.pi/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/.pi/skills/teach/MISSION-FORMAT.md +31 -0
- package/template/.pi/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/template/.pi/skills/teach/SKILL.md +140 -0
- package/template/.pi/skills/teach/agents/openai.yaml +5 -0
- package/template/.pi/skills/to-spec/SKILL.md +58 -0
- package/template/.pi/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.pi/skills/to-tickets/SKILL.md +62 -0
- package/template/.pi/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.pi/skills/triage/SKILL.md +4 -4
- package/template/.pi/skills/triage/agents/openai.yaml +5 -0
- package/template/.pi/skills/wayfinder/SKILL.md +128 -0
- package/template/.pi/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.pi/skills/web-design-engineer/SKILL.md +2 -2
- package/template/.pi/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/template/.pi/skills/writing-great-skills/SKILL.md +83 -0
- package/template/.pi/skills/writing-great-skills/agents/openai.yaml +5 -0
- package/template/.pi/skills/yss-cache/SKILL.md +44 -0
- package/template/.pi/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.pi/skills/yss-cache/references/annotations.md +39 -0
- package/template/.pi/skills/yss-cache/references/architecture.md +25 -0
- package/template/.pi/skills/yss-cache/references/configuration.md +34 -0
- package/template/.pi/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.pi/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.pi/skills/yss-cache/references/serialization.md +17 -0
- package/template/.pi/skills/yss-cache/references/source-index.md +64 -0
- package/template/.pi/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.pi/skills/yss-cache/references/verification.md +34 -0
- package/template/.pi/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.pi/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.pi/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/.trae/skills/ask-matt/SKILL.md +8 -4
- package/template/.trae/skills/ask-matt/agents/openai.yaml +5 -0
- package/template/.trae/skills/code-review/SKILL.md +4 -4
- package/template/.trae/skills/code-review/agents/openai.yaml +3 -0
- package/template/.trae/skills/codebase-design/agents/openai.yaml +3 -0
- package/template/.trae/skills/competitive-intelligence/SKILL.md +5 -5
- package/template/.trae/skills/diagnosing-bugs/agents/openai.yaml +3 -0
- package/template/.trae/skills/domain-modeling/agents/openai.yaml +3 -0
- package/template/.trae/skills/excalidraw-diagram-generator/SKILL.md +37 -16
- package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-arrow.py +18 -18
- package/template/.trae/skills/excalidraw-diagram-generator/scripts/add-icon-to-diagram.py +46 -47
- package/template/.trae/skills/grill-me/SKILL.md +7 -0
- package/template/.trae/skills/grill-me/agents/openai.yaml +5 -0
- package/template/.trae/skills/grill-with-docs/agents/openai.yaml +5 -0
- package/template/.trae/skills/grilling/SKILL.md +12 -0
- package/template/.trae/skills/grilling/agents/openai.yaml +3 -0
- package/template/.trae/skills/handoff/SKILL.md +16 -0
- package/template/.trae/skills/handoff/agents/openai.yaml +5 -0
- package/template/.trae/skills/implement/SKILL.md +2 -2
- package/template/.trae/skills/implement/agents/openai.yaml +5 -0
- package/template/.trae/skills/improve-codebase-architecture/SKILL.md +6 -1
- package/template/.trae/skills/improve-codebase-architecture/agents/openai.yaml +5 -0
- package/template/.trae/skills/prototype/LOGIC.md +3 -3
- package/template/.trae/skills/prototype/SKILL.md +2 -6
- package/template/.trae/skills/prototype/UI.md +4 -4
- package/template/.trae/skills/prototype/agents/openai.yaml +3 -0
- package/template/.trae/skills/research/agents/openai.yaml +3 -0
- package/template/.trae/skills/resolving-merge-conflicts/agents/openai.yaml +3 -0
- package/template/.trae/skills/setup-matt-pocock-skills/SKILL.md +21 -32
- package/template/.trae/skills/setup-matt-pocock-skills/agents/openai.yaml +5 -0
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-github.md +2 -2
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +2 -2
- package/template/.trae/skills/setup-matt-pocock-skills/issue-tracker-local.md +6 -6
- package/template/.trae/skills/setup-matt-pocock-skills/triage-labels.md +2 -2
- package/template/.trae/skills/tdd/agents/openai.yaml +3 -0
- package/template/.trae/skills/teach/GLOSSARY-FORMAT.md +35 -0
- package/template/.trae/skills/teach/LEARNING-RECORD-FORMAT.md +46 -0
- package/template/.trae/skills/teach/MISSION-FORMAT.md +31 -0
- package/template/.trae/skills/teach/RESOURCES-FORMAT.md +32 -0
- package/template/.trae/skills/teach/SKILL.md +140 -0
- package/template/.trae/skills/teach/agents/openai.yaml +5 -0
- package/template/.trae/skills/to-spec/SKILL.md +58 -0
- package/template/.trae/skills/to-spec/agents/openai.yaml +5 -0
- package/template/.trae/skills/to-tickets/SKILL.md +62 -0
- package/template/.trae/skills/to-tickets/agents/openai.yaml +5 -0
- package/template/.trae/skills/triage/SKILL.md +4 -4
- package/template/.trae/skills/triage/agents/openai.yaml +5 -0
- package/template/.trae/skills/wayfinder/SKILL.md +128 -0
- package/template/.trae/skills/wayfinder/agents/openai.yaml +5 -0
- package/template/.trae/skills/web-design-engineer/SKILL.md +2 -2
- package/template/.trae/skills/writing-great-skills/GLOSSARY.md +201 -0
- package/template/.trae/skills/writing-great-skills/SKILL.md +83 -0
- package/template/.trae/skills/writing-great-skills/agents/openai.yaml +5 -0
- package/template/.trae/skills/yss-cache/SKILL.md +44 -0
- package/template/.trae/skills/yss-cache/agents/openai.yaml +5 -0
- package/template/.trae/skills/yss-cache/references/annotations.md +39 -0
- package/template/.trae/skills/yss-cache/references/architecture.md +25 -0
- package/template/.trae/skills/yss-cache/references/configuration.md +34 -0
- package/template/.trae/skills/yss-cache/references/redis-fallback.md +23 -0
- package/template/.trae/skills/yss-cache/references/redis-topology.md +62 -0
- package/template/.trae/skills/yss-cache/references/serialization.md +17 -0
- package/template/.trae/skills/yss-cache/references/source-index.md +64 -0
- package/template/.trae/skills/yss-cache/references/troubleshooting.md +33 -0
- package/template/.trae/skills/yss-cache/references/verification.md +34 -0
- package/template/.trae/skills/yss-cache/scripts/check-skill-freshness.sh +84 -0
- package/template/.trae/skills/yss-cache/scripts/inspect-cache-usage.sh +96 -0
- package/template/.trae/skills/yss-cache/scripts/verify-cache-component.sh +101 -0
- package/template/AGENTS.md +89 -250
- package/template/CONTEXT.md +24 -11
- package/template/README.md +31 -45
- package/template/docs/adr/{adr-product-design-prototype-entrypoint.md → 0001-product-design-prototype-entrypoint.md} +3 -3
- package/template/docs/adr/0002-yss-project-repository-mode.md +3 -0
- package/template/docs/agents/README.md +4 -5
- package/template/docs/agents/domain.md +13 -15
- package/template/docs/agents/gitlab-workflow-skills.md +5 -5
- package/template/docs/agents/issue-tracker.md +15 -14
- package/template/docs/agents/skills-maintenance.md +44 -109
- package/template/docs/agents/triage-labels.md +10 -12
- package/template/docs/api/templates/openapi-draft-review-checklist.md +4 -4
- package/template/docs/api/templates/openapi-freeze-record-template.md +5 -5
- package/template/docs/architecture/README.md +4 -4
- package/template/docs/architecture/templates/architecture-review-checklist.md +4 -4
- package/template/docs/architecture/templates/business-architecture-template.md +7 -7
- package/template/docs/architecture/templates/data-architecture-template.md +4 -4
- package/template/docs/architecture/templates/engineering-baseline-review-template.md +4 -3
- package/template/docs/architecture/templates/functional-architecture-template.md +7 -7
- package/template/docs/architecture/templates/system-overview-design-template.md +5 -6
- package/template/docs/architecture/templates/tech-design-template.md +2 -2
- package/template/docs/design/README.md +8 -8
- package/template/docs/design/design.md +10 -1
- package/template/docs/design/diagrams/README.md +1 -1
- package/template/docs/design/templates/interaction-spec-template.md +6 -6
- package/template/docs/design/templates/product-overview-design-template.md +8 -8
- package/template/docs/design/templates/prototype-confirmation-template.md +4 -4
- package/template/docs/design/templates/prototype-review-checklist.md +5 -5
- package/template/docs/design/templates/state-matrix-template.md +1 -1
- package/template/docs/discovery/IDEATION.md +2 -2
- package/template/docs/discovery/README.md +4 -4
- package/template/docs/discovery/templates/competitive-analysis-template.md +4 -4
- package/template/docs/discovery/templates/discovery-template.md +8 -8
- package/template/docs/implementation/create-yss-spec-repository-mode-contract.md +59 -0
- package/template/docs/process/MATT-POCOCK-ENGINEERING-SKILLS.md +49 -30
- package/template/docs/process/harness-automation-candidates.md +10 -13
- package/template/docs/process/harness-executive-blueprint.md +11 -11
- package/template/docs/process/harness-optimization-backlog.md +6 -6
- package/template/docs/process/harness-pilot-retro-metrics.md +8 -8
- package/template/docs/process/harness-pilot-selection.md +8 -8
- package/template/docs/process/harness-process-tailoring.md +35 -16
- package/template/docs/process/harness-work-unit-map.md +9 -9
- package/template/docs/process/implementation-repo-integration.md +25 -11
- package/template/docs/process/lifecycle-artifact-map.md +66 -40
- package/template/docs/process/product-prototype-workflow.md +10 -10
- package/template/docs/process/skill-governance.md +12 -4
- package/template/docs/process/subagent-collaboration-validation.md +53 -0
- package/template/docs/process/subagent-collaboration.md +111 -0
- package/template/docs/process/template-governance-grilling-record.md +38 -0
- package/template/docs/process/template-governance-skill-validation.md +44 -0
- package/template/docs/process/templates/stage-checkpoint-template.md +42 -7
- package/template/docs/releases/next-major-template-governance.md +32 -0
- package/template/docs/requirements/README.md +11 -11
- package/template/docs/{adr/template.md → templates/adr-template.md} +2 -2
- package/template/docs/templates/agent-brief-template.md +5 -5
- package/template/docs/templates/build-architecture-checklist-template.md +41 -11
- package/template/docs/templates/implementation-repo-registry-template.md +8 -3
- package/template/docs/templates/implementation-routing-template.md +85 -19
- package/template/docs/templates/requirement-freeze-template.md +8 -8
- package/template/docs/templates/review-report-template.md +50 -0
- package/template/docs/templates/spec-delta-template.md +5 -5
- package/template/docs/templates/{prd-template.md → spec-template.md} +19 -9
- package/template/docs/templates/subagent-task-package-template.md +93 -0
- package/template/docs/templates/verification-record-template.md +2 -2
- package/template/docs/templates/vertical-slice-ticket-template.md +88 -0
- package/template/docs/user-guide/README.md +2 -2
- package/template/docs/user-guide/create-yss-spec-cli-guide.md +27 -209
- package/template/docs/user-guide/excalidraw-diagram-generator-guide.md +8 -8
- package/template/docs/user-guide/grill-with-docs-best-practices.md +16 -16
- package/template/docs/user-guide/grill-with-docs-guide.md +19 -19
- package/template/docs/user-guide/lifecycle-best-practices.md +40 -40
- package/template/docs/user-guide/product-lifecycle-workflow.md +31 -31
- package/template/docs/user-guide/product-rd-lifecycle-best-practices.md +121 -121
- package/template/docs/user-guide/spec-ticket-migration-guide.md +35 -0
- package/template/scripts/sync-skills +126 -0
- package/template/scripts/update-skill-lock +202 -0
- package/template/scripts/verify-lifecycle-scenarios +136 -0
- package/template/scripts/verify-template +148 -155
- package/template/skills-lock.json +1068 -65
- package/template/yss-project.yaml +2 -0
- package/template.manifest.json +3 -16
- package/template/.agent/skills/ask-matt/SKILL.md +0 -74
- package/template/.agent/skills/code-review/SKILL.md +0 -89
- package/template/.agent/skills/codebase-design/DEEPENING.md +0 -37
- package/template/.agent/skills/codebase-design/DESIGN-IT-TWICE.md +0 -44
- package/template/.agent/skills/codebase-design/SKILL.md +0 -114
- package/template/.agent/skills/competitive-intelligence/SKILL.md +0 -94
- package/template/.agent/skills/diagnosing-bugs/SKILL.md +0 -134
- package/template/.agent/skills/diagnosing-bugs/scripts/hitl-loop.template.sh +0 -41
- package/template/.agent/skills/domain-modeling/ADR-FORMAT.md +0 -47
- package/template/.agent/skills/domain-modeling/CONTEXT-FORMAT.md +0 -60
- package/template/.agent/skills/domain-modeling/SKILL.md +0 -74
- package/template/.agent/skills/grill-with-docs/SKILL.md +0 -7
- package/template/.agent/skills/implement/SKILL.md +0 -15
- package/template/.agent/skills/improve-codebase-architecture/HTML-REPORT.md +0 -123
- package/template/.agent/skills/improve-codebase-architecture/SKILL.md +0 -66
- package/template/.agent/skills/prototype/LOGIC.md +0 -79
- package/template/.agent/skills/prototype/SKILL.md +0 -30
- package/template/.agent/skills/prototype/UI.md +0 -112
- package/template/.agent/skills/research/SKILL.md +0 -12
- package/template/.agent/skills/resolving-merge-conflicts/SKILL.md +0 -14
- package/template/.agent/skills/setup-matt-pocock-skills/SKILL.md +0 -127
- package/template/.agent/skills/setup-matt-pocock-skills/domain.md +0 -51
- package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-github.md +0 -45
- package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +0 -46
- package/template/.agent/skills/setup-matt-pocock-skills/issue-tracker-local.md +0 -30
- package/template/.agent/skills/setup-matt-pocock-skills/triage-labels.md +0 -15
- package/template/.agent/skills/tdd/SKILL.md +0 -36
- package/template/.agent/skills/tdd/mocking.md +0 -59
- package/template/.agent/skills/tdd/tests.md +0 -77
- package/template/.agent/skills/to-issues/SKILL.md +0 -84
- package/template/.agent/skills/to-prd/SKILL.md +0 -75
- package/template/.agent/skills/triage/AGENT-BRIEF.md +0 -207
- package/template/.agent/skills/triage/OUT-OF-SCOPE.md +0 -105
- package/template/.agent/skills/triage/SKILL.md +0 -112
- package/template/.agents/skills/to-issues/SKILL.md +0 -84
- package/template/.agents/skills/to-prd/SKILL.md +0 -75
- package/template/.claude/skills/to-issues/SKILL.md +0 -84
- package/template/.claude/skills/to-prd/SKILL.md +0 -75
- package/template/.codex/skills/to-issues/SKILL.md +0 -84
- package/template/.codex/skills/to-prd/SKILL.md +0 -75
- package/template/.codex/skills/yss-anti-scheduler/SKILL.md +0 -53
- package/template/.codex/skills/yss-anti-scheduler/agents/openai.yaml +0 -4
- package/template/.codex/skills/yss-anti-scheduler/references/source-index.md +0 -157
- package/template/.codex/skills/yss-cache/assets/ClearCache.java +0 -34
- package/template/.codex/skills/yss-cache/assets/QueryCache.java +0 -36
- package/template/.codex/skills/yss-cache/assets/UpdateCache.java +0 -34
- package/template/.codex/skills/yss-cache/references/README.md +0 -5
- package/template/.hermes/skills/to-issues/SKILL.md +0 -84
- package/template/.hermes/skills/to-prd/SKILL.md +0 -75
- package/template/.pi/skills/to-issues/SKILL.md +0 -84
- package/template/.pi/skills/to-prd/SKILL.md +0 -75
- package/template/.trae/skills/to-issues/SKILL.md +0 -84
- package/template/.trae/skills/to-prd/SKILL.md +0 -75
- package/template/docs/templates/vertical-slice-issue-template.md +0 -61
- /package/template/docs/requirements/{issues → tickets}/.gitkeep +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: yss-product-lifecycle
|
|
3
|
-
description: "Use when starting or continuing a YSS product/module/project through opportunity exploration, discovery, business/functional/system/data architecture artifacts,
|
|
3
|
+
description: "Use when starting or continuing a YSS product/module/project through opportunity exploration, discovery, business/functional/system/data architecture artifacts, spec baseline, product design/prototype/interaction design, spec calibration, OpenAPI Draft/Freeze, engineering baseline, architecture, design review, vertical slice tickets, YSS frontend/backend delivery, review, release, implementation, or retrospective; or when deciding missing artifacts, lifecycle stage, next prompt, or Matt/YSS skill routing."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# YSS Product Lifecycle
|
|
@@ -15,19 +15,21 @@ For a small requirement change or iteration on an existing feature, do not resta
|
|
|
15
15
|
|
|
16
16
|
## Documentation Language
|
|
17
17
|
|
|
18
|
-
For this repository, persistent lifecycle artifacts MUST use Chinese body text by default, because the primary users and reviewers are Chinese readers. This includes discovery notes,
|
|
18
|
+
For this repository, persistent lifecycle artifacts MUST use Chinese body text by default, because the primary users and reviewers are Chinese readers. This includes discovery notes, specs, product design, architecture, OpenAPI review/freeze notes, vertical slice tickets, Matt skill outputs, review reports, release notes, implementation records, retrospectives, and Git checkpoint explanations.
|
|
19
19
|
|
|
20
20
|
Keep English identifiers unchanged when they are technical names: file paths, commands, class/method names, API paths, schema names, enum values, error codes, frontmatter keys, YAML/JSON keys, and metadata identifiers. If an upstream skill template uses English section titles, convert the persisted project document to Chinese section titles unless the user explicitly asks for English or the document targets an English-speaking audience.
|
|
21
21
|
|
|
22
|
+
Treat English skill bodies and templates as source instructions, not as final document language. When writing durable artifacts into this repository, translate section headings, checklist labels, status explanations, review findings, implementation notes, and Git checkpoint explanations into Chinese. Keep only protocol fields, metadata keys, code identifiers, commands, and external product names in English.
|
|
23
|
+
|
|
22
24
|
Daily execution uses 8 main stages. The previous 21 stage names are governance gates / responsibility points, not a mandatory step-by-step flow for every request. The authoritative mapping of stages, artifacts, templates, and required / conditional gates is `docs/process/lifecycle-artifact-map.md`.
|
|
23
25
|
|
|
24
26
|
```text
|
|
25
27
|
intake / lifecycle triage
|
|
26
28
|
-> opportunity and Discovery
|
|
27
|
-
-> business /
|
|
29
|
+
-> business / spec / functional architecture
|
|
28
30
|
-> product design and requirement freeze
|
|
29
31
|
-> system / data architecture, engineering contract, and Design Review
|
|
30
|
-
-> contract freeze and
|
|
32
|
+
-> contract freeze and ticket formalization
|
|
31
33
|
-> vertical slices and TDD implementation
|
|
32
34
|
-> verification, release, and retrospective
|
|
33
35
|
```
|
|
@@ -38,21 +40,27 @@ Use this lifecycle skill to decide the stage and route to the right workflow. Do
|
|
|
38
40
|
|
|
39
41
|
| Layer | Owner | Responsibility | Canonical artifacts |
|
|
40
42
|
|---|---|---|---|
|
|
41
|
-
| Product / requirements | `competitive-intelligence`, `grill-with-docs`, `to-
|
|
43
|
+
| Product / requirements | `competitive-intelligence`, `research`, `grill-with-docs`, `prototype`, `to-spec` | Clarify market / competitor / technical facts, users, pain, boundaries, acceptance criteria, spec scope, and runnable answers to hard design questions | `CONTEXT.md`, `docs/adr/`, `docs/discovery/`, `docs/research/`, `docs/requirements/<feature>-spec.md` |
|
|
42
44
|
| Contract | OpenAPI / YSS API skills, OpenSpec-style Spec Delta | Define and freeze frontend/backend API contracts, plus behavior deltas for medium/high-risk changes | `docs/api/specs/*.yaml`, `docs/specs/<feature>-spec-delta.md`, OpenAPI Draft Review / Freeze records |
|
|
43
|
-
| Delivery planning | `to-
|
|
44
|
-
| Implementation | `implement`, `tdd`, `diagnosing-bugs`, `code-review` | Build with feedback loops, bug diagnosis, independent review, and fresh verification | tests, review reports, verification records, implementation notes |
|
|
45
|
+
| Delivery planning | `to-tickets`, `wayfinder`, `handoff` / equivalent handoff record, Ticket tracker | Split specs / frozen contracts into end-to-end vertical slice tickets, or map unclear large work before slicing, and preserve context across threads or implementation repos | GitLab / GitHub Issues, local `tickets.md`, `docs/requirements/tickets/*`, `docs/implementation/*` |
|
|
46
|
+
| Implementation | `implement`, `tdd`, `diagnosing-bugs`, `resolving-merge-conflicts`, `code-review` | Build with feedback loops, bug diagnosis, conflict resolution, independent review, and fresh verification | tests, review reports, verification records, implementation notes |
|
|
45
47
|
| YSS engineering | `yss-router` and selected YSS skills | Apply YSS DDD, UI, DTO, Repository, Controller, OpenAPI, and component rules | implementation routing record, Build Architecture Checklist, code/test evidence |
|
|
46
48
|
|
|
47
49
|
Rules:
|
|
48
50
|
|
|
49
|
-
- Prefer Matt skills for generic engineering workflow: `grill-with-docs`, `to-
|
|
50
|
-
- Use `competitive-intelligence` when market, competitor, pricing, positioning, or customer sentiment facts are needed before Discovery /
|
|
51
|
+
- Prefer Matt skills for generic engineering workflow: `research`, `grill-with-docs`, `prototype`, `to-spec`, `to-tickets`, `wayfinder`, `implement`, `tdd`, `diagnosing-bugs`, `resolving-merge-conflicts`, `code-review`, `domain-modeling`, `codebase-design`, and `improve-codebase-architecture`.
|
|
52
|
+
- Use `competitive-intelligence` when market, competitor, pricing, positioning, or customer sentiment facts are needed before Discovery / spec decisions.
|
|
53
|
+
- Use `research` when technical facts, standards, third-party API behavior, framework behavior, or official documentation need primary-source evidence before spec, OpenAPI, architecture, or acceptance decisions.
|
|
54
|
+
- Use `prototype` only for throwaway runnable feedback on logic, state-machine, or UI direction questions. Feed the conclusion back into spec, design, ADR, or tickets; do not treat prototype code as production implementation or as the required Ant Design v6 high-fidelity HTML prototype.
|
|
51
55
|
- Preserve OpenAPI 3.1 Draft / Freeze as the API contract gate. Draft is review-only until Freeze.
|
|
52
|
-
- Use OpenSpec-style Spec Delta for API, permission, state-machine, data-model, cross-client
|
|
53
|
-
- After OpenAPI Freeze, route to `to-
|
|
56
|
+
- Use OpenSpec-style Spec Delta only for medium/high-risk behavior changes to an existing frozen Spec baseline, such as API, permission, state-machine, data-model, or cross-client changes. Do not create it for a new product or new module baseline.
|
|
57
|
+
- After OpenAPI Freeze, route to `to-tickets` or an equivalent vertical-slice ticket record; do not require extra state-machine artifacts.
|
|
58
|
+
- Use `wayfinder` before `to-spec` / `to-tickets` when the work is too large or foggy for one session and the destination is not yet clear.
|
|
54
59
|
- Before frontend/backend implementation, first decide whether the impacted frontend/backend runtime projects already exist and can be reused. If an impacted side has no reusable project yet, route to `yss-ddd-scaffold-generator` or `yss-frontend-scaffold-generator` before business implementation.
|
|
60
|
+
- After a YSS DDD backend scaffold is generated, backend build, test, run, OpenAPI generation, README, CI, review, and release commands MUST use the project Maven Wrapper (`./mvnw ...`) from the backend repository root. A bare `mvn ...` command is a process deviation unless an existing repository has a documented wrapper exception and an equivalent verification record.
|
|
55
61
|
- Use `yss-router` before frontend/backend implementation when the task crosses multiple YSS areas. The route output becomes implementation guidance inside the current slice.
|
|
62
|
+
- Use `handoff` or an equivalent handoff record when crossing threads, implementation repositories, prototype branches, or context-window limits.
|
|
63
|
+
- Use `resolving-merge-conflicts` or an equivalent conflict-resolution flow for merge / rebase conflicts before release or merge decisions.
|
|
56
64
|
- Use `code-review` or an independent review agent before merge/release decisions.
|
|
57
65
|
- Require fresh verification evidence before claiming completion.
|
|
58
66
|
|
|
@@ -63,38 +71,43 @@ Architecture artifacts are produced progressively. Do not try to finish every ar
|
|
|
63
71
|
| Artifact | Lifecycle timing | Primary question | Typical outputs | Diagram support |
|
|
64
72
|
|---|---|---|---|---|
|
|
65
73
|
| Business architecture | Opportunity exploration / Discovery / product definition | Who gets value, in which workflow, and where the product boundary sits | user journey, value stream, role/ecosystem model, capability map | journey map, swimlane, capability map |
|
|
66
|
-
| Product overview design / Functional architecture |
|
|
74
|
+
| Product overview design / Functional architecture | spec baseline / product design / spec calibration | Which product capabilities, user flows, modules, pages, low-fidelity prototypes, APIs, and data impacts support the MVP boundary | product overview, module map, feature list, priority, dependencies, low-fidelity wireframe, state flow, open questions, spec gaps | feature/module map, dependency graph, user flow, page map, low-fidelity wireframe |
|
|
67
75
|
| System overview design / System architecture | Engineering baseline / architecture review | How the product is built, deployed, integrated, operated, and safely evolved | C4/container view, service boundary, integration, deployment, NFR decisions, rollout/rollback decisions | system architecture, sequence, deployment, DFD |
|
|
68
76
|
| Data architecture | Detailed design before persistence and repository work | How domain data, metadata, versions, lineage, and queries are modeled and stored | conceptual/logical/physical model, meta-model, versioning strategy, lineage/query/index strategy | ER, class, lineage graph, DFD |
|
|
69
77
|
|
|
70
78
|
For data modeling, metadata management, ER design, versioning, or lineage-analysis products, data architecture is a core product design artifact. It must be explicit before persistence implementation and before OpenAPI Freeze when API schemas depend on the meta-model.
|
|
71
79
|
|
|
72
|
-
Use `excalidraw-diagram-generator` when diagrams will make boundaries, flows, data structures, or slice dependencies easier to review. Diagrams support the text artifacts; they do not replace
|
|
80
|
+
Use `excalidraw-diagram-generator` when diagrams will make boundaries, flows, data structures, or slice dependencies easier to review. Diagrams support the text artifacts; they do not replace specs, OpenAPI, ADR, tickets, or tests.
|
|
73
81
|
|
|
74
82
|
## Workflow
|
|
75
83
|
|
|
76
84
|
1. Inspect existing context before asking questions:
|
|
77
85
|
- `CONTEXT.md`
|
|
78
86
|
- `docs/discovery/` and `docs/discovery/reports/`
|
|
87
|
+
- `docs/research/`
|
|
79
88
|
- `docs/requirements/`
|
|
80
89
|
- `docs/design/`
|
|
81
90
|
- `docs/api/specs/`
|
|
82
91
|
- `docs/architecture/` and `docs/adr/`
|
|
83
|
-
- `docs/requirements/
|
|
92
|
+
- `docs/requirements/tickets/`, `tickets.md`, and current tracker state when available
|
|
84
93
|
2. Classify the request into one main stage:
|
|
85
|
-
- intake / lifecycle triage, opportunity and Discovery, business /
|
|
94
|
+
- intake / lifecycle triage, opportunity and Discovery, business / spec / functional architecture, product design and requirement freeze, system / data architecture, engineering contract, and Design Review, contract freeze and ticket formalization, vertical slices and TDD implementation, or verification / release / retrospective.
|
|
86
95
|
3. For small changes or iterations, identify the nearest trustworthy existing stage and only expand from the earliest impacted artifact:
|
|
87
96
|
- wording / style / local configuration -> direct minimal change, then verify;
|
|
88
|
-
- UI behavior or page state -> product design / prototype review /
|
|
97
|
+
- UI behavior or page state -> product design / prototype review / spec calibration as needed;
|
|
98
|
+
- unclear state-machine, complex rules, or UI direction -> `prototype` for throwaway runnable feedback, then feed the conclusion into spec/design/ADR/ticket;
|
|
89
99
|
- API request, response, error, permission, pagination, or concurrency -> system / data architecture, engineering contract, and Design Review with API impact analysis / contract draft / OpenAPI Draft Review / Freeze downstream gates;
|
|
90
100
|
- service boundary, state machine, integration, NFR, rollout, or rollback -> system / data architecture, engineering contract, and Design Review downstream gates;
|
|
91
101
|
- persistence, metadata, versioning, lineage, query, or index -> system / data architecture, engineering contract, and Design Review downstream gates.
|
|
92
102
|
4. Check whether required upstream artifacts exist.
|
|
93
|
-
- Before
|
|
94
|
-
- For UI work, before
|
|
95
|
-
- Before formal vertical slicing, verify
|
|
96
|
-
- For medium/high-risk API, permission, state-machine, data-model, cross-client,
|
|
103
|
+
- Before spec calibration, product design, API impact analysis, OpenAPI Draft, requirement freeze, or formal vertical slicing, verify spec baseline and product overview design / functional architecture exist. If the task does not enter the spec lifecycle, record the not-applicable reason in the impact assessment.
|
|
104
|
+
- For UI work, before spec calibration, API impact analysis, OpenAPI Draft, or requirement freeze, verify low-fidelity `prototype-review` is approved, `docs/design/prototypes/<feature>/index.html` exists as an Ant Design v6 high-fidelity HTML prototype, AntD v6 CLI validation evidence is recorded, and user confirmation is recorded after the prototype is produced. This prototype is a required lifecycle artifact and may be generated automatically by the system / Agent after low-fidelity prototype review; it does not have to be manually supplied by the user.
|
|
105
|
+
- Before formal vertical slicing, verify spec, product overview design / functional architecture, OpenAPI Freeze or no-API-impact record, architecture review as needed, and a clear ticket destination.
|
|
106
|
+
- For medium/high-risk API, permission, state-machine, data-model, cross-client, or safety-sensitive changes to an existing frozen baseline, verify an OpenSpec-style Spec Delta exists or record why it is not needed. New product and new module baselines do not use Spec Delta.
|
|
107
|
+
- When technical, standard, framework, or third-party API facts influence downstream decisions, verify `research` or an equivalent primary-source record exists and is cited.
|
|
97
108
|
- Before frontend/backend implementation, verify vertical slice scope, implementation repo/location, whether the impacted frontend/backend runtime projects already exist and are reusable, YSS skill routing, Build Architecture Checklist, test command, and review strategy.
|
|
109
|
+
- For backend slices, verify planned build / test / OpenAPI / CI commands use `./mvnw ...`; if commands use bare `mvn ...`, stop and either correct them or record a controlled wrapper exception before implementation.
|
|
110
|
+
- Before crossing threads, implementation repos, prototype branches, or long contexts, verify `handoff` or an equivalent handoff record captures source artifacts, current stage, open questions, verification commands, and next owner.
|
|
98
111
|
5. Output the next action:
|
|
99
112
|
- artifact to create/update,
|
|
100
113
|
- specialist skill to invoke,
|
|
@@ -109,7 +122,7 @@ Use `excalidraw-diagram-generator` when diagrams will make boundaries, flows, da
|
|
|
109
122
|
|
|
110
123
|
## Stage Git Checkpoints
|
|
111
124
|
|
|
112
|
-
Lifecycle artifacts are part of the product record, not scratch notes. Do not let
|
|
125
|
+
Lifecycle artifacts are part of the product record, not scratch notes. Do not let spec, design, OpenAPI, architecture, review, ticket, or retrospective outputs remain only in the local worktree across multiple stages.
|
|
113
126
|
|
|
114
127
|
At the end of each stage, report:
|
|
115
128
|
|
|
@@ -123,7 +136,7 @@ At the end of each stage, report:
|
|
|
123
136
|
|
|
124
137
|
When committing, prefer small checkpoint commits by artifact type or stage, for example:
|
|
125
138
|
|
|
126
|
-
- `docs: add data modeling discovery and
|
|
139
|
+
- `docs: add data modeling discovery and spec artifacts`
|
|
127
140
|
- `docs: add data modeling openapi and architecture reviews`
|
|
128
141
|
- `docs: update lifecycle checkpoint rules`
|
|
129
142
|
|
|
@@ -141,9 +154,12 @@ Default routing:
|
|
|
141
154
|
|
|
142
155
|
| Intent | Next skill / workflow |
|
|
143
156
|
|---|---|
|
|
144
|
-
| Start a new business product/module | intake -> opportunity and Discovery -> `competitive-intelligence` when market / competitor facts are needed -> `grill-with-docs` -> `to-
|
|
145
|
-
|
|
|
146
|
-
|
|
|
157
|
+
| Start a new business product/module | intake -> opportunity and Discovery -> `competitive-intelligence` when market / competitor facts are needed -> `grill-with-docs` -> `to-spec` -> product overview design / functional architecture -> product design and requirement freeze when UI exists |
|
|
158
|
+
| Plan a large unclear effort | `wayfinder`; map the destination, decisions, fog, and frontier tickets before `to-spec` / `to-tickets` |
|
|
159
|
+
| Analyze competitors, substitute workflows, pricing, positioning, or market facts | `competitive-intelligence`; then feed stable findings into `grill-with-docs` and `to-spec` |
|
|
160
|
+
| Research technical facts, standards, framework behavior, or third-party APIs | `research`; feed cited findings into spec, OpenAPI, architecture, ADR, or acceptance criteria |
|
|
161
|
+
| Answer a design question that needs runnable feedback | `prototype`; feed the conclusion into spec, design, ADR, or ticket, then delete or absorb throwaway code |
|
|
162
|
+
| Design UI flow after spec baseline | Verify product overview design / functional architecture first, then use `product-design:index` as the primary Product Design router; follow its focused routing such as `$get-context`, `$ideate`, `$prototype`, `$image-to-code`, or `$url-to-code` |
|
|
147
163
|
| Review low-fidelity prototype before high-fidelity design | `prototype-review` |
|
|
148
164
|
| Build high-fidelity interactive HTML prototype | Use `product-design:index` as the primary entrypoint and route to the appropriate Product Design focused workflow for prototype/code output; query AntD v6 design/component/demo/token/semantic facts with `antd` CLI before output; the required stage output must be Ant Design v6 HTML at `docs/design/prototypes/<feature>/index.html`, may be system / Agent generated, must record AntD CLI validation evidence, and must be confirmed by the user before downstream gates |
|
|
149
165
|
| Review contract draft / OpenAPI Draft inside architecture/design review | `yss-openapi-draft-review` |
|
|
@@ -151,20 +167,23 @@ Default routing:
|
|
|
151
167
|
| Clarify architecture artifact timing or gaps | this skill plus `docs/process/lifecycle-artifact-map.md` and `references/artifact-checklist.md` |
|
|
152
168
|
| Create architecture/process/data diagrams | `excalidraw-diagram-generator` as a support skill |
|
|
153
169
|
| Design meta-model / metadata / lineage data architecture | architecture/design workflow plus `yss-domain-modeling` or `yss-domain`; use `excalidraw-diagram-generator` for ER, lineage, DFD, or class diagrams when helpful |
|
|
154
|
-
| Split delivery scope after
|
|
170
|
+
| Split delivery scope after spec / OpenAPI Freeze | `to-tickets`; record whether impacted frontend/backend projects already exist, and whether scaffold initialization is needed |
|
|
171
|
+
| Cross threads, repos, prototype branches, or long contexts | `handoff` or equivalent handoff record; preserve source artifacts, current stage, open questions, verification commands, and next owner |
|
|
155
172
|
| Implement a slice | first check impacted frontend/backend project existence; route missing backend to `yss-ddd-scaffold-generator`, missing frontend to `yss-frontend-scaffold-generator`, then use `implement` plus `tdd`; use `yss-router` first when multiple YSS areas are touched |
|
|
156
173
|
| Fix a bug or test failure | `diagnosing-bugs` then `tdd` |
|
|
174
|
+
| Resolve merge or rebase conflicts | `resolving-merge-conflicts`; record both intents, resolution trade-offs, and fresh verification |
|
|
157
175
|
| Review implementation | `code-review` plus YSS-specific review inputs |
|
|
158
176
|
| Build Vue page | `yss-ui` plus related frontend skills chosen by `yss-router` |
|
|
159
177
|
| Build backend module from scratch | `yss-ddd-scaffold-generator` |
|
|
160
178
|
| Model backend domain | `yss-domain` / `yss-backend-scaffold-domain` |
|
|
161
|
-
| Implement
|
|
162
|
-
| Implement
|
|
179
|
+
| Implement Application use case / transaction boundary | `yss-backend-scaffold-application` |
|
|
180
|
+
| Implement persistence | `yss-repository` plus `mapstruct` / `lombok`; add `yss-mybatis` when data architecture and domain metadata are stable |
|
|
181
|
+
| Implement Web adapter | `yss-web-controller` plus `yss-dto` / `mapstruct` / `lombok` when DTO / VO / WebConvertor work is involved |
|
|
163
182
|
|
|
164
183
|
## When Not To Use
|
|
165
184
|
|
|
166
185
|
- For a single YTable height/layout issue, use `yss-use-table-height` directly.
|
|
167
|
-
- For a single Repository / PO / Convertor / GatewayImpl task with stable domain metadata and data architecture, use `yss-repository` directly.
|
|
186
|
+
- For a single Repository / PO / Convertor / GatewayImpl task with stable domain metadata and data architecture, use `yss-repository` directly, and also load `mapstruct` / `lombok` when POJO or Convertor code is generated.
|
|
168
187
|
- For a request that only asks to run a specific Matt skill and already has the needed lifecycle artifacts, use that Matt skill directly.
|
|
169
188
|
|
|
170
189
|
## Output Contract
|
|
@@ -204,20 +223,24 @@ When the user explicitly asks for a full delivery plan, include stage-by-stage t
|
|
|
204
223
|
## Guardrails
|
|
205
224
|
|
|
206
225
|
- Do not skip opportunity exploration for new product/module work; use `competitive-intelligence` when market/competitor facts are needed, or record why it is not needed.
|
|
207
|
-
- Do not
|
|
208
|
-
- Do not
|
|
226
|
+
- Do not make technical, standards, framework, or third-party API claims that affect spec, OpenAPI, architecture, acceptance, or release decisions without `research` or equivalent primary-source evidence.
|
|
227
|
+
- Do not treat Discovery outputs as frozen downstream design. Discovery can provide product capability guidance and downstream impact signals, but spec, functional architecture, OpenAPI, system architecture, and data architecture still require their own gates.
|
|
228
|
+
- Do not treat throwaway `prototype` code as production code, as an implementation shortcut, or as the required Ant Design v6 high-fidelity HTML prototype. Keep the conclusion, delete or absorb the code.
|
|
229
|
+
- Do not start implementation before the spec is calibrated, product overview design / functional architecture exists, required architecture artifacts are explicit, product design / prototype / interaction design exists, low-fidelity `prototype-review` passes, high-fidelity Ant Design v6 HTML prototype exists when UI exists, OpenAPI Freeze decision, engineering baseline, design review, and vertical slice ticket are clear.
|
|
209
230
|
- Do not start implementation before deciding whether the impacted frontend/backend runtime projects already exist and can be reused. Missing or conflicting runtime projects must route back to implementation routing and scaffold initialization first.
|
|
210
231
|
- Do not skip business architecture for new products unless the product boundary, users, ecosystem, and value stream are already captured elsewhere.
|
|
211
|
-
- Do not skip product overview design / functional architecture after
|
|
232
|
+
- Do not skip product overview design / functional architecture after spec baseline. It is a required artifact before spec calibration, product design / prototype / interaction design, API impact analysis, OpenAPI Draft, requirement freeze, or implementation. Only tasks that do not enter the spec lifecycle may record a not-applicable reason in the impact assessment.
|
|
212
233
|
- Do not skip system architecture when services, deployment, integrations, performance, security, reliability, or operations are affected.
|
|
213
234
|
- Do not skip data architecture before persistence / repository work. For data modeling, metadata, versioning, or lineage products, treat it as mandatory before Design Review and OpenAPI Freeze.
|
|
214
|
-
- Do not let Excalidraw diagrams invent requirements or architecture decisions; diagrams must point back to source artifacts and any findings must be written back to
|
|
235
|
+
- Do not let Excalidraw diagrams invent requirements or architecture decisions; diagrams must point back to source artifacts and any findings must be written back to spec, OpenAPI, ADR, or tickets.
|
|
215
236
|
- Do not treat an OpenAPI Draft as an implementation or generated-client contract before OpenAPI Freeze. It is review-only until engineering baseline, system/data architecture, Design Review, and Freeze have approved it.
|
|
216
|
-
- Do not treat OpenSpec-style Spec Delta as a replacement for
|
|
237
|
+
- Do not treat OpenSpec-style Spec Delta as a replacement for spec, OpenAPI, Design Review, or vertical slice tickets. It only captures behavior differences, acceptance scenarios, and test / verification mapping.
|
|
217
238
|
- Do not require Spec Delta for small wording, local style, configuration, or low-risk bug fixes unless the change expands into API, permission, state-machine, data-model, cross-client, or security impacts.
|
|
218
239
|
- Do not move an OpenAPI Draft into Engineering Baseline / YSS DDD Review until `yss-openapi-draft-review` or an equivalent persistent review verifies P0 feature coverage, page action to endpoint mapping, YSS response wrappers, error structures, permissions, concurrency, security red lines, and contract test seams.
|
|
219
240
|
- Do not route directly to frontend/backend skills before `yss-router` when the task crosses multiple YSS areas.
|
|
241
|
+
- Do not cross threads, implementation repos, prototype branches, or context-window limits without `handoff` or an equivalent handoff record when downstream agents need continuity.
|
|
220
242
|
- Do not generate production code from this skill; hand off to the selected specialist skill.
|
|
243
|
+
- Do not complete merge/rebase conflict work without documenting resolution intent and rerunning relevant checks.
|
|
221
244
|
- Treat TDD as the default for business behavior implementation; generated code, configuration, or throwaway prototypes may use a documented exception with a verification command.
|
|
222
245
|
- Require independent review and fresh verification evidence before calling work complete.
|
|
223
246
|
- Flag security red lines from `AGENTS.md` as human-review items.
|
|
@@ -6,44 +6,46 @@ Use this checklist to decide whether the current request can move forward or mus
|
|
|
6
6
|
|
|
7
7
|
| Artifact | Typical location | Ready when |
|
|
8
8
|
|---|---|---|
|
|
9
|
-
| Domain context | `CONTEXT.md` | Key domain terms, actors, workflows, and invariants are clear enough for
|
|
9
|
+
| Domain context | `CONTEXT.md` | Key domain terms, actors, workflows, and invariants are clear enough for spec / code naming |
|
|
10
10
|
| Discovery | `docs/discovery/<feature>-discovery.md` or issue note | User, pain, why now, MVP, non-goals, and success criteria are explicit |
|
|
11
|
-
| Competitive intelligence | `docs/discovery/reports/<feature>-competitive-intelligence.md`, `<feature>-competitive-matrix.md`, or
|
|
12
|
-
|
|
|
13
|
-
| Business architecture | `docs/architecture/<feature>-business-architecture.md` or
|
|
14
|
-
| Functional architecture | `docs/architecture/<feature>-functional-architecture.md` or
|
|
15
|
-
| Product overview design | `docs/design/<feature>-product-overview-design.md` | Pages, flows, states, permissions, API candidates, and
|
|
11
|
+
| Competitive intelligence | `docs/discovery/reports/<feature>-competitive-intelligence.md`, `<feature>-competitive-matrix.md`, or ticket note | Competitors / substitutes, evidence sources, feature / pricing / positioning comparison, confidence, and spec implications are explicit |
|
|
12
|
+
| Spec | `docs/requirements/<feature>-spec.md` or tracker ticket | User stories, acceptance criteria, out of scope, OpenAPI impact, test decisions, and human-review points are clear |
|
|
13
|
+
| Business architecture | `docs/architecture/<feature>-business-architecture.md` or spec section | User journey, value stream, roles, external systems, and capability map are clear |
|
|
14
|
+
| Functional architecture | `docs/architecture/<feature>-functional-architecture.md` or spec/design section | Product capabilities, module boundaries, priority, dependencies, and MVP scope are clear |
|
|
15
|
+
| Product overview design | `docs/design/<feature>-product-overview-design.md` | Pages, flows, states, permissions, API candidates, and spec gaps are clear |
|
|
16
16
|
| Prototype / interaction review | `docs/design/<feature>-prototype-review.md` or issue comment | UI paths, empty/error/loading states, permission states, and API backflow list are reviewed |
|
|
17
|
-
| High-fidelity HTML prototype | `docs/design/prototypes/<feature>/index.html` | Ant Design v6 interactive HTML prototype exists after low-fidelity review and before
|
|
18
|
-
| API impact / OpenAPI Draft | `docs/api/specs/<feature>.yaml`,
|
|
19
|
-
| OpenAPI Freeze | `docs/api/<feature>-openapi-freeze.md` or
|
|
17
|
+
| High-fidelity HTML prototype | `docs/design/prototypes/<feature>/index.html` | Ant Design v6 interactive HTML prototype exists after low-fidelity review and before spec calibration / API Draft |
|
|
18
|
+
| API impact / OpenAPI Draft | `docs/api/specs/<feature>.yaml`, ticket note, or API impact record | Request/response, wrappers, errors, pagination, permissions, concurrency, and contract test seams are reviewable |
|
|
19
|
+
| OpenAPI Freeze | `docs/api/<feature>-openapi-freeze.md` or ticket comment | Draft has been reviewed and marked stable for frontend/backend implementation |
|
|
20
20
|
| Engineering baseline | `docs/architecture/<feature>-engineering-baseline-review.md` | YSS DDD module boundary, dependency direction, DTO/VO/CMD/Query conventions, and scaffold constraints are reviewed |
|
|
21
21
|
| System architecture | `docs/architecture/<feature>-system-overview-design.md`, `<feature>-system-architecture.md`, or `<feature>-architecture.md` | Service/module boundaries, deployment, integration, security, performance, reliability, observability, rollout, rollback, and architecture review questions are clear |
|
|
22
22
|
| Data architecture | `docs/architecture/<feature>-data-architecture.md` | Conceptual/logical/physical model, metadata, versioning, lineage, query, index, storage, and migration constraints are clear |
|
|
23
|
-
| Design review | `docs/architecture/<feature>-architecture-review.md` or
|
|
24
|
-
| Vertical slice
|
|
25
|
-
| Implementation routing | `docs/requirements/
|
|
26
|
-
| Build Architecture Checklist | `docs/implementation/<feature>-build-architecture-checklist.md`, implementation plan, or
|
|
27
|
-
| Review report | MR / PR comment or `docs/requirements/
|
|
28
|
-
| Fresh verification | `docs/testing/<feature>-verification.md`,
|
|
29
|
-
| Release / rollout | `docs/releases/`, `docs/implementation/`,
|
|
30
|
-
| Retrospective | `docs/process/sprint-retros/` or
|
|
23
|
+
| Design review | `docs/architecture/<feature>-architecture-review.md` or ticket comment | Open questions, risks, safety red lines, and implementation constraints have an explicit review outcome |
|
|
24
|
+
| Vertical slice ticket | GitLab / GitHub Issue, local `tickets.md`, or `docs/requirements/tickets/<feature>-slice.md` | Slice is end-to-end, independently demoable/verifiable, and not split by technical layer only |
|
|
25
|
+
| Implementation routing | `docs/requirements/tickets/<feature>-implementation-routing.md`, `docs/templates/implementation-routing-template.md`, or ticket note | Required YSS skills, impacted frontend/backend project existence decision, scaffold initialization plan when needed, verification command, review strategy, and rollback points are clear |
|
|
26
|
+
| Build Architecture Checklist | `docs/implementation/<feature>-build-architecture-checklist.md`, implementation plan, or ticket note | Architecture constraints are bound to slice IDs and have status/evidence/follow-up |
|
|
27
|
+
| Review report | MR / PR comment or `docs/requirements/tickets/<feature>-review.md` | Independent review covers spec fidelity, coding standards, tests, contract alignment, and safety red lines |
|
|
28
|
+
| Fresh verification | `docs/testing/<feature>-verification.md`, ticket / MR comment, or release note | Verification command, timestamp, result, failures, and residual risks are recorded |
|
|
29
|
+
| Release / rollout | `docs/releases/`, `docs/implementation/`, ticket / MR comment | Release steps, rollback, monitoring, and user-facing notes are clear when applicable |
|
|
30
|
+
| Retrospective | `docs/process/sprint-retros/` or ticket note | Process learnings, architecture drift, review findings, and follow-up changes are captured |
|
|
31
31
|
|
|
32
32
|
## Lifecycle Gate Checks
|
|
33
33
|
|
|
34
34
|
- Discovery is enough to explain user, pain, MVP, non-goals, success criteria, and downstream UI/API/data/architecture impact.
|
|
35
|
-
- Competitive intelligence uses current public evidence, separates facts from inference, and feeds
|
|
36
|
-
-
|
|
35
|
+
- Competitive intelligence uses current public evidence, separates facts from inference, and feeds spec / MVP decisions instead of becoming requirements by itself.
|
|
36
|
+
- Spec is enough to derive vertical slice acceptance tests and identify OpenAPI impact.
|
|
37
37
|
- UI work with user-facing flows has product design, interaction states, and prototype review evidence.
|
|
38
38
|
- API changes have OpenAPI Draft Review and Freeze evidence before implementation.
|
|
39
39
|
- Persistence, metadata, versioning, lineage, query, or index changes have data architecture before Repository / MyBatis implementation.
|
|
40
40
|
- Service boundary, integration, deployment, reliability, performance, or operations changes have system architecture before implementation.
|
|
41
|
-
- Vertical slice
|
|
41
|
+
- Vertical slice tickets are end-to-end and independently verifiable.
|
|
42
42
|
- Impacted frontend/backend runtime projects are confirmed to exist and be reusable before implementation; otherwise scaffold initialization is recorded and completed first.
|
|
43
|
+
- Backend build, test, OpenAPI generation, CI, review, and release commands use the backend repository root `./mvnw ...`; bare `mvn ...` has a documented controlled exception or is corrected before implementation / completion.
|
|
44
|
+
- Durable project documents use Chinese body text and Chinese section titles; English skill/template wording is treated as source guidance and not copied verbatim into deliverables.
|
|
43
45
|
- `yss-router` has selected the minimal YSS implementation skills before frontend/backend implementation when multiple YSS areas are touched.
|
|
44
46
|
- Build Architecture Checklist is established before implementing high-risk or architecture-sensitive slices.
|
|
45
47
|
- Fresh verification evidence exists before any complete / merge / release claim.
|
|
46
|
-
- Excalidraw diagrams, when used, are referenced by the corresponding Discovery,
|
|
48
|
+
- Excalidraw diagrams, when used, are referenced by the corresponding Discovery, spec, design, architecture, or ticket artifact and do not stand alone as decisions.
|
|
47
49
|
|
|
48
50
|
## Missing Artifact Response
|
|
49
51
|
|
|
@@ -7,26 +7,26 @@ Use this reference after reading current repo context. It maps request shape to
|
|
|
7
7
|
| Stage | Use when | Inputs to inspect | Output | Next route |
|
|
8
8
|
|---|---|---|---|---|
|
|
9
9
|
| 1. Intake / lifecycle triage | 新需求、继续需求、Bug、小调整、流程不清、缺失资产判断 | User request, `CONTEXT.md`, docs, issues, git state | stage decision, nearest trustworthy artifact, minimal skill list | route to earliest impacted stage |
|
|
10
|
-
| 2. Opportunity and Discovery | 模糊想法、竞品/市场输入、用户痛点尚不清楚 | discovery docs, market/user facts, stakeholder notes | user, pain, why now, MVP, non-goals, success criteria, downstream impact | `competitive-intelligence` when market / competitor facts are needed, then `grill-with-docs` /
|
|
11
|
-
| 3. Business /
|
|
12
|
-
| 4. Product design and requirement freeze | 有 UI、页面、交互、状态矩阵、权限状态、空/错/加载态、高保真体验 |
|
|
13
|
-
| 5. System / data architecture, engineering contract, and Design Review | 接口、DTO、错误结构、后端新服务、新模块、DDD 分层、服务边界、部署、集成、状态机、权限、NFR、持久化、元模型、版本、血缘 | calibrated requirements, design inputs, API impact decision, engineering impact decision | API impact record; contract sketch or reviewable OpenAPI Draft marked draft-for-review; OpenAPI Draft Review; engineering baseline review; system overview; data architecture when required; ADR candidates; Design Review result | contract freeze and
|
|
14
|
-
| 6. Contract freeze and
|
|
15
|
-
| 7. Vertical slices and TDD implementation |
|
|
10
|
+
| 2. Opportunity and Discovery | 模糊想法、竞品/市场输入、用户痛点尚不清楚 | discovery docs, market/user facts, stakeholder notes | user, pain, why now, MVP, non-goals, success criteria, downstream impact | `competitive-intelligence` when market / competitor facts are needed, then `grill-with-docs` / spec |
|
|
11
|
+
| 3. Business / spec / functional architecture | 需要明确用户故事、验收标准、功能边界、模块依赖 | discovery, `CONTEXT.md`, ADRs, existing Spec | Spec, business architecture, functional architecture, Spec review notes | product design or contract design |
|
|
12
|
+
| 4. Product design and requirement freeze | 有 UI、页面、交互、状态矩阵、权限状态、空/错/加载态、高保真体验 | spec, design system, existing UI, component docs | product overview design, interaction spec, state matrix, prototype review, Ant Design v6 high-fidelity HTML prototype, requirement freeze | contract and architecture review |
|
|
13
|
+
| 5. System / data architecture, engineering contract, and Design Review | 接口、DTO、错误结构、后端新服务、新模块、DDD 分层、服务边界、部署、集成、状态机、权限、NFR、持久化、元模型、版本、血缘 | calibrated requirements, design inputs, API impact decision, engineering impact decision | API impact record; contract sketch or reviewable OpenAPI Draft marked draft-for-review; OpenAPI Draft Review; engineering baseline review; system overview; data architecture when required; ADR candidates; Design Review result | contract freeze and ticket formalization |
|
|
14
|
+
| 6. Contract freeze and ticket formalization | OpenAPI Freeze、无 API 影响记录、正式拆分垂直切片 | Design Review approval, contract draft / OpenAPI Draft, spec/design/architecture artifacts | OpenAPI Freeze or no API impact record; GitHub/GitLab/local vertical slice tickets | vertical slices and TDD implementation |
|
|
15
|
+
| 7. Vertical slices and TDD implementation | ticket、切片、实现、review、清理简化 | frozen contract / no API impact, approved slice, implementation repo/location | implementation routing, YSS skill routing, tests, review, verification evidence | verification, release, and retrospective |
|
|
16
16
|
| 8. Verification, release, and retrospective | 准备合并、发布、归档、复盘、用户手册 | diff, tests, CI, review notes, release notes | fresh verification, release / rollback notes, retrospective, doc updates | next intake |
|
|
17
17
|
|
|
18
18
|
## Routing Principles
|
|
19
19
|
|
|
20
|
-
- Treat lifecycle opportunity exploration as product/MVP boundary work. Discovery may produce competitive analysis via `competitive-intelligence`, an opportunity statement, product capability guidance, and downstream impact signals, but it must not freeze
|
|
21
|
-
- Small iterations only expand from the earliest affected artifact. Do not rerun Discovery or
|
|
20
|
+
- Treat lifecycle opportunity exploration as product/MVP boundary work. Discovery may produce competitive analysis via `competitive-intelligence`, an opportunity statement, product capability guidance, and downstream impact signals, but it must not freeze spec, final functional architecture, OpenAPI, data architecture, or technical system design.
|
|
21
|
+
- Small iterations only expand from the earliest affected artifact. Do not rerun Discovery or spec if a copy/style/config change has no API, state, permission, data, module boundary, or security impact.
|
|
22
22
|
- If a small iteration only changes copy, local style, an existing option value, or documentation without touching API, state, permission, data, module boundary, or security red lines, route to direct minimal change plus verification.
|
|
23
|
-
- API changes route through OpenAPI Draft Review and Freeze, then `to-
|
|
23
|
+
- API changes route through OpenAPI Draft Review and Freeze, then `to-tickets`.
|
|
24
24
|
- For implementation spanning frontend and backend, first check whether the impacted frontend/backend runtime projects already exist and can be reused; if not, route to scaffold initialization before `yss-router`.
|
|
25
|
-
- If multiple
|
|
25
|
+
- If multiple specs or tickets look relevant, ask the user which one to continue before planning work.
|
|
26
26
|
|
|
27
27
|
## Required Inspection Before Implementation
|
|
28
28
|
|
|
29
|
-
1. Inspect the relevant
|
|
29
|
+
1. Inspect the relevant spec, ticket, OpenAPI Freeze or no-API-impact record, and architecture/design review when applicable.
|
|
30
30
|
2. Confirm the implementation repo/location.
|
|
31
31
|
3. Confirm whether each impacted frontend/backend runtime project already exists and is reusable; if not, route to `yss-ddd-scaffold-generator` or `yss-frontend-scaffold-generator`.
|
|
32
32
|
4. Confirm `yss-router` output when frontend/backend/YSS areas are involved.
|
|
@@ -40,7 +40,7 @@ Use this reference after reading current repo context. It maps request shape to
|
|
|
40
40
|
|
|
41
41
|
```text
|
|
42
42
|
使用 yss-product-lifecycle,判断 <feature> 当前生命周期阶段。
|
|
43
|
-
请先检查现有 Discovery、
|
|
43
|
+
请先检查现有 Discovery、spec、设计、OpenAPI、架构和 ticket 资产,
|
|
44
44
|
然后输出缺失资产、是否阻塞、下一步推荐 skill 和可直接使用的提示词。
|
|
45
45
|
```
|
|
46
46
|
|
|
@@ -49,14 +49,14 @@ Use this reference after reading current repo context. It maps request shape to
|
|
|
49
49
|
```text
|
|
50
50
|
使用 yss-product-lifecycle,判断 <topic> 是否需要先进入竞品分析。
|
|
51
51
|
如果需要,请路由到 competitive-intelligence,输出研究问题、竞品范围、证据来源计划、
|
|
52
|
-
竞品矩阵落点、
|
|
52
|
+
竞品矩阵落点、spec 输入和下一步 grill-with-docs / to-spec 衔接方式。
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
### API change
|
|
56
56
|
|
|
57
57
|
```text
|
|
58
58
|
使用 yss-product-lifecycle,评估 <feature> 的 API 影响。
|
|
59
|
-
请判断是否需要 OpenAPI Draft、Draft Review、Freeze、to-
|
|
59
|
+
请判断是否需要 OpenAPI Draft、Draft Review、Freeze、to-tickets,
|
|
60
60
|
并列出进入实现前必须补齐的 YSS skill routing、测试命令和审查点。
|
|
61
61
|
```
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Use this reference after reading current repo context. It maps request shape to
|
|
|
64
64
|
|
|
65
65
|
```text
|
|
66
66
|
使用 yss-product-lifecycle,检查 <issue-or-feature> 的实现准备度。
|
|
67
|
-
若
|
|
67
|
+
若 spec、OpenAPI Freeze 或架构清单缺失,请路由回对应阶段;
|
|
68
68
|
若已就绪,请先判断受影响的 frontend/backend 工程是否已存在且可复用;
|
|
69
69
|
若缺失则路由到对应脚手架 skill,否则输出最小 YSS skill 集合、TDD 策略、review 策略和验证命令。
|
|
70
70
|
```
|
|
@@ -16,9 +16,11 @@ Use this reference after lifecycle stage and slice scope are clear. Pick the min
|
|
|
16
16
|
| Backend service from scratch | `yss-ddd-scaffold-generator` | After implementation location decision; then baseline check |
|
|
17
17
|
| Backend scaffold baseline | `yss-backend-scaffold-parent` | Required after generated backend skeleton and before business implementation |
|
|
18
18
|
| Domain modeling / aggregate / state behavior | `yss-domain-modeling`, `yss-domain`, `yss-backend-scaffold-domain` | Use before repository/controller code when domain concepts are unstable |
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
19
|
+
| Application use case orchestration / transaction boundary | `yss-backend-scaffold-application` | Use when implementing AppService, command/query handling, cross-aggregate coordination, or transaction boundaries |
|
|
20
|
+
| Repository / PO / Convertor / GatewayImpl | `yss-repository` | Add `mapstruct` and `lombok` for POJO / Convertor work; add `yss-mybatis` / `yss-backend-scaffold-infrastructure` for mapper/persistence details |
|
|
21
|
+
| Web controller / DTO / VO / Web Convertor | `yss-web-controller`, `yss-dto`, `yss-backend-scaffold-web` | Requires OpenAPI Freeze or no-API-impact record; add `mapstruct` and `lombok` when DTO / VO / WebConvertor objects are created or converted |
|
|
22
|
+
| POJO boilerplate and object conversion | `lombok`, `mapstruct` | Required for Java POJO getter/setter/constructor/builder/logging and DTO / VO / PO / Domain Model conversion work |
|
|
23
|
+
| Java coding style and review | `alibaba-java-code-style` | Treat blockers as review blockers; include MapStruct / Lombok processor and anti-pattern checks |
|
|
22
24
|
| SQL condition/template/query utilities | `yss-sql-condition`, `yss-sql-tpl` | SQL red line still requires human review for native SQL |
|
|
23
25
|
| Audit log | `yss-audit-log` | Security and traceability impacts must be recorded |
|
|
24
26
|
| Cache | `yss-cache` | Include invalidation and consistency strategy |
|
|
@@ -29,9 +31,11 @@ Use this reference after lifecycle stage and slice scope are clear. Pick the min
|
|
|
29
31
|
## Routing Rules
|
|
30
32
|
|
|
31
33
|
- Do not route directly to frontend/backend implementation skills before `yss-router` when the task crosses multiple YSS areas.
|
|
32
|
-
- Do not use backend implementation skills before required
|
|
34
|
+
- Do not use backend implementation skills before required spec, OpenAPI Freeze/no-impact record, architecture/data design, and Build Architecture Checklist are ready for the slice.
|
|
33
35
|
- Do not use Repository / MyBatis skills before data architecture and domain metadata are stable enough to review.
|
|
34
36
|
- Do not use Controller / DTO skills before OpenAPI contract is frozen or explicitly marked as no API impact.
|
|
37
|
+
- Do not implement DTO / VO / PO / Domain Model conversions with `BeanUtils.copyProperties`, reflection copy, or repeated manual field assignment unless the implementation contract records a controlled exception, tests, and review evidence.
|
|
38
|
+
- Do not handwrite batches of getter/setter/constructor/builder/logger code for Java POJO classes when Lombok is available; use `lombok` or record a controlled exception.
|
|
35
39
|
- Do not use UI implementation skills before `yss-design-system` and product design/prototype review when user-facing workflow is affected.
|
|
36
40
|
- For bugs, start with `diagnosing-bugs`; route to YSS skills only after the failing feedback command points to the impacted area.
|
|
37
41
|
|
|
@@ -41,7 +45,7 @@ Use this reference after lifecycle stage and slice scope are clear. Pick the min
|
|
|
41
45
|
请使用 yss-router 为 <slice> 选择最小 YSS skill 集合。
|
|
42
46
|
|
|
43
47
|
已知资产:
|
|
44
|
-
-
|
|
48
|
+
- Spec / ticket: <path-or-link>
|
|
45
49
|
- OpenAPI Freeze / no API impact: <path-or-link>
|
|
46
50
|
- Architecture / data design: <path-or-link>
|
|
47
51
|
- Build Architecture Checklist: <path-or-link>
|
|
@@ -50,7 +54,8 @@ Use this reference after lifecycle stage and slice scope are clear. Pick the min
|
|
|
50
54
|
请输出:
|
|
51
55
|
1. 必须加载的 YSS skills
|
|
52
56
|
2. 可选 skills 与触发条件
|
|
53
|
-
3.
|
|
54
|
-
4.
|
|
55
|
-
5.
|
|
57
|
+
3. 是否必须加载 `mapstruct` / `lombok`,以及对象转换和 POJO 样板代码证据
|
|
58
|
+
4. TDD / 验证命令
|
|
59
|
+
5. 人审点和 TODO-HUMAN-REVIEW
|
|
60
|
+
6. 不应触碰的范围
|
|
56
61
|
```
|
|
@@ -23,8 +23,10 @@ description: 用于生成或重构 YSS Repository 持久层与 Domain Gateway
|
|
|
23
23
|
|
|
24
24
|
1. 先确认输入来源:领域模型、metadata、数据库表、DDL。
|
|
25
25
|
2. 如果 metadata 不完整,优先转到 `yss-db2mybatis` 提取。
|
|
26
|
-
3.
|
|
27
|
-
4.
|
|
26
|
+
3. 涉及 POJO 字段、getter/setter、constructor、builder 或日志时,必须加载并遵守 `lombok`。
|
|
27
|
+
4. 涉及 `PO <-> Domain Model`、集合转换、更新映射或枚举转换时,必须加载并遵守 `mapstruct`。
|
|
28
|
+
5. 生成代码时严格保持 Domain 与 Infrastructure 分层边界。
|
|
29
|
+
6. 默认先生成基础 CRUD 骨架,把复杂查询留给手工实现。
|
|
28
30
|
|
|
29
31
|
## 产物范围
|
|
30
32
|
|
|
@@ -38,17 +40,23 @@ description: 用于生成或重构 YSS Repository 持久层与 Domain Gateway
|
|
|
38
40
|
|
|
39
41
|
- Domain 不依赖 Infrastructure。
|
|
40
42
|
- Gateway 定义在 Domain,实现放在 Infrastructure。
|
|
41
|
-
-
|
|
43
|
+
- PO / Domain Model 等 POJO 样板代码优先使用 Lombok;不要成片手写 getter/setter、constructor、builder 或 logger。
|
|
44
|
+
- Convertor 必须优先使用 MapStruct;禁止 `BeanUtils.copyProperties`、反射式通用拷贝和重复手写字段赋值,除非实现合同记录受控例外、测试和 review 证据。
|
|
45
|
+
- MapStruct 与 Lombok 同时使用时,必须确认注解处理器顺序和 `lombok-mapstruct-binding` 配置;构建命令使用项目根目录 `./mvnw ...`。
|
|
42
46
|
- 逻辑删除、审计字段、主键策略要显式处理,不要隐式略过。
|
|
43
47
|
|
|
44
48
|
## 质量门禁
|
|
45
49
|
|
|
46
50
|
- 生成代码必须可编译。
|
|
47
51
|
- 命名、包路径、注解要与工程现有规范一致。
|
|
52
|
+
- Convertor 必须有 MapStruct 接口 / 抽象类、生成实现可编译,必要时补 mapper 单测或覆盖核心字段转换的行为测试。
|
|
53
|
+
- POJO 使用 Lombok 时不得引入 `@Data` 造成实体 equals / toString 风险;有关系字段、敏感字段或懒加载字段时按 `lombok` skill 排除。
|
|
48
54
|
- 遇到无法自动判断的字段或规则时,写 TODO 或向用户说明,不要假装已确认。
|
|
49
55
|
|
|
50
56
|
## 协同顺序
|
|
51
57
|
|
|
52
58
|
- metadata 提取:`yss-db2mybatis`
|
|
53
59
|
- 领域建模:`yss-domain`
|
|
60
|
+
- POJO 样板代码:`lombok`
|
|
61
|
+
- 对象转换:`mapstruct`
|
|
54
62
|
- Web 补齐:`yss-web-controller`
|
|
@@ -19,7 +19,7 @@ When the request is already narrowly scoped, use the matching specialist directl
|
|
|
19
19
|
|
|
20
20
|
## Lifecycle Boundaries
|
|
21
21
|
|
|
22
|
-
- If the task introduces or changes a frontend/backend API contract, route back to `yss-product-lifecycle` until
|
|
22
|
+
- If the task introduces or changes a frontend/backend API contract, route back to `yss-product-lifecycle` until Spec, OpenAPI Draft, engineering baseline/design review, and OpenAPI Freeze are clear.
|
|
23
23
|
- `api-integration` consumes generated clients and wires page behavior; it must not invent missing API paths, DTOs, or response shapes.
|
|
24
24
|
- `yss-openapi` is for generating or refreshing contracts/Orval clients after OpenAPI Freeze, or for regenerating from an already implemented backend source of truth.
|
|
25
25
|
|
|
@@ -61,7 +61,6 @@ When the request is already narrowly scoped, use the matching specialist directl
|
|
|
61
61
|
| Work with current user info propagation or user info starter | `yss-userinfo` |
|
|
62
62
|
| Work with variable component APIs | `yss-variable` |
|
|
63
63
|
| Work with quality starter behavior | `yss-quality` |
|
|
64
|
-
| Work with DolphinScheduler anti-corrosion/anti-scheduler integration | `yss-anti-scheduler` |
|
|
65
64
|
| Work with exception component or unified exception handling | `yss-exception` |
|
|
66
65
|
| Work with mail starter or email sending | `yss-mail` |
|
|
67
66
|
| Work with file runner component | `yss-filerunner` |
|
|
@@ -98,7 +97,7 @@ Backend component skills have generated source indexes under `references/source-
|
|
|
98
97
|
中文说明:当问题涉及真实类名、配置项、注解、拦截器、自动配置或排障时,先读对应 `source-index.md`,它会指向后端组件源码库里的真实入口。
|
|
99
98
|
|
|
100
99
|
- Core framework/component examples: `yss-cache`, `yss-mybatis`, `yss-dto`, `yss-audit-log`, `yss-excel-mvc`, `yss-distributed-id`, `yss-jdbc`.
|
|
101
|
-
- Extended component examples: `yss-dictionary`, `yss-dir`, `yss-file`, `yss-log`, `yss-liquibase`, `yss-resilience4j`, `yss-sql-condition`, `yss-sql-tpl`, `yss-taskflow`, `yss-validation`, `yss-security-algorithm`, `yss-userinfo`, `yss-variable`, `yss-quality`, `yss-
|
|
100
|
+
- Extended component examples: `yss-dictionary`, `yss-dir`, `yss-file`, `yss-log`, `yss-liquibase`, `yss-resilience4j`, `yss-sql-condition`, `yss-sql-tpl`, `yss-taskflow`, `yss-validation`, `yss-security-algorithm`, `yss-userinfo`, `yss-variable`, `yss-quality`, `yss-exception`, `yss-mail`, `yss-filerunner`, `yss-valuation`, `yss-duckdb`, `yss-mapper-dynamic`.
|
|
102
101
|
|
|
103
102
|
Regenerate these indexes with `yss-source-index/scripts/refresh-yss-skill-index.py` after `yss-cloud-microservice` changes. Read `yss-source-index/references/source-map-config.md` when you need the full skill-to-source mapping.
|
|
104
103
|
|
|
@@ -54,7 +54,6 @@ Default for backend CRUD: use `yss-domain`, `yss-dto`, `yss-repository`, and `ys
|
|
|
54
54
|
- `yss-userinfo`: Current-user info propagation and starter integration.
|
|
55
55
|
- `yss-variable`: Variable component APIs and variable resolution.
|
|
56
56
|
- `yss-quality`: Quality starter behavior.
|
|
57
|
-
- `yss-anti-scheduler`: DolphinScheduler anti-corrosion/anti-scheduler integration.
|
|
58
57
|
- `yss-exception`: Exception component and unified exception handling.
|
|
59
58
|
- `yss-mail`: Mail starter and email sending.
|
|
60
59
|
- `yss-filerunner`: File runner component behavior.
|
|
@@ -27,7 +27,6 @@ The refresh script maps component source path hints to skill references. These p
|
|
|
27
27
|
| `yss-userinfo` | `yss-microservice-components/yss-component-userinfo-starter` |
|
|
28
28
|
| `yss-variable` | `yss-microservice-components/yss-component-variable` |
|
|
29
29
|
| `yss-quality` | `yss-microservice-components/yss-component-quality-starter` |
|
|
30
|
-
| `yss-anti-scheduler` | `yss-microservice-components/yss-component-anti-corrosion/yss-component-anti-scheduler` |
|
|
31
30
|
| `yss-exception` | `yss-microservice-components/yss-component-exception` |
|
|
32
31
|
| `yss-mail` | `yss-microservice-components/yss-component-mail-starter` |
|
|
33
32
|
| `yss-filerunner` | `yss-microservice-components/yss-component-filerunner-parent` |
|
|
@@ -76,9 +76,6 @@ BACKEND_SKILLS = {
|
|
|
76
76
|
"yss-quality": [
|
|
77
77
|
"yss-microservice-components/yss-component-quality-starter",
|
|
78
78
|
],
|
|
79
|
-
"yss-anti-scheduler": [
|
|
80
|
-
"yss-microservice-components/yss-component-anti-corrosion/yss-component-anti-scheduler",
|
|
81
|
-
],
|
|
82
79
|
"yss-exception": [
|
|
83
80
|
"yss-microservice-components/yss-component-exception",
|
|
84
81
|
],
|
|
@@ -21,9 +21,11 @@ description: 用于根据 YSS 规范生成或重构 Web Adapter Controller 层
|
|
|
21
21
|
## 优先流程
|
|
22
22
|
|
|
23
23
|
1. 先确认 metadata、基础包、模块名、领域 segment、domain/web 落盘目录。
|
|
24
|
-
2.
|
|
25
|
-
3.
|
|
26
|
-
4.
|
|
24
|
+
2. 涉及 DTO / VO / CMD / Query POJO 样板代码时,加载并遵守 `lombok`。
|
|
25
|
+
3. 涉及 Domain / Application Result 到 VO / DTO 或 CMD / Query 到输入模型的转换时,加载并遵守 `mapstruct`。
|
|
26
|
+
4. 运行 `scripts/generate_controller.py`。
|
|
27
|
+
5. 生成后检查路径、命名、返回值包装、Gateway 引用、Lombok 注解和 MapStruct WebConvertor 是否对齐项目。
|
|
28
|
+
6. 对复杂接口做少量手工修正,不在 skill 中承诺自动覆盖全部业务逻辑。
|
|
27
29
|
|
|
28
30
|
## 推荐命令
|
|
29
31
|
|
|
@@ -51,6 +53,8 @@ python3 scripts/generate_controller.py \
|
|
|
51
53
|
|
|
52
54
|
- 生成代码默认依赖既有 Domain Gateway,不直接穿透 Repository。
|
|
53
55
|
- 返回结构保持项目既有 `SingleResult`、`PageResult`、`MultiResult` 体系。
|
|
56
|
+
- DTO / VO / CMD / Query 默认用 Lombok 处理 getter/setter、constructor、builder 和日志样板;不要在 Controller 内部类或非约定包临时定义主要 DTO / VO。
|
|
57
|
+
- `WebConvertor` 默认使用 MapStruct;禁止在 Controller / Application 中大段手写字段赋值、使用 `BeanUtils.copyProperties` 或反射式通用拷贝,除非有受控例外和测试证据。
|
|
54
58
|
- 先跑脚本,再按项目规范做少量手调。
|
|
55
59
|
- 若用户只是要改单个 Controller,先看现有代码,不要盲覆盖整个目录。
|
|
56
60
|
|
|
@@ -59,3 +63,5 @@ python3 scripts/generate_controller.py \
|
|
|
59
63
|
- 生成脚本:`scripts/generate_controller.py`
|
|
60
64
|
- Controller 模板:`assets/templates/Controller.java.template`
|
|
61
65
|
- Convertor 模板:`assets/templates/WebConvertor.java.template`
|
|
66
|
+
- POJO 样板代码:`lombok`
|
|
67
|
+
- 对象转换:`mapstruct`
|