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,208 @@
1
+ ---
2
+ template_name: layout-patterns
3
+ description: Layout patterns documentation template
4
+ output_file: layouts/page-layouts.md
5
+ ---
6
+
7
+ # Page Layout Patterns
8
+
9
+ <cite>
10
+ **Files Referenced in This Document**
11
+ {{source_files}}
12
+ </cite>
13
+
14
+ > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
15
+
16
+ ## Overview
17
+
18
+ This document describes the standard layout patterns used in {{platform_name}}.
19
+
20
+ ## Layout Types
21
+
22
+ ### 1. Standard List Layout
23
+
24
+ **Use Case**: Data listing, search results, tables
25
+
26
+ **Visual Structure**:
27
+
28
+ ```
29
+ +------------------------------------------+
30
+ | Search Form (filters, search input) |
31
+ +------------------------------------------+
32
+ | Toolbar (Add, Export, Batch actions) |
33
+ +------------------------------------------+
34
+ | |
35
+ | Data Table |
36
+ | +------+------+------+------+ |
37
+ | | Col1 | Col2 | Col3 | Col4 | |
38
+ | +------+------+------+------+ |
39
+ | | ... | ... | ... | ... | |
40
+ | +------+------+------+------+ |
41
+ | |
42
+ +------------------------------------------+
43
+ | Pagination |
44
+ +------------------------------------------+
45
+ ```
46
+
47
+ **Implementation**:
48
+
49
+ ```vue
50
+ {{list_layout_code_example}}
51
+ ```
52
+
53
+ **Key Components**:
54
+ {{list_layout_key_components}}
55
+
56
+ ---
57
+
58
+ ### 2. Standard Form Layout
59
+
60
+ **Use Case**: Data entry, editing, configuration
61
+
62
+ **Visual Structure**:
63
+
64
+ ```
65
+ +------------------------------------------+
66
+ | Form Card |
67
+ | +------------------------------------+ |
68
+ | | Form Title | |
69
+ | +------------------------------------+ |
70
+ | | +--------+ +--------+ | |
71
+ | | | Field1 | | Field2 | | |
72
+ | | +--------+ +--------+ | |
73
+ | | +--------+ +--------+ | |
74
+ | | | Field3 | | Field4 | | |
75
+ | | +--------+ +--------+ | |
76
+ | +------------------------------------+ |
77
+ | | [Cancel] [Submit] | |
78
+ | +------------------------------------+ |
79
+ +------------------------------------------+
80
+ ```
81
+
82
+ **Implementation**:
83
+
84
+ ```vue
85
+ {{form_layout_code_example}}
86
+ ```
87
+
88
+ **Key Components**:
89
+ {{form_layout_key_components}}
90
+
91
+ ---
92
+
93
+ ### 3. Detail View Layout
94
+
95
+ **Use Case**: Data display, read-only views, information pages
96
+
97
+ **Visual Structure**:
98
+
99
+ ```
100
+ +------------------------------------------+
101
+ | Detail Card |
102
+ | +------------------------------------+ |
103
+ | | Title + Actions | |
104
+ | +------------------------------------+ |
105
+ | | +-------------+ +-------------+ | |
106
+ | | | Section 1 | | Section 2 | | |
107
+ | | | - Item 1 | | - Item 1 | | |
108
+ | | | - Item 2 | | - Item 2 | | |
109
+ | | +-------------+ +-------------+ | |
110
+ | +------------------------------------+ |
111
+ +------------------------------------------+
112
+ ```
113
+
114
+ **Implementation**:
115
+
116
+ ```vue
117
+ {{detail_layout_code_example}}
118
+ ```
119
+
120
+ **Key Components**:
121
+ {{detail_layout_key_components}}
122
+
123
+ ---
124
+
125
+ ### 4. Split Pane Layout
126
+
127
+ **Use Case**: Master-detail, tree-table, navigation with content
128
+
129
+ **Visual Structure**:
130
+
131
+ ```
132
+ +-------------------+----------------------+
133
+ | | |
134
+ | Tree/Menu | Content Area |
135
+ | +-----------+ | +----------------+ |
136
+ | | Item 1 | | | | |
137
+ | | Item 2 | | | Main Content | |
138
+ | | Item 3 | | | | |
139
+ | +-----------+ | +----------------+ |
140
+ | | |
141
+ +-------------------+----------------------+
142
+ ```
143
+
144
+ **Implementation**:
145
+
146
+ ```vue
147
+ {{split_pane_layout_code_example}}
148
+ ```
149
+
150
+ **Key Components**:
151
+ {{split_pane_layout_key_components}}
152
+
153
+ ---
154
+
155
+ ### 5. Dashboard Layout
156
+
157
+ **Use Case**: Overview pages, analytics, reporting
158
+
159
+ **Visual Structure**:
160
+
161
+ ```
162
+ +------------------------------------------+
163
+ | Stat Cards Row |
164
+ | +------+ +------+ +------+ +------+ |
165
+ | |Stat 1| |Stat 2| |Stat 3| |Stat 4| |
166
+ | +------+ +------+ +------+ +------+ |
167
+ +------------------------------------------+
168
+ | +----------------+ +----------------+ |
169
+ | | Chart 1 | | Chart 2 | |
170
+ | +----------------+ +----------------+ |
171
+ +------------------------------------------+
172
+ | +----------------+ +----------------+ |
173
+ | | Table/List | | Activity | |
174
+ | +----------------+ +----------------+ |
175
+ +------------------------------------------+
176
+ ```
177
+
178
+ **Implementation**:
179
+
180
+ ```vue
181
+ {{dashboard_layout_code_example}}
182
+ ```
183
+
184
+ **Key Components**:
185
+ {{dashboard_layout_key_components}}
186
+
187
+ ## Responsive Behavior
188
+
189
+ ### Breakpoints
190
+
191
+ | Breakpoint | Width | Layout Adjustments |
192
+ |------------|-------|-------------------|
193
+ {{breakpoint_table}}
194
+
195
+ ### Responsive Patterns
196
+
197
+ {{responsive_patterns_description}}
198
+
199
+ ## Layout Selection Guide
200
+
201
+ | Content Type | Recommended Layout | Alternative |
202
+ |--------------|-------------------|-------------|
203
+ {{layout_selection_table}}
204
+
205
+ ---
206
+
207
+ **Section Source**
208
+ {{section_source_files}}
@@ -0,0 +1,157 @@
1
+ ---
2
+ template_name: navigation-patterns
3
+ description: Navigation patterns documentation
4
+ output_file: layouts/navigation-patterns.md
5
+ ---
6
+
7
+ # Navigation Patterns
8
+
9
+ <cite>
10
+ **Files Referenced in This Document**
11
+ {{source_files}}
12
+ </cite>
13
+
14
+ > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
15
+
16
+ ## Overview
17
+
18
+ Navigation patterns used in {{platform_name}}.
19
+
20
+ ## Navigation Types
21
+
22
+ ### 1. Sidebar Navigation
23
+
24
+ **Use Case**: Main application navigation
25
+
26
+ **Structure**:
27
+
28
+ ```
29
+ +------------------+------------------------------------------+
30
+ | Logo | |
31
+ +------------------+ |
32
+ | | |
33
+ | Dashboard | Main Content Area |
34
+ | Users | |
35
+ | Settings | |
36
+ | ... | |
37
+ | | |
38
+ +------------------+------------------------------------------+
39
+ ```
40
+
41
+ **Implementation**:
42
+
43
+ ```vue
44
+ {{sidebar_navigation_code}}
45
+ ```
46
+
47
+ **Behavior**:
48
+ {{sidebar_behavior}}
49
+
50
+ ---
51
+
52
+ ### 2. Top Navigation
53
+
54
+ **Use Case**: Secondary navigation, toolbars
55
+
56
+ **Structure**:
57
+
58
+ ```
59
+ +-------------------------------------------------------------+
60
+ | Breadcrumb | Actions | User Profile |
61
+ +-------------------------------------------------------------+
62
+ ```
63
+
64
+ **Implementation**:
65
+
66
+ ```vue
67
+ {{top_navigation_code}}
68
+ ```
69
+
70
+ ---
71
+
72
+ ### 3. Tab Navigation
73
+
74
+ **Use Case**: Content organization within a page
75
+
76
+ **Structure**:
77
+
78
+ ```
79
+ +-------------------------------------------------------------+
80
+ | [Tab 1] [Tab 2] [Tab 3] |
81
+ +-------------------------------------------------------------+
82
+ | |
83
+ | Tab Content |
84
+ | |
85
+ +-------------------------------------------------------------+
86
+ ```
87
+
88
+ **Implementation**:
89
+
90
+ ```vue
91
+ {{tab_navigation_code}}
92
+ ```
93
+
94
+ ---
95
+
96
+ ### 4. Breadcrumb Navigation
97
+
98
+ **Use Case**: Hierarchical page indication
99
+
100
+ **Structure**:
101
+
102
+ ```
103
+ Home / Category / Current Page
104
+ ```
105
+
106
+ **Implementation**:
107
+
108
+ ```vue
109
+ {{breadcrumb_code}}
110
+ ```
111
+
112
+ ---
113
+
114
+ ### 5. Pagination
115
+
116
+ **Use Case**: List navigation
117
+
118
+ **Structure**:
119
+
120
+ ```
121
+ [Previous] [1] [2] [3] ... [10] [Next]
122
+ ```
123
+
124
+ **Implementation**:
125
+
126
+ ```vue
127
+ {{pagination_code}}
128
+ ```
129
+
130
+ ## Navigation State Management
131
+
132
+ ### Active State
133
+
134
+ {{active_state_guidelines}}
135
+
136
+ ### Collapsed State
137
+
138
+ {{collapsed_state_guidelines}}
139
+
140
+ ### Mobile Adaptation
141
+
142
+ {{mobile_adaptation_guidelines}}
143
+
144
+ ## Navigation Guidelines
145
+
146
+ ### Information Architecture
147
+
148
+ {{ia_guidelines}}
149
+
150
+ ### Accessibility
151
+
152
+ {{accessibility_guidelines}}
153
+
154
+ ---
155
+
156
+ **Section Source**
157
+ {{section_source_files}}
@@ -0,0 +1,123 @@
1
+ ---
2
+ template_name: page-type-individual
3
+ description: Individual page type analysis template
4
+ dynamic_name: "{{page_type_name}}-pages.md"
5
+ output_path: page-types/
6
+ ---
7
+
8
+ # {{page_type_display_name}} Pages
9
+
10
+ <cite>
11
+ **Files Referenced in This Document**
12
+ {{source_files}}
13
+ </cite>
14
+
15
+ > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
16
+
17
+ ## Overview
18
+
19
+ - **Detection Pattern**: `{{detection_pattern}}`
20
+ - **File Count**: {{file_count}} files
21
+ - **Typical Functions**: {{typical_functions}}
22
+
23
+ ## Applicable Scenarios
24
+
25
+ {{applicable_scenarios_list}}
26
+
27
+ ## Page Inventory
28
+
29
+ | File Path | Page Name | Function Description | Module |
30
+ |-----------|-----------|---------------------|--------|
31
+ {{page_inventory_table}}
32
+
33
+ ## Layout Structure
34
+
35
+ ### Visual Layout
36
+
37
+ ```
38
+ {{layout_ascii_diagram}}
39
+ ```
40
+
41
+ ### DOM Structure
42
+
43
+ ```
44
+ {{dom_structure}}
45
+ ```
46
+
47
+ ## Common Components
48
+
49
+ ### UI Framework Components
50
+
51
+ {{ui_framework_components_list}}
52
+
53
+ ### Project Common Components
54
+
55
+ {{project_common_components_list}}
56
+
57
+ ### Business Components
58
+
59
+ {{business_components_list}}
60
+
61
+ ## Data Flow
62
+
63
+ ```
64
+ {{data_flow_diagram}}
65
+ ```
66
+
67
+ ### Data Fetching Pattern
68
+
69
+ {{data_fetching_pattern}}
70
+
71
+ ### State Management
72
+
73
+ {{state_management_pattern}}
74
+
75
+ ## Interaction Patterns
76
+
77
+ ### User Interactions
78
+
79
+ {{user_interactions_list}}
80
+
81
+ ### Event Handling
82
+
83
+ {{event_handling_pattern}}
84
+
85
+ ## Code Example
86
+
87
+ ### Typical Implementation
88
+
89
+ ```vue
90
+ {{code_example}}
91
+ ```
92
+
93
+ ### Key Implementation Points
94
+
95
+ {{implementation_points}}
96
+
97
+ ## Best Practices
98
+
99
+ ### Design Guidelines
100
+
101
+ {{design_guidelines}}
102
+
103
+ ### Development Guidelines
104
+
105
+ {{development_guidelines}}
106
+
107
+ ### Performance Considerations
108
+
109
+ {{performance_considerations}}
110
+
111
+ ## Related Files
112
+
113
+ {{related_files_list}}
114
+
115
+ ## See Also
116
+
117
+ - [Page Type Summary](page-type-summary.md)
118
+ {{related_page_type_links}}
119
+
120
+ ---
121
+
122
+ **Section Source**
123
+ {{section_source_files}}
@@ -0,0 +1,58 @@
1
+ ---
2
+ template_name: page-type-summary
3
+ description: Page type summary and classification template
4
+ output_file: page-types/page-type-summary.md
5
+ ---
6
+
7
+ # Page Type Overview
8
+
9
+ <cite>
10
+ **Files Referenced in This Document**
11
+ {{source_files}}
12
+ </cite>
13
+
14
+ > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
15
+
16
+ ## Analysis Methodology
17
+
18
+ Page types were identified through automated analysis of the source codebase:
19
+
20
+ 1. **File Name Pattern Analysis**: Extracted naming conventions from `src/views/` and `src/pages/`
21
+ 2. **Component Usage Analysis**: Identified dominant component patterns in each file group
22
+ 3. **Content Pattern Recognition**: Scanned templates for functional keywords
23
+ 4. **Route Configuration Analysis**: Reviewed router configuration for page organization
24
+
25
+ ## Page Type Statistics
26
+
27
+ | Page Type | Detection Pattern | File Count | Percentage | Typical Files |
28
+ |-----------|-------------------|------------|------------|---------------|
29
+ {{page_type_statistics_table}}
30
+
31
+ ## Naming Conventions Summary
32
+
33
+ | Page Type | Recommended Naming | Example |
34
+ |-----------|-------------------|---------|
35
+ {{naming_conventions_table}}
36
+
37
+ ## New Page Selection Guide
38
+
39
+ When creating a new page, use this guide to select the appropriate page type:
40
+
41
+ | Business Scenario | Recommended Page Type | Reference Document |
42
+ |-------------------|----------------------|-------------------|
43
+ {{page_selection_guide_table}}
44
+
45
+ ## Page Type Details
46
+
47
+ ### Quick Reference
48
+
49
+ {{page_type_quick_reference}}
50
+
51
+ ### Documentation Links
52
+
53
+ {{page_type_documentation_links}}
54
+
55
+ ---
56
+
57
+ **Section Source**
58
+ {{section_source_files}}
@@ -0,0 +1,119 @@
1
+ ---
2
+ template_name: spacing
3
+ description: Spacing system documentation
4
+ output_file: styles/spacing-system.md
5
+ ---
6
+
7
+ # Spacing System
8
+
9
+ <cite>
10
+ **Files Referenced in This Document**
11
+ {{source_files}}
12
+ </cite>
13
+
14
+ > **Target Audience**: devcrew-designer-{{platform_id}}, devcrew-dev-{{platform_id}}
15
+
16
+ ## Overview
17
+
18
+ The spacing system provides consistent spacing values for {{platform_name}}.
19
+
20
+ ## Spacing Scale
21
+
22
+ ### Base Unit
23
+
24
+ Base unit: {{base_unit}}px
25
+
26
+ ### Spacing Tokens
27
+
28
+ | Token | Value | Pixels | Usage |
29
+ |-------|-------|--------|-------|
30
+ {{spacing_tokens_table}}
31
+
32
+ ## Margin Patterns
33
+
34
+ ### Component Margins
35
+
36
+ | Context | Token | Value |
37
+ |---------|-------|-------|
38
+ {{component_margins_table}}
39
+
40
+ ### Section Margins
41
+
42
+ | Context | Token | Value |
43
+ |---------|-------|-------|
44
+ {{section_margins_table}}
45
+
46
+ ## Padding Patterns
47
+
48
+ ### Component Padding
49
+
50
+ | Component Type | Token | Value |
51
+ |----------------|-------|-------|
52
+ {{component_padding_table}}
53
+
54
+ ### Container Padding
55
+
56
+ | Container Type | Token | Value |
57
+ |----------------|-------|-------|
58
+ {{container_padding_table}}
59
+
60
+ ## Gap Patterns
61
+
62
+ ### Flex/Grid Gaps
63
+
64
+ | Context | Token | Value |
65
+ |---------|-------|-------|
66
+ {{gap_patterns_table}}
67
+
68
+ ## CSS Variables
69
+
70
+ ```css
71
+ :root {
72
+ {{spacing_css_variables}}
73
+ }
74
+ ```
75
+
76
+ ## Utility Classes
77
+
78
+ ### Margin Utilities
79
+
80
+ ```css
81
+ {{margin_utility_classes}}
82
+ ```
83
+
84
+ ### Padding Utilities
85
+
86
+ ```css
87
+ {{padding_utility_classes}}
88
+ ```
89
+
90
+ ## Layout Spacing
91
+
92
+ ### Page Layout
93
+
94
+ ```
95
+ {{page_layout_spacing_diagram}}
96
+ ```
97
+
98
+ ### Component Spacing
99
+
100
+ {{component_spacing_guidelines}}
101
+
102
+ ## Usage Guidelines
103
+
104
+ ### Do's
105
+
106
+ - ✅ Use spacing tokens instead of arbitrary values
107
+ - ✅ Maintain consistent spacing within components
108
+ - ✅ Use larger spacing between sections, smaller within components
109
+
110
+ ### Don'ts
111
+
112
+ - ❌ Mix spacing tokens arbitrarily
113
+ - ❌ Use spacing for visual fixes instead of proper layout
114
+ - ❌ Hardcode pixel values
115
+
116
+ ---
117
+
118
+ **Section Source**
119
+ {{section_source_files}}