@fugood/bricks-ctor 2.25.0-beta.12 → 2.25.0-beta.13

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 (27) hide show
  1. package/compile/index.ts +2 -0
  2. package/package.json +2 -2
  3. package/skills/bricks-design/SKILL.md +172 -45
  4. package/skills/bricks-design/references/architecture-truths.md +125 -0
  5. package/skills/bricks-design/references/avoiding-complexity.md +91 -0
  6. package/skills/bricks-design/references/design-critique.md +195 -0
  7. package/skills/bricks-design/references/design-languages.md +265 -0
  8. package/skills/bricks-design/references/performance.md +116 -0
  9. package/skills/bricks-design/references/presentation-and-slideshow.md +137 -0
  10. package/skills/bricks-design/references/translating-inputs.md +152 -0
  11. package/skills/bricks-design/references/variations-and-tweaks.md +124 -0
  12. package/skills/bricks-design/references/verification-toolchain.md +213 -0
  13. package/skills/bricks-design/references/when-the-brief-is-branded.md +284 -0
  14. package/skills/bricks-design/references/when-the-brief-is-vague.md +85 -0
  15. package/skills/bricks-design/references/workflow.md +134 -0
  16. package/skills/bricks-ux/SKILL.md +120 -0
  17. package/skills/bricks-ux/references/accessibility.md +162 -0
  18. package/skills/bricks-ux/references/flow-states.md +175 -0
  19. package/skills/bricks-ux/references/interaction-archetypes.md +189 -0
  20. package/skills/bricks-ux/references/monitoring-screens.md +153 -0
  21. package/skills/bricks-ux/references/pressable-composition.md +126 -0
  22. package/skills/bricks-ux/references/user-journey.md +168 -0
  23. package/skills/bricks-ux/references/ux-critique.md +256 -0
  24. package/tools/pull.ts +42 -2
  25. package/types/automation.ts +1 -0
  26. package/types/data-calc.ts +1 -0
  27. package/skills/bricks-design/LICENSE.txt +0 -180
