@jonandev/longbeard 0.5.0 → 0.5.2

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.
@@ -1,47 +1,48 @@
1
1
  ---
2
2
  name: design-reference-hunt
3
3
  description: >
4
- Find real visual references. With no official look (no DESIGN.md, no
5
- Figma link, no .design/board.md), ask once if they have a Figma file;
6
- if they paste one, stop hunting. If not, do the full hunt and write
7
- .design/board.md. Look widely. Scroll and screenshot only what you
8
- keep. A website aims for 10 live sites this year; those outweigh
9
- Dribbble, which is up to 20. An application aims for up to 20 screen
10
- shots; those outweigh award sites. A short board names each drop.
11
- Cover the same job and also the page type, component, or element,
12
- including other subjects. The shot files are the evidence. The board’s
13
- cards are written in the shape taste already reads: idea, hero, type,
14
- colour, worth taking. A short “Read this” at the top is for a person,
15
- or for a builder that is not taste. Before looking, ask once for a
16
- specific style and any requirements. On a piece (a loading state, a
17
- control), also offer two or three search ideas, then look after they
18
- answer. A loading search writes .design/hunts/<slug>/ and does not
19
- replace the board or .design/refs/. The whole look does not replace
20
- a hunt folder. They asked to hunt while a
21
- direction or a design already exists (a view, a button, new ideas, a
22
- double-check): keep the suggestion set in .design/hunts/<slug>/ and
23
- do not replace the board, DESIGN.md, or a Figma file. Only keep
24
- high-rated Awwwards (not weak nominees) and strongly voted Dribbble.
25
- Use when they ask to design a page or a piece and no direction exists
26
- yet, or when they ask to hunt references.
27
- This skill writes the references. Taste builds from the board cards.
28
- This file does not say how to lay the page out.
4
+ Find real visual references and propose an adaptation. Does not code pages.
5
+ With no official look (no DESIGN.md, no Figma, no .design/board.md), ask
6
+ once for a Figma file; if they paste one, stop. If not, whole look →
7
+ .design/board.md with cards (idea, hero, type, colour, worth taking).
8
+ After they pick a leading reference, run scripts/moodboard.mjs and open
9
+ .design/moodboard.html — references, not the brand. Then say the
10
+ adaptation (take, change, leave, adapted colour and type) and ask to
11
+ write DESIGN.md as its own message (design-md) — never the last line of
12
+ a long report. If they move on without answering, ask once more, first
13
+ in that reply. Stop unless they also asked to build. A later hunt does
14
+ not replace the moodboard. Later
15
+ hunt (piece, ideas, check) writes .design/hunts/<slug>/; after they
16
+ accept, ask to update DESIGN.md the same way. Direction-only stops
17
+ after persist. Before looking, ask once for style and requirements; on a
18
+ piece, offer two or three search ideas. Use when they ask to hunt, define
19
+ direction, or design with no look yet.
29
20
  ---
30
21
 
31
22
  # Reference hunt
32
23
 
33
- No official look, and they asked to design → this skill writes a board. They asked to hunt references → this skill writes a suggestion set, including when a direction or a design already exists. Then **keep going and build from the board** only on the whole-look path. Which builder to load is the project’s router, not this file. A later hunt does not replace the look.
24
+ This skill finds references and proposes an adaptation. It does **not** lay out or code a page. After a leading reference is chosen it writes `.design/moodboard.html` from those references — one fixed layout, the script’s — and opens that file. The moodboard is what we saw. The direction is the adaptation said after it: what we take, what we change, what we leave. Persist that adaptation with `design-md` only after they confirm. Coding is the project’s router, only when they also asked to build.
34
25
 
35
26
  Read [quality.md](references/quality.md) before you keep a reference. Weak nominees and generic Dribbble do not go on the board.
36
27
 
37
28
  A Dribbble illustration is **imagery**, not a website. A Dribbble shot of a real screen can be a screen reference. It is never a Site.
38
29
 
30
+ ## Modes (pick one)
31
+
32
+ | They asked… | This skill | Then |
33
+ |-------------|------------|------|
34
+ | Define direction / hunt only / find the look | Whole look or later hunt | Ask to persist `DESIGN.md` → **stop** |
35
+ | Design / build the page, no look yet | Whole look first | Ask to persist → router may build |
36
+ | Direction exists; build more UI | Do not hunt | Router builds from `DESIGN.md` / board |
37
+ | Hunt a piece / ideas / double-check | Later hunt | Ask to update `DESIGN.md` → stop, or build if they also asked |
38
+
39
39
  ## Where files go
40
40
 
41
- Two places. They do not share shots.
41
+ The board and a hunt do not share shots. The moodboard is the references, for a person to look at.
42
42
 
43
- - **Board** — the one full hunt when this project has no look. `.design/board.md` and `.design/refs/`. Taste reads this file. One board.
44
- - **Hunt** — every other pass. `.design/hunts/<slug>/note.md` and `.design/hunts/<slug>/refs/`. A suggestion set for that pass. It does not replace the board, `DESIGN.md`, or a Figma file.
43
+ - **Board** — the one full hunt when this project has no look. `.design/board.md` and `.design/refs/`. One board. Evidence. Card fields stay stable (idea, hero, type, colour, worth taking) so people and later builders can read the same file.
44
+ - **Moodboard** — `.design/moodboard.html`. Written after they pick the leading reference, by `scripts/moodboard.mjs`. One file. Pictures, type we saw, colour we saw, what is worth taking. Not the brand. A later hunt does not replace it. A redo of this whole look rewrites it after the new leading pick.
45
+ - **Hunt** — every other pass. `.design/hunts/<slug>/note.md` and `.design/hunts/<slug>/refs/`. Suggestion set. Does not replace the board, the moodboard, `DESIGN.md`, or a Figma file until they confirm a persist via `design-md`. A confirmed later hunt still leaves the moodboard.
45
46
 
