@jonandev/longbeard 0.5.1 → 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.
- package/AGENTS.md +2 -2
- package/CHANGELOG.md +4 -0
- package/README.md +13 -13
- package/beard.json +1 -1
- package/bin/long-beard.js +1 -1
- package/package.json +1 -1
- package/skills/design-md/SKILL.md +24 -15
- package/skills/design-reference-hunt/SKILL.md +78 -34
- package/skills/design-reference-hunt/references/quality.md +18 -4
- package/skills/design-reference-hunt/references/shots.md +17 -7
- package/skills/design-reference-hunt/scripts/capture.mjs +151 -11
- package/skills/design-reference-hunt/scripts/contact-sheet.mjs +247 -0
- package/skills/design-reference-hunt/scripts/contrast.mjs +27 -0
- package/skills/design-reference-hunt/scripts/dribbble-cards.mjs +204 -0
- package/skills/design-reference-hunt/scripts/moodboard.mjs +447 -0
package/AGENTS.md
CHANGED
|
@@ -4,7 +4,7 @@ The project's own code, conventions, and DESIGN.md win.
|
|
|
4
4
|
|
|
5
5
|
Load only what the task needs. Leave the rest unread.
|
|
6
6
|
|
|
7
|
-
A marketing site is the page a person lands on to understand or choose. An application is the tool they come back to. Official look wins: DESIGN.md, then Figma, then the board. Hunt finds references and proposes
|
|
7
|
+
A marketing site is the page a person lands on to understand or choose. An application is the tool they come back to. Official look wins: DESIGN.md, then Figma, then the board. Hunt finds references and proposes an adaptation; it does not code the page. After they pick a leading reference, open the moodboard, say what we take, change, and leave, then ask to write or update DESIGN.md as its own message — once more, first, if they move on without answering — only on yes. Code the page only when they asked to build. Direction-only stops after persist. A site hunts live pages; an application hunts screen shots. With a direction already, hunt only the piece.
|
|
8
8
|
|
|
9
9
|
- Building or fixing: ponytail. The smallest change that finishes the job. Leave validation, error handling, security, and accessibility in place.
|
|
10
10
|
- A diff: ponytail-review. Read it like someone who gets paged.
|
|
@@ -14,7 +14,7 @@ A marketing site is the page a person lands on to understand or choose. An appli
|
|
|
14
14
|
- A change that touches data, money, jobs, or what a person sees: premortem. Name where it can break before you write. A small change gets a short answer.
|
|
15
15
|
- They asked to grill a plan or design, or the ask is underspecified: grill-me. Interview until every branch of the design tree is resolved. Uses grilling.
|
|
16
16
|
- Stress-testing a plan, decision, or idea: grilling. The interview primitive behind grill-me. Relentless questions until branches are closed.
|
|
17
|
-
- No official look, or they asked to hunt / define direction / find references: design-reference-hunt. Does not code. Ask once for a Figma file. Whole look writes `.design/board.md
|
|
17
|
+
- No official look, or they asked to hunt / define direction / find references: design-reference-hunt. Does not code the page. Ask once for a Figma file. Whole look writes `.design/board.md` and, after they pick a leading reference, `.design/moodboard.html` of those references. A later pass writes `.design/hunts/<slug>/` and does not replace the moodboard. Open the moodboard, say the adaptation (take, change, leave, adapted colour and type), then ask to write or update `DESIGN.md` via design-md as its own message — once more, first, if they move on without answering — only on yes. Direction-only stops there. Build only if they also asked to build.
|
|
18
18
|
- They asked to build or code a page or screen: design-taste-frontend. Do not deal this skill’s references, and do not run draw. Prefer `DESIGN.md` when it exists; else wait for `.design/board.md` and build from those cards. Direction-only or hunt-only is not this skill. The control a card describes is the control. Do not add a filled button the card does not show. Inspect still.
|
|
19
19
|
- They asked to animate a control or a transition: animate. A page design-taste-frontend is building keeps that skill’s motion. Decide this one move, then build it.
|
|
20
20
|
- A Figma file or link: figma-design-to-code. A designer handed it over. Needs the Figma connection. Reuse this project's components.
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.5.2 — 2026-10-23
|
|
6
|
+
|
|
7
|
+
- `design-reference-hunt` opens `.design/moodboard.html` after a leading reference is chosen. That file is the references: pictures, type we saw, colour we saw. The direction is the adaptation said after it — what we take, what we change, what we leave — and `DESIGN.md` is written from that, not from the reference’s exact colours or faces. A later hunt does not replace the moodboard. People who already ran `init` get it by installing the release that contains it, then running `npx longbeard update`.
|
|
8
|
+
|
|
5
9
|
## 0.5.1 — 2026-10-23
|
|
6
10
|
|
|
7
11
|
- `design-reference-hunt` defines direction and does not code. After a primary pick (or an accepted later hunt), it explains the direction in chat and asks once to write or update `DESIGN.md`. Direction-only stops there. Build only if they also asked to build.
|
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ It is a base. You keep going from here.
|
|
|
20
20
|
|
|
21
21
|
Two of these are written here, in [`skills/`](skills/). `init` copies them from this package. The others are installed from the people who wrote them, and `update` pulls a fresh copy of those.
|
|
22
22
|
|
|
23
|
-
Writing stays small
|
|
23
|
+
Writing stays small. A risky change is named before it is built. Design direction is hunted and written down before code, unless a `DESIGN.md` or Figma file already wins.
|
|
24
24
|
|
|
25
25
|
<table>
|
|
26
26
|
<thead>
|
|
@@ -46,64 +46,64 @@ Writing stays small, and a risky change is named before it is built. A page foll
|
|
|
46
46
|
<tr>
|
|
47
47
|
<td rowspan="7">Design</td>
|
|
48
48
|
<td><a href="skills/design-md/SKILL.md">design-md</a></td>
|
|
49
|
-
<td>
|
|
49
|
+
<td>Follows the project's <code>DESIGN.md</code>. Writes or updates it only when you confirm. Does not invent a look</td>
|
|
50
50
|
<td>Long Beard</td>
|
|
51
51
|
</tr>
|
|
52
52
|
<tr>
|
|
53
53
|
<td><a href="https://github.com/figma/mcp-server-guide/tree/main/skills/figma-design-to-code">figma-design-to-code</a></td>
|
|
54
|
-
<td>
|
|
54
|
+
<td>Builds from a Figma file. Needs the Figma connection</td>
|
|
55
55
|
<td>Figma</td>
|
|
56
56
|
</tr>
|
|
57
57
|
<tr>
|
|
58
58
|
<td><a href="skills/design-reference-hunt/SKILL.md">design-reference-hunt</a></td>
|
|
59
|
-
<td>Finds references and proposes a direction
|
|
59
|
+
<td>Finds references and proposes a direction. Does not code</td>
|
|
60
60
|
<td>Long Beard</td>
|
|
61
61
|
</tr>
|
|
62
62
|
<tr>
|
|
63
63
|
<td><a href="https://github.com/Leonxlnx/taste-skill">design-taste-frontend</a></td>
|
|
64
|
-
<td>Builds websites and app screens when you ask to code, with real pictures, and checks them in a browser.
|
|
64
|
+
<td>Builds websites and app screens when you ask to code, with real pictures, and checks them in a browser. Follows an existing direction; does not invent one</td>
|
|
65
65
|
<td>Leonxlnx</td>
|
|
66
66
|
</tr>
|
|
67
67
|
<tr>
|
|
68
68
|
<td><a href="https://github.com/emilkowalski/skills/tree/main/skills/animate">animate</a></td>
|
|
69
|
-
<td>Builds one control or transition
|
|
69
|
+
<td>Builds one control or transition you asked to animate</td>
|
|
70
70
|
<td>emilkowalski</td>
|
|
71
71
|
</tr>
|
|
72
72
|
<tr>
|
|
73
73
|
<td><a href="https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines">web-design-guidelines</a></td>
|
|
74
|
-
<td>Reviews
|
|
74
|
+
<td>Reviews UI and accessibility when you ask. Does not redesign</td>
|
|
75
75
|
<td>Vercel</td>
|
|
76
76
|
</tr>
|
|
77
77
|
<tr>
|
|
78
78
|
<td><a href="https://github.com/juliobsz/skills/tree/main/jury">jury</a></td>
|
|
79
|
-
<td>Scores a
|
|
79
|
+
<td>Scores a live or local build when you ask. Does not redesign</td>
|
|
80
80
|
<td>juliobsz</td>
|
|
81
81
|
</tr>
|
|
82
82
|
<tr>
|
|
83
83
|
<td rowspan="3">Code</td>
|
|
84
84
|
<td><a href="https://github.com/joetawil7/first-pass/tree/main/skills/premortem">premortem</a></td>
|
|
85
|
-
<td>
|
|
85
|
+
<td>Names where a change will break before you write</td>
|
|
86
86
|
<td>GeorgeT</td>
|
|
87
87
|
</tr>
|
|
88
88
|
<tr>
|
|
89
89
|
<td><a href="https://github.com/DietrichGebert/ponytail">ponytail</a></td>
|
|
90
|
-
<td>
|
|
90
|
+
<td>Smallest change that finishes the job. Includes review, audit, and debt</td>
|
|
91
91
|
<td>DietrichGebert</td>
|
|
92
92
|
</tr>
|
|
93
93
|
<tr>
|
|
94
94
|
<td><a href="https://github.com/mattpocock/skills/tree/main/skills/engineering/diagnosing-bugs">diagnosing-bugs</a></td>
|
|
95
|
-
<td>Hard bugs and
|
|
95
|
+
<td>Hard bugs and regressions: feedback loop, then fix</td>
|
|
96
96
|
<td>Matt Pocock</td>
|
|
97
97
|
</tr>
|
|
98
98
|
<tr>
|
|
99
99
|
<td rowspan="2">Optional</td>
|
|
100
100
|
<td><a href="https://github.com/Leonxlnx/imagegen-skills/tree/main/skills/image-to-code">image-to-code</a></td>
|
|
101
|
-
<td>With <code>--all</code>.
|
|
101
|
+
<td>With <code>--all</code>. Builds a page from a picture you have</td>
|
|
102
102
|
<td>Leonxlnx</td>
|
|
103
103
|
</tr>
|
|
104
104
|
<tr>
|
|
105
105
|
<td><a href="https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit">security-audit</a></td>
|
|
106
|
-
<td>With <code>--all</code>. Reviews a trust boundary when you ask
|
|
106
|
+
<td>With <code>--all</code>. Reviews a trust boundary when you ask</td>
|
|
107
107
|
<td>Cloudflare</td>
|
|
108
108
|
</tr>
|
|
109
109
|
</tbody>
|
package/beard.json
CHANGED
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"license": "MIT",
|
|
72
72
|
"source": "local",
|
|
73
73
|
"when": "No official look, or they asked to hunt / define direction / find references",
|
|
74
|
-
"why": "Does not code. Ask once for a Figma file. Whole look writes `.design/board.md
|
|
74
|
+
"why": "Does not code the page. Ask once for a Figma file. Whole look writes `.design/board.md` and, after they pick a leading reference, `.design/moodboard.html` of those references. A later pass writes `.design/hunts/<slug>/` and does not replace the moodboard. Open the moodboard, say the adaptation (take, change, leave, adapted colour and type), then ask to write or update `DESIGN.md` via design-md as its own message — once more, first, if they move on without answering — only on yes. Direction-only stops there. Build only if they also asked to build."
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"name": "design-taste-frontend",
|
package/bin/long-beard.js
CHANGED
|
@@ -452,7 +452,7 @@ The project's own code, conventions, and DESIGN.md win.
|
|
|
452
452
|
|
|
453
453
|
Load only what the task needs. Leave the rest unread.
|
|
454
454
|
|
|
455
|
-
A marketing site is the page a person lands on to understand or choose. An application is the tool they come back to. Official look wins: DESIGN.md, then Figma, then the board. Hunt finds references and proposes
|
|
455
|
+
A marketing site is the page a person lands on to understand or choose. An application is the tool they come back to. Official look wins: DESIGN.md, then Figma, then the board. Hunt finds references and proposes an adaptation; it does not code the page. After they pick a leading reference, open the moodboard, say what we take, change, and leave, then ask once to write or update DESIGN.md — only on yes. Code the page only when they asked to build. Direction-only stops after persist. A site hunts live pages; an application hunts screen shots. With a direction already, hunt only the piece.
|
|
456
456
|
|
|
457
457
|
${lines.join("\n")}
|
|
458
458
|
|
package/package.json
CHANGED
|
@@ -3,10 +3,11 @@ name: design-md
|
|
|
3
3
|
description: >
|
|
4
4
|
Use when building or changing UI and the project has a DESIGN.md, or when
|
|
5
5
|
they confirmed writing or updating the brand file after a hunt. Follow that
|
|
6
|
-
file. Write or update DESIGN.md only from
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
file. Write or update DESIGN.md only from the adaptation they confirmed
|
|
7
|
+
after a hunt — colour, type, control, what we take, what we change, and
|
|
8
|
+
leave. Do not copy a reference’s exact palette or faces. Do not invent a
|
|
9
|
+
look they did not accept. If they asked to design or define direction and
|
|
10
|
+
there is no DESIGN.md and no Figma, that is design-reference-hunt first.
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
# DESIGN.md
|
|
@@ -21,46 +22,54 @@ They asked to **hunt**, **define direction**, or find references → load `desig
|
|
|
21
22
|
|
|
22
23
|
## Write or update (only on confirm)
|
|
23
24
|
|
|
24
|
-
Write or change `DESIGN.md` only when they said yes to persisting the
|
|
25
|
+
Write or change `DESIGN.md` only when they said yes to persisting the adaptation (after a whole-look leading pick, or after accepting a later hunt). Do not invent hexes, faces, or controls. Do not copy the leading card’s `colour` or `type` into the brand. Take the adaptation from:
|
|
25
26
|
|
|
26
|
-
- `.design/board.md` **Read this**
|
|
27
|
+
- `.design/board.md` **Read this** (`take`, `change`, `colour`, `type`, `control`, `leave`), or
|
|
27
28
|
- `.design/hunts/<slug>/note.md` when the change is a later pass they accepted
|
|
28
29
|
|
|
30
|
+
`.design/moodboard.html` is the references. Do not read it as the brand.
|
|
31
|
+
|
|
32
|
+
If **Read this** has no `take`, `change`, `colour`, or `type`, stop and send it back to the hunt. Do not fill those in here.
|
|
33
|
+
|
|
29
34
|
If neither file exists, ask which reference to follow. Do not guess.
|
|
30
35
|
|
|
31
|
-
|
|
36
|
+
Refuse to write a colour palette whose text/background pairs have not been through contrast check. On a board from `design-reference-hunt`, **Read this** `contrast` lists each adapted pair with ratio and verdict (`scripts/contrast.mjs`). Body and small text need 4.5:1; large text and non-text marks need 3:1. If pairs are missing or any still FAIL, send the board back — do not write failing hexes into `DESIGN.md`.
|
|
37
|
+
|
|
38
|
+
Expand the adaptation into a short brand file a builder can follow without the shots open:
|
|
32
39
|
|
|
33
40
|
```markdown
|
|
34
41
|
# Design
|
|
35
42
|
|
|
36
43
|
## Direction
|
|
37
|
-
-
|
|
44
|
+
- leads: <card name>
|
|
38
45
|
- also: <card name, or none>
|
|
39
46
|
- from: .design/board.md | .design/hunts/<slug>/note.md
|
|
40
|
-
-
|
|
47
|
+
- take: <from Read this>
|
|
48
|
+
- change: <the twist>
|
|
49
|
+
- leave: <their name, their exact colours, their exact faces, and the rest>
|
|
41
50
|
|
|
42
51
|
## Colour
|
|
43
|
-
- <hex>: <where it sits — ground, text, accent, control fill only if the shot fills one>
|
|
52
|
+
- <adapted hex>: <where it sits — ground, text, accent, control fill only if the shot fills one>
|
|
44
53
|
|
|
45
54
|
## Type
|
|
46
|
-
- <pairing and how
|
|
55
|
+
- <adapted pairing, and how it is used>
|
|
47
56
|
|
|
48
57
|
## Control
|
|
49
|
-
- <text link | filled shape | absent, and where it sits — from the
|
|
58
|
+
- <text link | filled shape | absent, and where it sits — from the leading hero>
|
|
50
59
|
|
|
51
60
|
## Layout
|
|
52
|
-
- <
|
|
61
|
+
- <what we take that still belongs on this topic. Form cards: layout or component only, not their type or colours>
|
|
53
62
|
|
|
54
63
|
## Imagery
|
|
55
64
|
- <what the pictures are, if any>
|
|
56
65
|
|
|
57
66
|
## Do not
|
|
58
|
-
- <
|
|
67
|
+
- <the leave line>
|
|
59
68
|
```
|
|
60
69
|
|
|
61
70
|
A **later hunt** they accepted: update only the sections that pass changes (often Layout, sometimes Control). Keep colour and type unless they explicitly accepted a change to those. Say in chat what you changed.
|
|
62
71
|
|
|
63
|
-
A full redo of the whole look they accepted: rewrite the file from the new
|
|
72
|
+
A full redo of the whole look they accepted: rewrite the file from the new adaptation.
|
|
64
73
|
|
|
65
74
|
## Missing file
|
|
66
75
|
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: design-reference-hunt
|
|
3
3
|
description: >
|
|
4
|
-
Find real visual references and propose
|
|
4
|
+
Find real visual references and propose an adaptation. Does not code pages.
|
|
5
5
|
With no official look (no DESIGN.md, no Figma, no .design/board.md), ask
|
|
6
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
|
12
17
|
after persist. Before looking, ask once for style and requirements; on a
|
|
13
18
|
piece, offer two or three search ideas. Use when they ask to hunt, define
|
|
14
19
|
direction, or design with no look yet.
|
|
@@ -16,7 +21,7 @@ description: >
|
|
|
16
21
|
|
|
17
22
|
# Reference hunt
|
|
18
23
|
|
|
19
|
-
This skill finds references and proposes
|
|
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.
|
|
20
25
|
|
|
21
26
|
Read [quality.md](references/quality.md) before you keep a reference. Weak nominees and generic Dribbble do not go on the board.
|
|
22
27
|
|
|
@@ -33,10 +38,11 @@ A Dribbble illustration is **imagery**, not a website. A Dribbble shot of a real
|
|
|
33
38
|
|
|
34
39
|
## Where files go
|
|
35
40
|
|
|
36
|
-
|
|
41
|
+
The board and a hunt do not share shots. The moodboard is the references, for a person to look at.
|
|
37
42
|
|
|
38
|
-
- **Board** — the one full hunt when this project has no look. `.design/board.md` and `.design/refs/`. One board. Evidence
|
|
39
|
-
- **
|
|
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.
|
|
40
46
|
|
|
41
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.
|
|
42
48
|
|
|
@@ -44,21 +50,23 @@ A file in `.design/refs/` that the board does not cite gets deleted. A file in a
|
|
|
44
50
|
|
|
45
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.
|
|
46
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
|
+
|
|
47
55
|
## Gate (do this first)
|
|
48
56
|
|
|
49
57
|
Check the repo and the prompt, in order. Stop at the first hit.
|
|
50
58
|
|
|
51
59
|
1. They did not ask to hunt or define direction, and `DESIGN.md` exists → follow it. Do not hunt a whole look.
|
|
52
60
|
2. They did not ask to hunt, and the prompt has a Figma file or link → implement from that file. Do not hunt.
|
|
53
|
-
3. They did not ask to hunt, and `.design/board.md` exists → whole look is done when **Read this** names
|
|
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.
|
|
54
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.
|
|
55
|
-
5. `.design/board.md` exists, and they asked to hunt again → **Later hunt** in a new folder. The board and `.design/
|
|
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.
|
|
56
64
|
6. Otherwise, for a **whole look** only: ask **once**, and wait. There is no board yet.
|
|
57
65
|
|
|
58
|
-
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.
|
|
59
67
|
|
|
60
68
|
- They paste a Figma link → implement from Figma. Stop hunting.
|
|
61
|
-
- 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.
|
|
62
70
|
|
|
63
71
|
Do not ask whether DESIGN.md exists; look for the file.
|
|
64
72
|
|
|
@@ -99,37 +107,44 @@ Say once, in one line, what you are looking for, and that the closest come back
|
|
|
99
107
|
|
|
100
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.
|
|
101
109
|
|
|
102
|
-
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.
|
|
103
111
|
|
|
104
112
|
1. Name the subject and the **surface**: `website` or `app`.
|
|
105
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).
|
|
106
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.
|
|
107
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.
|
|
108
|
-
- **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).
|
|
109
|
-
- **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.
|
|
110
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.
|
|
111
119
|
- **Type / marks (1–2):** a pairing or a stamp you can name. MaxiBestOf fonts are a place to find one.
|
|
112
|
-
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:
|
|
113
|
-
4. Write `.design/board.md`. One file, two layers. **Read this** is
|
|
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.
|
|
114
122
|
|
|
115
123
|
`Asked:` sits above **Read this**. It is not a card.
|
|
116
124
|
|
|
117
|
-
**Read this** is written
|
|
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.
|
|
126
|
+
|
|
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.
|
|
118
128
|
|
|
119
|
-
|
|
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).
|
|
120
130
|
|
|
121
131
|
```
|
|
122
132
|
Asked: <style, requirements, and any search ideas used, or none>
|
|
123
133
|
|
|
124
134
|
## Read this
|
|
125
|
-
-
|
|
135
|
+
- leads: <card name>
|
|
126
136
|
- also: <one other card>
|
|
127
137
|
- control: <as that card’s hero describes it: text link, filled shape, or absent, and where it sits>
|
|
128
|
-
-
|
|
129
|
-
-
|
|
130
|
-
-
|
|
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>
|
|
131
144
|
```
|
|
132
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
|
+
|
|
133
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.
|
|
134
149
|
|
|
135
150
|
```
|
|
@@ -144,7 +159,7 @@ Each site, product page, or screen is a card, written from the open shot file. `
|
|
|
144
159
|
- idea: <one sentence. The principle, not their name>
|
|
145
160
|
- hero: <what is in the frame. The control: text link, filled shape, or absent, and where it sits>
|
|
146
161
|
- type: <the faces, and how the shot uses them>
|
|
147
|
-
- colour: <
|
|
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>
|
|
148
163
|
- imagery: <what the pictures are>
|
|
149
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>
|
|
150
165
|
- leave: <their identity, and anything that is not the principle>
|
|
@@ -155,11 +170,14 @@ Imagery and type stay short. They are material, not cards.
|
|
|
155
170
|
```
|
|
156
171
|
- kind: imagery | type
|
|
157
172
|
- url:
|
|
173
|
+
- licence: <OFL / Apache / commercial / restricted>; covers <bundled in app, self-hosted web, default UI>? yes/no
|
|
158
174
|
- shot: .design/refs/<file>
|
|
159
175
|
- shows:
|
|
160
176
|
- leave:
|
|
161
177
|
```
|
|
162
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
|
+
|
|
163
181
|
The cards are the references. The shot files are the evidence.
|
|
164
182
|
|
|
165
183
|
## Later hunt
|
|
@@ -206,19 +224,34 @@ The note is the suggestion set. This skill does not rewrite `DESIGN.md` until **
|
|
|
206
224
|
|
|
207
225
|
Do not end the turn on raw cards alone.
|
|
208
226
|
|
|
209
|
-
**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
|
|
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
|
+
```
|
|
210
232
|
|
|
211
|
-
|
|
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.
|
|
212
234
|
|
|
213
|
-
|
|
214
|
-
- No / skip → leave the board; do not invent a brand file.
|
|
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.
|
|
215
236
|
|
|
216
|
-
**
|
|
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:
|
|
217
248
|
|
|
218
249
|
Update `DESIGN.md` with what we accepted from this hunt? (Keeps colour and type unless we agreed to change them.)
|
|
219
250
|
|
|
220
|
-
- Yes → load `design-md` and update
|
|
221
|
-
- No / skip → leave `DESIGN.md` and the board as they were.
|
|
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.
|
|
253
|
+
|
|
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.
|
|
222
255
|
|
|
223
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.
|
|
224
257
|
|
|
@@ -237,10 +270,20 @@ The control in the primary card is the control. Do not add a filled button the c
|
|
|
237
270
|
- Put a later hunt’s shots in `.design/refs/`, or delete a hunt shot because the board does not cite it.
|
|
238
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.
|
|
239
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.
|
|
240
280
|
- Write a new `.design/piece.md`.
|
|
241
281
|
- Pad the count by lowering the filter, or by keeping pictures you would not put on the page.
|
|
242
282
|
- Stop looking at the first page of results, or treat the keep count as the number of candidates you open.
|
|
243
|
-
- Scroll or screenshot a candidate
|
|
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.
|
|
244
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.
|
|
245
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.
|
|
246
289
|
- Offer search ideas on a whole look, or on an ideas or check pass.
|
|
@@ -248,6 +291,7 @@ The control in the primary card is the control. Do not add a filled button the c
|
|
|
248
291
|
- Write a hero that does not say what the control is.
|
|
249
292
|
- Treat a short board that does not name each drop as finished direction.
|
|
250
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.
|
|
251
295
|
- Let a card lead because its type is large, when a closer card has the subject’s world in the shot.
|
|
252
296
|
- Let a screen card be the primary card on a website, or an award site be the primary card on an application.
|
|
253
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
|
-
|
|
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
|
-
|
|
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.
|