@@ -0,0 +1,256 @@
1
+ # UX Critique
2
+
3
+ Verification proves the flow *runs*. UX critique proves the flow is *usable*. Both are required before declaring done; neither substitutes for the other.
4
+
5
+ UX critique runs in parallel with visual-design critique (`bricks-design/design-critique.md`). A Canvas can fail one and pass the other; both block ship.
6
+
7
+ This file is tiered. The same UX problem (e.g., closure missing) is **CRITICAL** on a payment kiosk and **MEDIUM** on a museum signage loop. Critique fails ship when CRITICAL or HIGH items go unaddressed in their applicable tiers.
8
+
9
+ ## How to run the pass
10
+
11
+ 1. **Open the journey.** Walk every interaction step-by-step using `user-journey.md` as the spine.
12
+ 2. **For each Canvas / Brick group, classify by deployment risk** (table below). The classification determines which tier of checks apply.
13
+ 3. **Run the checks in the applicable tier(s).** CRITICAL items always run; HIGH applies broadly; MEDIUM and LOW depend on classification.
14
+ 4. **Fix every CRITICAL miss and every HIGH miss.** Surface MEDIUM and LOW misses in the trade-off note if not addressed.
15
+ 5. **Re-verify after fixes.** Don't accumulate fix debt.
16
+
17
+ ## Risk classification by deployment shape
18
+
19
+ | Deployment shape | Risk profile | Tier weighting |
20
+ |---|---|---|
21
+ | Payment / identity capture / safety-critical | CRITICAL-dense — every transact discipline must pass | CRITICAL + HIGH + MEDIUM all apply |
22
+ | Self-service interactive (ordering, check-in, configuration) | HIGH-dense — journey completeness, idle reset, recovery paths | CRITICAL + HIGH apply; MEDIUM where relevant |
23
+ | Monitoring / dashboard / control room | HIGH-dense — alarm hierarchy, stale-data trust, calm/detect/demand | CRITICAL + HIGH apply for alarm states |
24
+ | Browse / wayfinding / menu board | MEDIUM-dense — legibility, comparison clarity, sparse states | HIGH legibility, MEDIUM elsewhere |
25
+ | Glanceable signage / dwell / ambient loop | LOW-dense — main checks are legibility and rhythm | HIGH legibility, LOW elsewhere |
26
+
27
+ ## CRITICAL — blocks ship
28
+
29
+ Failure on any of these is sufficient grounds to declare the work mid-iteration.
30
+
31
+ ### CR-1. The user-journey spine is whole
32
+
33
+ Every interaction must have all seven steps present (or deliberately compressed; see `user-journey.md` § "When the seven steps compress"). Most-common holes:
34
+
35
+ - **Immediate feedback missing** (step 3). User taps, nothing visible, taps again.
36
+ - **In-flight visibility missing** (step 4). Action triggered, screen frozen, user re-triggers.
37
+ - **Recovery as dead-end** (step 6). Error Canvas with no path forward.
38
+ - **Closure ambiguous or missing** (step 7). Success state transient or unclear.
39
+
40
+ **Must Have:** every interaction has a designed and verified affordance, instruction, feedback, in-flight state, continuation, recovery, closure — or deliberate documented collapse.
41
+ **Anti-Pattern:** journey skipping any step on the assumption "it's fast enough not to need".
42
+
43
+ ### CR-2. Transact has its intensification
44
+
45
+ For payment / identity / safety-critical flows, the seven steps must be tightened (`user-journey.md` § "When the seven steps intensify"):
46
+
47
+ - Confirmation step before commit.
48
+ - In-flight visibility non-skippable.
49
+ - Recovery categorised (declined / network / cancelled / timeout).
50
+ - Closure with weight and hold time.
51
+
52
+ **Must Have:** transact closure holds ≥ 5 seconds, success unmistakable, peripheral state visible.
53
+ **Anti-Pattern:** "Process payment in one tap" with no confirmation; closure that auto-advances in < 2s.
54
+
55
+ ### CR-3. Monitoring has demand discipline
56
+
57
+ For dashboards / monitor screens with alarm capability:
58
+
59
+ - Calm / detect / demand are three distinct designed states.
60
+ - Demand state stands out unambiguously; not a slight colour change.
61
+ - Multiple concurrent demand states have priority ordering already designed.
62
+ - Stale-data is visibly declared per source.
63
+ - Color is never the only encoding of severity.
64
+
65
+ **Must Have:** alarm-state preview captured and reviewed; squint-test passes (alarm visible from peripheral vision); monochrome preview still distinguishes severity tiers.
66
+ **Anti-Pattern:** alarm styled identically to detect-state; "stale" indicator at 8pt in corner; severity by colour alone.
67
+
68
+ ### CR-4. Accessibility floors met for the audience
69
+
70
+ The seven accessibility disciplines (`accessibility.md`) apply at deployment-relative floors. CRITICAL when the audience includes:
71
+
72
+ - Reduced-vision users (contrast, scale, color-not-only).
73
+ - Reduced-motor users (touch targets, no precise gestures, no time-pressure auto-cancels).
74
+ - Sensitive-to-motion users (reduced-motion path available).
75
+ - Multilingual audience (strings via Data; type scale accommodates longest translation).
76
+
77
+ **Must Have:** contrast verified under deployment-actual lighting; touch targets verified with real-finger / real-hardware testing; severity / status encoded by shape + color + label.
78
+ **Anti-Pattern:** WCAG-compliance-on-desktop-monitor as the audit (deployment is sunlit signage at 4m); time-pressure UI on a venue that includes slow / hesitant users.
79
+
80
+ ### CR-5. Idle reset is clean
81
+
82
+ For self-service interactive deployments:
83
+
84
+ - Idle timeout exists and is calibrated to the use pattern.
85
+ - Idle reset clears flow state — no half-built order persists; no name on screen; no half-confirmed action.
86
+ - Reset returns to a designed idle / attractor state, not to "whatever Canvas was loaded".
87
+
88
+ **Must Have:** verified idle reset behaviour via Automation or live test; verified that no leaked state persists to next session.
89
+ **Anti-Pattern:** idle = last interact Canvas; idle that requires operator to manually reset.
90
+
91
+ ## HIGH — must fix before launch
92
+
93
+ ### H-1. Affordance is unambiguous
94
+
95
+ Every pressable Brick declares "press me" visually — contrast, weight, motion, or icon. Affordance vocabulary is consistent across the deployment.
96
+
97
+ **Must Have:** pressable tiles visually distinct from non-pressable; squint test confirms which Bricks are interactive.
98
+ **Anti-Pattern:** identical-looking tiles where some are pressable and some aren't; pressable Bricks with no visual distinction from background.
99
+
100
+ ### H-2. Press feedback at registration
101
+
102
+ Every `on_press` produces a visible state change at the moment of registration — scale, opacity, color, or new Brick entry via Standby Transition. Not a fade-in.
103
+
104
+ **Must Have:** Brick under press visibly responds within 100ms (effectively snap, not fade).
105
+ **Anti-Pattern:** press registers, no visible change; press relies on Canvas-change-only feedback (user perceives lag).
106
+
107
+ ### H-3. Flow states designed, not skipped
108
+
109
+ Idle / loading / empty / error / boot / maintenance (as applicable to the deployment) are designed states, each with verified preview.
110
+
111
+ **Must Have:** every applicable state's preview captured and reviewed; failure modes per state checked against `flow-states.md`.
112
+ **Anti-Pattern:** "empty state is fine, the list is always populated" without testing the empty case; error state in 8pt corner text; boot = loading spinner.
113
+
114
+ ### H-4. Hero continuity across journey Canvases
115
+
116
+ For multi-Canvas flows, hero Bricks share ids across Canvases — chrome (logo, progress indicator, time, back action) carries via Truth #3 auto-tween.
117
+
118
+ **Must Have:** primary chrome elements identifiable in the same screen positions across the flow's Canvases.
119
+ **Anti-Pattern:** every Canvas remounts its full Brick set; user loses spatial mental model between steps.
120
+
121
+ ### H-5. Error recovery has a path
122
+
123
+ Every error state offers retry, alternate method, abandon, or help — never a dead-end. Different error categories get distinguishable recovery treatments.
124
+
125
+ **Must Have:** each error path verified end-to-end via Automation or live test.
126
+ **Anti-Pattern:** "Error. Please try again." with no retry mechanism; generic recovery for all error types.
127
+
128
+ ### H-6. Stale-data trust
129
+
130
+ For monitoring / live-data screens, every dynamic source has a visibly declared staleness state or a visible "last update" relative-time indicator.
131
+
132
+ **Must Have:** staleness visible in peripheral vision; stale value distinguishable from current value.
133
+ **Anti-Pattern:** dynamic value with no age indication; "last update" in 8pt absolute timestamp.
134
+
135
+ ### H-7. Predictable navigation
136
+
137
+ Navigation affordances (back, next, home) sit consistently across Canvases. Idle returns to the same idle Canvas every time.
138
+
139
+ **Must Have:** back / next affordance positions verified across Canvases; idle reset produces identical idle Canvas every time.
140
+ **Anti-Pattern:** back button at top-left on Canvas 2, bottom-right on Canvas 3; idle rotates such that the "anchor" element moves.
141
+
142
+ ## MEDIUM — impacts polish; prioritize by user impact
143
+
144
+ ### M-1. Instruction matches user mental model
145
+
146
+ Action instructions ("Scan your code", "Tap to start", "Pay now") match the user's likely understanding; jargon avoided; language locale-matched.
147
+
148
+ **Must Have:** wording reviewed for the actual audience; jargon removed.
149
+ **Anti-Pattern:** "Initiate authentication sequence" on a public kiosk; English-only instruction on a multilingual venue.
150
+
151
+ ### M-2. Continuation is non-surprising
152
+
153
+ The Canvas the user lands on after an action matches their expectation. Big jumps in journey context happen only with explicit transition.
154
+
155
+ **Must Have:** continuation Canvas reviewed for context preservation; hero continuity in place.
156
+ **Anti-Pattern:** success on Canvas A jumps to Canvas D mid-flow; user loses context.
157
+
158
+ ### M-3. Closure proportional to stakes
159
+
160
+ Success closure hold time and visual weight match the action's stakes. Routine completions get brief acknowledgement; transact completions get held visible.
161
+
162
+ **Must Have:** closure hold time tuned to action stakes; auto-advance only after enough time for the user to read.
163
+ **Anti-Pattern:** 1.5s closure for a transact flow; 8s closure for a "saved to favorites" toast.
164
+
165
+ ### M-4. Density rhythm in browse / dwell
166
+
167
+ For browse / dwell deployments, content rotation has variation in density / framing / colour rhythm across Canvases or slides. Three identical-rhythm Canvases in a row is a tell. (Cross-reference: `bricks-design/design-critique.md` density-rhythm collapse.)
168
+
169
+ **Must Have:** rhythm variation across the sequence; no three identical-archetype Canvases in a row.
170
+ **Anti-Pattern:** ten Canvases that all read as "headline + bullet list".
171
+
172
+ ### M-5. Audio cues calibrated (when hardware allows)
173
+
174
+ If the deployment uses audio, volume / timing / time-of-day awareness is intentional.
175
+
176
+ **Must Have:** audio volume / scheduling reviewed; success / alarm cues distinguishable from ambient.
177
+ **Anti-Pattern:** constant-volume cues regardless of time; audio-only confirmation (no visual pair).
178
+
179
+ ### M-6. Reduced-motion path available (if relevant)
180
+
181
+ For deployments in clinical / safety / motion-sensitive contexts, a reduced-motion path exists.
182
+
183
+ **Must Have:** `reduceMotion` Data flag wired where applicable; verified reduced-motion preview.
184
+ **Anti-Pattern:** continuous-motion design with no reduction path for a clinical deployment.
185
+
186
+ ## LOW — context-dependent
187
+
188
+ ### L-1. Polish on idle / attractor presence
189
+
190
+ For deployments where idle dominates: idle is *inviting*, not just *running*.
191
+
192
+ **Must Have for high-traffic public deployments:** attractor sequence engages from peripheral vision.
193
+ **Anti-Pattern:** logo-only idle on a deployment whose purpose is to invite interaction.
194
+
195
+ ### L-2. Maintenance state designed
196
+
197
+ If the deployment has scheduled downtime, a maintenance Canvas exists and distinguishes itself from error.
198
+
199
+ **Must Have for deployments with maintenance windows:** maintenance Canvas with return path.
200
+ **Anti-Pattern:** maintenance = black screen.
201
+
202
+ ### L-3. Empty-state composition
203
+
204
+ Empty states explain the absence and suggest what populates.
205
+
206
+ **Must Have:** empty state designed rather than collapsed-whitespace.
207
+ **Anti-Pattern:** "—" or blank where content would be.
208
+
209
+ ## Tier-by-tier checklist (running order)
210
+
211
+ Use this when running the pass:
212
+
213
+ **CRITICAL (always run):**
214
+
215
+ - [ ] User-journey spine whole (CR-1)
216
+ - [ ] Transact intensified if applicable (CR-2)
217
+ - [ ] Monitoring demand discipline if applicable (CR-3)
218
+ - [ ] Accessibility floors met (CR-4)
219
+ - [ ] Idle reset clean if applicable (CR-5)
220
+
221
+ **HIGH (always run except for glance / dwell loops):**
222
+
223
+ - [ ] Affordance unambiguous (H-1)
224
+ - [ ] Press feedback at registration (H-2)
225
+ - [ ] Flow states designed (H-3)
226
+ - [ ] Hero continuity across Canvases (H-4)
227
+ - [ ] Error recovery has a path (H-5)
228
+ - [ ] Stale-data trust if applicable (H-6)
229
+ - [ ] Predictable navigation (H-7)
230
+
231
+ **MEDIUM (run for interact / transact / browse):**
232
+
233
+ - [ ] Instruction matches mental model (M-1)
234
+ - [ ] Continuation non-surprising (M-2)
235
+ - [ ] Closure proportional (M-3)
236
+ - [ ] Density rhythm (M-4)
237
+ - [ ] Audio cues calibrated (M-5)
238
+ - [ ] Reduced-motion path (M-6)
239
+
240
+ **LOW (run for public-facing / high-dwell):**
241
+
242
+ - [ ] Idle / attractor polish (L-1)
243
+ - [ ] Maintenance state (L-2)
244
+ - [ ] Empty-state composition (L-3)
245
+
246
+ ## Definition of UX done
247
+
248
+ A flow is UX-done when:
249
+
250
+ 1. The CRITICAL tier passes — zero unaddressed CRITICAL items.
251
+ 2. The HIGH tier passes — zero unaddressed HIGH items (or surfaced as accepted trade-off with rationale).
252
+ 3. Applicable MEDIUM / LOW items either pass or are surfaced.
253
+ 4. Every state (golden path + error categories + idle + empty if relevant) has been verified via preview screenshot or Automation, and reviewed.
254
+ 5. Accessibility floors are met at the deployment-relative threshold, not at a desktop default.
255
+
256
+ If any item is unmet, the work is mid-iteration. Say so explicitly to the user; offer a precise list of what remains.
package/tools/pull.ts CHANGED
@@ -1,8 +1,31 @@
1
- import { readFile, writeFile } from 'node:fs/promises'
1
+ import { readdir, readFile, unlink, writeFile } from 'node:fs/promises'
2
+ import { existsSync } from 'node:fs'
3
+ import { join, relative } from 'node:path'
2
4
  import { format } from 'oxfmt'