46
47
  `<slug>` names what the pass is for: `pricing`, `primary-button`, `settings`, `home-ideas`, `home-check`. If that folder exists, use `<slug>-2`, then `<slug>-3`. Never overwrite a hunt. Never delete one. Leave an old `.design/piece.md` where it is. Do not write a new one.
47
48
 
@@ -49,21 +50,23 @@ A file in `.design/refs/` that the board does not cite gets deleted. A file in a
49
50
 
50
51
  A search writes only its own place. The whole no-look search owns `.design/board.md` and `.design/refs/`. A loading search owns `.design/hunts/loading/` and the shots inside it. Neither replaces the other, whichever ran first. The same whole look may rewrite its own board and its own refs: the board is unfinished, or they asked to redo that whole look. It still leaves every hunt folder. A second pass of the same piece is the next slug (`loading-2`). It does not replace `loading`, and it does not replace the board. A different piece does not replace a sibling.
51
52
 
53
+ Skill feedback and session notes stay in the chat, for them to forward. Do not write them under `.design/`. There is no feedback file and no `.design/feedback/`. `.design/` is the board, the moodboard, the hunts, and the shots those cite.
54
+
52
55
  ## Gate (do this first)
53
56
 
54
57
  Check the repo and the prompt, in order. Stop at the first hit.
55
58
 
56
- 1. They did not ask to hunt, and `DESIGN.md` exists → follow it. Do not hunt a whole look.
59
+ 1. They did not ask to hunt or define direction, and `DESIGN.md` exists → follow it. Do not hunt a whole look.
57
60
  2. They did not ask to hunt, and the prompt has a Figma file or link → implement from that file. Do not hunt.
58
- 3. They did not ask to hunt, and `.design/board.md` exists → whole look is done when **Read this** names a primary card, that card’s hero names the control, and any shortfall is named. Aims: a website, 10 live sites and up to 20 screens; an application, up to 20 screens and not an Awwwards, MaxiBestOf, or Recent set. Imagery is up to 10. A short board that does not name each drop is unfinished: finish the hunt. Missing control: open the shot and write it, then build. Or run **Later hunt** if they asked for a section.
61
+ 3. They did not ask to hunt, and `.design/board.md` exists → whole look is done when **Read this** names the leading card, the control, the adaptation (`take`, `change`, `colour`, `type`, `leave`), and the adapted contrast pairs. Aims: a website, 10 live sites and up to 20 screens; an application, up to 20 screens and not an Awwwards, MaxiBestOf, or Recent set. Imagery is up to 10. A short board that does not name each drop is unfinished: finish the hunt. Missing control: open the shot and write it. Missing adaptation: say the twist, do not copy the leading card’s colours and faces. Or run **Later hunt** if they asked for a section. Building is the router only if they asked to build.
59
62
  4. They asked to hunt a view, a control, a section, new ideas, or a double-check → **Later hunt**. They asked only for a piece (a loading state, a button, an empty state, a section), including “build this and find references” → **Later hunt**. A page with no look is the whole look, not a piece. A direction or a design already in the project does not block this. Do not ask for a Figma file.
60
- 5. `.design/board.md` exists, and they asked to hunt again → **Later hunt** in a new folder. The board and `.design/refs/` stay. They asked to redo that same whole look → rewrite `.design/board.md` and `.design/refs/` only, and leave `.design/hunts/` in place.
63
+ 5. `.design/board.md` exists, and they asked to hunt again → **Later hunt** in a new folder. The board, `.design/refs/`, and `.design/moodboard.html` stay. They asked to redo that same whole look → rewrite `.design/board.md` and `.design/refs/`, and leave `.design/hunts/` in place. The moodboard is rewritten after the new leading pick, not before.
61
64
  6. Otherwise, for a **whole look** only: ask **once**, and wait. There is no board yet.
62
65
 
63
- Do you have a Figma file for this, or should I hunt references? If I hunt, any specific style or requirements are optional: how it should feel, and what it must do.
66
+ Do you have a Figma file for this, or should I hunt references? If I hunt, any specific style or requirements are optional: how it should feel, and what it must do. I'll treat the subject as <subject as read from the repo>. Correct me if it is broader or narrower.
64
67
 
65
68
  - They paste a Figma link → implement from Figma. Stop hunting.
66
- - They say no, skip, or “hunt” → **Whole look** below. Style and requirements they added ride along. If they added none, do not ask again.
69
+ - They say no, skip, or “hunt” → **Whole look** below. Style and requirements they added ride along. If they added none, do not ask again. A correction to the subject rides along too.
67
70
 
68
71
  Do not ask whether DESIGN.md exists; look for the file.
69
72
 
@@ -104,37 +107,44 @@ Say once, in one line, what you are looking for, and that the closest come back
104
107
 
