@jonandev/longbeard 0.5.2 → 0.8.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 +11 -7
- package/CHANGELOG.md +37 -1
- package/README.md +12 -16
- package/beard.json +79 -62
- package/bin/long-beard.js +211 -42
- package/package.json +4 -2
- package/skills/design-md/SKILL.md +39 -18
- package/skills/design-reference-hunt/SKILL.md +113 -237
- package/skills/design-reference-hunt/references/sources.md +74 -0
- package/skills/design-reference-hunt/scripts/capture.mjs +61 -12
- package/skills/design-reference-hunt/scripts/contact-sheet.mjs +4 -3
- package/skills/design-reference-hunt/scripts/dribbble-cards.mjs +119 -8
- package/skills/design-reference-hunt/scripts/moodboard.mjs +55 -361
- package/skills/design-reference-hunt/references/quality.md +0 -79
- package/skills/design-reference-hunt/references/shots.md +0 -57
|
@@ -1,301 +1,177 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-reference-hunt
|
|
3
3
|
description: >
|
|
4
|
-
Find real visual references and propose an adaptation
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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.
|
|
4
|
+
Find real visual references and propose an adaptation, so the project gets a
|
|
5
|
+
DESIGN.md. Does not code pages. Runs when there is no DESIGN.md and no Figma,
|
|
6
|
+
or when they ask to hunt, define direction, or find references for a piece.
|
|
7
|
+
Talk first (one round), search small, write short cards to .design/board.md,
|
|
8
|
+
open scripts/moodboard.mjs so they pick by looking, say the adaptation (take,
|
|
9
|
+
change, leave, ownable, gaps, colour, type), then ask to write DESIGN.md as
|
|
10
|
+
its own message. A later hunt for one piece writes .design/hunts/<slug>/.
|
|
11
|
+
.design/ is scratch: out of git, and safe to delete once DESIGN.md exists.
|
|
20
12
|
---
|
|
21
13
|
|
|
22
14
|
# Reference hunt
|
|
23
15
|
|
|
24
|
-
|
|
16
|
+
The goal is one file: `DESIGN.md`, a direction someone can later build or draw a Figma file from. Everything under `.design/` is scratch on the way there. It is out of git, and they may delete it once `DESIGN.md` exists. Do not keep an archive.
|
|
25
17
|
|
|
26
|
-
|
|
18
|
+
This skill does **not** lay out or code a page. Building is the router, only when they asked to build.
|
|
27
19
|
|
|
28
|
-
|
|
20
|
+
## Gate
|
|
29
21
|
|
|
30
|
-
|
|
22
|
+
Look at the repo and the prompt. Do not ask whether `DESIGN.md` exists.
|
|
31
23
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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 |
|
|
24
|
+
1. They pasted a Figma link, or one is in the repo, and they did not ask to hunt → build from Figma. Stop.
|
|
25
|
+
2. `DESIGN.md` exists and they did not ask to hunt → follow it. Stop.
|
|
26
|
+
3. They asked for one piece (a view, a section, a control, an empty state, “ideas for X”, “double-check X”) → **Later hunt**. With or without a `DESIGN.md` or a `.design/` folder.
|
|
27
|
+
4. Otherwise → **Whole look**. If a `DESIGN.md` exists and they asked to redo the look, say it stays as it is until they answer the persist ask, which then asks to **replace** it.
|
|
38
28
|
|
|
39
|
-
##
|
|
40
|
-
|
|
41
|
-
The board and a hunt do not share shots. The moodboard is the references, for a person to look at.
|
|
42
|
-
|
|
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.
|
|
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.
|
|
48
|
-
|
|
49
|
-
A file in `.design/refs/` that the board does not cite gets deleted. A file in a hunt’s `refs/` that its note does not cite gets deleted. That delete stays inside the place this pass owns. Do not delete across those folders.
|
|
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.
|
|
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
|
-
|
|
55
|
-
## Gate (do this first)
|
|
56
|
-
|
|
57
|
-
Check the repo and the prompt, in order. Stop at the first hit.
|
|
58
|
-
|
|
59
|
-
1. They did not ask to hunt or define direction, and `DESIGN.md` exists → follow it. Do not hunt a whole look.
|
|
60
|
-
2. They did not ask to hunt, and the prompt has a Figma file or link → implement from that file. Do not hunt.
|
|
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.
|
|
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.
|
|
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.
|
|
64
|
-
6. Otherwise, for a **whole look** only: ask **once**, and wait. There is no board yet.
|
|
65
|
-
|
|
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.
|
|
67
|
-
|
|
68
|
-
- They paste a Figma link → implement from Figma. Stop hunting.
|
|
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.
|
|
70
|
-
|
|
71
|
-
Do not ask whether DESIGN.md exists; look for the file.
|
|
72
|
-
|
|
73
|
-
## Before looking
|
|
74
|
-
|
|
75
|
-
Ask **once**, then wait. Do not look in that turn. The project’s subject is already known. This question is the style and the requirements the repo does not say.
|
|
76
|
-
|
|
77
|
-
On a whole look, that question is already in the Figma message. Do not ask it twice. Do not offer search ideas.
|
|
78
|
-
|
|
79
|
-
On a later hunt that is not a piece (`ideas` or `check`), ask:
|
|
29
|
+
## Whole look
|
|
80
30
|
|
|
81
|
-
|
|
31
|
+
### 1. Talk first — one round
|
|
82
32
|
|
|
83
|
-
|
|
33
|
+
Read the repo first: the README and product file give the subject, the surface, and the identity nouns. Then send one message and wait. Do not search in that turn.
|
|
84
34
|
|
|
85
35
|
```
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
36
|
+
I don't see a Figma file or a DESIGN.md for this project. If you have a Figma file, paste the link now and I'll build from that instead. If not, let's find the direction together. Skip any of these with "go" and I'll decide.
|
|
37
|
+
|
|
38
|
+
1. How should it feel, and never feel? Any apps, sites, brands, books or places you love for this?
|
|
39
|
+
2. Pictures you already like? Screenshots, links or files.
|
|
40
|
+
3. I read this as <subject>, a <website | app>, and the name gives me <identity nouns>. Right? For an app: the main screens, and how you move between them?
|
|
41
|
+
4. Does it need pictures? A website usually does. An app like this may not.
|
|
42
|
+
5. Where should I look? [x] <source> — <what it gives> … [ ] your own
|
|
43
|
+
6. How many references do you want to see? 6 / 12 / 20
|
|
94
44
|
```
|
|
95
45
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
A reply that names a style or a requirement, and does not drop the list, uses those ideas plus what they added. A pick uses that idea. A rewrite replaces the ideas. “Not the third” drops that one. “Go” or “use these” uses the ideas. The style they named still applies when they drop the list. A bare no, skip, or “leave it” searches the subject alone. Do not treat that as a style.
|
|
99
|
-
|
|
100
|
-
What they accepted goes into the queries, with the subject, the page type, and the element. It does not lower the quality filter. If it fights the topic, keep the topic. A style is a query, not a reason to keep a weak shot. Write what was used on the board as `Asked:`, or on the hunt note as `asked:`. None is valid.
|
|
101
|
-
|
|
102
|
-
## Whole look
|
|
46
|
+
Default sources:
|
|
103
47
|
|
|
104
|
-
|
|
48
|
+
- **App:** popular Dribbble, Pinterest, and component galleries. Mobbin and Refero unticked (login wall). No award galleries.
|
|
49
|
+
- **Website:** Awwwards, Godly, Land-book, siteinspire, MaxiBestOf, Recent. Dribbble for screens. Dark Mode Design only when the look is dark.
|
|
50
|
+
- **Imagery** (Unsplash, Wikimedia, museums) only when question 4 says yes.
|
|
105
51
|
|
|
106
|
-
|
|
52
|
+
Anything skipped is yours to decide: say what you chose in one line, then search. A Figma link at any point before the search → build from it. A brief that contradicts itself is `grilling`, not a second round.
|
|
107
53
|
|
|
108
|
-
|
|
54
|
+
A picture they gave is a **seed**: a card with `source: user`, never scored or dropped. Seeds steer the queries (“more like this”).
|
|
109
55
|
|
|
110
|
-
|
|
56
|
+
### 2. Search small
|
|
111
57
|
|
|
112
|
-
|
|
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).
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
119
|
-
- **Type / marks (1–2):** a pairing or a stamp you can name. MaxiBestOf fonts are a place to find one.
|
|
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.
|
|
58
|
+
Read [sources.md](references/sources.md) before keeping anything. Do not narrate while looking: one line at the end is enough (“Found 11, building the moodboard.”).
|
|
122
59
|
|
|
123
|
-
|
|
60
|
+
- **The keep is the number they chose** (default 10 for an app, 12 for a website). Eight strong beat twenty adequate. A thin field stays thin: say what was missing instead of lowering the filter.
|
|
61
|
+
- **Query the form, not the word.** “writing app” returns T-shirts and essay mills; `product-design?q=text+editor+screen` returns screens.
|
|
62
|
+
- **Thumbnails are the first cut.** Use `scripts/contact-sheet.mjs` in scratch, then open the shortlist at full size. Nothing is kept from a thumbnail.
|
|
63
|
+
- **Capture only a keep:** `node <skill>/scripts/capture.mjs <url> --out .design/refs/<name>.jpg`.
|
|
64
|
+
- **App:** a real product's screen outweighs a Dribbble concept, which has never faced real content.
|
|
65
|
+
- **Website:** live sites outweigh Dribbble shots. A site of another business gives a layout or a component only, never its colour or type.
|
|
124
66
|
|
|
125
|
-
|
|
67
|
+
On the first write to `.design/`, add `.design/` to `.gitignore` if it is missing, and say why in one line: the shots are other people's work. If `git ls-files .design` already lists files, say so and leave `git rm -r --cached .design` to them.
|
|
126
68
|
|
|
127
|
-
|
|
69
|
+
### 3. Write `.design/board.md`
|
|
128
70
|
|
|
129
|
-
|
|
71
|
+
One file. A few header lines, short cards, and **Read this** after they pick.
|
|
130
72
|
|
|
131
73
|
```
|
|
132
|
-
Asked: <
|
|
74
|
+
Asked: <feel, requirements, or none>
|
|
75
|
+
Sources: <what was searched, and any skip: "Mobbin: login wall">
|
|
76
|
+
Missing: <what the search could not find, or none>
|
|
133
77
|
|
|
134
|
-
## Read this
|
|
135
|
-
- leads: <card name>
|
|
136
|
-
- also: <one other card>
|
|
137
|
-
- control: <as that card’s hero describes it: text link, filled shape, or absent, and where it sits>
|
|
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>
|
|
144
|
-
```
|
|
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
|
-
|
|
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.
|
|
149
|
-
|
|
150
|
-
```
|
|
151
78
|
### <name>
|
|
152
|
-
- source:
|
|
153
|
-
-
|
|
154
|
-
- fit: same-job | register | form
|
|
155
|
-
- role: page | component | element
|
|
156
|
-
- subject: same-job | other
|
|
157
|
-
- url:
|
|
79
|
+
- source: <gallery, or user>
|
|
80
|
+
- url: <the page a person can open, or "none (shared in chat)">
|
|
158
81
|
- shot: .design/refs/<file>
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
-
|
|
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>
|
|
163
|
-
- imagery: <what the pictures are>
|
|
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>
|
|
165
|
-
- leave: <their identity, and anything that is not the principle>
|
|
82
|
+
- tagline: <about six words, the moodboard caption>
|
|
83
|
+
- worth taking: <one principle, not their name>
|
|
84
|
+
- colour: <hex + the element it was sampled from, e.g. "#2c2824 body text">
|
|
166
85
|
```
|
|
167
86
|
|
|
168
|
-
|
|
87
|
+
`colour` is optional on a card. When it is there, it is sampled from a crop of that element, never from a photo or a mockup frame. A product page (voice, not visuals) may be a card with `slot: product`; it stays off the moodboard.
|
|
88
|
+
|
|
89
|
+
### 4. Pick on the moodboard
|
|
169
90
|
|
|
170
91
|
```
|
|
171
|
-
|
|
172
|
-
- url:
|
|
173
|
-
- licence: <OFL / Apache / commercial / restricted>; covers <bundled in app, self-hosted web, default UI>? yes/no
|
|
174
|
-
- shot: .design/refs/<file>
|
|
175
|
-
- shows:
|
|
176
|
-
- leave:
|
|
92
|
+
node <skill>/scripts/moodboard.mjs .design/board.md --out .design/moodboard.html
|
|
177
93
|
```
|
|
178
94
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
The cards are the references. The shot files are the evidence.
|
|
182
|
-
|
|
183
|
-
## Later hunt
|
|
184
|
-
|
|
185
|
-
A suggestion set. Use it when they named a view, a section, a component, or a control; when they asked for new ideas or a double-check; when a direction exists and they asked to hunt; or when there is no look yet and they asked only for this piece.
|
|
186
|
-
|
|
187
|
-
Name `for` from what they asked. Ask once, as in **Before looking**, and wait. After they answer, look. Do not ask for a Figma file.
|
|
95
|
+
Look at it yourself first (`capture.mjs "file://$PWD/.design/moodboard.html" --out <scratch>/moodboard.jpg`). Fix a wrong caption or a missing picture on the board and run it again. Then say where it is, say every tile links to its source, and ask one line:
|
|
188
96
|
|
|
189
|
-
|
|
97
|
+
> Which one leads, which do you also like, which feel wrong, and why?
|
|
190
98
|
|
|
191
|
-
|
|
192
|
-
- `has-direction` — one of those exists
|
|
193
|
-
- `has-design` — the screen or the page is already designed (they said so, or it is in the repo). Use this when both are true.
|
|
99
|
+
If they say “you choose”, take the closest and say which. Do not rerun the moodboard to mark the pick.
|
|
194
100
|
|
|
195
|
-
|
|
101
|
+
### 5. Read this — the adaptation
|
|
196
102
|
|
|
197
|
-
|
|
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.
|
|
199
|
-
3. Tag each: `kind: section | component | imagery | type | mark` and `subject: same-job | other`. Do not file a drawing as a section.
|
|
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.
|
|
103
|
+
Write it under the header lines, after their answer.
|
|
201
104
|
|
|
202
105
|
```
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
214
|
-
-
|
|
215
|
-
-
|
|
216
|
-
-
|
|
217
|
-
- leave:
|
|
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.>
|
|
106
|
+
## Read this
|
|
107
|
+
- leads: <card>
|
|
108
|
+
- also: <cards they also liked, or none>
|
|
109
|
+
- why: <their reason, in their words>
|
|
110
|
+
- take: <what we keep: a layout, a temperature, a kind of picture, and from which cards>
|
|
111
|
+
- change: <the twist, so this is not that reference>
|
|
112
|
+
- ownable: <one concrete element from the project's own identity nouns. Unconfirmed until seen rendered>
|
|
113
|
+
- control: <the lead's main control: text link, filled shape, or absent, and where it sits>
|
|
114
|
+
- behaviour: <how it moves, pages, fades, or reveals, from which card, or none>
|
|
115
|
+
- colour: <adapted hexes by role (page, text, secondary, mark…), each with its reason>
|
|
116
|
+
- contrast: <each text/background pair: hex on hex, ratio, AA | AAA | FAIL>
|
|
117
|
+
- type: <adapted pairing, with a licence that covers how this ships>
|
|
118
|
+
- leave: <their name, their identity colours and faces, and what they said feels wrong>
|
|
119
|
+
- gaps: <key screens or moves no reference covers, the project's differentiator first>
|
|
219
120
|
```
|
|
220
121
|
|
|
221
|
-
The
|
|
122
|
+
- **The lead is the closest**, not the boldest: the subject's world is in the shot. It leads the feeling. It is not the brand.
|
|
123
|
+
- **A colour moves only for a reason:** contrast, the twist, our pictures, or a brand colour they have. A generic cream or ink may stay as sampled. Nudging `#f6f1e7` to `#f4efe4` is not an adaptation.
|
|
124
|
+
- **`ownable` answers** “what makes this <project> and not <lead>?” with one element made from the identity nouns: for a lighthouse logbook, a lamp-glow marker on the active item.
|
|
125
|
+
- **Every pair goes through** `scripts/contrast.mjs`: 4.5:1 for body text, 3:1 for large text and marks. Fix failures before the persist ask.
|
|
222
126
|
|
|
223
|
-
|
|
127
|
+
Then, in chat, say the adaptation: take, change, leave, `ownable`, and the colour and type. Keep it short.
|
|
224
128
|
|
|
225
|
-
|
|
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
|
-
```
|
|
129
|
+
## Later hunt
|
|
232
130
|
|
|
233
|
-
|
|
131
|
+
One piece: a view, a section, a control, an element, ideas, or a check. A `DESIGN.md` or a board does not block it, and neither has to exist.
|
|
234
132
|
|
|
235
|
-
|
|
133
|
+
1. Ask once, then wait:
|
|
236
134
|
|
|
237
|
-
|
|
135
|
+
```
|
|
136
|
+
Any style or requirements for this? Optional.
|
|
238
137
|
|
|
239
|
-
|
|
138
|
+
A few ways to search:
|
|
139
|
+
- <a form you can type into a gallery: "a bar that fills once">
|
|
140
|
+
- <…>
|
|
141
|
+
- <…>
|
|
142
|
+
```
|
|
240
143
|
|
|
241
|
-
|
|
144
|
+
Skip a half they already answered. If they already said both, search.
|
|
145
|
+
2. Keep up to 10, from at least 30 looked at, across the galleries that fit. Include the same piece in other subjects. Same quality filter.
|
|
146
|
+
3. Write `.design/hunts/<slug>/board.md` with the same cards, shots in `.design/hunts/<slug>/refs/`. `<slug>` names the piece (`pricing`, `empty-state`). If it exists, use `<slug>-2`.
|
|
147
|
+
4. Run the moodboard on that board into `.design/hunts/<slug>/moodboard.html`, and ask which they would take.
|
|
148
|
+
5. Write a short **Read this** for the piece (`leads`, `take`, `leave`). With a `DESIGN.md`, the piece keeps its colour and type unless they agree to change them.
|
|
242
149
|
|
|
243
|
-
|
|
150
|
+
## The persist ask
|
|
244
151
|
|
|
245
|
-
|
|
152
|
+
Its own message, never the end of a long reply. Use a yes/skip prompt if the harness has one.
|
|
246
153
|
|
|
247
|
-
|
|
154
|
+
- Whole look: **Write `DESIGN.md` from this adaptation?** Skip if you only want the references for now.
|
|
155
|
+
- Redo: **Replace `DESIGN.md` with this adaptation?** The current one stays until you say yes.
|
|
156
|
+
- Later hunt: **Update `DESIGN.md` with what we took for <piece>?**
|
|
248
157
|
|
|
249
|
-
|
|
158
|
+
Yes → load `design-md` and write from **Read this**. Skip → leave the board, and say once that `.design/` stays on this machine, so `DESIGN.md` is how anyone else sees the direction.
|
|
250
159
|
|
|
251
|
-
|
|
252
|
-
- No / skip → leave the board; do not invent a brand file. A later hunt leaves `DESIGN.md` and the board as they were.
|
|
160
|
+
If their next message moves on without answering, ask once more, first in that reply. Then let it go.
|
|
253
161
|
|
|
254
|
-
|
|
162
|
+
After the answer, offer the next step as a short list:
|
|
255
163
|
|
|
256
|
-
|
|
164
|
+
- **Prototype the gaps** (recommended for an app): the main screen built from `DESIGN.md`, with `gaps` as its brief. That is a build, through the router. It lives outside `.design/` and is committed.
|
|
165
|
+
- **Hunt a gap**: a later hunt, one per gap. For a gap software has not solved, search outside software for the same form.
|
|
166
|
+
- **Stop here.** `.design/` can be deleted once `DESIGN.md` is written.
|
|
257
167
|
|
|
258
|
-
|
|
168
|
+
Then stop, unless they also asked to build.
|
|
259
169
|
|
|
260
170
|
## Do not
|
|
261
171
|
|
|
262
|
-
- Code or lay out
|
|
263
|
-
-
|
|
264
|
-
-
|
|
265
|
-
- Screenshot a
|
|
266
|
-
-
|
|
267
|
-
- Put
|
|
268
|
-
- Write a second `.design/board.md`. A later pass is a hunt folder.
|
|
269
|
-
- Overwrite or delete `.design/hunts/<slug>/`. Use the next free slug.
|
|
270
|
-
- Put a later hunt’s shots in `.design/refs/`, or delete a hunt shot because the board does not cite it.
|
|
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.
|
|
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.
|
|
280
|
-
- Write a new `.design/piece.md`.
|
|
281
|
-
- Pad the count by lowering the filter, or by keeping pictures you would not put on the page.
|
|
282
|
-
- Stop looking at the first page of results, or treat the keep count as the number of candidates you open.
|
|
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.
|
|
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.
|
|
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.
|
|
289
|
-
- Offer search ideas on a whole look, or on an ideas or check pass.
|
|
290
|
-
- Search a piece with ideas they skipped.
|
|
291
|
-
- Write a hero that does not say what the control is.
|
|
292
|
-
- Treat a short board that does not name each drop as finished direction.
|
|
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.
|
|
295
|
-
- Let a card lead because its type is large, when a closer card has the subject’s world in the shot.
|
|
296
|
-
- Let a screen card be the primary card on a website, or an award site be the primary card on an application.
|
|
297
|
-
- Fill an application board with Awwwards, MaxiBestOf, Recent, Supahero, or Dark Mode Design.
|
|
298
|
-
- Raise a keep count because there are more galleries.
|
|
299
|
-
- Fill the keep from the first gallery and leave the others unopened.
|
|
300
|
-
- File a Supahero crop, a Pinterest pin, or a Muzli card as a Site.
|
|
301
|
-
- Open Dark Mode Design when the subject, the register, and the style they asked for are not dark.
|
|
172
|
+
- Code or lay out a page, or hand-write the moodboard.
|
|
173
|
+
- Search before the Talk first answer, or ask a second round.
|
|
174
|
+
- Pad the keep by lowering the filter, or keep a shot you only saw as a thumbnail.
|
|
175
|
+
- Screenshot a listing, a search grid, or a candidate you are not keeping. Never stitch screenshots.
|
|
176
|
+
- Paste the lead's exact colours or faces into **Read this** as the brand.
|
|
177
|
+
- Put skill feedback or notes under `.design/`. Use the chat, or a file they name.
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Sources: what to keep, and how to get the shot
|
|
2
|
+
|
|
3
|
+
A nominee is not a reference. Open it full size and drop anything weak before it goes on the board. A weak pass means fewer keeps, not a lower bar.
|
|
4
|
+
|
|
5
|
+
## Galleries
|
|
6
|
+
|
|
7
|
+
- **Awwwards.** Open the site page, not the listing card. Keep Site of the Day, Month, or Year, or an Honorable Mention with overall and Design ≥ 7.5. Drop any 4s, and any gate or password wall.
|
|
8
|
+
- **Godly, Land-book, siteinspire, MaxiBestOf, Recent.** These are curated, not scored. Keep a live page with one clear idea: a crop, a component, or an arrangement. Drop generic SaaS (centred headline, three icon cards, soft gradient, Inter). MaxiBestOf sections and Supahero crops are pieces, not sites.
|
|
9
|
+
- **Dark Mode Design.** Only when the look is dark.
|
|
10
|
+
- **Muzli.** Only a way to reach the original, which then has to pass its own test.
|
|
11
|
+
- **Pinterest.** Keep a pin that is one real screen or page. Drop boards, collages, and AI mush. If you hit a login wall, write `Pinterest: login wall` under `Sources:` and move on.
|
|
12
|
+
- **Mobbin, Refero.** Shipped screens, often behind a login. Handle a login wall the same way.
|
|
13
|
+
|
|
14
|
+
## Dribbble
|
|
15
|
+
|
|
16
|
+
Listing pages render in the browser, and shot pages hit human verification. Use the script on a popular listing for this year:
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
node <skill>/scripts/dribbble-cards.mjs "https://dribbble.com/search/shots/popular/product-design?q=text+editor+screen&timeframe=year" --scrolls 4
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
It prints `id-slug`, likes, views, image URL, and title. It drops merch, CVs, worksheets, posters, logos, and tool ads by slug and title. Extend that list with `--drop "a,b"` and relax it with `--keep "a,b"`. Download artwork from `cdn.dribbble.com` (`<url>?resize=1600x1200`).
|
|
23
|
+
|
|
24
|
+
- Use a category path and the form, not the word: `/product-design?q=…`, `/mobile?q=…`, `/web-design?q=…`.
|
|
25
|
+
- If most of what gets through is off-form, the query is wrong. Fix the query rather than scrolling further.
|
|
26
|
+
- Run one query at a time. If a query returns 0 cards, retry after 8 s, then 30 s. If it is still 0, note it under `Sources:` as a possible rate limit.
|
|
27
|
+
- Keep a shot when you can name what is worth taking in one line, and people actually saved it. Drop AI mush, fake browser chrome, purple-on-dark gradients, Inter everywhere, and emoji icons.
|
|
28
|
+
- A Dribbble illustration is imagery, never a site.
|
|
29
|
+
|
|
30
|
+
## Cropping a downloaded image
|
|
31
|
+
|
|
32
|
+
To crop a picture you already have (a screen inside a marketing frame, a type specimen):
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
node <skill>/scripts/capture.mjs "file://<abs path to image>" --out .design/refs/<name>.jpg --clip x,y,w,h
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
`--clip` is in the image's own pixels.
|
|
39
|
+
|
|
40
|
+
## Imagery
|
|
41
|
+
|
|
42
|
+
Search the subject, not a stock category. One real place or material beats a pile of similar ones. Zero imagery is a complete answer.
|
|
43
|
+
|
|
44
|
+
- **Unsplash.** On the search page, read `figure a[href*="/photos/"] img`. Take its `src` up to the `?` and download `<src>?w=1600&q=80`. The photo page is the `url`.
|
|
45
|
+
- **Wikimedia Commons.** Query the API with `-A "<project>-hunt/0.1"`, `prop=imageinfo&iiprop=url&iiurlwidth=1920`. Save `thumburl`. `descriptionurl` is the `url`.
|
|
46
|
+
|
|
47
|
+
## Contact sheets
|
|
48
|
+
|
|
49
|
+
Viewing listing thumbnails is fine. It is not a capture. Build labelled grids in scratch, never under `.design/`:
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
node <skill>/scripts/contact-sheet.mjs candidates.tsv --out <scratch>/sheets # TSV: label<TAB>imageURL
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Capture a live page
|
|
56
|
+
|
|
57
|
+
Only for a keep, run from the project root:
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
node <skill>/scripts/capture.mjs <url> --out .design/refs/<name>.jpg
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
The script dismisses cookie banners, scrolls so reveals load, unsticks fixed headers, and takes one full-page JPEG. Node 22+ and an installed Chrome are required (set `CHROME_PATH` if Chrome is somewhere unusual). Options:
|
|
64
|
+
|
|
65
|
+
- `--review <scratch>/x.jpg` writes a readable side-by-side version of a tall page.
|
|
66
|
+
- `--clip-selector "main"` or `--clip x,y,w,h` crops to a type specimen.
|
|
67
|
+
|
|
68
|
+
Open the file. Delete it and run again if it repeats a band, still shows a cookie dialog, or is mostly empty. If a page will not scroll (WebGL, a locked canvas), keep one viewport and say so on the card. Never stitch screenshots.
|
|
69
|
+
|
|
70
|
+
## Colour and type
|
|
71
|
+
|
|
72
|
+
- **Colour.** Sample hexes from a crop of the element named (body text, active tab), never from a photo, a mockup frame, or a presentation background. Card hexes are what we saw, not the brand.
|
|
73
|
+
- **Contrast.** Check pairs with `node <skill>/scripts/contrast.mjs "#2c2824 on #f6f1e7" "#b0563a on #f6f1e7:mark"`. `:large` and `:mark` check 3:1. A failing pair is written as `sampled → used`.
|
|
74
|
+
- **Type.** A face's licence has to cover how this ships: bundled in an app, self-hosted web, or default UI. Set it at real sizes before you pick it. Check that the italic reads at quote size and that its figures suit where numbers sit.
|