3
5
  import { sh } from './_shell'
4
6
  import { buildCommitArgs } from './_git-author'
5
7
 
8
+ // Directories whose .ts contents are entirely owned by the generator.
9
+ // Anything under these dirs not present in the freshly pulled file list is an orphan.
10
+ const ownedTsDirs = ['subspaces', 'automation-tests']
11
+
12
+ async function walkTsFiles(dir: string, baseDir: string): Promise<string[]> {
13
+ if (!existsSync(dir)) return []
14
+ const result: string[] = []
15
+ const entries = await readdir(dir, { withFileTypes: true })
16
+ await Promise.all(
17
+ entries.map(async (entry) => {
18
+ const full = join(dir, entry.name)
19
+ if (entry.isDirectory()) {
20
+ result.push(...(await walkTsFiles(full, baseDir)))
21
+ } else if (entry.isFile() && entry.name.endsWith('.ts')) {
22
+ result.push(relative(baseDir, full))
23
+ }
24
+ }),
25
+ )
26
+ return result
27
+ }
28
+
6
29
  const cwd = process.cwd()
7
30
  const args = process.argv.slice(2)
8
31
  const force = args.includes('--force') || args.includes('-f')
@@ -89,6 +112,23 @@ const oxfmtConfig = await readFile(`${cwd}/.oxfmtrc.json`, 'utf8')
89
112
  printWidth: 100,