105
108
  Look, then keep. The counts below are what you **keep**. They are not how many you open. More galleries do not raise those counts. They raise how many you open, across every gallery, until the ones that pass [quality.md](references/quality.md) are the keep. Do not fill that keep from the first gallery. Read listings and score pages, and do not stop at the first page. There is no small cap on looking. A website opens each live gallery — Awwwards, Godly, Land-book, siteinspire, MaxiBestOf, Recent, and Dark Mode Design when the subject, the register, or the style they asked for is dark — and uses Muzli only to reach the original. It looks through at least 60 live candidates, past the first page of each of those galleries, before it accepts fewer than 10 sites. It can stop once the keep is full of ones that pass and it has gone past the first page of each gallery this hunt opens. Screens go through the popular Dribbble sort and a Pinterest search, past the first page of each, and the other-subject queries, before it accepts fewer than the screens it could have kept. The screen cap stays 20. A thin field stays thin: name each drop, and do not lower the filter to fill the count.
106
109
 
107
- Scroll and screenshot only a keep. Do not scroll a candidate. Do not screenshot a listing, a score page, or a URL you might drop. The capture script scrolls; run it only on a keep. A file in `.design/refs/` that is not on the board gets deleted. Leave `.design/hunts/` alone, including a loading hunt written before this board. Do not edit those notes or delete those shots.
110
+ Scroll and screenshot only a keep. Do not scroll a candidate. Do not screenshot a listing, a score page, or a URL you might drop into `refs/`. Viewing a listing’s own thumbnails is allowed (not a capture; writes nothing to `refs/`). Use `scripts/contact-sheet.mjs` on candidate image URLs in a scratch folder when you need to judge many at once, then open only the shortlist at full size. The capture script scrolls; run it only on a keep. Relative `--out` paths resolve against the git project root. A file in `.design/refs/` that is not on the board gets deleted. Leave `.design/hunts/` alone, including a loading hunt written before this board. Do not edit those notes or delete those shots.
108
111
 
109
112
  1. Name the subject and the **surface**: `website` or `app`.
110
113
  2. This year’s date. Do not search only the same subject. Also search the page type, the component, and the element, including other subjects that share that form. Add the style and the requirements they gave. Filter with [quality.md](references/quality.md).
111
114
  - **Website — Sites (aim 10), mixed `fit`:** live URLs from this year. These outweigh Dribbble. The aim stays 10. Prefer Awwwards SOTD / high scores (overall and Design ≥ 7.5; never 4s). Also Godly, Land-book, siteinspire, MaxiBestOf, and Recent. Dark Mode Design only when the subject, the register, or the style they asked for is dark. Muzli is a way into the original, not a page you keep. Supahero is heroes: open the live page when you keep a site. Aim `same-job` 2, `register` 2, `form` 6. `same-job` is this subject. `register` shares its feeling: the hour, the material, the ritual, or the kind of place. `form` is another type of business. From it, take only a layout or a component that still works once this topic’s pictures and words are in the frame. If that frame only makes sense for the other type, drop it. Not its type, and not its colours. Leave their identity. An older site only when nothing current has that structure.
112
115
  - **Website — Screens (up to 20):** strongly voted Dribbble from this year, after the quality filter, and a Pinterest pin that is one real screen. The cap stays 20. They lose to a kept site. Tag `role: page | component | element` and `subject: same-job | other`. An illustration stays imagery. These are not Sites.
113
- - **App — Products (up to 6):** public product pages of this job. Not Awwwards, not a campaign site. Fewer is valid when the board names each drop (a login wall, no public page).
114
- - **App — Screens (up to 20):** strongly voted Dribbble, a Pinterest pin that is one real screen, and component galleries. These outweigh product pages and award sites. The shot is the screen, a component, or an element. Other subjects that share that role count. An illustration stays imagery. Do not fill this board with Awwwards, MaxiBestOf, Recent, Supahero, or Dark Mode Design.
116
+ - **App — Products (up to 6):** public product pages of this job. Not Awwwards, not a campaign site. Fewer is valid when the board names each drop (a login wall, no public page). Product pages mostly give voice, principle, and the mascot or illustration register. The visual direction comes from screens. Three strong products is a complete set when the drops are named.
117
+ - **App — Screens (up to 20):** strongly voted Dribbble (views when likes are hidden — see [quality.md](references/quality.md)), a Pinterest pin that is one real screen, and component galleries. These outweigh product pages and award sites. The shot is the screen, a component, or an element. Other subjects that share that role count. An illustration stays imagery. Do not fill this board with Awwwards, MaxiBestOf, Recent, Supahero, or Dark Mode Design.
115
118
  - **Imagery (up to 10):** this subject’s world (Unsplash, Wikimedia, museums). Not stock category. A file counts when a crop can make the principle the subject. Drop the rest. Do not pad.
116
119
  - **Type / marks (1–2):** a pairing or a stamp you can name. MaxiBestOf fonts are a place to find one.
