@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.
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. With no DESIGN.md and no Figma, both hunt. A site hunts live pages, and those outweigh Dribbble. An application hunts screen shots, and those outweigh award sites. With a direction already, hunt only the piece.
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,14 +14,14 @@ 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
- - A page with no official look (no DESIGN.md, no Figma, no board), or they asked to hunt references: design-reference-hunt. Ask once for a Figma file. No direction: look widely, then keep, and write `.design/board.md`. Scroll and screenshot only the keeps. Another business lends a layout or a component only, not its type or its colours, and only if it still fits this topic. Ask once which of the closest cards should lead, then write the cards and a short Read this. Before looking, ask once for a specific style and any requirements. On a piece (a loading state, a control), also offer two or three search ideas, then look after they answer. A later hunt (a view, a control, new ideas, a double-check) is a suggestion set in `.design/hunts/<slug>/`. It does not replace the board, `.design/refs/`, DESIGN.md, or a Figma file, and the whole look does not replace `.design/hunts/`.
18
- - A page with no design yet: design-taste-frontend. Do not deal this skill’s references, and do not run draw. No official look is hunt: wait for `.design/board.md`. Those cards are the references. Build from them. The control a card describes is the control. Do not add a filled button the card does not show. Inspect still.
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
+ - 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.
21
21
  - A UI review you asked for: web-design-guidelines. Accessibility and interface rules.
22
- - They asked to jury, score, judge, or roast the design (or a live URL / local build): jury. Blind evidence scorecard. Do not redesign. Fixes stay on the board, DESIGN.md, or Figma. Do not run after every Taste build unless they asked.
22
+ - They asked to jury, score, judge, or roast the design (or a live URL / local build): jury. Blind evidence scorecard. Do not redesign. Fixes stay on the board, DESIGN.md, or Figma. Do not run after every build unless they asked.
23
23
  - They asked to hand off to another agent or session: handoff. Compact the conversation into a handoff document another agent can pick up.
24
- - The look of this project: design-md. Follow DESIGN.md when it exists. A missing file plus “design this page” is hunt, not a question.
24
+ - The look of this project, or they confirmed writing or updating DESIGN.md: design-md. Follow DESIGN.md when it exists. Write or update it from the board or a hunt note only when they confirm — expand colour, type, control, layout principles, leave. Do not invent. Missing file plus design or define direction is hunt first.
25
25
 
26
26
  A normal change can be ponytail and a short premortem. That is still a small set.
27
27
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
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
+
9
+ ## 0.5.1 — 2026-10-23
10
+
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.
12
+ - `design-md` writes or updates `DESIGN.md` from the board or a hunt note only when they confirm — colour, type, control, layout principles, leave. It does not invent a look.
13
+ - The `AGENTS.md` router matches that split: hunt / define direction → hunt; build or code a page → taste (when installed), preferring `DESIGN.md` then the board. People who already ran `init` get it by installing the release that contains it, then running `npx longbeard update`.
14
+
5
15
  ## 0.5.0 — 2026-10-23
6
16
 