90
113
  }))
91
114
 
115
+ const expectedFiles = new Set(files.map((file: { name: string }) => file.name))
116
+
117
+ // Remove orphan .ts files under generator-owned directories before writing.
118
+ // File paths are produced by buildApplicationFiles and use forward slashes,
119
+ // so normalise the walked paths the same way for comparison.
120
+ const orphans: string[] = []
121
+ await Promise.all(
122
+ ownedTsDirs.map(async (dir) => {
123
+ const existing = await walkTsFiles(join(cwd, dir), cwd)
124
+ for (const file of existing) {
125
+ const normalized = file.split(/[\\/]/).join('/')
126
+ if (!expectedFiles.has(normalized)) orphans.push(normalized)
127
+ }
128
+ }),
129
+ )
130
+ await Promise.all(orphans.map((name) => unlink(`${cwd}/${name}`)))
131
+
92
132
  await Promise.all(
93
133
  files.map(async (file: { name: string; input: string; formatable?: boolean }) => {
94
134
  let content = file.input
@@ -118,5 +158,5 @@ if (isGitRepo) {
118
158
  }
119
159
 
120
160
  console.log(
121
- `${isModule ? 'Module' : 'App'} project pulled: ${files.length} files${force ? ' (force)' : ''}`,
161
+ `${isModule ? 'Module' : 'App'} project pulled: ${files.length} files${orphans.length ? `, removed ${orphans.length} orphan .ts file${orphans.length === 1 ? '' : 's'}` : ''}${force ? ' (force)' : ''}`,
122
162
  )
@@ -203,6 +203,7 @@ export type LocalSyncMode = 'main-only' | 'minor-only'
203
203
  export interface AutomationTest {
204
204
  __typename: 'AutomationTest'
205
205
  id: string
206
+ alias?: string
206
207
  title: string
207
208
  hideShortRef?: boolean
208
209
  timeout: number
@@ -2,6 +2,7 @@
2
2
  export interface DataCalculation {
3
3
  __typename: string
4
4
  id: string
5
+ alias?: string
5
6
  title?: string
6
7
  description?: string
7
8
  hideShortRef?: boolean
@@ -1,180 +0,0 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- This skill is a derivative work based on:
179
- https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.md
180
- Copyright Anthropic, PBC. Licensed under the Apache License, Version 2.0.