117
- 3. Scroll and screenshot only a keep. `node <skill>/scripts/capture.mjs <url> --out .design/refs/<name>.jpg` for that URL only. Do not stitch. How: [shots.md](references/shots.md). Jury quotes only from an Awwwards page you kept. Dribbble: the shot artwork of a keep, not the search grid.
118
- 4. Write `.design/board.md`. One file, two layers. **Read this** is a few lines a person can read. **Cards** are the references, in the shape taste already reads. A website is valid at 10 sites, or short when each missing site is named after the 60-candidate look across those galleries. Screens are up to 20. An application is valid with its screens, and invalid if the spine is Awwwards, MaxiBestOf, Recent, Supahero, or Dark Mode Design. A short one names each missing screen. Imagery is up to 10. Products are up to 6. Do not pad by lowering the filter. Hexes come from a kept shot, not a palette library. Later pages reuse it. Do not write a second board. A later pass is a hunt folder. Do not build from a board that is short and does not name each drop.
120
+ 3. Scroll and screenshot only a keep. `node <skill>/scripts/capture.mjs <url> --out .design/refs/<name>.jpg` for that URL only (add `--review <scratch>/…` when the capture is tall; `--clip x,y,w,h` for type specimens). Do not stitch. How: [shots.md](references/shots.md). Jury quotes only from an Awwwards page you kept. Dribbble: artwork via `scripts/dribbble-cards.mjs` and `cdn.dribbble.com`, not the search grid and not a gated `/shots/...` page.
121
+ 4. Write `.design/board.md`. One file, two layers. **Read this** is the adaptation, written after they pick and after the moodboard is open. **Cards** are the references (idea, hero, type, colour, worth taking). A website is valid at 10 sites, or short when each missing site is named after the 60-candidate look across those galleries. Screens are up to 20. An application is valid with its screens, and invalid if the spine is Awwwards, MaxiBestOf, Recent, Supahero, or Dark Mode Design. A short one names each missing screen. Imagery is up to 10. Products are up to 6. Do not pad by lowering the filter. Hexes on a card come from a kept shot — sampled from a crop of the named element, not a photo, mockup frame, or presentation background, and not a palette library. Those hexes are what we saw. The adapted pairs in **Read this** go through `scripts/contrast.mjs` before the persist ask. Later pages reuse the board. Do not write a second board. A later pass is a hunt folder. Do not treat a short board that does not name each drop as finished.
119
122
 
120
123
  `Asked:` sits above **Read this**. It is not a card.
121
124
 
122
- **Read this** is written from the cards, after they choose. The primary card is the closest to this subject, not the largest type and not the highest score. Closest means the subject’s world is in the shot: the same job, or a register that shares its hour, its material, its ritual, or its kind of place. Colour and type come from that card, or from this subject’s pictures. A form card does not supply them. It can only add a layout or a component that still belongs on this topic.
125
+ **Read this** is the adaptation, written after the moodboard is open. The leading card is the closest to this subject, not the largest type and not the highest score. Closest means the subject’s world is in the shot: the same job, or a register that shares its hour, its material, its ritual, or its kind of place. That card leads the feeling. It does not supply the brand. A form card does not supply colour or type. It can only add a layout or a component that still belongs on this topic.
123
126
 
124
- Before you write **Read this**, ask once, and wait. That message names the two or three closest cards. Each one has its idea in one line, why it is close, and the live URL, so the page can be opened. It also says the shots and the other cards are in `.design/board.md`. It does not list scores, drops, or the other keeps. Their answer is the primary card. If they say you should choose, take the closest.
127
+ Before you write **Read this**, ask once, and wait. That message names the two or three closest cards. Each one has its idea in one line, why it is close, and the live URL, so the page can be opened. It also says the shots and the other cards are in `.design/board.md`. It does not list scores, drops, or the other keeps. Their answer is the leading card. If they say you should choose, take the closest.
128
+
129
+ After they answer, open the moodboard, then write **Read this**. `colour` and `type` are the adaptation. They are not a paste of the leading card’s colour line or type line. Exact hexes and exact faces from that card stay in `leave`, unless they asked to keep them. Adapted colour may come from this subject’s pictures, or sit near what we saw without matching it. `control` is the behavior the leading hero shows (text link, filled shape, or absent, and where it sits).
125
130
 
126
131
  ```
127
132
  Asked: <style, requirements, and any search ideas used, or none>
128
133
 
129
134
  ## Read this
130
- - primary: <card name>
135
+ - leads: <card name>
131
136
  - also: <one other card>
132
137
  - control: <as that card’s hero describes it: text link, filled shape, or absent, and where it sits>
133
- - colour: <where it sits in the shot>
134
- - type: <the pairing>
135
- - leave: <one line>
138
+ - take: <what we keep: a layout, a temperature, a kind of picture, and which cards>
139
+ - change: <the twist, so this is not that reference>
140
+ - colour: <adapted hexes and where each sits. Not their exact palette unless they asked to keep it>
141
+ - contrast: <each adapted text/background pair: hex on hex, ratio, AA|AAA|FAIL; failing pairs show sampled → used>
142
+ - type: <adapted pairing. Not their exact faces unless they asked to keep them. Licence still covers how this ships>
143
+ - leave: <their name, their exact colours, their exact faces, and anything else>
136
144
  ```
137
145
 
146
+ Every adapted text/background pair in **Read this** has been through `scripts/contrast.mjs`. Body and small text need 4.5:1; large text and non-text marks need 3:1. Adjust failures before asking to persist `DESIGN.md`.
147
+
138
148
  Each site, product page, or screen is a card, written from the open shot file. `role` is required on `form`. A hero that says “one action” and does not say what the control is does not count. On a website the primary card is the closest live site, not a form site chosen for its type. On an application it is a screen, not an award site.
139
149
 
140
150
  ```
@@ -149,7 +159,7 @@ Each site, product page, or screen is a card, written from the open shot file. `
149
159
  - idea: <one sentence. The principle, not their name>
150
160
  - hero: <what is in the frame. The control: text link, filled shape, or absent, and where it sits>
151
161
  - type: <the faces, and how the shot uses them>
152
- - colour: <hexes you can see, and where each sits. A colour is a button fill only when the shot fills a button with it>
162
+ - colour: <hex + element sampled from a crop of that element, e.g. "#2c2824 body text", "#b0563a active-tab dot". Never from a photo, mockup frame, or presentation background unless that is the role. A colour is a button fill only when the shot fills a button with it>
153
163
  - imagery: <what the pictures are>
154
164
  - worth taking: <one principle. On a form card: a layout or a component only, and only if it still works on this topic. Not their type. Not their colours>