7
17
  - `design-reference-hunt` also looks through MaxiBestOf, Recent, Supahero, Muzli, Pinterest, and Dark Mode Design. The board stays the same size: 10 live sites, up to 20 screens, 10 for a piece. What goes up is how many candidates it opens — at least 60 live ones, past the first page of each live gallery, before a short board. A piece looks through at least 30 before it keeps 10. Dark Mode Design only when the subject, the register, or the style they asked for is dark. Supahero is heroes. Muzli opens the original. Pinterest pins are pictures, never sites. People who already ran `init` get it by installing the release that contains it, then running `npx longbeard update`.
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, and a risky change is named before it is built. A page follows a `DESIGN.md` or a Figma file when one exists. With neither, hunt writes the reference board and taste designs the page, with real pictures, and checks it in a browser. Asking to hunt references still works after a direction or a design exists. That pass is its own suggestion set and does not replace the board. The board does not replace that set either. A loading search and the no-look board stay side by side. Before it looks, it asks once for a specific style and any requirements. For one piece, such as a loading state, it also offers a few search ideas and waits.
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>The installed project's <code>DESIGN.md</code> wins. With no file and no Figma, a new page goes to hunt instead of an invented look. A brand file is written only when they ask</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>Turns a Figma file into code in the project's stack, reusing components that already exist. Needs the Figma connection</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>When there is no design direction, searches live sites and galleries — Awwwards, MaxiBestOf, Recent, Dribbble, and others — and writes a board of the same size. It opens more candidates across those galleries before it keeps. Before looking, it asks for a specific style and any requirements. A later request — a view, a loading state, new ideas, a double-check — writes a separate suggestion set; a piece also gets a few search ideas first. That set leaves the board in place</td>
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>Designs websites and app screens, with real pictures, and checks them in a browser. An existing direction wins over a look it would invent</td>
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 they asked to animate. A page already being designed keeps that skill’s motion</td>
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 the UI against interface and accessibility rules, when you ask</td>
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 site from screenshots and measurements when you ask to jury, score, judge, or roast the design. Does not redesign; fixes stay on the board, DESIGN.md, or Figma</td>
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>Before writing, finds where the change will break by checking the real code</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>The smallest change that finishes the job, and a reply you can read once. Includes ponytail-review, ponytail-audit, and ponytail-debt</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 performance regressions: build a tight feedback loop first, then localize, reduce, fix, and guard</td>
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>. Generates design images, then builds the page to match them</td>
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. The full audit runs only when you ask for an audit or a pen-test</td>
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
@@ -70,16 +70,16 @@
70
70
  "author": "Long Beard",
71
71
  "license": "MIT",
72
72
  "source": "local",
73
- "when": "A page with no official look (no DESIGN.md, no Figma, no board), or they asked to hunt references",
74
- "why": "Ask once for a Figma file. No direction: look widely, then keep, and write `.design/board.md`. Scroll and screenshot only the keeps. Another business lends a layout or a component only, not its type or its colours, and only if it still fits this topic. Ask once which of the closest cards should lead, then write the cards and a short Read this. Before looking, ask once for a specific style and any requirements. On a piece (a loading state, a control), also offer two or three search ideas, then look after they answer. A later hunt (a view, a control, new ideas, a double-check) is a suggestion set in `.design/hunts/<slug>/`. It does not replace the board, `.design/refs/`, DESIGN.md, or a Figma file, and the whole look does not replace `.design/hunts/`."
73
+ "when": "No official look, or they asked to hunt / define direction / find references",
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",
78
78
  "author": "Leonxlnx",
79
79
  "license": "MIT",
80
80
  "source": "https://github.com/Leonxlnx/taste-skill",
81
- "when": "A page with no design yet",
82
- "why": "Do not deal this skill’s references, and do not run draw. No official look is hunt: wait for `.design/board.md`. Those cards are the references. Build from them. The control a card describes is the control. Do not add a filled button the card does not show. Inspect still."
81
+ "when": "They asked to build or code a page or screen",
82
+ "why": "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."
83
83
  },
84
84
  {
85
85
  "name": "animate",
@@ -129,7 +129,7 @@
129
129
  "license": "MIT",
130
130
  "source": "https://github.com/juliobsz/skills/tree/main/jury",
131
131
  "when": "They asked to jury, score, judge, or roast the design (or a live URL / local build)",
132
- "why": "Blind evidence scorecard. Do not redesign. Fixes stay on the board, DESIGN.md, or Figma. Do not run after every Taste build unless they asked."
132
+ "why": "Blind evidence scorecard. Do not redesign. Fixes stay on the board, DESIGN.md, or Figma. Do not run after every build unless they asked."
133
133
  },
134
134
  {
135
135
  "name": "handoff",
@@ -144,8 +144,8 @@
144
144
  "author": "Long Beard",
145
145
  "license": "MIT",
146
146
  "source": "local",
147
- "when": "The look of this project",
148
- "why": "Follow DESIGN.md when it exists. A missing file plus “design this page” is hunt, not a question."
147
+ "when": "The look of this project, or they confirmed writing or updating DESIGN.md",
148
+ "why": "Follow DESIGN.md when it exists. Write or update it from the board or a hunt note only when they confirm — expand colour, type, control, layout principles, leave. Do not invent. Missing file plus design or define direction is hunt first."
149
149
  }
