speccrew 0.1.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.
Files changed (153) hide show
  1. package/.speccrew/agents/speccrew-feature-designer.md +142 -0
  2. package/.speccrew/agents/speccrew-product-manager.md +61 -0
  3. package/.speccrew/agents/speccrew-system-designer.md +200 -0
  4. package/.speccrew/agents/speccrew-system-developer.md +238 -0
  5. package/.speccrew/agents/speccrew-task-worker.md +80 -0
  6. package/.speccrew/agents/speccrew-team-leader.md +92 -0
  7. package/.speccrew/agents/speccrew-test-manager.md +313 -0
  8. package/.speccrew/skills/speccrew-create-agents/SKILL.md +98 -0
  9. package/.speccrew/skills/speccrew-create-agents/templates/agents/designer-agent.md +54 -0
  10. package/.speccrew/skills/speccrew-create-agents/templates/agents/dev-agent.md +79 -0
  11. package/.speccrew/skills/speccrew-create-agents/templates/agents/test-agent.md +80 -0
  12. package/.speccrew/skills/speccrew-dev-backend/SKILL.md +205 -0
  13. package/.speccrew/skills/speccrew-dev-backend/templates/TASK-RECORD-TEMPLATE.md +118 -0
  14. package/.speccrew/skills/speccrew-dev-desktop/SKILL.md +258 -0
  15. package/.speccrew/skills/speccrew-dev-desktop/templates/TASK-RECORD-TEMPLATE.md +161 -0
  16. package/.speccrew/skills/speccrew-dev-frontend/SKILL.md +202 -0
  17. package/.speccrew/skills/speccrew-dev-frontend/templates/TASK-RECORD-TEMPLATE.md +115 -0
  18. package/.speccrew/skills/speccrew-dev-mobile/SKILL.md +200 -0
  19. package/.speccrew/skills/speccrew-dev-mobile/templates/TASK-RECORD-TEMPLATE.md +125 -0
  20. package/.speccrew/skills/speccrew-fd-api-contract/SKILL.md +73 -0
  21. package/.speccrew/skills/speccrew-fd-api-contract/templates/API-CONTRACT-TEMPLATE.md +96 -0
  22. package/.speccrew/skills/speccrew-fd-feature-design/SKILL.md +395 -0
  23. package/.speccrew/skills/speccrew-fd-feature-design/templates/FEATURE-SPEC-TEMPLATE.md +387 -0
  24. package/.speccrew/skills/speccrew-get-timestamp/SKILL.md +80 -0
  25. package/.speccrew/skills/speccrew-get-timestamp/scripts/get-timestamp.js +35 -0
  26. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/SKILL.md +1116 -0
  27. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-FASTAPI.md +462 -0
  28. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-JAVA.md +480 -0
  29. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE-NET.md +464 -0
  30. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/FEATURE-DETAIL-TEMPLATE.md +480 -0
  31. package/.speccrew/skills/speccrew-knowledge-bizs-api-analyze/templates/MODULE-OVERVIEW-TEMPLATE.md +367 -0
  32. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/SKILL.md +667 -0
  33. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/STATUS-FORMATS.md +74 -0
  34. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/batch-orchestrator.js +176 -0
  35. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/get-next-batch.js +150 -0
  36. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/get-pending-features.js +106 -0
  37. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/mark-stale.js +249 -0
  38. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/process-batch-results.js +848 -0
  39. package/.speccrew/skills/speccrew-knowledge-bizs-dispatch/scripts/update-feature-status.js +226 -0
  40. package/.speccrew/skills/speccrew-knowledge-bizs-init-features/SKILL.md +264 -0
  41. package/.speccrew/skills/speccrew-knowledge-bizs-init-features/examples/features.json +34 -0
  42. package/.speccrew/skills/speccrew-knowledge-bizs-init-features/scripts/generate-inventory.js +867 -0
  43. package/.speccrew/skills/speccrew-knowledge-bizs-init-features/scripts/test-inventory.js +26 -0
  44. package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/SKILL.md +165 -0
  45. package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/scripts/apply-module-mapping.js +208 -0
  46. package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/scripts/extract-module-summary.js +180 -0
  47. package/.speccrew/skills/speccrew-knowledge-bizs-module-classify/scripts/reindex-modules.js +358 -0
  48. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/SKILL.md +1055 -0
  49. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/templates/FEATURE-DETAIL-TEMPLATE-UI-DESKTOP.md +303 -0
  50. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/templates/FEATURE-DETAIL-TEMPLATE-UI-ELECTRON.md +327 -0
  51. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/templates/FEATURE-DETAIL-TEMPLATE-UI-MINIAPP.md +292 -0
  52. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/templates/FEATURE-DETAIL-TEMPLATE-UI-MOBILE.md +281 -0
  53. package/.speccrew/skills/speccrew-knowledge-bizs-ui-analyze/templates/FEATURE-DETAIL-TEMPLATE-UI.md +324 -0
  54. package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/SKILL.md +270 -0
  55. package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/templates/COMPONENT-PATTERN-TEMPLATE.md +33 -0
  56. package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/templates/LAYOUT-PATTERN-TEMPLATE.md +33 -0
  57. package/.speccrew/skills/speccrew-knowledge-bizs-ui-style-extract/templates/PAGE-TYPE-TEMPLATE.md +33 -0
  58. package/.speccrew/skills/speccrew-knowledge-graph-query/SKILL.md +229 -0
  59. package/.speccrew/skills/speccrew-knowledge-graph-query/scripts/graph-query.js +549 -0
  60. package/.speccrew/skills/speccrew-knowledge-graph-write/SKILL.md +181 -0
  61. package/.speccrew/skills/speccrew-knowledge-graph-write/scripts/graph-write.js +651 -0
  62. package/.speccrew/skills/speccrew-knowledge-module-summarize/SKILL.md +305 -0
  63. package/.speccrew/skills/speccrew-knowledge-module-summarize/templates/MODULE-OVERVIEW-TEMPLATE.md +400 -0
  64. package/.speccrew/skills/speccrew-knowledge-system-summarize/SKILL.md +351 -0
  65. package/.speccrew/skills/speccrew-knowledge-system-summarize/templates/SYSTEM-OVERVIEW-TEMPLATE.md +294 -0
  66. package/.speccrew/skills/speccrew-knowledge-techs-dispatch/SKILL.md +683 -0
  67. package/.speccrew/skills/speccrew-knowledge-techs-dispatch/STATUS-FORMATS.md +550 -0
  68. package/.speccrew/skills/speccrew-knowledge-techs-dispatch/templates/techs-manifest-EXAMPLE.json +35 -0
  69. package/.speccrew/skills/speccrew-knowledge-techs-generate/SKILL.md +1087 -0
  70. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/ARCHITECTURE-TEMPLATE.md +240 -0
  71. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/COLOR-SYSTEM-TEMPLATE.md +68 -0
  72. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/COMPONENT-LIBRARY-TEMPLATE.md +86 -0
  73. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-BUILD-TEMPLATE.md +466 -0
  74. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-DATA-TEMPLATE.md +432 -0
  75. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-DESIGN-TEMPLATE.md +1209 -0
  76. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-DEV-TEMPLATE.md +1433 -0
  77. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-SYSTEM-TEST-TEMPLATE.md +1052 -0
  78. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/CONVENTIONS-UNIT-TEST-TEMPLATE.md +946 -0
  79. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/INDEX-TEMPLATE.md +29 -0
  80. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/PAGE-LAYOUTS-TEMPLATE.md +69 -0
  81. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/PAGE-TYPE-SUMMARY-TEMPLATE.md +74 -0
  82. package/.speccrew/skills/speccrew-knowledge-techs-generate/templates/TECH-STACK-TEMPLATE.md +232 -0
  83. package/.speccrew/skills/speccrew-knowledge-techs-generate-conventions/SKILL.md +628 -0
  84. package/.speccrew/skills/speccrew-knowledge-techs-generate-ui-style/SKILL.md +392 -0
  85. package/.speccrew/skills/speccrew-knowledge-techs-index/SKILL.md +489 -0
  86. package/.speccrew/skills/speccrew-knowledge-techs-index/templates/INDEX-TEMPLATE.md +243 -0
  87. package/.speccrew/skills/speccrew-knowledge-techs-init/SKILL.md +269 -0
  88. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/SKILL.md +562 -0
  89. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/BUSINESS-COMPONENTS-TEMPLATE.md +171 -0
  90. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMMON-COMPONENTS-TEMPLATE.md +177 -0
  91. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMPONENT-INDIVIDUAL-TEMPLATE.md +80 -0
  92. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/COMPONENT-LIBRARY-TEMPLATE.md +118 -0
  93. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/LAYOUT-INDIVIDUAL-TEMPLATE.md +97 -0
  94. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/LAYOUT-PATTERNS-TEMPLATE.md +208 -0
  95. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/NAVIGATION-PATTERNS-TEMPLATE.md +157 -0
  96. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/PAGE-TYPE-INDIVIDUAL-TEMPLATE.md +123 -0
  97. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/PAGE-TYPE-SUMMARY-TEMPLATE.md +58 -0
  98. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/SPACING-TEMPLATE.md +119 -0
  99. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/STYLE-SYSTEM-TEMPLATE.md +117 -0
  100. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/TYPOGRAPHY-TEMPLATE.md +107 -0
  101. package/.speccrew/skills/speccrew-knowledge-techs-ui-analyze/templates/UI-STYLE-GUIDE-TEMPLATE.md +171 -0
  102. package/.speccrew/skills/speccrew-pm-requirement-analysis/SKILL.md +434 -0
  103. package/.speccrew/skills/speccrew-pm-requirement-analysis/templates/BIZS-MODELING-TEMPLATE.md +332 -0
  104. package/.speccrew/skills/speccrew-pm-requirement-analysis/templates/PRD-TEMPLATE.md +200 -0
  105. package/.speccrew/skills/speccrew-pm-requirement-assess/SKILL.md +195 -0
  106. package/.speccrew/skills/speccrew-project-diagnosis/SKILL.md +208 -0
  107. package/.speccrew/skills/speccrew-project-diagnosis/templates/DIAGNOSIS-REPORT-TEMPLATE.md +202 -0
  108. package/.speccrew/skills/speccrew-sd-backend/SKILL.md +188 -0
  109. package/.speccrew/skills/speccrew-sd-backend/templates/INDEX-TEMPLATE.md +85 -0
  110. package/.speccrew/skills/speccrew-sd-backend/templates/SD-BACKEND-TEMPLATE.md +269 -0
  111. package/.speccrew/skills/speccrew-sd-desktop/SKILL.md +192 -0
  112. package/.speccrew/skills/speccrew-sd-desktop/templates/INDEX-TEMPLATE.md +271 -0
  113. package/.speccrew/skills/speccrew-sd-desktop/templates/SD-DESKTOP-TEMPLATE.md +673 -0
  114. package/.speccrew/skills/speccrew-sd-frontend/SKILL.md +176 -0
  115. package/.speccrew/skills/speccrew-sd-frontend/templates/INDEX-TEMPLATE.md +184 -0
  116. package/.speccrew/skills/speccrew-sd-frontend/templates/SD-FRONTEND-TEMPLATE.md +382 -0
  117. package/.speccrew/skills/speccrew-sd-mobile/SKILL.md +189 -0
  118. package/.speccrew/skills/speccrew-sd-mobile/templates/INDEX-TEMPLATE.md +219 -0
  119. package/.speccrew/skills/speccrew-sd-mobile/templates/SD-MOBILE-TEMPLATE.md +534 -0
  120. package/.speccrew/skills/speccrew-test-case-design/SKILL.md +284 -0
  121. package/.speccrew/skills/speccrew-test-case-design/templates/TEST-CASE-DESIGN-TEMPLATE.md +263 -0
  122. package/.speccrew/skills/speccrew-test-code-gen/SKILL.md +313 -0
  123. package/.speccrew/skills/speccrew-test-code-gen/templates/TEST-CODE-PLAN-TEMPLATE.md +180 -0
  124. package/.speccrew/skills/speccrew-test-execute/SKILL.md +283 -0
  125. package/.speccrew/skills/speccrew-test-execute/templates/BUG-REPORT-TEMPLATE.md +50 -0
  126. package/.speccrew/skills/speccrew-test-execute/templates/TEST-REPORT-TEMPLATE.md +57 -0
  127. package/.speccrew/skills/speccrew-workflow-diagnose/SKILL.md +155 -0
  128. package/LICENSE +21 -0
  129. package/README.ar.md +318 -0
  130. package/README.en.md +318 -0
  131. package/README.es.md +318 -0
  132. package/README.md +340 -0
  133. package/bin/cli.js +62 -0
  134. package/lib/commands/doctor.js +138 -0
  135. package/lib/commands/init.js +231 -0
  136. package/lib/commands/list.js +114 -0
  137. package/lib/commands/uninstall.js +117 -0
  138. package/lib/commands/update.js +351 -0
  139. package/lib/ide-adapters.js +73 -0
  140. package/lib/utils.js +104 -0
  141. package/package.json +28 -0
  142. package/workspace-template/docs/configs/document-templates.json +667 -0
  143. package/workspace-template/docs/configs/platform-mapping.json +194 -0
  144. package/workspace-template/docs/configs/tech-stack-mappings.json +313 -0
  145. package/workspace-template/docs/configs/validation-rules.json +87 -0
  146. package/workspace-template/docs/rules/mermaid-rule.md +114 -0
  147. package/workspace-template/docs/solutions/Agent/346/212/200/350/203/275/345/256/232/344/271/211+/351/234/200/346/261/202/346/226/207/346/241/243+UML/344/275/277/347/224/250/346/250/241/346/235/277/357/274/210ISA-95/345/205/255/346/256/265/345/274/217/350/236/215/345/220/210/347/211/210/357/274/211.md +586 -0
  148. package/workspace-template/docs/solutions/agent-knowledge-map.md +238 -0
  149. package/workspace-template/docs/solutions/bizs-knowledge-pipeline.md +678 -0
  150. package/workspace-template/docs/solutions/harness.md +410 -0
  151. package/workspace-template/docs/solutions/knowledge-incremental-sync-spec.md +943 -0
  152. package/workspace-template/docs/solutions/techs-knowledge-pipeline.md +803 -0
  153. package/workspace-template/docs/solutions/workspace-structure.md +318 -0