155
165
  - leave: <their identity, and anything that is not the principle>
@@ -160,11 +170,14 @@ Imagery and type stay short. They are material, not cards.
160
170
  ```
161
171
  - kind: imagery | type
162
172
  - url:
173
+ - licence: <OFL / Apache / commercial / restricted>; covers <bundled in app, self-hosted web, default UI>? yes/no
163
174
  - shot: .design/refs/<file>
164
175
  - shows:
165
176
  - leave:
166
177
  ```
167
178
 
179
+ `licence:` is required on `kind: type`. A type pick whose licence does not cover how this project ships it is dropped and named under drops. Imagery may omit `licence:`.
180
+
168
181
  The cards are the references. The shot files are the evidence.
169
182
 
170
183
  ## Later hunt
@@ -184,7 +197,7 @@ Name `for` from what they asked. Ask once, as in **Before looking**, and wait. A
184
197
  1. Name `for` (hero, menu, pricing, a button, the whole look, …) and, for a piece, its role: page, component, or element. Slug the folder from that name.
185
198
  2. **Keep 10** after the quality filter when `for` is a piece. Not 20. The keep stays 10. Look through at least 30 candidates, past the first page, across the galleries that fit this piece, before you choose. Include the same role in other subjects. A whole-look `ideas` or `check` pass uses the **Whole look** keep counts, written in the hunt folder, not in `.design/board.md`. Name each drop. Do not pad. Dribbble (popular, this year), Land-book, Godly, MaxiBestOf, Recent, Supahero when the piece is a hero, component galleries, a Pinterest pin that is one real screen, Unsplash for imagery. Muzli only into the original. Dark Mode Design only when the subject, the register, or the style they asked for is dark. Add the style, the requirements, and, on a piece, the search ideas they accepted. Capture only what you keep. Crop to the **shot**, not the gallery. Live sites only if the piece is a whole block on a real page. A Supahero crop or a MaxiBestOf section can be the shot for that piece.
186
199
  3. Tag each: `kind: section | component | imagery | type | mark` and `subject: same-job | other`. Do not file a drawing as a section.
187
- 4. Write `.design/hunts/<slug>/note.md`. Shots only in `.design/hunts/<slug>/refs/`. `node <skill>/scripts/capture.mjs <url> --out .design/hunts/<slug>/refs/<name>.jpg`. Do **not** replace `.design/board.md`, `DESIGN.md`, or `.design/refs/`. That holds when the board was written first and when this piece is hunted first. Do not delete a file in `.design/refs/` from this pass. If a board or `DESIGN.md` exists, a piece takes a layout principle from these refs and keeps that look’s colour and type.
200
+ 4. Write `.design/hunts/<slug>/note.md`. Shots only in `.design/hunts/<slug>/refs/`. `node <skill>/scripts/capture.mjs <url> --out .design/hunts/<slug>/refs/<name>.jpg`. Do **not** replace `.design/board.md`, `DESIGN.md`, or `.design/refs/` from this pass alone. That holds when the board was written first and when this piece is hunted first. Do not delete a file in `.design/refs/` from this pass. If a board or `DESIGN.md` exists, a piece takes a layout principle from these refs and keeps that look’s colour and type unless they accept a change.
188
201
 
189
202
  ```
190
203
  # Hunt
@@ -202,42 +215,83 @@ replaces: nothing
202
215
  - hero: <the frame, and the control>
203
216
  - worth taking:
204
217
  - leave:
205
- Read this: <one sentence, from the cards. Suggestions for this pass. They do not replace the board, DESIGN.md, or a Figma file.>
218
+ Read this: <one sentence, from the cards. Suggestions for this pass. They do not replace the board, DESIGN.md, or a Figma file until confirmed.>
206
219
  ```
207
220
 
208
- The note is the suggestion set for that status and that `for`. Building, if they also asked to build, is the project’s router after the note exists. This skill does not rewrite the board or `DESIGN.md` to match the note.
221
+ The note is the suggestion set. This skill does not rewrite `DESIGN.md` until **After they pick**.
222
+
223
+ ## After they pick
224
+
225
+ Do not end the turn on raw cards alone.
226
+
227
+ **Whole look:** In the chat, name only the two or three closest, each with its live URL, and say the shots are in `.design/board.md`. Wait. After they answer:
228
+
229
+ ```
230
+ node <skill>/scripts/moodboard.mjs .design/board.md --out .design/moodboard.html --leads "<card>" --also "<card>"
231
+ ```
232
+
233
+ Open that file. It is the moodboard. Then write **Read this** as the adaptation, and say it in chat: what we take, what we change, what we leave, and the adapted colour and type. Then the persist ask, as its own message. Do not hand-write the HTML. The script is the layout. Empty tiles are omitted. Shots show the top of the file. It does not add a logo, a slogan, a stat, or a brand.
234
+
235
+ **Later hunt:** Name the two or three closest the same way; shots in `.design/hunts/<slug>/`. Say this pass does not change the look until they accept. Leave `.design/moodboard.html`. After they pick what to take, the persist ask, as its own message. A later hunt does not redo the brand’s colour or type unless they agreed to that change.
236
+
237
+ **The persist ask.** Its own message. If the harness has a structured yes/skip prompt, use that. Never append it to a long report, a “not checked” list, or any other reply.
238
+
239
+ Before the question, these three lines. That message ends on the question:
240
+
241
+ The board and the moodboard are the references. **Read this** is the adaptation. `DESIGN.md` is the file every later build follows. Nothing is official until `DESIGN.md` exists.
242
+
243
+ Whole look:
244
+
245
+ Write `DESIGN.md` from this adaptation? The colour, type, and twist just named. Skip if you only want the references for now.
246
+
247
+ Later hunt:
248
+
249
+ Update `DESIGN.md` with what we accepted from this hunt? (Keeps colour and type unless we agreed to change them.)
209
250
 
