@su-sws/synthetic-web-team 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.
- package/AGENTS.md +149 -0
- package/README.md +321 -0
- package/package.json +58 -0
- package/packages/cli/bin/sws.mjs +722 -0
- package/packages/cli/src/axe.mjs +164 -0
- package/packages/cli/src/browser.mjs +192 -0
- package/packages/cli/src/checks.mjs +1254 -0
- package/packages/cli/src/github.mjs +131 -0
- package/packages/cli/src/history.mjs +137 -0
- package/packages/cli/src/perf.mjs +245 -0
- package/packages/cli/src/preflight.mjs +185 -0
- package/packages/cli/src/report.mjs +315 -0
- package/packages/cli/src/states.mjs +556 -0
- package/packages/wizard/bin/wizard.mjs +767 -0
- package/packages/wizard/src/detect.mjs +135 -0
- package/packages/wizard/src/emit.mjs +553 -0
- package/skills/role-accessibility-lead/SKILL.md +183 -0
- package/skills/role-api-architect/SKILL.md +65 -0
- package/skills/role-backend-developer/SKILL.md +66 -0
- package/skills/role-compliance-officer/SKILL.md +73 -0
- package/skills/role-content-designer/SKILL.md +145 -0
- package/skills/role-devops/SKILL.md +200 -0
- package/skills/role-discoverability/SKILL.md +164 -0
- package/skills/role-frontend-developer/SKILL.md +167 -0
- package/skills/role-fullstack-developer/SKILL.md +56 -0
- package/skills/role-identity-engineer/SKILL.md +77 -0
- package/skills/role-information-architect/SKILL.md +136 -0
- package/skills/role-infrastructure-architect/SKILL.md +60 -0
- package/skills/role-qa-engineer/SKILL.md +81 -0
- package/skills/role-security-operations/SKILL.md +56 -0
- package/skills/role-software-architect/SKILL.md +75 -0
- package/skills/role-staff-technical-architect/SKILL.md +73 -0
- package/skills/role-strategist/SKILL.md +122 -0
- package/skills/role-user-researcher/SKILL.md +66 -0
- package/skills/role-ux-designer/SKILL.md +159 -0
- package/skills/sws-compliance-check/SKILL.md +153 -0
- package/skills/sws-decanter/SKILL.md +191 -0
- package/skills/sws-deploy/SKILL.md +162 -0
- package/skills/sws-diverge/SKILL.md +131 -0
- package/skills/sws-github/SKILL.md +171 -0
- package/skills/sws-install/SKILL.md +97 -0
- package/skills/sws-netlify/SKILL.md +110 -0
- package/skills/sws-onboard/SKILL.md +85 -0
- package/skills/sws-preflight/SKILL.md +87 -0
- package/skills/sws-prior-art/SKILL.md +137 -0
- package/skills/sws-vercel/SKILL.md +117 -0
- package/standards/fragments/global-footer.yml +137 -0
- package/standards/fragments/identity-bar.yml +180 -0
- package/standards/hosting/capabilities.yml +215 -0
- package/standards/hosting/github-pages.yml +306 -0
- package/standards/hosting/netlify.yml +234 -0
- package/standards/hosting/vercel.yml +284 -0
- package/standards/patterns/components.md +162 -0
- package/standards/patterns/content.md +130 -0
- package/standards/patterns/decanter.md +352 -0
- package/standards/patterns/discoverability.md +121 -0
- package/standards/patterns/forms.md +116 -0
- package/standards/patterns/ia.md +126 -0
- package/standards/patterns/motion.md +267 -0
- package/standards/patterns/sws-conventions.md +225 -0
- package/standards/policy/accessibility.md +241 -0
- package/standards/policy/brand.md +213 -0
- package/standards/policy/escalation.md +53 -0
- package/standards/policy/identity.md +96 -0
- package/standards/policy/minsec.md +119 -0
- package/standards/policy/minweb.md +87 -0
- package/standards/policy/privacy.md +114 -0
- package/standards/policy/procurement.md +79 -0
- package/standards/prior-art/README.md +205 -0
- package/standards/prior-art/catalog.yml +409 -0
- package/standards/prior-art/patterns/INDEX.md +53 -0
- package/standards/prior-art/repos.yml +734 -0
- package/standards/recipes/astro-ssr/RECIPE.md +274 -0
- package/standards/recipes/astro-ssr/acceptance.yml +168 -0
- package/standards/recipes/astro-static/RECIPE.md +468 -0
- package/standards/recipes/astro-static/acceptance.yml +800 -0
- package/standards/recipes/next-ssr/RECIPE.md +407 -0
- package/standards/recipes/next-ssr/acceptance.yml +187 -0
- package/standards/scope.md +111 -0
- package/standards/stack/performance-budget.yml +95 -0
- package/standards/stack/reference-versions.yml +168 -0
- package/standards/stack/requirements.yml +154 -0
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
# SWS prior-art catalog
|
|
2
|
+
#
|
|
3
|
+
# Curated pointers to existing Stanford Web Services work. NO CODE lives here,
|
|
4
|
+
# only metadata and file paths. The agent fetches referenced files on demand.
|
|
5
|
+
#
|
|
6
|
+
# The value of this file is JUDGMENT: which implementation is the good one.
|
|
7
|
+
# Automated search can find code; only this file can say "copy this one" or
|
|
8
|
+
# "everyone copies this and shouldn't."
|
|
9
|
+
#
|
|
10
|
+
# ==============================================================================
|
|
11
|
+
# PRECEDENCE: prior art informs HOW we solved a problem shape.
|
|
12
|
+
# Standards decide WHAT to build with. Standards always win.
|
|
13
|
+
# See README.md.
|
|
14
|
+
# ==============================================================================
|
|
15
|
+
#
|
|
16
|
+
# `era` is mandatory on every entry. It tells the agent what NOT to borrow:
|
|
17
|
+
# decanter-6 SCSS/BEM. Borrow structure and content decisions only.
|
|
18
|
+
# decanter-7 Tailwind 3 JS preset. Never borrow CSS setup or config.
|
|
19
|
+
# decanter-8 Tailwind 4 CSS-first. Current. Safe to borrow more freely.
|
|
20
|
+
# pre-decanter Historical. Borrow IA and editorial thinking only.
|
|
21
|
+
#
|
|
22
|
+
# `rating` is the curator's call:
|
|
23
|
+
# exemplary Copy the approach. This is how we do it.
|
|
24
|
+
# sound Fine reference, nothing special.
|
|
25
|
+
# dated Good thinking, superseded execution. Read, don't copy.
|
|
26
|
+
# cautionary Known problems. Recorded so people stop copying it.
|
|
27
|
+
#
|
|
28
|
+
# `use_for` / `do_not_use_for` are the actionable fields. Be specific.
|
|
29
|
+
|
|
30
|
+
version: 1
|
|
31
|
+
updated: 2026-08-10
|
|
32
|
+
maintainers:
|
|
33
|
+
- sheamck@stanford.edu
|
|
34
|
+
sources:
|
|
35
|
+
- name: Awesome-Decanter
|
|
36
|
+
url: https://github.com/SU-SWS/Awesome-Decanter
|
|
37
|
+
harvested: 2026-08-10
|
|
38
|
+
note: >
|
|
39
|
+
Upstream curated list. When it gains entries, re-harvest rather than
|
|
40
|
+
duplicating maintenance. Our added value over it is era, rating, and the
|
|
41
|
+
use_for / do_not_use_for split, none of which the awesome list carries.
|
|
42
|
+
|
|
43
|
+
# ------------------------------------------------------------------------------
|
|
44
|
+
# SOURCE REPOS
|
|
45
|
+
#
|
|
46
|
+
# Ratings marked TBD must come from the people who built and maintain these.
|
|
47
|
+
# Do not ship this file with `rating: TBD` entries still present.
|
|
48
|
+
#
|
|
49
|
+
# Upstream source for the live exemplars and tools sections:
|
|
50
|
+
# https://github.com/SU-SWS/Awesome-Decanter (harvested 2026-08-10)
|
|
51
|
+
# ------------------------------------------------------------------------------
|
|
52
|
+
|
|
53
|
+
repos:
|
|
54
|
+
- name: decanter
|
|
55
|
+
url: https://github.com/SU-SWS/decanter
|
|
56
|
+
visibility: public
|
|
57
|
+
era: decanter-8
|
|
58
|
+
rating: exemplary
|
|
59
|
+
what: The Stanford design system itself. Tailwind 4 CSS-first as of v8.
|
|
60
|
+
use_for:
|
|
61
|
+
- Canonical token names, spacing scale, type scale, color roles
|
|
62
|
+
- Component CSS conventions in src/css/components/
|
|
63
|
+
- The custom variants in src/css/custom-variants.css
|
|
64
|
+
do_not_use_for:
|
|
65
|
+
- Anything on the `main` branch, which is still v7 and Tailwind 3
|
|
66
|
+
pointers:
|
|
67
|
+
- path: src/css/theme/colors.css
|
|
68
|
+
ref: v8
|
|
69
|
+
note: All Stanford Identity colors as CSS custom properties
|
|
70
|
+
- path: src/css/index.css
|
|
71
|
+
ref: v8
|
|
72
|
+
note: The five-line entry point. Shows that Decanter imports Tailwind itself
|
|
73
|
+
- path: src/css/components/
|
|
74
|
+
ref: v8
|
|
75
|
+
note: How SWS writes component CSS in the v8 era
|
|
76
|
+
|
|
77
|
+
- name: stanford_basic
|
|
78
|
+
url: https://github.com/SU-SWS/stanford_basic
|
|
79
|
+
visibility: public
|
|
80
|
+
era: decanter-6
|
|
81
|
+
rating: cautionary
|
|
82
|
+
what: Drupal theme behind Stanford Sites.
|
|
83
|
+
use_for:
|
|
84
|
+
- Drupal-specific older Decanter (V6) component markup and CSS
|
|
85
|
+
do_not_use_for:
|
|
86
|
+
- Any new work. Last pushed 2021, predates v7 and v8 entirely. Listed explicitly so nobody adopts it by finding it in search.
|
|
87
|
+
|
|
88
|
+
- name: jumpstart_ui
|
|
89
|
+
url: https://github.com/SU-SWS/jumpstart_ui
|
|
90
|
+
visibility: public
|
|
91
|
+
era: decanter-6
|
|
92
|
+
rating: cautionary
|
|
93
|
+
what: Drupal component library.
|
|
94
|
+
use_for:
|
|
95
|
+
- Component inventory: what components a Stanford unit site actually needs
|
|
96
|
+
do_not_use_for:
|
|
97
|
+
- Implementation, if the era predates Decanter 8
|
|
98
|
+
|
|
99
|
+
- name: decanter-web
|
|
100
|
+
url: https://github.com/SU-SWS/decanter-web
|
|
101
|
+
visibility: public
|
|
102
|
+
era: decanter-7
|
|
103
|
+
rating: sound
|
|
104
|
+
what: The decanter.stanford.edu documentation site.
|
|
105
|
+
use_for:
|
|
106
|
+
- How SWS documents a design system
|
|
107
|
+
- Content structure for a docs-style Stanford site
|
|
108
|
+
- Example markup for Decanter components, but only for v7. The v8 docs are not yet published.
|
|
109
|
+
do_not_use_for:
|
|
110
|
+
- Anything v8, since the docs still describe v7
|
|
111
|
+
open_question: >
|
|
112
|
+
Revisit as a dependency once it supports v8. The docs are still v7, but
|
|
113
|
+
it will change once the v8 docs are published.
|
|
114
|
+
|
|
115
|
+
- name: decanter-react
|
|
116
|
+
url: https://github.com/SU-SWS/decanter-react
|
|
117
|
+
visibility: public
|
|
118
|
+
era: decanter-7
|
|
119
|
+
rating: cautionary
|
|
120
|
+
what: React component library for Decanter.
|
|
121
|
+
use_for:
|
|
122
|
+
- Historical reference for component API shape only
|
|
123
|
+
do_not_use_for:
|
|
124
|
+
- Any new work. Last pushed 2021, predates v7 and v8 entirely.
|
|
125
|
+
Listed explicitly so nobody adopts it by finding it in search.
|
|
126
|
+
|
|
127
|
+
- name: decanter-mcp
|
|
128
|
+
url: https://github.com/SU-SWS/decanter-mcp
|
|
129
|
+
visibility: private
|
|
130
|
+
era: decanter-7
|
|
131
|
+
rating: dated
|
|
132
|
+
what: Hosted MCP server for Decanter.
|
|
133
|
+
use_for:
|
|
134
|
+
- Reference when we build @su-sws/synthetic-web-team-mcp
|
|
135
|
+
do_not_use_for:
|
|
136
|
+
- Decanter 8 or Tailwind 4 questions, per SWS guidance
|
|
137
|
+
open_question: Revisit as a dependency once it supports v8.
|
|
138
|
+
|
|
139
|
+
# ==============================================================================
|
|
140
|
+
# LIVE EXEMPLARS
|
|
141
|
+
#
|
|
142
|
+
# Harvested from https://github.com/SU-SWS/Awesome-Decanter on 2026-08-10.
|
|
143
|
+
#
|
|
144
|
+
# READ THIS BEFORE USING THESE ENTRIES:
|
|
145
|
+
#
|
|
146
|
+
# These are URLs, not repos. For most there is no public source, so they are
|
|
147
|
+
# references for rendered output: page furniture, IA, content patterns, and
|
|
148
|
+
# Decanter usage in the wild. They are NEVER references for build config,
|
|
149
|
+
# dependency versions, component source, or CSS architecture.
|
|
150
|
+
#
|
|
151
|
+
# `era: unverified` on every entry is deliberate and honest. A rendered page
|
|
152
|
+
# gives no reliable signal about which Decanter version produced it, and none
|
|
153
|
+
# of these has been inspected yet. Until someone does the inspection pass,
|
|
154
|
+
# the precedence rule applies at full strength: borrow problem shapes, never
|
|
155
|
+
# implementation.
|
|
156
|
+
#
|
|
157
|
+
# `use_for` below is INFERRED from each site's evident purpose, not from
|
|
158
|
+
# inspection. Treat it as a starting hypothesis for the Phase 1 pass, which
|
|
159
|
+
# should confirm or correct it and replace `rating: TBD` with a real call.
|
|
160
|
+
# ==============================================================================
|
|
161
|
+
|
|
162
|
+
live_exemplars:
|
|
163
|
+
# ---------------------------------------------------------- brand canonical
|
|
164
|
+
- name: Stanford Homesite
|
|
165
|
+
url: https://www.stanford.edu/
|
|
166
|
+
kind: live
|
|
167
|
+
repo: https://github.com/SU-SWS/adapt-stanford-homesite
|
|
168
|
+
repo_ref: dev
|
|
169
|
+
era: decanter-derived
|
|
170
|
+
lineage: >
|
|
171
|
+
Own design system, derived from Decanter, currently influencing Decanter 8.
|
|
172
|
+
See repos.yml for the full entry.
|
|
173
|
+
rating: exemplary
|
|
174
|
+
why_exemplary: >
|
|
175
|
+
The canonical source for the Stanford Identity Bar and Global Footer.
|
|
176
|
+
When our fragment and this page disagree, this page is right.
|
|
177
|
+
use_for:
|
|
178
|
+
- Global Footer link set, order, labels, and targets
|
|
179
|
+
- Identity Bar markup and placement
|
|
180
|
+
- The central Cookie Policy and Privacy Policy this project links to
|
|
181
|
+
do_not_use_for:
|
|
182
|
+
- >
|
|
183
|
+
Decanter conformance. Its tokens and CSS are a parallel vocabulary, not
|
|
184
|
+
Decanter's. Brand furniture yes, design system no.
|
|
185
|
+
priority: highest
|
|
186
|
+
|
|
187
|
+
- name: Emergency
|
|
188
|
+
url: https://emergency.stanford.edu
|
|
189
|
+
kind: live
|
|
190
|
+
repo: https://github.com/SU-SWS/adapt-emergency
|
|
191
|
+
era: decanter-7
|
|
192
|
+
rating: exemplary
|
|
193
|
+
use_for:
|
|
194
|
+
- Crisis communication patterns, performance under load, minimal payload
|
|
195
|
+
- It is also a required Global Footer link target, so it is worth knowing
|
|
196
|
+
do_not_use_for: [implementation]
|
|
197
|
+
|
|
198
|
+
# ------------------------------------------------------- large school sites
|
|
199
|
+
- name: Stanford Engineering
|
|
200
|
+
url: https://engineering.stanford.edu
|
|
201
|
+
kind: live
|
|
202
|
+
repo: unknown
|
|
203
|
+
era: decanter-6
|
|
204
|
+
rating: dated
|
|
205
|
+
use_for:
|
|
206
|
+
- Large school IA, an alternative solution to the same problem as Doerr.
|
|
207
|
+
Comparing the two is more instructive than reading either alone
|
|
208
|
+
do_not_use_for: [implementation]
|
|
209
|
+
|
|
210
|
+
- name: Stanford Libraries
|
|
211
|
+
url: https://library.stanford.edu
|
|
212
|
+
kind: live
|
|
213
|
+
repo: https://github.com/SU-SWS/sulgryphon-nextjs
|
|
214
|
+
era: decanter-7
|
|
215
|
+
rating: sound
|
|
216
|
+
use_for:
|
|
217
|
+
- Search-forward IA, very large content volume, complex taxonomy
|
|
218
|
+
- Likely the best reference for search integration patterns
|
|
219
|
+
do_not_use_for: [implementation]
|
|
220
|
+
|
|
221
|
+
# --------------------------------------------------- editorial and news
|
|
222
|
+
- name: Stanford Report
|
|
223
|
+
url: https://news.stanford.edu/
|
|
224
|
+
kind: live
|
|
225
|
+
repo: unknown
|
|
226
|
+
era: decanter-7
|
|
227
|
+
rating: sound
|
|
228
|
+
use_for:
|
|
229
|
+
- Editorial and article patterns, bylines, topic taxonomy, archive IA
|
|
230
|
+
- Highest-volume content model at Stanford. Best news reference
|
|
231
|
+
do_not_use_for: [implementation]
|
|
232
|
+
|
|
233
|
+
- name: Stanford University Press
|
|
234
|
+
url: https://sup.org/
|
|
235
|
+
kind: live
|
|
236
|
+
repo: https://github.com/SU-SWS/press-nextjs
|
|
237
|
+
era: decanter-7
|
|
238
|
+
rating: sound
|
|
239
|
+
use_for:
|
|
240
|
+
- Decanter applied on a NON-stanford.edu domain, which is a MinWeb case
|
|
241
|
+
worth understanding since the standards still apply
|
|
242
|
+
- Catalog and commerce-adjacent patterns
|
|
243
|
+
do_not_use_for: [implementation]
|
|
244
|
+
note: >
|
|
245
|
+
MinWeb explicitly covers Stanford-branded .org and .com sites. This is a
|
|
246
|
+
live example of that scenario.
|
|
247
|
+
|
|
248
|
+
# ------------------------------------------------- conversion and campaign
|
|
249
|
+
- name: Stanford Alumni
|
|
250
|
+
url: https://alumni.stanford.edu
|
|
251
|
+
kind: live
|
|
252
|
+
repo: https://github.com/SU-SWS/saa-alumni
|
|
253
|
+
era: decanter-7
|
|
254
|
+
rating: exemplary
|
|
255
|
+
use_for: [Membership and community IA, authenticated-adjacent journeys]
|
|
256
|
+
do_not_use_for: [implementation]
|
|
257
|
+
|
|
258
|
+
- name: Giving to Stanford
|
|
259
|
+
url: https://giving.stanford.edu
|
|
260
|
+
kind: live
|
|
261
|
+
repo: https://github.com/SU-SWS/adapt-giving
|
|
262
|
+
era: decanter-7
|
|
263
|
+
rating: exemplary
|
|
264
|
+
use_for: [Conversion-oriented IA and campaign landing patterns]
|
|
265
|
+
do_not_use_for: [implementation]
|
|
266
|
+
|
|
267
|
+
- name: Online Giving
|
|
268
|
+
url: https://give.stanford.edu
|
|
269
|
+
kind: live
|
|
270
|
+
repo: https://github.com/SU-SWS/adapt-online-giving
|
|
271
|
+
era: decanter-7
|
|
272
|
+
rating: exemplary
|
|
273
|
+
use_for:
|
|
274
|
+
- Transactional form flows, which is the best available Decanter form
|
|
275
|
+
reference. Harvest it into standards/patterns/ when the forms pattern
|
|
276
|
+
gets written; there is no forms.md yet.
|
|
277
|
+
do_not_use_for: [implementation]
|
|
278
|
+
note: >
|
|
279
|
+
Almost certainly a Moderate-or-higher risk tier. Do not treat its data
|
|
280
|
+
handling as a template for a Low-risk static site.
|
|
281
|
+
|
|
282
|
+
- name: Stanford Engineering Centennial
|
|
283
|
+
url: https://engineering100.stanford.edu/
|
|
284
|
+
kind: live
|
|
285
|
+
repo: https://github.com/SU-SOE/soe-centennial-nextjs
|
|
286
|
+
era: decanter-7
|
|
287
|
+
rating: exemplary
|
|
288
|
+
use_for:
|
|
289
|
+
- Campaign microsite scope, which is the closest match to what most
|
|
290
|
+
`astro-static` users are actually building
|
|
291
|
+
do_not_use_for: [implementation]
|
|
292
|
+
priority: high
|
|
293
|
+
|
|
294
|
+
# ----------------------------------------------------- program and project
|
|
295
|
+
- name: CRAFT
|
|
296
|
+
url: https://craft.stanford.edu/
|
|
297
|
+
kind: live
|
|
298
|
+
repo: unknown
|
|
299
|
+
era: decanter-7
|
|
300
|
+
rating: sound
|
|
301
|
+
use_for: [Small program site scope and structure]
|
|
302
|
+
do_not_use_for: [implementation]
|
|
303
|
+
priority: high
|
|
304
|
+
|
|
305
|
+
- name: Momentum
|
|
306
|
+
url: https://momentum.stanford.edu/
|
|
307
|
+
kind: live
|
|
308
|
+
repo: https://github.com/SU-SWS/ood-giving-campaign
|
|
309
|
+
era: decanter-7
|
|
310
|
+
rating: exemplary
|
|
311
|
+
use_for: [Small program or initiative site scope]
|
|
312
|
+
do_not_use_for: [implementation]
|
|
313
|
+
priority: high
|
|
314
|
+
|
|
315
|
+
- name: Open Minds
|
|
316
|
+
url: https://openminds.stanford.edu/
|
|
317
|
+
kind: live
|
|
318
|
+
repo: https://github.com/SU-SWS/ood-stanford-tour
|
|
319
|
+
era: decanter-7
|
|
320
|
+
rating: exemplary
|
|
321
|
+
use_for: [Small program site, editorial-leaning]
|
|
322
|
+
do_not_use_for: [implementation]
|
|
323
|
+
|
|
324
|
+
- name: Redwood City
|
|
325
|
+
url: https://redwoodcity.stanford.edu
|
|
326
|
+
kind: live
|
|
327
|
+
repo: unknown
|
|
328
|
+
era: decanter-6
|
|
329
|
+
rating: cautionary
|
|
330
|
+
use_for: [Place and campus site IA, wayfinding, maps integration]
|
|
331
|
+
do_not_use_for: [implementation]
|
|
332
|
+
|
|
333
|
+
# ------------------------------------------------------ search and discovery
|
|
334
|
+
- name: Course Discovery (GSE)
|
|
335
|
+
url: https://coursediscovery.gse.stanford.edu/
|
|
336
|
+
kind: live
|
|
337
|
+
repo: unknown
|
|
338
|
+
era: decanter-7
|
|
339
|
+
rating: dated
|
|
340
|
+
use_for:
|
|
341
|
+
- Faceted search and filter UI, results patterns, empty states
|
|
342
|
+
- Most relevant reference for the Algolia or Coveo decision
|
|
343
|
+
do_not_use_for: [implementation]
|
|
344
|
+
priority: low
|
|
345
|
+
|
|
346
|
+
# ------------------------------------------------------- third-party platform
|
|
347
|
+
- name: Stanford Events Calendar
|
|
348
|
+
url: https://events.stanford.edu
|
|
349
|
+
kind: live
|
|
350
|
+
repo: unknown
|
|
351
|
+
era: decanter-6
|
|
352
|
+
rating: cautionary
|
|
353
|
+
platform: Localist (SaaS)
|
|
354
|
+
use_for:
|
|
355
|
+
- Decanter applied as a skin over a third-party SaaS platform, which is a
|
|
356
|
+
recurring SWS problem and a documented MinWeb scenario where the
|
|
357
|
+
vulnerability and accessibility burden shifts to the unit
|
|
358
|
+
- Event content modelling
|
|
359
|
+
do_not_use_for:
|
|
360
|
+
- Implementation, and specifically do not infer that SaaS theming is the
|
|
361
|
+
default answer. MinWeb warns about the burden it transfers
|
|
362
|
+
|
|
363
|
+
# ==============================================================================
|
|
364
|
+
# THEMES, TOOLS, FRAMEWORKS
|
|
365
|
+
# Also harvested from Awesome-Decanter. Provenance varies and matters.
|
|
366
|
+
# ==============================================================================
|
|
367
|
+
|
|
368
|
+
tools:
|
|
369
|
+
- name: Redwood (WordPress theme)
|
|
370
|
+
url: https://drive.google.com/file/d/1VWwgp0pWy6pANO-i7LBSFJr-U1khhQWp/view
|
|
371
|
+
era: decanter-6
|
|
372
|
+
rating: cautionary
|
|
373
|
+
why: >
|
|
374
|
+
Distributed as a Google Drive file rather than a versioned package or
|
|
375
|
+
repo. That means no version history, no changelog, no dependency
|
|
376
|
+
metadata, and no way for us to check its era or its Decanter version.
|
|
377
|
+
Usable as a reference if someone must build Stanford WordPress, but it
|
|
378
|
+
cannot participate in any automated check and should not be recommended
|
|
379
|
+
as a supported path.
|
|
380
|
+
use_for: [WordPress-specific Decanter application, if unavoidable]
|
|
381
|
+
do_not_use_for: [Anything we can verify or check]
|
|
382
|
+
|
|
383
|
+
- name: Backdrop Decanter theme (v6)
|
|
384
|
+
url: https://github.com/borisay/backdrop_decanter
|
|
385
|
+
era: decanter-6
|
|
386
|
+
rating: dated
|
|
387
|
+
provenance: community, outside SU-SWS
|
|
388
|
+
use_for: [Historical reference only]
|
|
389
|
+
do_not_use_for: [New work. Decanter 6 was SCSS/BEM]
|
|
390
|
+
|
|
391
|
+
- name: Backdrop Decanter theme (v7)
|
|
392
|
+
url: https://github.com/backdrop-contrib/stanford_decanter
|
|
393
|
+
era: decanter-7
|
|
394
|
+
rating: sound
|
|
395
|
+
provenance: community, outside SU-SWS (backdrop-contrib)
|
|
396
|
+
use_for: [Reference for porting Decanter into a non-Drupal CMS]
|
|
397
|
+
do_not_use_for: [Decanter 8 or Tailwind 4 questions]
|
|
398
|
+
note: >
|
|
399
|
+
Not SWS-maintained. Flag the external provenance whenever this is cited,
|
|
400
|
+
since users will reasonably assume everything in Awesome-Decanter is ours.
|
|
401
|
+
|
|
402
|
+
- name: Decanter MCP
|
|
403
|
+
url: https://decanter-mcp.netlify.app
|
|
404
|
+
era: decanter-7
|
|
405
|
+
rating: dated
|
|
406
|
+
provenance: SU-SWS, source repo private
|
|
407
|
+
use_for: [Reference when building @su-sws/synthetic-web-team-mcp]
|
|
408
|
+
do_not_use_for: [Decanter 8 or Tailwind 4, per SWS guidance]
|
|
409
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Harvested patterns
|
|
2
|
+
|
|
3
|
+
Tier 1 of the lookup order in `sws-prior-art`. **Currently empty.**
|
|
4
|
+
|
|
5
|
+
That is the expected state, not a gap. Entries here are *harvested, never
|
|
6
|
+
authored*: when a role skill solves something and the user confirms it worked,
|
|
7
|
+
`sws harvest` offers to append an entry pointing at what was just written. A
|
|
8
|
+
pattern ledger that someone sat down and wrote in advance is a design document,
|
|
9
|
+
and it rots like one. This file grows as a byproduct of use, which is the only
|
|
10
|
+
model that survives a busy team.
|
|
11
|
+
|
|
12
|
+
So if you are here looking for prior art, skip to tier 2 and keep going:
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
2. .sws/prior-art.local.yml the user's own disk, free, private
|
|
16
|
+
3. standards/prior-art/repos.yml 11 inspected source repos
|
|
17
|
+
4. standards/prior-art/catalog.yml 17 live exemplars + tools
|
|
18
|
+
5. live GitHub org search uncurated fallback
|
|
19
|
+
6. nothing found say so plainly
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
`sws harvest` is not built yet. Until it is, add entries by hand using the
|
|
23
|
+
shape below, and keep them short: a pattern nobody reads is worse than a
|
|
24
|
+
pattern nobody wrote.
|
|
25
|
+
|
|
26
|
+
## Entry shape
|
|
27
|
+
|
|
28
|
+
Every entry carries the same three things the catalog requires, for the same
|
|
29
|
+
reason: without them a reader cannot tell whether the pattern is current.
|
|
30
|
+
|
|
31
|
+
```markdown
|
|
32
|
+
### <what problem this solves>
|
|
33
|
+
|
|
34
|
+
- **era**: decanter-8 | decanter-7 | decanter-6 | pre-decanter
|
|
35
|
+
- **from**: the repo, site, or `.sws` project it was harvested out of
|
|
36
|
+
- **confirmed**: YYYY-MM-DD, and by whom
|
|
37
|
+
- **use_for**: the shape of problem it answers
|
|
38
|
+
- **do_not_use_for**: what it will mislead you about
|
|
39
|
+
|
|
40
|
+
<Three to ten lines. What the decision was, and what it cost.>
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## The precedence rule applies here with full force
|
|
44
|
+
|
|
45
|
+
These entries record **how we solved a shape of problem**. Standards say **what
|
|
46
|
+
to build it with**, and when the two disagree standards win. A harvested entry
|
|
47
|
+
is a snapshot of a decision already executed, so it cannot tell you why the
|
|
48
|
+
decision was made or where the team is heading. Both need a person. See
|
|
49
|
+
[`../README.md`](../README.md) for all three clauses.
|
|
50
|
+
|
|
51
|
+
An entry going stale is normal and is not a defect to fix on sight. Mark it
|
|
52
|
+
`cautionary` and say what moved, so the next reader learns the delta instead of
|
|
53
|
+
rediscovering it.
|