@mytechtoday/augment-extensions 1.3.0 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -22
- package/augment-extensions/domain-rules/software-architecture/README.md +143 -143
- package/augment-extensions/domain-rules/software-architecture/examples/banking-layered.md +961 -961
- package/augment-extensions/domain-rules/software-architecture/examples/ecommerce-microservices.md +990 -990
- package/augment-extensions/domain-rules/software-architecture/examples/iot-eventdriven.md +882 -882
- package/augment-extensions/domain-rules/software-architecture/examples/monolith-to-microservices-migration.md +703 -703
- package/augment-extensions/domain-rules/software-architecture/examples/serverless-imageprocessing.md +957 -957
- package/augment-extensions/domain-rules/software-architecture/examples/trading-eventdriven.md +747 -747
- package/augment-extensions/domain-rules/software-architecture/module.json +119 -119
- package/augment-extensions/domain-rules/software-architecture/rules/challenges-solutions.md +763 -763
- package/augment-extensions/domain-rules/software-architecture/rules/definitions-terminology.md +409 -409
- package/augment-extensions/domain-rules/software-architecture/rules/design-principles.md +684 -684
- package/augment-extensions/domain-rules/software-architecture/rules/evaluation-testing.md +1381 -1381
- package/augment-extensions/domain-rules/software-architecture/rules/event-driven-architecture.md +616 -616
- package/augment-extensions/domain-rules/software-architecture/rules/fundamentals.md +306 -306
- package/augment-extensions/domain-rules/software-architecture/rules/industry-architectures.md +554 -554
- package/augment-extensions/domain-rules/software-architecture/rules/layered-architecture.md +776 -776
- package/augment-extensions/domain-rules/software-architecture/rules/microservices-architecture.md +503 -503
- package/augment-extensions/domain-rules/software-architecture/rules/modeling-documentation.md +1199 -1199
- package/augment-extensions/domain-rules/software-architecture/rules/monolithic-architecture.md +351 -351
- package/augment-extensions/domain-rules/software-architecture/rules/principles.md +556 -556
- package/augment-extensions/domain-rules/software-architecture/rules/quality-attributes.md +797 -797
- package/augment-extensions/domain-rules/software-architecture/rules/scalability-performance.md +1345 -1345
- package/augment-extensions/domain-rules/software-architecture/rules/security-architecture.md +1039 -1039
- package/augment-extensions/domain-rules/software-architecture/rules/serverless-architecture.md +711 -711
- package/augment-extensions/domain-rules/software-architecture/rules/skills-development.md +568 -568
- package/augment-extensions/domain-rules/software-architecture/rules/tools-methodologies.md +961 -961
- package/augment-extensions/visual-design/CHANGELOG.md +132 -132
- package/augment-extensions/visual-design/README.md +255 -255
- package/augment-extensions/visual-design/__tests__/README.md +119 -119
- package/augment-extensions/visual-design/__tests__/style-selector.test.ts +172 -172
- package/augment-extensions/visual-design/__tests__/vendor-styles.test.ts +214 -214
- package/augment-extensions/visual-design/domains/other/ai-prompt-helper.ts +157 -157
- package/augment-extensions/visual-design/domains/other/dotnet-application.ts +156 -156
- package/augment-extensions/visual-design/domains/other/linux-platform.ts +156 -156
- package/augment-extensions/visual-design/domains/other/mobile-application.ts +157 -157
- package/augment-extensions/visual-design/domains/other/motion-picture.ts +156 -156
- package/augment-extensions/visual-design/domains/other/os-application.ts +156 -156
- package/augment-extensions/visual-design/domains/other/print-campaigns.ts +158 -158
- package/augment-extensions/visual-design/domains/other/web-app.ts +157 -157
- package/augment-extensions/visual-design/domains/other/website.ts +161 -161
- package/augment-extensions/visual-design/domains/other/windows-platform.ts +156 -156
- package/augment-extensions/visual-design/domains/web-page-styles/amazon-cloudscape.ts +506 -506
- package/augment-extensions/visual-design/domains/web-page-styles/google-modern.ts +615 -615
- package/augment-extensions/visual-design/domains/web-page-styles/microsoft-fluent.ts +531 -531
- package/augment-extensions/visual-design/examples/README.md +97 -97
- package/augment-extensions/visual-design/examples/ai-prompt-generation.md +233 -233
- package/augment-extensions/visual-design/examples/basic-usage.md +216 -216
- package/augment-extensions/visual-design/examples/domain-workflows.md +257 -257
- package/augment-extensions/visual-design/examples/vendor-comparison.md +247 -247
- package/augment-extensions/visual-design/module.json +78 -78
- package/augment-extensions/visual-design/style-selector.ts +177 -177
- package/augment-extensions/visual-design/types.ts +302 -302
- package/augment-extensions/visual-design/visual-design-core.ts +469 -469
- package/augment-extensions/workflows/adr-support/README.md +227 -227
- package/augment-extensions/workflows/adr-support/__tests__/adr-validator.test.ts +203 -203
- package/augment-extensions/workflows/adr-support/adr-validator.ts +162 -162
- package/augment-extensions/workflows/adr-support/examples/complete-lifecycle-example.md +449 -449
- package/augment-extensions/workflows/adr-support/examples/integration-example.md +580 -580
- package/augment-extensions/workflows/adr-support/examples/superseding-example.md +436 -436
- package/augment-extensions/workflows/adr-support/module.json +112 -112
- package/augment-extensions/workflows/adr-support/rules/adr-creation.md +372 -372
- package/augment-extensions/workflows/adr-support/rules/beads-integration.md +443 -443
- package/augment-extensions/workflows/adr-support/rules/conflict-detection.md +486 -486
- package/augment-extensions/workflows/adr-support/rules/decision-detection.md +362 -362
- package/augment-extensions/workflows/adr-support/rules/lifecycle-management.md +427 -427
- package/augment-extensions/workflows/adr-support/rules/openspec-integration.md +465 -465
- package/augment-extensions/workflows/adr-support/rules/template-selection.md +405 -405
- package/augment-extensions/workflows/adr-support/rules/validation-rules.md +543 -543
- package/augment-extensions/workflows/adr-support/schemas/adr-config.json +191 -191
- package/augment-extensions/workflows/adr-support/schemas/adr-metadata.json +172 -172
- package/augment-extensions/workflows/adr-support/templates/business-case.md +235 -235
- package/augment-extensions/workflows/adr-support/templates/madr-elaborate.md +197 -197
- package/augment-extensions/workflows/adr-support/templates/madr-simple.md +68 -68
- package/augment-extensions/workflows/adr-support/templates/nygard.md +84 -84
- package/augment-extensions/writing-standards/screenplay/rules/file-organization.md +213 -213
- package/augment-extensions/writing-standards/screenplay/utils/__tests__/file-organization.test.ts +169 -169
- package/augment-extensions/writing-standards/screenplay/utils/file-organization.ts +165 -165
- package/cli/dist/utils/auto-sync.js +19 -19
- package/package.json +5 -3
- package/augment-extensions/workflows/openspec/README.md +0 -96
- package/augment-extensions/workflows/openspec/examples/complete-change-example.md +0 -244
- package/augment-extensions/workflows/openspec/module.json +0 -54
- package/augment-extensions/workflows/openspec/rules/best-practices.md +0 -272
- package/augment-extensions/workflows/openspec/rules/manual-setup.md +0 -231
- package/augment-extensions/workflows/openspec/rules/spec-format.md +0 -236
- package/augment-extensions/workflows/openspec/rules/workflow.md +0 -214
- package/cli/dist/utils/__tests__/adr-validator.example.d.ts +0 -6
- package/cli/dist/utils/__tests__/adr-validator.example.d.ts.map +0 -1
- package/cli/dist/utils/__tests__/adr-validator.example.js +0 -148
- package/cli/dist/utils/__tests__/adr-validator.example.js.map +0 -1
- package/cli/dist/utils/adr-validator.d.ts +0 -65
- package/cli/dist/utils/adr-validator.d.ts.map +0 -1
- package/cli/dist/utils/adr-validator.js +0 -203
- package/cli/dist/utils/adr-validator.js.map +0 -1
|
@@ -1,257 +1,257 @@
|
|
|
1
|
-
# Domain-Specific Workflows
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
This example demonstrates how to use the Visual Design module for different domains: Website, Web-app, Mobile, .NET Application, Linux, Windows, Motion Picture, AI Prompt Helper, and Print Campaigns.
|
|
6
|
-
|
|
7
|
-
## 1. Website Domain
|
|
8
|
-
|
|
9
|
-
**Use Case**: Multi-page marketing website with blog
|
|
10
|
-
|
|
11
|
-
**Workflow**:
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { WEBSITE_DOMAIN } from './domains/other/website';
|
|
15
|
-
import { defaultStyleSelector } from './style-selector';
|
|
16
|
-
|
|
17
|
-
// Select vendor style (Google Material 3)
|
|
18
|
-
const vendorStyle = defaultStyleSelector.selectVendorStyle('google');
|
|
19
|
-
|
|
20
|
-
// Apply website domain characteristics
|
|
21
|
-
const websiteDesign = {
|
|
22
|
-
...vendorStyle,
|
|
23
|
-
domain: WEBSITE_DOMAIN,
|
|
24
|
-
pages: ['home', 'about', 'services', 'blog', 'contact'],
|
|
25
|
-
navigation: 'horizontal-menu',
|
|
26
|
-
layout: 'multi-page-with-sidebar'
|
|
27
|
-
};
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
**Key Characteristics**:
|
|
31
|
-
- Multi-page structure with consistent navigation
|
|
32
|
-
- SEO-optimized layouts
|
|
33
|
-
- Content-focused typography
|
|
34
|
-
- Blog post templates
|
|
35
|
-
- Contact forms
|
|
36
|
-
|
|
37
|
-
## 2. Web-app Domain
|
|
38
|
-
|
|
39
|
-
**Use Case**: Interactive SPA dashboard
|
|
40
|
-
|
|
41
|
-
**Workflow**:
|
|
42
|
-
|
|
43
|
-
```typescript
|
|
44
|
-
import { WEB_APP_DOMAIN } from './domains/other/web-app';
|
|
45
|
-
|
|
46
|
-
const webAppDesign = {
|
|
47
|
-
...vendorStyle,
|
|
48
|
-
domain: WEB_APP_DOMAIN,
|
|
49
|
-
features: ['client-side-routing', 'state-management', 'real-time-updates'],
|
|
50
|
-
layout: 'app-shell-with-sidebar',
|
|
51
|
-
components: ['data-tables', 'charts', 'modals', 'notifications']
|
|
52
|
-
};
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
**Key Characteristics**:
|
|
56
|
-
- Single-page application architecture
|
|
57
|
-
- App-like navigation (sidebar, tabs)
|
|
58
|
-
- Interactive components (charts, tables)
|
|
59
|
-
- State management patterns
|
|
60
|
-
- Real-time data updates
|
|
61
|
-
|
|
62
|
-
## 3. Mobile Application Domain
|
|
63
|
-
|
|
64
|
-
**Use Case**: iOS/Android mobile app
|
|
65
|
-
|
|
66
|
-
**Workflow**:
|
|
67
|
-
|
|
68
|
-
```typescript
|
|
69
|
-
import { MOBILE_APPLICATION_DOMAIN } from './domains/other/mobile-application';
|
|
70
|
-
|
|
71
|
-
const mobileDesign = {
|
|
72
|
-
...vendorStyle,
|
|
73
|
-
domain: MOBILE_APPLICATION_DOMAIN,
|
|
74
|
-
platform: 'ios', // or 'android'
|
|
75
|
-
navigation: 'bottom-tab-bar',
|
|
76
|
-
interactions: ['touch', 'swipe', 'pull-to-refresh'],
|
|
77
|
-
safeAreas: true
|
|
78
|
-
};
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
**Key Characteristics**:
|
|
82
|
-
- Touch-first interaction design
|
|
83
|
-
- Native navigation patterns (iOS/Android)
|
|
84
|
-
- Gesture-based interactions
|
|
85
|
-
- Bottom navigation and tab bars
|
|
86
|
-
- Safe area inset handling
|
|
87
|
-
- Haptic feedback
|
|
88
|
-
|
|
89
|
-
## 4. .NET Application Domain
|
|
90
|
-
|
|
91
|
-
**Use Case**: WPF desktop application
|
|
92
|
-
|
|
93
|
-
**Workflow**:
|
|
94
|
-
|
|
95
|
-
```typescript
|
|
96
|
-
import { DOTNET_APPLICATION_DOMAIN } from './domains/other/dotnet-application';
|
|
97
|
-
|
|
98
|
-
const dotnetDesign = {
|
|
99
|
-
...vendorStyle,
|
|
100
|
-
domain: DOTNET_APPLICATION_DOMAIN,
|
|
101
|
-
framework: 'WPF', // or 'WinForms', 'MAUI', 'Blazor'
|
|
102
|
-
architecture: 'MVVM',
|
|
103
|
-
layout: 'ribbon-with-sidebar'
|
|
104
|
-
};
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
**Key Characteristics**:
|
|
108
|
-
- XAML-based UI definition
|
|
109
|
-
- MVVM architecture pattern
|
|
110
|
-
- WPF/WinForms/MAUI controls
|
|
111
|
-
- Dependency injection support
|
|
112
|
-
- Visual Studio designer support
|
|
113
|
-
|
|
114
|
-
## 5. Linux Platform Domain
|
|
115
|
-
|
|
116
|
-
**Use Case**: GNOME desktop application
|
|
117
|
-
|
|
118
|
-
**Workflow**:
|
|
119
|
-
|
|
120
|
-
```typescript
|
|
121
|
-
import { LINUX_PLATFORM_DOMAIN } from './domains/other/linux-platform';
|
|
122
|
-
|
|
123
|
-
const linuxDesign = {
|
|
124
|
-
...vendorStyle,
|
|
125
|
-
domain: LINUX_PLATFORM_DOMAIN,
|
|
126
|
-
desktopEnvironment: 'GNOME', // or 'KDE', 'XFCE'
|
|
127
|
-
toolkit: 'GTK4',
|
|
128
|
-
layout: 'headerbar-with-sidebar'
|
|
129
|
-
};
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
**Key Characteristics**:
|
|
133
|
-
- GNOME HIG / KDE HIG compliance
|
|
134
|
-
- GTK/Qt integration
|
|
135
|
-
- Desktop environment theming
|
|
136
|
-
- System integration (notifications, tray)
|
|
137
|
-
|
|
138
|
-
## 6. Windows Platform Domain
|
|
139
|
-
|
|
140
|
-
**Use Case**: Windows 11 application
|
|
141
|
-
|
|
142
|
-
**Workflow**:
|
|
143
|
-
|
|
144
|
-
```typescript
|
|
145
|
-
import { WINDOWS_PLATFORM_DOMAIN } from './domains/other/windows-platform';
|
|
146
|
-
|
|
147
|
-
const windowsDesign = {
|
|
148
|
-
...vendorStyle,
|
|
149
|
-
domain: WINDOWS_PLATFORM_DOMAIN,
|
|
150
|
-
version: 'Windows 11',
|
|
151
|
-
materials: ['Acrylic', 'Mica'],
|
|
152
|
-
layout: 'navigation-view-with-command-bar'
|
|
153
|
-
};
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
**Key Characteristics**:
|
|
157
|
-
- Windows 11 design principles
|
|
158
|
-
- Acrylic/Mica materials
|
|
159
|
-
- Fluent Design System
|
|
160
|
-
- WinUI 3 controls
|
|
161
|
-
|
|
162
|
-
## 7. Motion Picture Design Domain
|
|
163
|
-
|
|
164
|
-
**Use Case**: Film title sequence design
|
|
165
|
-
|
|
166
|
-
**Workflow**:
|
|
167
|
-
|
|
168
|
-
```typescript
|
|
169
|
-
import { MOTION_PICTURE_DOMAIN } from './domains/other/motion-picture';
|
|
170
|
-
|
|
171
|
-
const motionDesign = {
|
|
172
|
-
...vendorStyle,
|
|
173
|
-
domain: MOTION_PICTURE_DOMAIN,
|
|
174
|
-
medium: 'film', // or 'tv', 'web-series'
|
|
175
|
-
aspectRatio: '2.39:1', // Cinemascope
|
|
176
|
-
colorGrading: 'cinematic-teal-orange',
|
|
177
|
-
typography: 'bold-sans-serif-titles'
|
|
178
|
-
};
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
**Key Characteristics**:
|
|
182
|
-
- Cinematography principles
|
|
183
|
-
- Color grading techniques
|
|
184
|
-
- Composition rules (rule of thirds)
|
|
185
|
-
- Visual storytelling
|
|
186
|
-
- Motion graphics
|
|
187
|
-
|
|
188
|
-
## 8. AI Prompt Helper Domain
|
|
189
|
-
|
|
190
|
-
**Use Case**: Generate image prompts for Midjourney/DALL-E
|
|
191
|
-
|
|
192
|
-
**Workflow**:
|
|
193
|
-
|
|
194
|
-
```typescript
|
|
195
|
-
import { AI_PROMPT_HELPER_DOMAIN } from './domains/other/ai-prompt-helper';
|
|
196
|
-
|
|
197
|
-
const promptDesign = {
|
|
198
|
-
...vendorStyle,
|
|
199
|
-
domain: AI_PROMPT_HELPER_DOMAIN,
|
|
200
|
-
platform: 'midjourney', // or 'dalle', 'stable-diffusion'
|
|
201
|
-
style: 'photorealistic',
|
|
202
|
-
keywords: ['cinematic lighting', '8k', 'detailed']
|
|
203
|
-
};
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
**Key Characteristics**:
|
|
207
|
-
- Platform-specific prompt templates
|
|
208
|
-
- Style keyword suggestions
|
|
209
|
-
- Composition guidance
|
|
210
|
-
- Lighting and mood descriptors
|
|
211
|
-
|
|
212
|
-
## 9. Print Campaign Domain
|
|
213
|
-
|
|
214
|
-
**Use Case**: Event poster design
|
|
215
|
-
|
|
216
|
-
**Workflow**:
|
|
217
|
-
|
|
218
|
-
```typescript
|
|
219
|
-
import { PRINT_CAMPAIGNS_DOMAIN } from './domains/other/print-campaigns';
|
|
220
|
-
|
|
221
|
-
const printDesign = {
|
|
222
|
-
...vendorStyle,
|
|
223
|
-
domain: PRINT_CAMPAIGNS_DOMAIN,
|
|
224
|
-
format: 'poster', // or 'flyer', 'banner', 'billboard'
|
|
225
|
-
size: '24x36',
|
|
226
|
-
colorMode: 'CMYK',
|
|
227
|
-
resolution: '300dpi'
|
|
228
|
-
};
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
**Key Characteristics**:
|
|
232
|
-
- Print-specific color (CMYK)
|
|
233
|
-
- High resolution (300 DPI)
|
|
234
|
-
- Bleed and safe zones
|
|
235
|
-
- Physical media constraints
|
|
236
|
-
- Large-format typography
|
|
237
|
-
|
|
238
|
-
## Choosing the Right Domain
|
|
239
|
-
|
|
240
|
-
| Domain | Best For | Key Features |
|
|
241
|
-
|--------|----------|--------------|
|
|
242
|
-
| **Website** | Marketing sites, blogs | Multi-page, SEO, content-focused |
|
|
243
|
-
| **Web-app** | Dashboards, SaaS | Interactive, state-driven, real-time |
|
|
244
|
-
| **Mobile** | iOS/Android apps | Touch-first, native patterns |
|
|
245
|
-
| **.NET** | Desktop apps | XAML, MVVM, Windows integration |
|
|
246
|
-
| **Linux** | Linux desktop apps | GTK/Qt, HIG compliance |
|
|
247
|
-
| **Windows** | Windows apps | Fluent Design, Acrylic/Mica |
|
|
248
|
-
| **Motion Picture** | Film, TV, video | Cinematography, color grading |
|
|
249
|
-
| **AI Prompt** | Image generation | Prompt templates, keywords |
|
|
250
|
-
| **Print** | Posters, flyers | CMYK, high-res, physical media |
|
|
251
|
-
|
|
252
|
-
## Next Steps
|
|
253
|
-
|
|
254
|
-
- Explore vendor-specific implementations for each domain
|
|
255
|
-
- Combine multiple domains (e.g., Website + Mobile)
|
|
256
|
-
- Customize domain characteristics for your use case
|
|
257
|
-
|
|
1
|
+
# Domain-Specific Workflows
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
This example demonstrates how to use the Visual Design module for different domains: Website, Web-app, Mobile, .NET Application, Linux, Windows, Motion Picture, AI Prompt Helper, and Print Campaigns.
|
|
6
|
+
|
|
7
|
+
## 1. Website Domain
|
|
8
|
+
|
|
9
|
+
**Use Case**: Multi-page marketing website with blog
|
|
10
|
+
|
|
11
|
+
**Workflow**:
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { WEBSITE_DOMAIN } from './domains/other/website';
|
|
15
|
+
import { defaultStyleSelector } from './style-selector';
|
|
16
|
+
|
|
17
|
+
// Select vendor style (Google Material 3)
|
|
18
|
+
const vendorStyle = defaultStyleSelector.selectVendorStyle('google');
|
|
19
|
+
|
|
20
|
+
// Apply website domain characteristics
|
|
21
|
+
const websiteDesign = {
|
|
22
|
+
...vendorStyle,
|
|
23
|
+
domain: WEBSITE_DOMAIN,
|
|
24
|
+
pages: ['home', 'about', 'services', 'blog', 'contact'],
|
|
25
|
+
navigation: 'horizontal-menu',
|
|
26
|
+
layout: 'multi-page-with-sidebar'
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**Key Characteristics**:
|
|
31
|
+
- Multi-page structure with consistent navigation
|
|
32
|
+
- SEO-optimized layouts
|
|
33
|
+
- Content-focused typography
|
|
34
|
+
- Blog post templates
|
|
35
|
+
- Contact forms
|
|
36
|
+
|
|
37
|
+
## 2. Web-app Domain
|
|
38
|
+
|
|
39
|
+
**Use Case**: Interactive SPA dashboard
|
|
40
|
+
|
|
41
|
+
**Workflow**:
|
|
42
|
+
|
|
43
|
+
```typescript
|
|
44
|
+
import { WEB_APP_DOMAIN } from './domains/other/web-app';
|
|
45
|
+
|
|
46
|
+
const webAppDesign = {
|
|
47
|
+
...vendorStyle,
|
|
48
|
+
domain: WEB_APP_DOMAIN,
|
|
49
|
+
features: ['client-side-routing', 'state-management', 'real-time-updates'],
|
|
50
|
+
layout: 'app-shell-with-sidebar',
|
|
51
|
+
components: ['data-tables', 'charts', 'modals', 'notifications']
|
|
52
|
+
};
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
**Key Characteristics**:
|
|
56
|
+
- Single-page application architecture
|
|
57
|
+
- App-like navigation (sidebar, tabs)
|
|
58
|
+
- Interactive components (charts, tables)
|
|
59
|
+
- State management patterns
|
|
60
|
+
- Real-time data updates
|
|
61
|
+
|
|
62
|
+
## 3. Mobile Application Domain
|
|
63
|
+
|
|
64
|
+
**Use Case**: iOS/Android mobile app
|
|
65
|
+
|
|
66
|
+
**Workflow**:
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
69
|
+
import { MOBILE_APPLICATION_DOMAIN } from './domains/other/mobile-application';
|
|
70
|
+
|
|
71
|
+
const mobileDesign = {
|
|
72
|
+
...vendorStyle,
|
|
73
|
+
domain: MOBILE_APPLICATION_DOMAIN,
|
|
74
|
+
platform: 'ios', // or 'android'
|
|
75
|
+
navigation: 'bottom-tab-bar',
|
|
76
|
+
interactions: ['touch', 'swipe', 'pull-to-refresh'],
|
|
77
|
+
safeAreas: true
|
|
78
|
+
};
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Key Characteristics**:
|
|
82
|
+
- Touch-first interaction design
|
|
83
|
+
- Native navigation patterns (iOS/Android)
|
|
84
|
+
- Gesture-based interactions
|
|
85
|
+
- Bottom navigation and tab bars
|
|
86
|
+
- Safe area inset handling
|
|
87
|
+
- Haptic feedback
|
|
88
|
+
|
|
89
|
+
## 4. .NET Application Domain
|
|
90
|
+
|
|
91
|
+
**Use Case**: WPF desktop application
|
|
92
|
+
|
|
93
|
+
**Workflow**:
|
|
94
|
+
|
|
95
|
+
```typescript
|
|
96
|
+
import { DOTNET_APPLICATION_DOMAIN } from './domains/other/dotnet-application';
|
|
97
|
+
|
|
98
|
+
const dotnetDesign = {
|
|
99
|
+
...vendorStyle,
|
|
100
|
+
domain: DOTNET_APPLICATION_DOMAIN,
|
|
101
|
+
framework: 'WPF', // or 'WinForms', 'MAUI', 'Blazor'
|
|
102
|
+
architecture: 'MVVM',
|
|
103
|
+
layout: 'ribbon-with-sidebar'
|
|
104
|
+
};
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
**Key Characteristics**:
|
|
108
|
+
- XAML-based UI definition
|
|
109
|
+
- MVVM architecture pattern
|
|
110
|
+
- WPF/WinForms/MAUI controls
|
|
111
|
+
- Dependency injection support
|
|
112
|
+
- Visual Studio designer support
|
|
113
|
+
|
|
114
|
+
## 5. Linux Platform Domain
|
|
115
|
+
|
|
116
|
+
**Use Case**: GNOME desktop application
|
|
117
|
+
|
|
118
|
+
**Workflow**:
|
|
119
|
+
|
|
120
|
+
```typescript
|
|
121
|
+
import { LINUX_PLATFORM_DOMAIN } from './domains/other/linux-platform';
|
|
122
|
+
|
|
123
|
+
const linuxDesign = {
|
|
124
|
+
...vendorStyle,
|
|
125
|
+
domain: LINUX_PLATFORM_DOMAIN,
|
|
126
|
+
desktopEnvironment: 'GNOME', // or 'KDE', 'XFCE'
|
|
127
|
+
toolkit: 'GTK4',
|
|
128
|
+
layout: 'headerbar-with-sidebar'
|
|
129
|
+
};
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
**Key Characteristics**:
|
|
133
|
+
- GNOME HIG / KDE HIG compliance
|
|
134
|
+
- GTK/Qt integration
|
|
135
|
+
- Desktop environment theming
|
|
136
|
+
- System integration (notifications, tray)
|
|
137
|
+
|
|
138
|
+
## 6. Windows Platform Domain
|
|
139
|
+
|
|
140
|
+
**Use Case**: Windows 11 application
|
|
141
|
+
|
|
142
|
+
**Workflow**:
|
|
143
|
+
|
|
144
|
+
```typescript
|
|
145
|
+
import { WINDOWS_PLATFORM_DOMAIN } from './domains/other/windows-platform';
|
|
146
|
+
|
|
147
|
+
const windowsDesign = {
|
|
148
|
+
...vendorStyle,
|
|
149
|
+
domain: WINDOWS_PLATFORM_DOMAIN,
|
|
150
|
+
version: 'Windows 11',
|
|
151
|
+
materials: ['Acrylic', 'Mica'],
|
|
152
|
+
layout: 'navigation-view-with-command-bar'
|
|
153
|
+
};
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
**Key Characteristics**:
|
|
157
|
+
- Windows 11 design principles
|
|
158
|
+
- Acrylic/Mica materials
|
|
159
|
+
- Fluent Design System
|
|
160
|
+
- WinUI 3 controls
|
|
161
|
+
|
|
162
|
+
## 7. Motion Picture Design Domain
|
|
163
|
+
|
|
164
|
+
**Use Case**: Film title sequence design
|
|
165
|
+
|
|
166
|
+
**Workflow**:
|
|
167
|
+
|
|
168
|
+
```typescript
|
|
169
|
+
import { MOTION_PICTURE_DOMAIN } from './domains/other/motion-picture';
|
|
170
|
+
|
|
171
|
+
const motionDesign = {
|
|
172
|
+
...vendorStyle,
|
|
173
|
+
domain: MOTION_PICTURE_DOMAIN,
|
|
174
|
+
medium: 'film', // or 'tv', 'web-series'
|
|
175
|
+
aspectRatio: '2.39:1', // Cinemascope
|
|
176
|
+
colorGrading: 'cinematic-teal-orange',
|
|
177
|
+
typography: 'bold-sans-serif-titles'
|
|
178
|
+
};
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
**Key Characteristics**:
|
|
182
|
+
- Cinematography principles
|
|
183
|
+
- Color grading techniques
|
|
184
|
+
- Composition rules (rule of thirds)
|
|
185
|
+
- Visual storytelling
|
|
186
|
+
- Motion graphics
|
|
187
|
+
|
|
188
|
+
## 8. AI Prompt Helper Domain
|
|
189
|
+
|
|
190
|
+
**Use Case**: Generate image prompts for Midjourney/DALL-E
|
|
191
|
+
|
|
192
|
+
**Workflow**:
|
|
193
|
+
|
|
194
|
+
```typescript
|
|
195
|
+
import { AI_PROMPT_HELPER_DOMAIN } from './domains/other/ai-prompt-helper';
|
|
196
|
+
|
|
197
|
+
const promptDesign = {
|
|
198
|
+
...vendorStyle,
|
|
199
|
+
domain: AI_PROMPT_HELPER_DOMAIN,
|
|
200
|
+
platform: 'midjourney', // or 'dalle', 'stable-diffusion'
|
|
201
|
+
style: 'photorealistic',
|
|
202
|
+
keywords: ['cinematic lighting', '8k', 'detailed']
|
|
203
|
+
};
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
**Key Characteristics**:
|
|
207
|
+
- Platform-specific prompt templates
|
|
208
|
+
- Style keyword suggestions
|
|
209
|
+
- Composition guidance
|
|
210
|
+
- Lighting and mood descriptors
|
|
211
|
+
|
|
212
|
+
## 9. Print Campaign Domain
|
|
213
|
+
|
|
214
|
+
**Use Case**: Event poster design
|
|
215
|
+
|
|
216
|
+
**Workflow**:
|
|
217
|
+
|
|
218
|
+
```typescript
|
|
219
|
+
import { PRINT_CAMPAIGNS_DOMAIN } from './domains/other/print-campaigns';
|
|
220
|
+
|
|
221
|
+
const printDesign = {
|
|
222
|
+
...vendorStyle,
|
|
223
|
+
domain: PRINT_CAMPAIGNS_DOMAIN,
|
|
224
|
+
format: 'poster', // or 'flyer', 'banner', 'billboard'
|
|
225
|
+
size: '24x36',
|
|
226
|
+
colorMode: 'CMYK',
|
|
227
|
+
resolution: '300dpi'
|
|
228
|
+
};
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
**Key Characteristics**:
|
|
232
|
+
- Print-specific color (CMYK)
|
|
233
|
+
- High resolution (300 DPI)
|
|
234
|
+
- Bleed and safe zones
|
|
235
|
+
- Physical media constraints
|
|
236
|
+
- Large-format typography
|
|
237
|
+
|
|
238
|
+
## Choosing the Right Domain
|
|
239
|
+
|
|
240
|
+
| Domain | Best For | Key Features |
|
|
241
|
+
|--------|----------|--------------|
|
|
242
|
+
| **Website** | Marketing sites, blogs | Multi-page, SEO, content-focused |
|
|
243
|
+
| **Web-app** | Dashboards, SaaS | Interactive, state-driven, real-time |
|
|
244
|
+
| **Mobile** | iOS/Android apps | Touch-first, native patterns |
|
|
245
|
+
| **.NET** | Desktop apps | XAML, MVVM, Windows integration |
|
|
246
|
+
| **Linux** | Linux desktop apps | GTK/Qt, HIG compliance |
|
|
247
|
+
| **Windows** | Windows apps | Fluent Design, Acrylic/Mica |
|
|
248
|
+
| **Motion Picture** | Film, TV, video | Cinematography, color grading |
|
|
249
|
+
| **AI Prompt** | Image generation | Prompt templates, keywords |
|
|
250
|
+
| **Print** | Posters, flyers | CMYK, high-res, physical media |
|
|
251
|
+
|
|
252
|
+
## Next Steps
|
|
253
|
+
|
|
254
|
+
- Explore vendor-specific implementations for each domain
|
|
255
|
+
- Combine multiple domains (e.g., Website + Mobile)
|
|
256
|
+
- Customize domain characteristics for your use case
|
|
257
|
+
|