210
- ## After the board
251
+ - Yes → load `design-md` and write or update from the board or the hunt note.
252
+ - No / skip → leave the board; do not invent a brand file. A later hunt leaves `DESIGN.md` and the board as they were.
211
253
 
212
- Do not end the turn on the cards. In the chat, name only the two or three closest, each with its live URL, and say the shots are in `.design/board.md`. Then wait. After they answer, write **Read this**, say it in the chat, and build. The cards stay in the file.
254
+ If their next messages go elsewhere without a yes or a skip, ask again **once**, and make it the first thing in that reply. A second ask after a topic change is the step, not a repeat of the style question. After that second ask, wait. Do not ask a third time.
213
255
 
214
- After a later hunt, name the two or three closest the same way, and say the shots are in `.design/hunts/<slug>/`. Say that this pass does not change the existing look.
256
+ Then **stop**, unless they also asked to build, code, or design the page in the same ask. Coding is the project’s router after this skill finishes. The board and `DESIGN.md` are enough when the ask was direction only — say the direction in chat and stop.
215
257
 
216
- The cards are the references. Do not deal a library of other ones. On a website the site cards outweigh the screen cards. On an application the screen cards outweigh award sites. How the page is built — scale, grid, sections, motion — belongs to the builder, and with this kit that builder is taste. The control in the primary card is the control. Do not add a filled button the card does not show. Do not lower the score for that. A custom cursor, a password gate, or a WebGL scene is used only when a card shows it.
258
+ The control in the primary card is the control. Do not add a filled button the card does not show. A custom cursor, a password gate, or a WebGL scene is used only when a card shows it. On a website the site cards outweigh the screen cards. On an application the screen cards outweigh award sites.
217
259
 
218
260
  ## Do not
219
261
 
262
+ - Code or lay out the page from this skill.
220
263
  - Keep an Awwwards nominee with 4s or overall under 7.5.
221
264
  - Stitch viewport screenshots. A file that repeats one fold is invalid.
222
265
  - Screenshot a gallery listing.
223
266
  - Put files under `.claude/`.
224
- - Put layout steps in this file. The description may name taste as the reader of the cards.
267
+ - Put page-build steps in this file.
225
268
  - Write a second `.design/board.md`. A later pass is a hunt folder.
226
269
  - Overwrite or delete `.design/hunts/<slug>/`. Use the next free slug.
227
270
  - Put a later hunt’s shots in `.design/refs/`, or delete a hunt shot because the board does not cite it.
228
271
  - Let a loading hunt replace `.design/board.md` or `.design/refs/`, or let the whole look replace `.design/hunts/`. Order does not matter. The only rewrite of the board is that same whole look.
229
- - Change `DESIGN.md`, a Figma file, or the board from a later hunt.
272
+ - Rewrite `DESIGN.md` without their confirm. Persist only through `design-md` after **After they pick**.
273
+ - Bury the persist question at the end of a long report. It is its own message.
274
+ - Write skill feedback, session notes, or any file under `.design/` that is not the board, the moodboard, a hunt folder, or a shot those cite.
275
+ - Hand-write or restyle `.design/moodboard.html`. Run `scripts/moodboard.mjs`.
276
+ - Write the moodboard before they pick the leading card, or let a later hunt replace it.
277
+ - Title the moodboard as the direction, or paint their colours and faces as the brand.
278
+ - Paste the leading card’s colour line or type line into **Read this** as the brand. Exact hexes and exact faces go in `leave`, unless they asked to keep them.
279
+ - Put a logo, a slogan, or a stat on the moodboard. The script places fields from the cards.
230
280
  - Write a new `.design/piece.md`.
231
281
  - Pad the count by lowering the filter, or by keeping pictures you would not put on the page.
232
282
  - Stop looking at the first page of results, or treat the keep count as the number of candidates you open.
233
- - Scroll or screenshot a candidate. The capture script runs on a keep only.
283
+ - Scroll or screenshot a candidate into `refs/`. The capture script runs on a keep only. Listing thumbnails and scratch contact sheets are fine; they are not refs.
284
+ - Sample colour from a photo, mockup surround, or presentation background when the role is UI ink or accent.
285
+ - Write **Read this** colour pairs that have not been through `scripts/contrast.mjs`.
286
+ - Keep a typeface whose licence does not cover how this project ships it.
234
287
  - Narrate candidates, scores, or drops while looking. After the opening line, the next thing said is the short list of the closest, each with its live URL.
235
288
  - Look in the same turn as the style question, or in the same turn as a piece’s search ideas. Wait for the answer, or for a skip.
236
289
  - Offer search ideas on a whole look, or on an ideas or check pass.
237
290
  - Search a piece with ideas they skipped.
238
291
  - Write a hero that does not say what the control is.
239
- - Build from a short board that does not name each drop.
292
+ - Treat a short board that does not name each drop as finished direction.
240
293
  - Take colour or type from a card about another business.
294
+ - Copy the leading reference’s exact palette or exact faces into the adaptation.
241
295
  - Let a card lead because its type is large, when a closer card has the subject’s world in the shot.
242
296
  - Let a screen card be the primary card on a website, or an award site be the primary card on an application.
243
297
  - Fill an application board with Awwwards, MaxiBestOf, Recent, Supahero, or Dark Mode Design.