150
150
  ]
151
151
  }
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. With no DESIGN.md and no Figma, both hunt. A site hunts live pages, and those outweigh Dribbble. An application hunts screen shots, and those outweigh award sites. With a direction already, hunt only the piece.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jonandev/longbeard",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "description": "Designs like an Art director. Codes like a senior.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -2,21 +2,78 @@
2
2
  name: design-md
3
3
  description: >
4
4
  Use when building or changing UI and the project has a DESIGN.md, or when
5
- the user asks to write or follow a brand file. Follow that file.
6
- If they asked to design a page and there is no DESIGN.md and no Figma,
7
- that is design-reference-hunt, not this skill. Do not invent a look.
5
+ they confirmed writing or updating the brand file after a hunt. Follow that
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.
8
11
  ---
9
12
 
10
13
  # DESIGN.md
11
14
 
12
- The project's `DESIGN.md` is the look.
15
+ The project's `DESIGN.md` is the durable look. Coding follows it when it exists.
13
16
 
14
- If that file exists, read it before writing UI. Use its color, type, spacing, and components the way that file states them. They asked to **hunt references** → load `design-reference-hunt`. Do not rewrite this file from that hunt.
17
+ ## Follow
15
18
 
16
- If it does not exist:
19
+ If the file exists, read it before writing UI. Use its colour, type, spacing, control, and components the way that file states them.
17
20
 
18
- - They asked to **design a page or a piece** and there is no Figma → load `design-reference-hunt`. Do not ask what the brand is.
19
- - They asked to **hunt references** → load `design-reference-hunt`.
20
- - They asked for a **brand file / DESIGN.md** → ask which reference to follow. Write the file only when they want one.
21
+ They asked to **hunt**, **define direction**, or find references → load `design-reference-hunt`. Do not rewrite this file until they confirm after that pass.
22
+
23
+ ## Write or update (only on confirm)
24
+
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:
26
+
27
+ - `.design/board.md` **Read this** (`take`, `change`, `colour`, `type`, `control`, `leave`), or
28
+ - `.design/hunts/<slug>/note.md` when the change is a later pass they accepted
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
+
34
+ If neither file exists, ask which reference to follow. Do not guess.
35
+
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:
39
+
40
+ ```markdown
41
+ # Design
42
+
43
+ ## Direction
44
+ - leads: <card name>
45
+ - also: <card name, or none>
46
+ - from: .design/board.md | .design/hunts/<slug>/note.md
47
+ - take: <from Read this>
48
+ - change: <the twist>
49
+ - leave: <their name, their exact colours, their exact faces, and the rest>
50
+
51
+ ## Colour
52
+ - <adapted hex>: <where it sits — ground, text, accent, control fill only if the shot fills one>
53
+
54
+ ## Type
55
+ - <adapted pairing, and how it is used>
56
+
57
+ ## Control
58
+ - <text link | filled shape | absent, and where it sits — from the leading hero>
59
+
60
+ ## Layout
61
+ - <what we take that still belongs on this topic. Form cards: layout or component only, not their type or colours>
62
+
63
+ ## Imagery
64
+ - <what the pictures are, if any>
65
+
66
+ ## Do not
67
+ - <the leave line>
68
+ ```
69
+
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.
71
+
72
+ A full redo of the whole look they accepted: rewrite the file from the new adaptation.
73
+
74
+ ## Missing file
75
+
76
+ - They asked to **define direction**, **hunt**, or **design a page** and there is no Figma → `design-reference-hunt` first. This skill waits for confirm.
77
+ - They asked only for a **brand file / DESIGN.md** with no board → ask which reference to follow, then write.
21
78
 
22
79
  Leave brand catalogs out of the repo. Leave a second visual system out when one already exists.