@@ -0,0 +1,324 @@
1
+
2
+ # Feature Detail Design Template - [Feature Name]
3
+
4
+ ## 1. Content Overview
5
+
6
+ name: {Feature Name}
7
+
8
+ description: Feature overview.
9
+
10
+ document-path: {documentPath}
11
+ source-path: {sourcePath}
12
+
13
+ ## 2. Interface Prototype
14
+
15
+ <!-- AI-TAG: UI_PROTOTYPE -->
16
+ <!-- AI-NOTE: UI prototype uses ASCII wireframes to visually display page layout, elements and their positions -->
17
+ <!-- AI-NOTE: ONLY draw prototype for the MAIN PAGE defined in {{sourcePath}} -->
18
+ <!-- AI-NOTE: DO NOT draw prototypes for external components/modals defined in other files -->
19
+ <!-- AI-NOTE: For external pages or shared components, only add reference links in Section 5, no prototypes -->
20
+
21
+ ### 2.1 {Main Page Name}
22
+
23
+ ```
24
+ ┌─────────────────────────────────────────────────────────────┐
25
+ │ [Page Title] {e.g., Product Management List} │
26
+ ├─────────────────────────────────────────────────────────────┤
27
+ │ ┌─────────────┬─────────────┬─────────────┬─────────────┐ │
28
+ │ │ Filter Area │ □ Checkbox │ Input □ │ Dropdown ▼ │ │
29
+ │ │ │ Keyword:____|____________ │ Status:_____▼│ │
30
+ │ │ │ [Query] [Reset] [Add] │ │
31
+ │ └─────────────┴─────────────┴─────────────┴─────────────┘ │
32
+ │ │
33
+ │ ┌─────────────────────────────────────────────────────────┐ │
34
+ │ │ No. │ Field 1 │ Field 2 │ Field 3 │ Actions │ │
35
+ │ ├──────┼─────────┼─────────┼─────────┼─────────────────┤ │
36
+ │ │ 1 │ {Value} │ {Value} │ {Value} │ [Edit][Delete] │ │
37
+ │ │ 2 │ {Value} │ {Value} │ {Value} │ [Edit][Delete] │ │
38
+ │ │ ... │ ... │ ... │ ... │ ... │ │
39
+ │ └──────┴─────────┴─────────┴─────────┴─────────────────┘ │ │
40
+ │ │
41
+ │ ┌─────────────────────────────────────────────────────────┐ │
42
+ │ │ Pagination: Total {X} records Page [1][2][3] {X}/page ▼│ │
43
+ │ └─────────────────────────────────────────────────────────┘ │
44
+ └─────────────────────────────────────────────────────────────┘
45
+ ```
46
+
47
+ **Interface Element Description:**
48
+
49
+ | Area | Element | Type | Description | Interaction | Source Link |
50
+ |------|---------|------|-------------|-------------|-------------|
51
+ | Filter Area | Keyword | Input | {Fuzzy search product name/code} | Enter to trigger query | [Source](../../{sourcePath}) |
52
+ | Filter Area | Status Dropdown | Dropdown | {Filter product status} | Change triggers query | [Source](../../{sourcePath}) |
53
+ | Filter Area | Query Button | Button | {Execute query} | Click to refresh list | [Source](../../{sourcePath}) |
54
+ | List Area | Edit Link | Link | {Open edit page} | Click to navigate | [Source](../../{sourcePath}) |
55
+ | List Area | Delete Link | Link | {Delete record} | Click to confirm deletion | [Source](../../{sourcePath}) |
56
+
57
+ **External References:**
58
+ - Edit page: Navigate to [Edit Page](./edit.md) (external page, not drawn here)
59
+ - Delete confirmation: Uses [DeleteConfirm Component](../../components/DeleteConfirm.md) (shared component)
60
+
61
+ <!-- AI-NOTE: DO NOT draw prototypes for external components/modals defined in other files -->
62
+ <!-- AI-NOTE: Only document embedded modals that are defined within the same source file -->
63
+ <!-- AI-NOTE: For external components, only add reference links in Section 5.3 or 5.4 -->
64
+
65
+
66
+ ## 3. Business Flow Description
67
+
68
+ <!-- AI-TAG: BUSINESS_FLOW -->
69
+ <!-- AI-NOTE: Document ALL business flows triggered by user interactions in this page -->
70
+ <!-- AI-NOTE: Include: page initialization, component events (onChange, onClick, etc.), timers, websocket, page close -->
71
+ <!-- AI-NOTE: For backend APIs and frontend shared methods: only show name, type and main function, NO deep analysis -->
72
+ <!-- AI-NOTE: Follow speccrew-workspace/docs/rules/mermaid-rule.md guidelines: use graph TB/LR, no parentheses in node text, no HTML tags, no style -->
73
+
74
+ ### 3.1 Page Initialization Flow
75
+
76
+ <!-- AI-NOTE: Document the business flow when page loads -->
77
+
78
+ ```mermaid
79
+ graph TB
80
+ Start([Page Load]) --> Init[Initialize Page State]
81
+ Init --> CheckParams[Parse URL Parameters]
82
+ CheckParams --> LoadData[Load Initial Data]
83
+ LoadData --> Render[Render Page]
84
+ Render --> End([End])
85
+
86
+ LoadData -->|Call| API1[API getList - Query API - Fetch data list]
87
+ LoadData -->|Call| Method1[Method formatParams - Shared Method - Format query parameters]
88
+ ```
89
+
90
+ **Flow Description:**
91
+
92
+ | Step | Business Operation | Trigger | Source |
93
+ |------|-------------------|---------|--------|
94
+ | 1 | Initialize page state | Page mount | [Source](../../{sourcePath}) |
95
+ | 2 | Parse URL parameters | Route change | [Source](../../{sourcePath}) |
96
+ | 3 | Load initial data | After params parsed | [Source](../../{sourcePath}) |
97
+ | 4 | Render page | Data loaded | [Source](../../{sourcePath}) |
98
+
99
+ **Referenced Items:**
100
+ | Name | Type | Main Function | Document Path |
101
+ |------|------|---------------|---------------|
102
+ | getList | API | Fetch data list | [API Doc](../../apis/getList.md) |
103
+ | formatParams | Shared Method | Format query parameters | [Method Doc](../../utils/formatParams.md) |
104
+
105
+ ### 3.2 Component Event Flows
106
+
107
+ <!-- AI-NOTE: Document business flows for each component event (onClick, onChange, onBlur, etc.) -->
108
+
109
+ #### 3.2.1 {Event Name: e.g., Query Button onClick}
110
+
111
+ ```mermaid
112
+ graph TB
113
+ Click[User Click] --> Validate[Validate Input]
114
+ Validate -->|Valid| Prepare[Prepare Query Params]
115
+ Validate -->|Invalid| ShowError[Show Error Message]
116
+ Prepare --> CallAPI[Call API]
117
+ CallAPI --> HandleResp[Handle Response]
118
+ HandleResp --> UpdateUI[Update List Display]
119
+
120
+ CallAPI -->|Call| API2[API queryData - Query API - Search with filters]
121
+ Prepare -->|Call| Method2[Method buildQuery - Shared Method - Build query object]
122
+ ```
123
+
124
+ **Flow Description:**
125
+
126
+ | Step | Business Operation | Trigger | Source |
127
+ |------|-------------------|---------|--------|
128
+ | 1 | Validate input | onClick | [Source](../../{sourcePath}) |
129
+ | 2 | Prepare query params | Validation passed | [Source](../../{sourcePath}) |
130
+ | 3 | Call API | Params ready | [Source](../../{sourcePath}) |
131
+ | 4 | Handle response | API returned | [Source](../../{sourcePath}) |
132
+ | 5 | Update UI | Data processed | [Source](../../{sourcePath}) |
133
+
134
+ **Referenced Items:**
135
+ | Name | Type | Main Function | Document Path |
136
+ |------|------|---------------|---------------|
137
+ | queryData | API | Search with filters | [API Doc](../../apis/queryData.md) |
138
+ | buildQuery | Shared Method | Build query object | [Method Doc](../../utils/buildQuery.md) |
139
+
140
+ #### 3.2.2 {Event Name: e.g., Dropdown onChange}
141
+
142
+ ```mermaid
143
+ graph TB
144
+ Change[Value Changed] --> CheckValue[Check Selected Value]
145
+ CheckValue -->|Has Value| LoadSub[Load Sub-options]
146
+ CheckValue -->|Empty| ClearSub[Clear Sub-options]
147
+ LoadSub --> UpdateUI[Update Dropdown]
148
+ ```
149
+
150
+ **Flow Description:**
151
+
152
+ | Step | Business Operation | Trigger | Source |
153
+ |------|-------------------|---------|--------|
154
+ | 1 | Check selected value | onChange | [Source](../../{sourcePath}) |
155
+ | 2 | Load/Clear sub-options | Based on value | [Source](../../{sourcePath}) |
156
+ | 3 | Update UI | Options ready | [Source](../../{sourcePath}) |
157
+
158
+ ### 3.3 Timer/WebSocket Flows (if applicable)
159
+
160
+ <!-- AI-NOTE: Document flows triggered by timers or websocket events -->
161
+
162
+ #### 3.3.1 {Timer/WebSocket Event Name}
163
+
164
+ ```mermaid
165
+ graph TB
166
+ Timer[Timer Trigger] --> CheckState[Check Page State]
167
+ CheckState -->|Active| Refresh[Refresh Data]
168
+ CheckState -->|Inactive| Skip[Skip This Cycle]
169
+ Refresh --> UpdateUI[Update Display]
170
+
171
+ Refresh -->|Call| API3[API getLatest - Query API - Get latest data]
172
+ ```
173
+
174
+ **Flow Description:**
175
+
176
+ | Step | Business Operation | Trigger | Source |
177
+ |------|-------------------|---------|--------|
178
+ | 1 | Check page state | Timer interval | [Source](../../{sourcePath}) |
179
+ | 2 | Refresh data | Page is active | [Source](../../{sourcePath}) |
180
+ | 3 | Update UI | Data received | [Source](../../{sourcePath}) |
181
+
182
+ **Referenced Items:**
183
+ | Name | Type | Main Function | Document Path |
184
+ |------|------|---------------|---------------|
185
+ | getLatest | API | Get latest data | [API Doc](../../apis/getLatest.md) |
186
+
187
+ ### 3.4 Page Close/Cleanup Flow (if applicable)
188
+
189
+ <!-- AI-NOTE: Document cleanup operations when page closes -->
190
+
191
+ ```mermaid
192
+ graph TB
193
+ Close[Page Close] --> ClearTimer[Clear Timers]
194
+ ClearTimer --> SaveState[Save Page State]
195
+ SaveState --> Cleanup[Cleanup Resources]
196
+ Cleanup --> End([End])
197
+ ```
198
+
199
+ **Flow Description:**
200
+
201
+ | Step | Business Operation | Trigger | Source |
202
+ |------|-------------------|---------|--------|
203
+ | 1 | Clear timers | beforeUnmount | [Source](../../{sourcePath}) |
204
+ | 2 | Save page state | Cleanup start | [Source](../../{sourcePath}) |
205
+ | 3 | Cleanup resources | State saved | [Source](../../{sourcePath}) |
206
+
207
+ ## 4. Data Field Definition
208
+
209
+ <!-- AI-TAG: DATA_DEFINITION -->
210
+ <!-- AI-NOTE: Document data fields used in this page only -->
211
+
212
+ ### 4.1 Page State Fields
213
+
214
+ | Field Name | Field Type | Description | Source |
215
+ |------------|------------|-------------|--------|
216
+ | {Field 1} | String/Number/Boolean/Array/Object | {Description} | [Source](../../{sourcePath}) |
217
+ | {Field 2} | String | {Description} | [Source](../../{sourcePath}) |
218
+
219
+ ### 4.2 Form Fields (if applicable)
220
+
221
+ | Field Name | Field Type | Validation Rules | Default Value | Source |
222
+ |------------|------------|------------------|---------------|--------|
223
+ | {Form Field 1} | String | {Required, length 1-100} | - | [Source](../../{sourcePath}) |
224
+ | {Form Field 2} | Number | {≥0} | 0 | [Source](../../{sourcePath}) |
225
+
226
+
227
+ ## 5. References
228
+
229
+ <!-- AI-TAG: REFERENCES -->
230
+ <!-- AI-NOTE: List all external references used in this page -->
231
+ <!-- AI-NOTE: Follow bizs document path convention for all reference links -->
232
+
233
+ ### 5.1 APIs
234
+
235
+ | API Name | Type | Main Function | Source | Document Path |
236
+ |----------|------|---------------|--------|---------------|
237
+ | {API Name} | Query/Mutation | {Brief description} | [Source](../../{apiSourcePath}) | [API Doc](../../apis/{api-name}.md) |
238
+
239
+ ### 5.2 Frontend Shared Methods
240
+
241
+ | Method Name | Type | Main Function | Source | Document Path |
242
+ |-------------|------|---------------|--------|---------------|
243
+ | {Method Name} | Utils/Helpers | {Brief description} | [Source](../../{methodSourcePath}) | [Method Doc](../../utils/{method-name}.md) |
244
+
245
+ ### 5.3 Shared Components
246
+
247
+ | Component Name | Type | Main Function | Source | Document Path |
248
+ |----------------|------|---------------|--------|---------------|
249
+ | {Component Name} | UI Component | {Brief description} | [Source](../../{componentSourcePath}) | [Component Doc](../../components/{component-name}.md) |
250
+
251
+ ### 5.4 Other Pages (This Page References)
252
+
253
+ <!-- AI-NOTE: List external pages/components that this page references/uses -->
254
+ <!-- AI-NOTE: DO NOT analyze these external files, only record their paths for reference -->
255
+ <!-- AI-NOTE: Each external page will have its own separate document generated by another worker -->
256
+
257
+ | Page Name | Relation Type | Description | Source | Document Path |
258
+ |-----------|---------------|-------------|--------|---------------|
259
+ | {Page Name} | Navigate/Embed | {Relation description} | [Source](../../{pageSourcePath}) | [Page Doc](../{page-path}.md) |
260
+
261
+ ### 5.5 Referenced By (Other Pages Reference This Page)
262
+
263
+ <!-- AI-NOTE: List all pages that reference/navigate to this page -->
264
+ <!-- AI-NOTE: Search through other page files to find references to this page -->
265
+
266
+ | Page Name | Function Description | Source Path | Document Path |
267
+ |-----------|---------------------|-------------|---------------|
268
+ | {Referencing Page Name} | {e.g., "Click order ID to navigate to this detail page"} | {source-path} | [Page Doc](../{page-path}.md) |
269
+
270
+
271
+ ## 6. Business Rule Constraints
272
+
273
+ <!-- AI-TAG: BUSINESS_RULES -->
274
+
275
+ ### 6.1 Permission Rules
276
+
277
+ | Operation | Permission Requirement | No Permission Handling | Source |
278
+ |-----------|----------------------|----------------------|--------|
279
+ | Add/Edit/Delete | Have {role name} role or {permission code} permission | Hide operation button, show "No permission" when clicked | [Source](../../{sourcePath}) |
280
+ | View sensitive fields | Have {data permission} scope | Display sensitive fields as "***" | [Source](../../{sourcePath}) |
281
+
282
+ ### 6.2 Business Logic Rules
283
+
284
+ 1. **{Rule 1}**: {e.g., Product code generation rule is "SP+YYMMDD+6 random digits"} | [Source](../../{sourcePath})
285
+ 2. **{Rule 2}**: {e.g., When stock is 0, product status automatically changes to "Off-shelf"} | [Source](../../{sourcePath})
286
+
287
+ ### 6.3 Validation Rules
288
+
289
+ | Validation Scenario | Validation Rule | Prompt Message | Validation Timing | Source |
290
+ |--------------------|-----------------|----------------|-------------------|--------|
291
+ | Form submission | Product name cannot be empty | Please enter product name | Frontend blur + Backend submit | [Source](../../{sourcePath}) |
292
+ | Form submission | Product code format error (must start with SP) | Product code must start with SP, please check | Backend submit | [Source](../../{sourcePath}) |
293
+
294
+
295
+ ## 7. Notes and Additional Information
296
+
297
+ <!-- AI-TAG: ADDITIONAL_NOTES -->
298
+
299
+ ### 7.1 Compatibility Adaptation
300
+
301
+ - **Interface Adaptation**: Supports PC 1920×1080 resolution, responsive adaptation for 1366×768 and above
302
+ - **Interaction Adaptation**: Supports mouse click/Enter to trigger actions, supports keyboard Tab key to switch focus
303
+
304
+ ### 7.2 Pending Confirmations
305
+
306
+ - [ ] **{Pending 1}**: {e.g., Whether product category dropdown needs to support fuzzy search}
307
+ - [ ] **{Pending 2}**: {e.g., Whether delete operation needs secondary confirmation}
308
+
309
+ ### 7.3 Extension Notes
310
+
311
+ - This prototype is a simplified version of the core process, extended fields/features can be added in subsequent iterations
312
+ - ASCII wireframe prototype only expresses layout and interaction logic, visual styles (e.g., colors, fonts) should refer to product visual specifications
313
+
314
+ ---
315
+
316
+ **Document Status:** 📝 Draft / 👀 In Review / ✅ Published
317
+ **Last Updated:** {Date}
318
+ **Maintainer:** {Name}
319
+ **Related Module Document:** [Module Overview Document](../{{module-name}}-overview.md)
320
+
321
+ **Section Source**
322
+ - [{FeatureFile}.vue](../../{sourcePath})
323
+ - [{StoreFile}.ts](../../{store-path})
324
+ - [{ComponentFile}.vue](../../{component-path})
@@ -0,0 +1,270 @@
1
+ ---
2
+ name: speccrew-knowledge-bizs-ui-style-extract
3
+ description: Extract and aggregate UI design patterns (page types, components, layouts) from analyzed bizs feature documents, outputting to techs ui-style-patterns directory.
4
+ tools: Read, Write
5
+ ---
6
+
7
+ # Bizs UI Style Extract
8
+
9
+ Extract and aggregate **UI design patterns** from bizs pipeline analyzed feature documents. Through cross-module clustering analysis, identify common page types, component patterns, and layout patterns, then output them to the techs knowledge base `ui-style-patterns/` subdirectory.
10
+
11
+ ## Language Adaptation
12
+
13
+ **CRITICAL**: All generated documents must match the user's language. Detect the language from the user's input and generate content accordingly.
14
+
15
+ - User writes in 中文 → Generate Chinese documents, use `language: "zh"`
16
+ - User writes in English → Generate English documents, use `language: "en"`
17
+ - User writes in other languages → Use appropriate language code
18
+
19
+ **All generated pattern documents must be in the language specified by the `language` parameter.**
20
+
21
+ ## Trigger Scenarios
22
+
23
+ - Called by `speccrew-knowledge-bizs-dispatch` Stage 3.5 (after Module Summarize, before System Summary)
24
+ - "Extract UI patterns from bizs features"
25
+ - "Aggregate UI design patterns"
26
+
27
+ ## Input
28
+
29
+ | Variable | Description | Required |
30
+ |----------|-------------|----------|
31
+ | `platform_id` | Platform identifier (e.g., web-vue, mobile-uniapp), used to locate output directory | Yes |
32
+ | `platform_type` | Platform type (web, mobile, desktop), only execute for frontend platforms | Yes |
33
+ | `feature_docs_path` | Completed feature documents base path, e.g., `speccrew-workspace/knowledges/bizs/{platform-type}/{module}/features/` | Yes |
34
+ | `features_manifest_path` | Path to features-{platform}.json, used to get completed feature list | Yes |
35
+ | `module_overviews_path` | **Parent directory** containing all module overview subdirectories. Example: `knowledges/bizs/web-vue/` (this directory contains `system/system-overview.md`, `user/user-overview.md`, etc.). **NOT** a specific module directory like `knowledges/bizs/web-vue/system/`. | Yes |
36
+ | `output_path` | Output directory, e.g., `speccrew-workspace/knowledges/techs/{platform_id}/ui-style-patterns/` | Yes |
37
+ | `language` | User language code | Yes |
38
+
39
+ ## Output
40
+
41
+ > **Directory Separation**: This skill outputs to `ui-style-patterns/` (NOT `ui-style/`).
42
+ > - `ui-style/` is managed by techs pipeline (framework-level design system, existing components/pages)
43
+ > - `ui-style-patterns/` is managed by bizs pipeline (business pattern aggregation from feature docs)
44
+ > This separation prevents file conflicts between the two pipelines.
45
+
46
+ ```
47
+ {output_path}/
48
+ ├── page-types/ # Page type pattern documents
49
+ │ ├── {pattern-name}.md
50
+ │ └── ...
51
+ ├── components/ # Component pattern documents
52
+ │ ├── {pattern-name}.md
53
+ │ └── ...
54
+ └── layouts/ # Layout pattern documents
55
+ ├── {pattern-name}.md
56
+ └── ...
57
+ ```
58
+
59
+ ## Workflow Overview
60
+
61
+ ```mermaid
62
+ graph TB
63
+ S1[Step 1: Load Features Manifest] --> S2[Step 2: Read Feature Documents]
64
+ S2 --> S3[Step 3: Read Module Overviews]
65
+ S3 --> S4[Step 4: Cross-Module Clustering]
66
+ S4 --> S5[Step 5: Generate Pattern Documents]
67
+ S5 --> S6[Step 6: Return Summary]
68
+ ```
69
+
70
+ ---
71
+
72
+ ## Step 1: Load Features Manifest
73
+
74
+ **Goal**: Read the features manifest to identify all completed features.
75
+
76
+ **Input Validation**:
77
+ - If `platform_type` is NOT `web`, `mobile`, or `desktop` → Skip this skill (backend platforms do not have UI patterns)
78
+ - Verify `features_manifest_path` exists and is valid JSON
79
+ - Verify `feature_docs_path` exists and is a directory
80
+ - Create `output_path` directory if it does not exist
81
+
82
+ **Action**:
83
+ - Read `{features_manifest_path}` (e.g., `speccrew-workspace/knowledges/base/sync-state/knowledge-bizs/features-{platform}.json`)
84
+ - Filter features where `status === "completed"`
85
+ - Collect feature metadata: `featureId`, `module`, `documentPath`
86
+
87
+ **Output**: List of completed features with their document paths.
88
+
89
+ ---
90
+
91
+ ## Step 2: Read Feature Documents
92
+
93
+ **Goal**: Extract UI-related information from all completed feature documents.
94
+
95
+ **Action**:
96
+ - For each completed feature, read the `.md` document from `documentPath`
97
+ - Extract the following sections:
98
+ - **Interface Prototype**: ASCII wireframe diagrams
99
+ - **Page Elements Table**: Component list with types and responsibilities
100
+ - **Business Flow Description**: Interaction patterns
101
+
102
+ **Extraction Focus**:
103
+ | Section | What to Extract |
104
+ |---------|-----------------|
105
+ | Interface Prototype | ASCII wireframe structure, layout regions |
106
+ | Page Elements Table | Component names, types, responsibilities, interactions |
107
+ | Business Flow Description | User interaction sequences, navigation patterns |
108
+
109
+ ---
110
+
111
+ ## Step 3: Read Module Overviews
112
+
113
+ **Goal**: Gather module-level aggregated information for context.
114
+
115
+ **Action**:
116
+ - Read all `module-overview.md` files from `{module_overviews_path}`
117
+ - Extract module-level summaries about:
118
+ - Common page structures
119
+ - Shared components
120
+ - Navigation patterns
121
+
122
+ **Output**: Module-level context for pattern clustering.
123
+
124
+ ---
125
+
126
+ ## Step 4: Cross-Module Clustering Analysis
127
+
128
+ **Goal**: Identify recurring UI patterns across modules through clustering analysis.
129
+
130
+ **Action**:
131
+ - Analyze all extracted UI information from Steps 2-3
132
+ - Cluster similar patterns into categories:
133
+ - **Page Types**: Pages with similar structure and purpose
134
+ - **Component Patterns**: Reusable component combinations
135
+ - **Layout Patterns**: Repeating structural layouts
136
+
137
+ **Clustering Strategy**:
138
+ - Adopt dynamic discovery strategy — Agent automatically identifies and categorizes pattern types based on actual analysis results
139
+ - Templates only standardize output format, do not limit pattern types
140
+ - Common patterns include but are not limited to:
141
+
142
+ | Category | Common Patterns |
143
+ |----------|-----------------|
144
+ | Page Types | list-page, form-page, detail-page, tree-list-page, dashboard-page, wizard-page |
145
+ | Component Patterns | search-filter-bar, data-table-pagination, modal-form, drawer-detail, tab-panel |
146
+ | Layout Patterns | sidebar-content, topbar-sidebar-content, full-screen |
147
+
148
+ **Pattern Recognition Criteria**:
149
+ - **Frequency**: Pattern appears in 2+ features (stronger signal if across different modules)
150
+ - **Similarity**: Structural similarity in ASCII wireframes
151
+ - **Semantic alignment**: Similar business purpose and interaction flow
152
+
153
+ > **Note**: Cross-module occurrence is a strong signal but not required. Patterns appearing in multiple features within a single module are also valid for extraction.
154
+
155
+ ---
156
+
157
+ ## Step 5: Generate Pattern Documents
158
+
159
+ **Goal**: Create pattern documents for each identified pattern.
160
+
161
+ **Action**:
162
+ - For each identified pattern, generate a `.md` document using the appropriate template
163
+ - Place documents in corresponding subdirectories:
164
+ - Page types → `{output_path}/page-types/`
165
+ - Component patterns → `{output_path}/components/`
166
+ - Layout patterns → `{output_path}/layouts/`
167
+
168
+ **File Naming Convention**:
169
+ - Use `kebab-case` for pattern names
170
+ - Examples: `list-page.md`, `search-filter-bar.md`, `sidebar-content.md`
171
+
172
+ **Template Application**:
173
+ - Use `PAGE-TYPE-TEMPLATE.md` for page type patterns
174
+ - Use `COMPONENT-PATTERN-TEMPLATE.md` for component patterns
175
+ - Use `LAYOUT-PATTERN-TEMPLATE.md` for layout patterns
176
+
177
+ **Content Requirements**:
178
+ 1. **ASCII wireframes**: Must be generalized versions (not direct copies from specific features)
179
+ 2. **Instance references**: Must use relative paths to reference actual feature documents
180
+ 3. **Mermaid diagrams**: Must follow `speccrew-workspace/docs/rules/mermaid-rule.md` rules
181
+ - Use `graph TB/LR` syntax only
182
+ - No `<br/>` tags, no `style` definitions, no nested `subgraph`
183
+ - No `direction` keyword, no special symbols
184
+
185
+ ---
186
+
187
+ ## Step 6: Return Summary
188
+
189
+ **Goal**: Provide summary of generated pattern documents.
190
+
191
+ **Action**:
192
+ - Collect all generated file paths
193
+ - Count patterns by category
194
+ - Return summary object
195
+
196
+ ---
197
+
198
+ ## Generation Rules
199
+
200
+ 1. **Pattern Quality**:
201
+ - Each pattern must have clear applicable scenarios
202
+ - Generalized ASCII wireframe (not feature-specific)
203
+ - At least 2 instance references (from same or different modules)
204
+
205
+ 2. **Template Compliance**:
206
+ - All sections from template must be filled
207
+ - Instance reference paths must be relative and valid
208
+
209
+ 3. **Mermaid Compliance**:
210
+ - Follow all rules in `mermaid-rule.md`
211
+ - Use basic `graph TB` or `graph LR` syntax
212
+ - No prohibited syntax elements
213
+
214
+ 4. **Language Consistency**:
215
+ - All content in the specified `language`
216
+ - Template section headers remain in English
217
+ - Content text matches user language
218
+
219
+ ---
220
+
221
+ ## Error Handling
222
+
223
+ | Scenario | Handling |
224
+ |----------|----------|
225
+ | No completed features | Return empty result, log warning |
226
+ | No patterns identified | Return empty result, log message |
227
+ | Template not found | Use default structure, log warning |
228
+ | Feature document missing | Skip feature, continue with others |
229
+
230
+ ---
231
+
232
+ ## Checklist
233
+
234
+ - [ ] Step 1: Features manifest loaded, completed features identified
235
+ - [ ] Step 2: All completed feature documents read
236
+ - [ ] Step 3: All module overviews read
237
+ - [ ] Step 4: Cross-module clustering analysis completed
238
+ - [ ] Step 5: Pattern documents generated with correct templates
239
+ - [ ] Step 5: File naming follows kebab-case convention
240
+ - [ ] Step 5: ASCII wireframes are generalized versions
241
+ - [ ] Step 5: Instance references use relative paths
242
+ - [ ] Step 5: Mermaid diagrams follow mermaid-rule.md
243
+ - [ ] Step 6: Summary returned with file list
244
+
245
+ ## Return
246
+
247
+ After completion, return a summary object to the caller:
248
+
249
+ ```json
250
+ {
251
+ "status": "completed",
252
+ "platform_id": "web-vue",
253
+ "patterns": {
254
+ "page_types": {
255
+ "count": 3,
256
+ "files": ["page-types/list-page.md", "page-types/form-page.md", "page-types/detail-page.md"]
257
+ },
258
+ "components": {
259
+ "count": 2,
260
+ "files": ["components/search-filter-bar.md", "components/modal-form.md"]
261
+ },
262
+ "layouts": {
263
+ "count": 1,
264
+ "files": ["layouts/sidebar-content.md"]
265
+ }
266
+ },
267
+ "total_patterns": 6,
268
+ "output_path": "speccrew-workspace/knowledges/techs/web-vue/ui-style-patterns/"
269
+ }
270
+ ```
@@ -0,0 +1,33 @@
1
+ # {Component Pattern Name}
2
+
3
+ ## Pattern Overview
4
+
5
+ - **Category**: Component Pattern
6
+ - **Applicable Scenarios**: {描述此组件模式适用的场景}
7
+ - **Typical Characteristics**: {描述此组件模式的典型特征}
8
+
9
+ ## Standard Layout
10
+
11
+ {归纳后的通用 ASCII 线框图,展示此组件模式的布局}
12
+
13
+ ## Component Composition
14
+
15
+ | Component | Role | Configuration | Notes |
16
+ |-----------|------|--------------|-------|
17
+ | {组件名} | {角色} | {配置要点} | {备注} |
18
+
19
+ ## Typical Interaction Flow
20
+
21
+ {通用化的 Mermaid 流程图,展示此组件模式的典型交互}
22
+
23
+ ## Instance References
24
+
25
+ | Feature | Module | Document Path |
26
+ |---------|--------|--------------|
27
+ | {feature 名} | {模块名} | {文档相对路径} |
28
+
29
+ ## Design Recommendations
30
+
31
+ - **Best Practices**: {最佳实践}
32
+ - **Common Variants**: {常见变体}
33
+ - **Considerations**: {注意事项}
@@ -0,0 +1,33 @@
1
+ # {Layout Pattern Name}
2
+
3
+ ## Pattern Overview
4
+
5
+ - **Category**: Layout Pattern
6
+ - **Applicable Scenarios**: {描述此布局模式适用的场景}
7
+ - **Typical Characteristics**: {描述此布局模式的典型特征}
8
+
9
+ ## Standard Layout
10
+
11
+ {归纳后的通用 ASCII 线框图,展示此布局的区域划分}
12
+
13
+ ## Layout Regions
14
+
15
+ | Region | Purpose | Typical Content | Responsive Behavior |
16
+ |--------|---------|----------------|---------------------|
17
+ | {区域名} | {用途} | {典型内容} | {响应式行为} |
18
+
19
+ ## Navigation and Interaction
20
+
21
+ {通用化的 Mermaid 流程图,展示布局中的导航和交互模式}
22
+
23
+ ## Instance References
24
+
25
+ | Feature | Module | Document Path |
26
+ |---------|--------|--------------|
27
+ | {feature 名} | {模块名} | {文档相对路径} |
28
+
29
+ ## Design Recommendations
30
+
31
+ - **Best Practices**: {最佳实践}
32
+ - **Common Variants**: {常见变体}
33
+ - **Considerations**: {注意事项}