@@ -44,13 +44,17 @@ muz.li collects other people’s work. Open the original. That page still has to
44
44
 
45
45
  Pins on pinterest.com are pictures, never sites. Keep one when it is a single real page or screen and you can name what is worth taking. Prefer this year when the pin shows a date. A photograph of this subject can be imagery. Drop mood boards, collages, AI mush, and anything you would drop on Dribbble. Do not capture a board or a search grid.
46
46
 
47
+ If Pinterest shows a login wall, write `Pinterest: login wall` under the board’s drops and continue. That counts as the pass.
48
+
47
49
  ## Dribbble / Behance
48
50
 
49
- Open `/shots/...`, not search.
51
+ Listing pages are client-rendered (WebFetch returns empty). Shot pages (`/shots/...`) often hit Human Verification in headless Chrome. Use `scripts/dribbble-cards.mjs` on a popular-search listing; take artwork from `cdn.dribbble.com`. Run queries one at a time; retry a 0-card query once after a pause.
52
+
53
+ Sort this year by **popular** (`timeframe=year`). There is no “most saved/liked” sort on the listing; cards show **views**, not likes. Accept views as the vote signal when likes are hidden, and say so on the card: `score: 5.4k views (likes unavailable)`. `timeframe=year` is not strict — older shots appear; when the slug or shot ID reveals a year, record it on the card so an old shot is visible as old.
50
54
 
51
- Sort this year by most saved or most liked. Latest is the wrong feed. A Pinterest pass does not replace this sort. Look through that sort, then the page type, the component, and the element, including other subjects. A whole-look board keeps up to 20 that pass this filter. On a website they lose to a kept live site. On an application they outweigh award sites. A piece hunt keeps 10 after it has opened at least 30. Open more than you keep. The keep does not rise because another gallery was added. If the pass is weak, the board stays short. Do not lower the filter to finish the count.
55
+ A Pinterest pass does not replace this sort. Look through that sort, then the page type, the component, and the element, including other subjects. A whole-look board keeps up to 20 that pass this filter. On a website they lose to a kept live site. On an application they outweigh award sites. A piece hunt keeps 10 after it has opened at least 30. Open more than you keep. The keep does not rise because another gallery was added. If the pass is weak, the board stays short. Do not lower the filter to finish the count.
52
56
 
53
- Keep if you can name what is worth taking in one line (a crop, a type pairing, a palette, a component, a screen). The shot has to be one people actually saved.
57
+ Keep if you can name what is worth taking in one line (a crop, a type pairing, a palette, a component, a screen). The shot has to be one people actually saved (or viewed, when that is the only signal).
54
58
 
55
59
  Drop: AI mush, fake browser chrome around a 3-card landing, purple gradient on dark, Inter-everywhere, emoji icons, melted type, a shot whose only job is “bakery website mockup.”
56
60
 
@@ -58,8 +62,18 @@ A Dribbble drawing is **imagery**, never a site.
58
62
 
59
63
  ## Unsplash / Wikimedia
60
64
 
61
- Search **this** subject, not a stock category name. Drop posed lifestyle and fake product. One real place or material beats a pile of similar ones.
65
+ Search **this** subject, not a stock category name. Drop posed lifestyle and fake product. One real place or material beats a pile of similar ones. Download routes: see [shots.md](shots.md).
62
66
 
63
67
  A file counts when you can point at a crop where that principle is the subject. If the thing you would leave is what the frame is about, drop it or write the crop. Do not keep ten near-misses to fill a count. The page may use fewer.
64
68
 
65
69
  If a pass across these galleries cannot fill the count without lowering these gates, the board stays short. Do not fill it with 4s.
70
+
71
+ ## Colour and contrast
72
+
73
+ Hexes come from a kept shot, sampled from a **crop of the element** they name — never from a photograph, mockup frame, or presentation background unless that is the role. On the card: `#2c2824 body text`, `#b0563a active-tab dot`.
74
+
75
+ Before the persist ask, run every adapted text/background pair through `scripts/contrast.mjs` (`"#fg on #bg"`, optional `:large` or `:mark` for 3:1). Body and small text need 4.5:1; large text and non-text marks need 3:1. List each pair with ratio and verdict under **Read this**. A failing colour is adjusted; keep both hexes as `sampled → used`. Card hexes stay what we saw. They are not the brand.
76
+
77
+ ## Type licence
78
+
79
+ A type pick needs a `licence:` line that covers how this project ships it (bundled in app, self-hosted web, default UI). If it does not cover that use, drop it and name it under drops.
@@ -4,9 +4,11 @@ A reference is the design from top to bottom. The builder has to take how the **
4
4
 
5
5
  ## Live sites — the script is for a keep
6
6
 
7
- Open as many listings and score pages as the hunt asks. Do not scroll a candidate, and do not screenshot one. Run the script only on a URL you are keeping. That run is the only scroll. Do not screenshot the tab by hand. Do not stitch folds. Stitching is what repeats a sticky hero down the file. A file in `.design/refs/` that is not on the board gets deleted, and only during the whole look that owns that folder. A later hunt keeps its own shots in `.design/hunts/<slug>/refs/`. Do not delete those because the board does not cite them. A file in that folder that its note does not cite gets deleted, and only during that hunt. A loading hunt does not delete a board shot. The whole look does not delete a hunt shot.
7
+ Open as many listings and score pages as the hunt asks. Do not scroll a candidate, and do not screenshot one. **Viewing a listing’s own thumbnails is allowed** — it is not a capture and writes nothing to `refs/`. Use `scripts/contact-sheet.mjs` on a TSV of `label\timageURL` to build labelled grids in a scratch folder (never `.design/`), then open only the shortlist at full size.
8
8
 
