@jonandev/longbeard 0.9.0 → 0.11.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 +18 -33
- package/CHANGELOG.md +44 -1
- package/README.md +69 -93
- package/beard.json +148 -198
- package/bin/long-beard.js +105 -43
- package/package.json +3 -2
- package/skills/design/SKILL.md +139 -0
- package/skills/design/references/design-md-template.md +58 -0
- package/skills/design/references/design-rules.md +189 -0
- package/skills/design/scripts/capture.mjs +489 -0
- package/skills/design/scripts/contrast.mjs +27 -0
- package/skills/design-check/SKILL.md +79 -0
- package/skills/design-check/references/design-rules.md +189 -0
- package/skills/{design-reference-hunt → design-check}/scripts/capture.mjs +65 -13
- package/skills/design-direction/SKILL.md +190 -0
- package/skills/design-direction/references/sources.md +86 -0
- package/skills/design-direction/scripts/capture.mjs +489 -0
- package/skills/{design-reference-hunt → design-direction}/scripts/contact-sheet.mjs +1 -1
- package/skills/{design-reference-hunt → design-direction}/scripts/dribbble-cards.mjs +46 -5
- package/skills/{design-reference-hunt → design-direction}/scripts/moodboard.mjs +7 -9
- package/skills/design-direction/scripts/picker.mjs +254 -0
- package/skills/idea/SKILL.md +106 -0
- package/skills/design-md/SKILL.md +0 -100
- package/skills/design-reference-hunt/SKILL.md +0 -177
- package/skills/design-reference-hunt/references/sources.md +0 -74
- /package/skills/{design-reference-hunt → design-check}/scripts/contrast.mjs +0 -0
package/AGENTS.md
CHANGED
|
@@ -1,41 +1,26 @@
|
|
|
1
1
|
# Long Beard
|
|
2
2
|
|
|
3
|
-
The project's own code, conventions, and DESIGN.md win.
|
|
3
|
+
The project's own code, conventions, and DESIGN.md win. Load only what the task needs.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
| Stage | Starts when | Skills | Writes |
|
|
6
|
+
|---|---|---|---|
|
|
7
|
+
| Idea | No docs/brief.md, or the product changes | idea | docs/brief.md |
|
|
8
|
+
| Direction | A brief with UI, no DESIGN.md | design-direction | design-exploration/<slug>/direction.md |
|
|
9
|
+
| Design | A direction, no DESIGN.md | design → figma-generate-library → figma-generate-design | DESIGN.md, Ready Figma frames |
|
|
10
|
+
| Architecture | No GLOSSARY.md | grill-with-docs | GLOSSARY.md, ADRs |
|
|
11
|
+
| Plan | A flow or feature | setup-matt-pocock-skills → to-spec → to-tickets | specs, tickets |
|
|
12
|
+
| Build | Tickets | implement-spec → design-check → pr | one PR per spec |
|
|
6
13
|
|
|
7
|
-
|
|
14
|
+
Each stage offers the next; start it on yes. A skill you can't load: they type /<name>. No UI: skip Direction and Design. A feature with a brief: grill-with-docs for new terms, else grilling, then Plan.
|
|
8
15
|
|
|
9
|
-
|
|
10
|
-
- A diff: ponytail-review. Read it like someone who gets paged.
|
|
11
|
-
- The whole repo: ponytail-audit. That same pass, over every file.
|
|
12
|
-
- Shortcuts you meant to come back to: ponytail-debt. Collect the limits you marked.
|
|
13
|
-
- 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. A feature goes on to to-spec, then to-tickets.
|
|
14
|
-
- Stress-testing a plan, decision, or idea: grilling. The interview primitive behind grill-me. Relentless questions until branches are closed.
|
|
15
|
-
- Before to-spec or to-tickets in a repo with no tracker set up: setup-matt-pocock-skills. Once per repo. Picks where specs and tickets live: GitHub Issues when the repo is on GitHub, else local markdown. Writes its `## Agent skills` block outside the longbeard markers.
|
|
16
|
-
- A grilled feature to write down whole: to-spec. One spec on the tracker setup chose: problem, user stories, decisions, test seams, out of scope. No tracker set up yet: run setup-matt-pocock-skills first. A small feature can skip it and go to to-tickets.
|
|
17
|
-
- A spec, plan, or conversation to split into tickets: to-tickets. Vertical slices, each checkable on its own, with their blockers, on the tracker setup chose. No tracker set up yet: run setup-matt-pocock-skills first.
|
|
18
|
-
- Building one ticket, or a spec in one session: implement. Read the ticket from the tracker, build it with tdd at the seams the spec agreed, then code-review, then commit.
|
|
19
|
-
- Building every ticket of a spec: implement-spec. One integration branch. A fresh agent per ticket in its own worktree, each with tdd, started as its blockers finish. code-review at the end.
|
|
20
|
-
- They asked for TDD, test-first, or red-green-refactor: tdd. Red before green, one slice at a time, tests at seams you agreed. implement and implement-spec call it. Otherwise only on request; ponytail stays the default for building.
|
|
21
|
-
- Reviewing work built from a spec or ticket: code-review. Two axes, in parallel: this repo's standards, and the spec. A plain diff stays ponytail-review.
|
|
22
|
-
- Something is broken, throwing, failing, or slow — a hard bug: diagnosing-bugs. Build a tight feedback loop first, then localize, reduce, fix, and guard.
|
|
23
|
-
- A throwaway prototype of logic or state: prototype. A page or screen goes to design-taste-frontend.
|
|
24
|
-
- Deepening modules or the shape of the code: improve-codebase-architecture. Uses codebase-design and domain-modeling. Bugs, load, and bloat across the repo stay ponytail-audit.
|
|
25
|
-
- Designing a module's interface: codebase-design. The shared vocabulary for deep modules that improve-codebase-architecture uses.
|
|
26
|
-
- Naming the project's terms or recording a decision: domain-modeling. Keeps `GLOSSARY.md` and ADRs current, created only when a term or decision is settled. improve-codebase-architecture calls it.
|
|
27
|
-
- They asked to hand off to another agent or session: handoff. Compact the conversation into a handoff document another agent can pick up.
|
|
28
|
-
- They asked for a retro on a session: retro. Find what would have made the session easier: checks, navigation pointers, review rules, tool cost. Uses writing-for-agents. Suggests; you choose.
|
|
29
|
-
- Writing a skill, AGENTS.md, or CLAUDE.md: writing-for-agents. The style guide retro uses.
|
|
30
|
-
- 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.
|
|
31
|
-
- No official look, or they asked to hunt / define direction / find references: design-reference-hunt. Does not code the page. Talk first, one round, then search small. Pick on `.design/moodboard.html`, say the adaptation, 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. Then offer the next step: prototype the gaps, hunt one, or stop. A later hunt for one piece writes `.design/hunts/<slug>/`. `.design/` is scratch, out of git.
|
|
32
|
-
- They asked to build, code, or prototype a page or screen: design-taste-frontend. With DESIGN.md it builds and checks; it does not art-direct: no draw, no dealt references, palette, or type. Else build from the `.design/board.md` cards. Run `inspect.mjs` (`--app` and its app-screen house rules for an app screen). Report a warning about something DESIGN.md decides as per DESIGN.md; contrast, focus, and tap-target failures still get fixed. Direction-only or hunt-only is not this skill. The control a card describes is the control; add no filled button it does not show.
|
|
33
|
-
- They asked to animate a control or a transition: animate. Read the Behaviour section of DESIGN.md first. A page design-taste-frontend is building keeps that skill’s motion. Decide this one move, then build it.
|
|
34
|
-
- A Figma file or link: figma-design-to-code. A designer handed it over. Needs the Figma connection. Reuse this project's components.
|
|
35
|
-
- A UI review you asked for: web-design-guidelines. Accessibility and interface rules.
|
|
36
|
-
- 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.
|
|
37
|
-
- 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 only on confirm: from the hunt's adaptation, or from decisions approved on a rendered prototype, with reason, date, and contrast. Ideas, not sources: no reference names or `.design/` paths. Do not invent. Missing file plus design or define direction is hunt first.
|
|
16
|
+
UI tickets link their Ready Figma frame. UI work follows DESIGN.md and that frame; a mismatch is a bug.
|
|
38
17
|
|
|
39
|
-
A
|
|
18
|
+
- A hard bug: diagnosing-bugs
|
|
19
|
+
- Test-first, when asked: tdd
|
|
20
|
+
- Handing off, when asked: handoff
|
|
21
|
+
- Before any use_figma call: figma-use
|
|
22
|
+
- A Figma link to build: figma-design-to-code
|
|
23
|
+
|
|
24
|
+
Add-ons, offered once when needed (`npx longbeard update --skill <name>`): animate (motion), jury (scored review), web-design-guidelines, security-audit, image-to-code (from a picture). At Architecture, a framework skill.
|
|
40
25
|
|
|
41
26
|
Write so a person can use the reply in one read. End with what you did not check.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,49 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Unreleased
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.11.0 — 2026-11-15
|
|
6
|
+
|
|
7
|
+
- `design-direction` calls itself the inspiration step, and its wording and the README's say so plainly.
|
|
8
|
+
- A project that joins with some stages done no longer gets sent back through them. The router starts Direction only when there is no `DESIGN.md`, and `idea` offers the first stage still to do.
|
|
9
|
+
- The router and our skills say to type a command like `/grill-with-docs` when the agent cannot start that skill itself, instead of promising to start it on yes.
|
|
10
|
+
- `idea` reads any file at the root that describes the product, keeps stack and architecture out of the brief, and asks what happens to a document that now covers the same ground.
|
|
11
|
+
- `design` checks and marks a screen Ready when a feature touches it, for projects whose frames were never marked. `design-check` reports a screen with no Ready frame as "not checked".
|
|
12
|
+
- The README says how to catch up a project you already have.
|
|
13
|
+
- Themes are Figma modes on one colour collection, and each screen is built once. `design` builds them that way, and `design-check` flags separate colour sets or a frame per theme, flags unbound colours as hard, and checks each theme. A screen with a copy per theme becomes one frame when a feature touches it.
|
|
14
|
+
- Frame names take a device when the layout differs: `<screen> · <device> — <state>`.
|
|
15
|
+
- Empty, loading and error are required only when a person can reach them. A state nobody can reach is recorded under Decisions in `DESIGN.md`, with the reason.
|
|
16
|
+
- `design-check` finds states by what a frame shows, so state names can be descriptive.
|
|
17
|
+
- When `init` or `update` cannot list a kit from GitHub, it says why: the network error (like `ENOTFOUND`), the HTTP status, a reply that is not JSON, or a kit with no skills. Before, a failed connection said only "Check the network".
|
|
18
|
+
- `design-direction` keeps Dribbble shots people valued, not just new ones. `dribbble-cards.mjs` sorts by likes, drops shots under 100 likes (`--min-likes` changes that), and prints each shot's designer. The skill ranks by likes rather than page order, compares likes between shots of a similar age, drops dated shots, and keeps at most one shot from a studio that posts near-identical concepts.
|
|
19
|
+
|
|
20
|
+
- `design-direction` lets you steer the look. It searches wide (40 to 80 candidates from every source you chose) and cuts only what is off-topic or below the source's quality floor, not for taste. The new `picker.mjs` shows that pool as one page where you mark each like or no and add why, then copy your picks into the chat. The agent reads back what your likes and noes share, runs one sharper second search from that (same designer, same tag, the same pattern on other sources), and builds the moodboard from your likes. What your noes share goes into `leave`. `dribbble-cards.mjs --picker` prints rows for it, and `sources.md` says where each source's cards keep their title, thumbnail and link. siteinspire is no longer ticked by default: it refuses scripted requests, so it cannot be in the picker.
|
|
21
|
+
- `init` asks which add-ons you want, in the same kind of list as the agents. `--all`, `--skill <name>` and the new `--no-addons` answer for you and skip the list. `update` never asks.
|
|
22
|
+
- New add-on: `modern-web-guidance`, from the Chrome team with Edge, Firefox and MDN. It steers HTML, CSS and client-side JS toward current browser APIs. It is ticked in the `init` list, and a first `init --yes` takes it. It looks each guide up with `npx`, so it needs the network; untick it, or pass `--no-addons`, if that does not suit the project. A project that already ran `init` takes it with `npx longbeard update --skill modern-web-guidance`; the agent does not offer this one.
|
|
23
|
+
|
|
24
|
+
## 0.10.0 — 2026-11-04
|
|
25
|
+
|
|
26
|
+
Long Beard is now a pipeline: Idea → Direction → Design → Architecture → Plan → Build. Each stage writes one file the next one reads (`docs/brief.md`, `design-exploration/<slug>/direction.md`, `DESIGN.md` and Ready Figma frames, `GLOSSARY.md`, specs and tickets, one PR per spec), and ends by offering the next. The `AGENTS.md` block is a stage table the agent reads to know where it is, under 200 words.
|
|
27
|
+
|
|
28
|
+
- New: `idea` grills an idea, or an existing repo, into a one-page `docs/brief.md`. `design` asks about colour and type, prototypes the brief's key screens in plain HTML, writes `DESIGN.md` in one go when you approve one, and builds the screens in Figma from it, with their empty, loading and error states. `design-check` checks a Figma screen, or a built one against its Ready frame, using the new design rules (`rules/design-rules.md`): hard findings block, soft ones are reported, and it never redesigns.
|
|
29
|
+
- `design-direction` replaces `design-reference-hunt`. It finds ideas and patterns, never colours or type, which are chosen in `design` on rendered screens. Cards are link, shot, pattern and why. It writes `design-exploration/<slug>/direction.md`, a proposal, instead of `.design/board.md`, and no longer asks to write `DESIGN.md`. Its sources are only ones that work without a login: Awwwards, siteinspire, Recent, Dark Mode Design, Dribbble, Muzli, and Wikimedia Commons. It brings back 12 references by default.
|
|
30
|
+
- `design` replaces `design-md`. An existing `DESIGN.md` stays official; `design` adds to it for a feature and never rewrites it without your yes.
|
|
31
|
+
- Matt Pocock's skills are a kit again: all 27, including `grill-with-docs` (Architecture) and `pr` (Build).
|
|
32
|
+
- Figma's `figma-use`, `figma-generate-library` and `figma-generate-design` join `figma-design-to-code`. Figma is required for a project with a UI.
|
|
33
|
+
- Gone: ponytail (all of it), `premortem`, `design-taste-frontend`, `design-md`, `design-reference-hunt`.
|
|
34
|
+
- `animate`, `jury` and `web-design-guidelines` are add-ons now, with `security-audit` and `image-to-code`. The agent offers one when it is needed. `init` and `update` take one with `--skill <name>`, or all with `--all`. An add-on you already have stays and keeps refreshing.
|
|
35
|
+
- `update` removes any skill the catalog or its kit no longer lists, not only kit skills. One you edited stays unless you pass `--force`.
|
|
36
|
+
- `capture.mjs` takes `--width` (below 768 it shoots a phone at 2x), `--cookie` for a page behind a login, and `--strict`, which exits 1 when the page lands at another address.
|
|
37
|
+
|
|
38
|
+
People who already ran `init`:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
npm install --save-dev @jonandev/longbeard@latest
|
|
42
|
+
npx longbeard update # installs the new skills, removes the dropped ones you did not edit
|
|
43
|
+
npx longbeard update --force # only if update listed dropped skills it kept because you edited them
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
`.design/` is no longer read. Keep it for your own reference or delete it; new explorations go to `design-exploration/`, which `design-direction` adds to `.gitignore`.
|
|
4
47
|
|
|
5
48
|
## 0.9.0 — 2026-10-30
|
|
6
49
|
|
package/README.md
CHANGED
|
@@ -1,111 +1,69 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
<img src="logo.png" alt="Long Beard" width="350">
|
|
3
3
|
<h1>Long Beard</h1>
|
|
4
|
-
<p><strong>Designs like an Art director. Codes like a
|
|
4
|
+
<p><strong>Designs like an Art director. Codes like a Senior Engineer.</strong></p>
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
A beard like this takes years: moving logos two pixels left, reviewing pull requests at midnight.
|
|
8
|
+
Your agent gets it on day one. It asks before it draws, and it draws before it codes.
|
|
9
9
|
|
|
10
|
-
Long Beard is a
|
|
11
|
-
|
|
12
|
-
Two commands: `init`, then later `update`.
|
|
10
|
+
Long Beard is a pipeline for the agents you already use — Cursor, Claude Code, and the rest.
|
|
11
|
+
You start with an idea in an empty folder. You end with reviewed pull requests built from a design you approved.
|
|
12
|
+
One block in `AGENTS.md` tells the agent which stage it is in. Two commands: `init`, then later `update`.
|
|
13
13
|
|
|
14
14
|
It is not an agent runtime.
|
|
15
15
|
It is not a marketplace.
|
|
16
16
|
It does not replace the commands you already use, or the skills you add yourself.
|
|
17
17
|
It is a base. You keep going from here.
|
|
18
18
|
|
|
19
|
+
## The pipeline
|
|
20
|
+
|
|
21
|
+
| Stage | What happens | You get |
|
|
22
|
+
|---|---|---|
|
|
23
|
+
| 1. Idea | The agent grills the idea in rounds, each question with its recommendation | `docs/brief.md`: one page, no tech choices |
|
|
24
|
+
| 2. Direction | Three questions about what you like, a wide search you mark like or no on a picker page, a sharper second search from your picks, then a moodboard | `design-exploration/<slug>/direction.md`: ideas and patterns, not colours |
|
|
25
|
+
| 3. Design | Questions on colour and type, then two or three prototypes of the key screens; you pick and iterate | `DESIGN.md` on your yes, then the screens in Figma, checked and marked Ready |
|
|
26
|
+
| 4. Architecture | The stack and the words the product uses | `GLOSSARY.md`, decisions |
|
|
27
|
+
| 5. Plan | Each flow becomes a spec, each spec vertical-slice tickets | specs and tickets on GitHub Issues or local files |
|
|
28
|
+
| 6. Build | One agent per ticket, test-first, reviewed, then checked against its Figma frame | one pull request per spec; you merge |
|
|
29
|
+
|
|
30
|
+
Each stage writes a file the next one reads, so you can stop anywhere and pick up later, or join with a project that already has some of them. A CLI, API or library skips Direction and Design. A later feature runs the same loop, smaller. Figma is required for a project with a UI.
|
|
31
|
+
|
|
19
32
|
## The kit
|
|
20
33
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<td>Long Beard</td>
|
|
46
|
-
</tr>
|
|
47
|
-
<tr>
|
|
48
|
-
<td><a href="https://github.com/figma/mcp-server-guide/tree/main/skills/figma-design-to-code">figma-design-to-code</a></td>
|
|
49
|
-
<td>Builds from a Figma file. Needs the Figma connection</td>
|
|
50
|
-
<td>Figma</td>
|
|
51
|
-
</tr>
|
|
52
|
-
<tr>
|
|
53
|
-
<td><a href="skills/design-reference-hunt/SKILL.md">design-reference-hunt</a></td>
|
|
54
|
-
<td>Finds references and proposes a direction. Does not code</td>
|
|
55
|
-
<td>Long Beard</td>
|
|
56
|
-
</tr>
|
|
57
|
-
<tr>
|
|
58
|
-
<td><a href="https://github.com/Leonxlnx/taste-skill">design-taste-frontend</a></td>
|
|
59
|
-
<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>
|
|
60
|
-
<td>Leonxlnx</td>
|
|
61
|
-
</tr>
|
|
62
|
-
<tr>
|
|
63
|
-
<td><a href="https://github.com/emilkowalski/skills/tree/main/skills/animate">animate</a></td>
|
|
64
|
-
<td>Builds one control or transition you asked to animate</td>
|
|
65
|
-
<td>emilkowalski</td>
|
|
66
|
-
</tr>
|
|
67
|
-
<tr>
|
|
68
|
-
<td><a href="https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines">web-design-guidelines</a></td>
|
|
69
|
-
<td>Reviews UI and accessibility when you ask. Does not redesign</td>
|
|
70
|
-
<td>Vercel</td>
|
|
71
|
-
</tr>
|
|
72
|
-
<tr>
|
|
73
|
-
<td><a href="https://github.com/juliobsz/skills/tree/main/jury">jury</a></td>
|
|
74
|
-
<td>Scores a live or local build when you ask. Does not redesign</td>
|
|
75
|
-
<td>juliobsz</td>
|
|
76
|
-
</tr>
|
|
77
|
-
<tr>
|
|
78
|
-
<td rowspan="2">Code</td>
|
|
79
|
-
<td><a href="https://github.com/joetawil7/first-pass/tree/main/skills/premortem">premortem</a></td>
|
|
80
|
-
<td>Names where a change will break before you write</td>
|
|
81
|
-
<td>GeorgeT</td>
|
|
82
|
-
</tr>
|
|
83
|
-
<tr>
|
|
84
|
-
<td><a href="https://github.com/DietrichGebert/ponytail">ponytail</a></td>
|
|
85
|
-
<td>Kit: every skill he publishes. Smallest change that finishes the job, plus review, audit, and debt</td>
|
|
86
|
-
<td>DietrichGebert</td>
|
|
87
|
-
</tr>
|
|
88
|
-
<tr>
|
|
89
|
-
<td rowspan="2">Optional</td>
|
|
90
|
-
<td><a href="https://github.com/Leonxlnx/imagegen-skills/tree/main/skills/image-to-code">image-to-code</a></td>
|
|
91
|
-
<td>With <code>--all</code>. Builds a page from a picture you have</td>
|
|
92
|
-
<td>Leonxlnx</td>
|
|
93
|
-
</tr>
|
|
94
|
-
<tr>
|
|
95
|
-
<td><a href="https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit">security-audit</a></td>
|
|
96
|
-
<td>With <code>--all</code>. Reviews a trust boundary when you ask</td>
|
|
97
|
-
<td>Cloudflare</td>
|
|
98
|
-
</tr>
|
|
99
|
-
</tbody>
|
|
100
|
-
</table>
|
|
101
|
-
|
|
102
|
-
A kit is an author's whole flow, taken as they publish it: the skills in their plugin manifest, else every folder in their `skills/`. Ponytail is one. `update` installs a skill they add and removes one they retire, unless you edited it. Where an author publishes more than this kit needs, the catalog takes single skills instead, as with Matt Pocock's. The router in `AGENTS.md` only says which flow a plain ask goes to where two overlap; inside a flow, its own steps win. To leave one kit skill out, `npx longbeard remove <name>`.
|
|
34
|
+
Four skills are written here, in [`skills/`](skills/). `init` copies them from this package. The others are installed from the originals their authors publish, and `update` pulls a fresh copy of those.
|
|
35
|
+
|
|
36
|
+
| Skill | What it is for | Author |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| [idea](skills/idea/SKILL.md) | Grills an idea, or an existing repo, into `docs/brief.md` | Long Beard |
|
|
39
|
+
| [design-direction](skills/design-direction/SKILL.md) | Finds references from what you like and proposes a direction. Never picks colours or type | Long Beard |
|
|
40
|
+
| [design](skills/design/SKILL.md) | Prototypes the key screens, writes `DESIGN.md` on approval, builds the screens in Figma | Long Beard |
|
|
41
|
+
| [design-check](skills/design-check/SKILL.md) | Checks a Figma screen or a built one against the design rules and its Ready frame. Reports; does not redesign | Long Beard |
|
|
42
|
+
| [Matt Pocock's skills](https://github.com/mattpocock/skills) | Kit: every skill he publishes. Grilling, specs, tickets, test-first building, code review, pull requests, bug diagnosis, handoff | Matt Pocock |
|
|
43
|
+
| [figma-use](https://github.com/figma/mcp-server-guide/tree/main/skills/figma-use), [figma-generate-library](https://github.com/figma/mcp-server-guide/tree/main/skills/figma-generate-library), [figma-generate-design](https://github.com/figma/mcp-server-guide/tree/main/skills/figma-generate-design) | How `design` writes tokens, components and screens in Figma | Figma |
|
|
44
|
+
| [figma-design-to-code](https://github.com/figma/mcp-server-guide/tree/main/skills/figma-design-to-code) | Builds from a Figma file a designer handed over | Figma |
|
|
45
|
+
|
|
46
|
+
Add-ons are your choice. In a terminal, `init` lists them and you tick the ones you want; `modern-web-guidance` starts ticked, the rest start empty. Later the agent offers one when it is needed; take it with `npx longbeard update --skill <name>`, or all of them with `--all`.
|
|
47
|
+
|
|
48
|
+
| Add-on | What it is for | Author |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| [animate](https://github.com/emilkowalski/skills/tree/main/skills/animate) | One control or transition you asked to animate | emilkowalski |
|
|
51
|
+
| [jury](https://github.com/juliobsz/skills/tree/main/jury) | Scores a live or local build when you ask. Does not redesign | juliobsz |
|
|
52
|
+
| [web-design-guidelines](https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines) | Reviews UI and accessibility when you ask | Vercel |
|
|
53
|
+
| [modern-web-guidance](https://github.com/GoogleChrome/modern-web-guidance/tree/main/skills/modern-web-guidance) | Current browser APIs instead of legacy patterns when writing HTML, CSS or client-side JS. Ticked at `init`. It looks each guide up with `npx`, so it needs the network | Google Chrome |
|
|
54
|
+
| [security-audit](https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit) | Reviews a trust boundary when you ask | Cloudflare |
|
|
55
|
+
| [image-to-code](https://github.com/Leonxlnx/imagegen-skills/tree/main/skills/image-to-code) | Builds a page from a picture you have | Leonxlnx |
|
|
56
|
+
|
|
57
|
+
A kit is an author's whole flow, taken as they publish it: the skills in their plugin manifest, else every folder in their `skills/`. `update` installs a skill they add and removes one they retire, unless you edited it. Inside a kit's flow, its own steps win. To leave one kit skill out, `npx longbeard remove <name>`.
|
|
103
58
|
|
|
104
59
|
A skill for one stack belongs in the project that uses that stack. The list `init` installs is [`beard.json`](beard.json). A skill written here stays in this repository. Do not copy `beard.json` into your project. That would fork the kit.
|
|
105
60
|
|
|
106
|
-
|
|
61
|
+
`design-exploration/` is your working folder for inspiration, moodboards and prototypes. It stays on your machine, out of git. `DESIGN.md` is the result you keep.
|
|
107
62
|
|
|
108
|
-
|
|
63
|
+
## You need
|
|
64
|
+
|
|
65
|
+
- Node 22 or newer, and Chrome, for the screenshots `design-direction`, `design` and `design-check` take.
|
|
66
|
+
- The Figma connection in your agent, for a project with a UI.
|
|
109
67
|
|
|
110
68
|
## Install
|
|
111
69
|
|
|
@@ -116,7 +74,25 @@ npm install --save-dev @jonandev/longbeard
|
|
|
116
74
|
npx longbeard init
|
|
117
75
|
```
|
|
118
76
|
|
|
119
|
-
`init` installs the list, writes the `AGENTS.md` block, and records it in `beard-lock.json`. In a terminal it asks which agents. When it cannot ask, it installs for Cursor and Claude Code. `--yes` skips the question. `--agent cursor` sets them (repeat it to add another). `--global` installs for every project on this machine. `--all` includes the
|
|
77
|
+
`init` installs the list, writes the `AGENTS.md` block, and records it in `beard-lock.json`. In a terminal it asks which agents. When it cannot ask, it installs for Cursor and Claude Code. `--yes` skips the question. `--agent cursor` sets them (repeat it to add another). `--global` installs for every project on this machine. It then asks which add-ons. When it cannot ask, or with `--yes`, a first `init` takes the ticked ones. `--all` includes every add-on, `--skill <name>` takes one, and `--no-addons` takes none; each skips the list. An add-on you turn down at `init` is not offered again; take it later with `npx longbeard update --skill <name>`.
|
|
78
|
+
|
|
79
|
+
## Start
|
|
80
|
+
|
|
81
|
+
Open your agent in the project and say what you want to make:
|
|
82
|
+
|
|
83
|
+
> I want to build a shared shopping list for flatmates.
|
|
84
|
+
|
|
85
|
+
It reads `AGENTS.md`, sees there is no brief, and starts at Idea. Each stage ends by offering the next, and nothing moves on without your yes. A few steps start only when you type them, such as `/grill-with-docs` and `/to-spec`. The agent tells you when.
|
|
86
|
+
|
|
87
|
+
### A project you already have
|
|
88
|
+
|
|
89
|
+
Ask for a brief:
|
|
90
|
+
|
|
91
|
+
> Catch this project up to the pipeline. Draft the brief from what is here and skip the stages it already has.
|
|
92
|
+
|
|
93
|
+
The agent drafts `docs/brief.md` from your documents and code, asks only about the gaps, and asks what happens to any document that now says the same thing. A stage whose file exists is done: with a `DESIGN.md`, it goes past Direction and Design.
|
|
94
|
+
|
|
95
|
+
Then type `/grill-with-docs`, and say what already names things in your project and where your decisions live, if that is not `docs/adr/`. Screens you already have in Figma are marked Ready one at a time, when a feature touches them.
|
|
120
96
|
|
|
121
97
|
## Update
|
|
122
98
|
|
|
@@ -124,7 +100,7 @@ npx longbeard init
|
|
|
124
100
|
npx longbeard update
|
|
125
101
|
```
|
|
126
102
|
|
|
127
|
-
That uses the Long Beard already installed. It adds skills that are new in that copy, rewrites the `AGENTS.md` block, and refreshes skills this command installed. Skills written by other people are refreshed from their repositories. The skills in this repository stay with the version you installed.
|
|
103
|
+
That uses the Long Beard already installed. It adds skills that are new in that copy, removes ones the kit dropped, rewrites the `AGENTS.md` block, and refreshes skills this command installed. Skills written by other people are refreshed from their repositories. The skills in this repository stay with the version you installed.
|
|
128
104
|
A skill you edited stays, unless you pass `--force`. Skills you installed on your own are left alone.
|
|
129
105
|
|
|
130
106
|
To take a newer Long Beard, install it, then update:
|
|
@@ -141,7 +117,7 @@ npx longbeard update
|
|
|
141
117
|
Skip one:
|
|
142
118
|
|
|
143
119
|
```bash
|
|
144
|
-
npx longbeard remove
|
|
120
|
+
npx longbeard remove wayfinder
|
|
145
121
|
```
|
|
146
122
|
|
|
147
123
|
Add one:
|