9
- From the project root, for the board:
9
+ Run the capture script only on a URL you are keeping. That run is the only scroll. Do not screenshot the tab by hand. Do not stitch folds. Stitching is what repeats a sticky hero down the file. A file in `.design/refs/` that is not on the board gets deleted, and only during the whole look that owns that folder. A later hunt keeps its own shots in `.design/hunts/<slug>/refs/`. Do not delete those because the board does not cite them. A file in that folder that its note does not cite gets deleted, and only during that hunt. A loading hunt does not delete a board shot. The whole look does not delete a hunt shot.
10
+
11
+ From the **project root** (relative `--out` resolves against `git rev-parse --show-toplevel`):
10
12
 
11
13
  ```
12
14
  node <skill>/scripts/capture.mjs https://example.com --out .design/refs/<name>.jpg
@@ -18,9 +20,13 @@ For a later hunt:
18
20
  node <skill>/scripts/capture.mjs https://example.com --out .design/hunts/<slug>/refs/<name>.jpg
19
21
  ```
20
22
 
21
- The script opens Chrome, accepts a cookie button if it can, then scrolls a viewport at a time and pauses so pictures and reveals can finish. It pauses motion. It does not turn animations off, because that puts a revealed section back to blank. Then it unsticks `fixed`/`sticky` and takes **one** JPEG of the document. Node 22+. Chrome, Edge, or Chromium must be installed (`CHROME_PATH` if it is not in the usual place).
23
+ Tall captures (thousands of px) shrink when opened whole until body text is illegible. For reading only, add `--review <scratch>/name-review.jpg`. That writes side-by-side columns about 2,800 px tall; the real capture stays the single tall file in `refs/`. Review files stay in temp or session scratch, never `refs/`.
24
+
25
+ Type specimens (Google Fonts, etc.): use `--clip x,y,w,h` so the shot is the specimen area (name, large sample, text sample), or crop to that area after capture. A type shot may be cropped to the specimen — it is material, not a site.
26
+
27
+ The script opens Chrome, accepts a cookie **button** if the whole label matches (not partial “ok” inside other link text), strips short privacy/cookie dialogs, then scrolls a viewport at a time and pauses so pictures and reveals can finish. If a dismiss click navigates away, it exits non-zero with `navigated away: <url>` — do not keep that file. It pauses motion. It does not turn animations off, because that puts a revealed section back to blank. Then it unsticks `fixed`/`sticky` and takes **one** JPEG of the document. Node 22+. Chrome, Edge, or Chromium must be installed (`CHROME_PATH` if it is not in the usual place). Helpers stay Node with no package dependencies.
22
28
 
23
- Then open the file. Write the hero and what is worth taking from it. A line you could have written without opening it does not count. Invalid if:
29
+ Then open the file (use the review sheet when the capture is tall). Write the hero and what is worth taking from it. A line you could have written without opening it does not count. Invalid if:
24
30
 
25
31
  - the same band of the page appears twice (a stacked face, a repeated headline)
26
32
  - a cookie dialog is still on it
@@ -34,9 +40,9 @@ If it is invalid, delete it and run the script again. If the site will not scrol
34
40
  - Prefer a **live site**. Click through from Awwwards / Godly / Land-book / siteinspire / MaxiBestOf / Recent / Dark Mode Design to the actual URL, then run the script on that URL.
35
41
  - Supahero: the live site behind a hero, or the hero crop itself when the piece is a hero. Not the grid.
36
42
  - Muzli: the original URL. Not the Muzli page.
37
- - Dribbble: open the **shot page** (`/shots/...`). Capture the artwork image only, not `/search`.
38
- - Pinterest: the pin image only, not the board and not search.
39
- - Never capture a search grid, a home feed, or a listing of cards.
43
+ - Dribbble: listing pages are client-rendered; `/shots/...` often returns Human Verification to headless Chrome. Use `scripts/dribbble-cards.mjs` on a popular-search listing URL — it scrolls and prints TSV of `id-slug`, views, image URL, title. Download artwork from `cdn.dribbble.com` (`<url>?resize=1600x1200`). Do not capture `/search`. Run queries one at a time; if a query returns 0 cards, retry once after a pause.
44
+ - Pinterest: the pin image only, not the board and not search. If a login wall appears, see [quality.md](quality.md).
45
+ - Never capture a search grid, a home feed, or a listing of cards (contact sheets of listing thumbnails are fine; they are not refs).
40
46
 
41
47
  ## Dribbble / Behance / Unsplash / Pinterest — not sites
42
48
 
@@ -44,4 +50,8 @@ These are pictures, not pages. Capture the **image** (or the type specimen), no
44
50
 
45
51
  Unsplash and Wikimedia: search the **subject**, not stock category.
46
52
 
53
+ **Unsplash:** `/photos/<id>/download` returns an HTML bot page. On the search page, read `figure a[href*="/photos/"] img`, take its `src` up to the `?`, and download `<that>?w=1600&q=80` from `images.unsplash.com`. Keep the photo page URL as the card’s `url:`.
54
+
55
+ **Wikimedia Commons:** call the API with `-A "<project>-hunt/0.1"`, `prop=imageinfo&iiprop=url&iiurlwidth=1920`, save `thumburl` as the shot, and use `descriptionurl` as the card’s `url:`.
56
+
47
57
  A board entry whose `shot` is a gallery listing, a stitched repeat, or an illustration filed as a website does not count.