@jonandev/longbeard 0.8.0 → 0.10.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 -24
- package/CHANGELOG.md +31 -1
- package/README.md +55 -90
- package/beard.json +133 -107
- package/bin/long-beard.js +57 -24
- package/package.json +3 -2
- package/skills/design/SKILL.md +135 -0
- package/skills/design/references/design-md-template.md +57 -0
- package/skills/design/references/design-rules.md +188 -0
- package/skills/design/scripts/capture.mjs +489 -0
- package/skills/design/scripts/contrast.mjs +27 -0
- package/skills/design-check/SKILL.md +78 -0
- package/skills/design-check/references/design-rules.md +188 -0
- package/skills/{design-reference-hunt → design-check}/scripts/capture.mjs +65 -13
- package/skills/design-direction/SKILL.md +157 -0
- package/skills/{design-reference-hunt → design-direction}/references/sources.md +7 -14
- 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/moodboard.mjs +7 -9
- package/skills/idea/SKILL.md +103 -0
- package/skills/design-md/SKILL.md +0 -100
- package/skills/design-reference-hunt/SKILL.md +0 -177
- /package/skills/{design-reference-hunt → design-check}/scripts/contrast.mjs +0 -0
- /package/skills/{design-reference-hunt → design-direction}/scripts/dribbble-cards.mjs +0 -0
package/AGENTS.md
CHANGED
|
@@ -1,32 +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 | 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 yet | grill-with-docs | GLOSSARY.md, ADRs |
|
|
11
|
+
| Plan | A flow or feature to build | 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. 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
|
-
- Something is broken, throwing, failing, or slow — a hard bug: diagnosing-bugs. Build a tight feedback loop first, then localize, reduce, fix, and guard.
|
|
14
|
-
- They asked for TDD, test-first, or red-green-refactor: tdd. Red before green, one slice at a time, tests at seams you agreed. Only on request; ponytail stays the default for building.
|
|
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
|
-
- Stress-testing a plan, decision, or idea: grilling. The interview primitive behind grill-me. Relentless questions until branches are closed.
|
|
17
|
-
- They want an idea built through a spec and tickets: Matt Pocock's flow. In his order: grill-with-docs, to-spec, to-tickets, then implement per ticket or implement-spec for all of them. setup-matt-pocock-skills runs once first and picks the tracker (GitHub Issues or local files). Inside the flow its own steps win: implement calls tdd and code-review; do not swap in ponytail-review. ask-matt names the next step.
|
|
18
|
-
- A throwaway prototype of logic or state: prototype. A page or screen goes to design-taste-frontend.
|
|
19
|
-
- Deepening modules or the shape of the code: improve-codebase-architecture. Bugs, load, and bloat across the repo stay ponytail-audit.
|
|
20
|
-
- They asked to hand off to another agent or session: handoff. Compact the conversation into a handoff document another agent can pick up.
|
|
21
|
-
- 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.
|
|
22
|
-
- 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.
|
|
23
|
-
- 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.
|
|
24
|
-
- 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.
|
|
25
|
-
- A Figma file or link: figma-design-to-code. A designer handed it over. Needs the Figma connection. Reuse this project's components.
|
|
26
|
-
- A UI review you asked for: web-design-guidelines. Accessibility and interface rules.
|
|
27
|
-
- 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.
|
|
28
|
-
- 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 with the frame is a bug.
|
|
29
17
|
|
|
30
|
-
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.
|
|
31
25
|
|
|
32
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,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## Unreleased
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 0.10.0 — 2026-11-04
|
|
6
|
+
|
|
7
|
+
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.
|
|
8
|
+
|
|
9
|
+
- 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.
|
|
10
|
+
- `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.
|
|
11
|
+
- `design` replaces `design-md`. An existing `DESIGN.md` stays official; `design` adds to it for a feature and never rewrites it without your yes.
|
|
12
|
+
- Matt Pocock's skills are a kit again: all 27, including `grill-with-docs` (Architecture) and `pr` (Build).
|
|
13
|
+
- 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.
|
|
14
|
+
- Gone: ponytail (all of it), `premortem`, `design-taste-frontend`, `design-md`, `design-reference-hunt`.
|
|
15
|
+
- `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.
|
|
16
|
+
- `update` removes any skill the catalog or its kit no longer lists, not only kit skills. One you edited stays unless you pass `--force`.
|
|
17
|
+
- `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.
|
|
18
|
+
|
|
19
|
+
People who already ran `init`:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install --save-dev @jonandev/longbeard@latest
|
|
23
|
+
npx longbeard update # installs the new skills, removes the dropped ones you did not edit
|
|
24
|
+
npx longbeard update --force # only if update listed dropped skills it kept because you edited them
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
`.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`.
|
|
28
|
+
|
|
29
|
+
## 0.9.0 — 2026-10-30
|
|
30
|
+
|
|
31
|
+
- Matt Pocock's skills are no longer a kit. The catalog takes 17 of his 27: `grill-me`, `grilling`, `setup-matt-pocock-skills`, `to-spec`, `to-tickets`, `implement`, `implement-spec`, `tdd`, `code-review`, `diagnosing-bugs`, `prototype`, `improve-codebase-architecture`, `codebase-design`, `domain-modeling`, `handoff`, `retro`, and `writing-for-agents`. The flow runs from a grilled feature to a spec, vertical-slice tickets with their blockers, each built test-first, and a review against the spec. Run `/setup-matt-pocock-skills` once per repo before the first `to-spec` or `to-tickets`: it picks GitHub Issues when the repo is on GitHub, or local markdown. `triage`, `wayfinder`, `teach`, `wizard`, `wait-what`, `to-questionnaire`, `pr`, `research`, `ask-matt`, and `grill-with-docs` are gone; `npx longbeard add` brings one back in a project. `retro` is new: ask for one after a session to find what would have made it easier.
|
|
32
|
+
- `update` and `remove` delete a skill's shared `.agents/skills` folder too. They used to unlink it from Claude Code only, so Cursor kept a skill you had removed.
|
|
33
|
+
- `update` removes a kit's skills when the catalog drops the kit, unless you edited them. People who already ran `init`: install this version, then run `npx longbeard update`; it removes the Matt Pocock skills not in the list above.
|
|
4
34
|
|
|
5
35
|
## 0.8.0 — 2026-10-30
|
|
6
36
|
|
package/README.md
CHANGED
|
@@ -7,105 +7,62 @@
|
|
|
7
7
|
You show him a ticket. He has been shipping longer than the ticket has existed.
|
|
8
8
|
He keeps a short kit, and he drops a piece the day it stops earning its place.
|
|
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 small search, a moodboard you pick from | `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
|
-
<td>Follows the project's <code>DESIGN.md</code>. Writes or updates it only when you confirm. Does not invent a look</td>
|
|
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/`. `update` installs a skill they add and removes one they retire, unless you edited it. 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 not installed by default. 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
|
+
| [security-audit](https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit) | Reviews a trust boundary when you ask | Cloudflare |
|
|
54
|
+
| [image-to-code](https://github.com/Leonxlnx/imagegen-skills/tree/main/skills/image-to-code) | Builds a page from a picture you have | Leonxlnx |
|
|
55
|
+
|
|
56
|
+
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
57
|
|
|
104
58
|
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
59
|
|
|
106
|
-
|
|
60
|
+
`design-exploration/` holds other people's screenshots, so `design-direction` keeps it out of git. `DESIGN.md` is the file you publish, and it names ideas, not the references.
|
|
61
|
+
|
|
62
|
+
## You need
|
|
107
63
|
|
|
108
|
-
|
|
64
|
+
- Node 22 or newer, and Chrome, for the screenshots `design-direction`, `design` and `design-check` take.
|
|
65
|
+
- The Figma connection in your agent, for a project with a UI.
|
|
109
66
|
|
|
110
67
|
## Install
|
|
111
68
|
|
|
@@ -116,7 +73,15 @@ npm install --save-dev @jonandev/longbeard
|
|
|
116
73
|
npx longbeard init
|
|
117
74
|
```
|
|
118
75
|
|
|
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
|
|
76
|
+
`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 every add-on; `--skill <name>` takes one.
|
|
77
|
+
|
|
78
|
+
## Start
|
|
79
|
+
|
|
80
|
+
Open your agent in the project and say what you want to make:
|
|
81
|
+
|
|
82
|
+
> I want to build a shared shopping list for flatmates.
|
|
83
|
+
|
|
84
|
+
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. In a project that already has code, ask for a brief: the agent drafts it from the repo and asks only about the gaps.
|
|
120
85
|
|
|
121
86
|
## Update
|
|
122
87
|
|
|
@@ -124,7 +89,7 @@ npx longbeard init
|
|
|
124
89
|
npx longbeard update
|
|
125
90
|
```
|
|
126
91
|
|
|
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.
|
|
92
|
+
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
93
|
A skill you edited stays, unless you pass `--force`. Skills you installed on your own are left alone.
|
|
129
94
|
|
|
130
95
|
To take a newer Long Beard, install it, then update:
|
|
@@ -141,7 +106,7 @@ npx longbeard update
|
|
|
141
106
|
Skip one:
|
|
142
107
|
|
|
143
108
|
```bash
|
|
144
|
-
npx longbeard remove
|
|
109
|
+
npx longbeard remove wayfinder
|
|
145
110
|
```
|
|
146
111
|
|
|
147
112
|
Add one:
|
package/beard.json
CHANGED
|
@@ -3,142 +3,164 @@
|
|
|
3
3
|
"cursor",
|
|
4
4
|
"claude-code"
|
|
5
5
|
],
|
|
6
|
+
"stages": [
|
|
7
|
+
{
|
|
8
|
+
"name": "Idea",
|
|
9
|
+
"when": "No docs/brief.md, or the product changes",
|
|
10
|
+
"skills": [
|
|
11
|
+
"idea"
|
|
12
|
+
],
|
|
13
|
+
"writes": "docs/brief.md"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Direction",
|
|
17
|
+
"when": "A brief with UI",
|
|
18
|
+
"skills": [
|
|
19
|
+
"design-direction"
|
|
20
|
+
],
|
|
21
|
+
"writes": "design-exploration/<slug>/direction.md"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Design",
|
|
25
|
+
"when": "A direction, no DESIGN.md",
|
|
26
|
+
"skills": [
|
|
27
|
+
"design",
|
|
28
|
+
"figma-generate-library",
|
|
29
|
+
"figma-generate-design"
|
|
30
|
+
],
|
|
31
|
+
"writes": "DESIGN.md, Ready Figma frames"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "Architecture",
|
|
35
|
+
"when": "No GLOSSARY.md yet",
|
|
36
|
+
"skills": [
|
|
37
|
+
"grill-with-docs"
|
|
38
|
+
],
|
|
39
|
+
"writes": "GLOSSARY.md, ADRs"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "Plan",
|
|
43
|
+
"when": "A flow or feature to build",
|
|
44
|
+
"skills": [
|
|
45
|
+
"setup-matt-pocock-skills",
|
|
46
|
+
"to-spec",
|
|
47
|
+
"to-tickets"
|
|
48
|
+
],
|
|
49
|
+
"writes": "specs, tickets"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "Build",
|
|
53
|
+
"when": "Tickets",
|
|
54
|
+
"skills": [
|
|
55
|
+
"implement-spec",
|
|
56
|
+
"design-check",
|
|
57
|
+
"pr"
|
|
58
|
+
],
|
|
59
|
+
"writes": "one PR per spec"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
6
62
|
"items": [
|
|
7
63
|
{
|
|
8
|
-
"name": "
|
|
9
|
-
"
|
|
10
|
-
"author": "DietrichGebert",
|
|
64
|
+
"name": "idea",
|
|
65
|
+
"author": "Long Beard",
|
|
11
66
|
"license": "MIT",
|
|
12
|
-
"source": "
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
"when": "Building or fixing",
|
|
16
|
-
"skill": "ponytail",
|
|
17
|
-
"why": "The smallest change that finishes the job. Leave validation, error handling, security, and accessibility in place."
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"when": "A diff",
|
|
21
|
-
"skill": "ponytail-review",
|
|
22
|
-
"why": "Read it like someone who gets paged."
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"when": "The whole repo",
|
|
26
|
-
"skill": "ponytail-audit",
|
|
27
|
-
"why": "That same pass, over every file."
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"when": "Shortcuts you meant to come back to",
|
|
31
|
-
"skill": "ponytail-debt",
|
|
32
|
-
"why": "Collect the limits you marked."
|
|
33
|
-
}
|
|
34
|
-
]
|
|
67
|
+
"source": "local",
|
|
68
|
+
"when": "An idea, or a repo with no docs/brief.md",
|
|
69
|
+
"why": "Grill it into docs/brief.md: problem, people, core flows, key screens, surface, v1, out of scope."
|
|
35
70
|
},
|
|
36
71
|
{
|
|
37
|
-
"name": "
|
|
72
|
+
"name": "design-direction",
|
|
73
|
+
"author": "Long Beard",
|
|
74
|
+
"license": "MIT",
|
|
75
|
+
"source": "local",
|
|
76
|
+
"when": "A brief with UI and no direction yet, or one piece to find",
|
|
77
|
+
"why": "References and patterns from what you like, picked on a moodboard. Writes design-exploration/<slug>/direction.md, a proposal."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "design",
|
|
81
|
+
"author": "Long Beard",
|
|
82
|
+
"license": "MIT",
|
|
83
|
+
"source": "local",
|
|
84
|
+
"when": "A direction to turn into screens",
|
|
85
|
+
"why": "Prototype the key screens, approve, write DESIGN.md, then build them in Figma."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "design-check",
|
|
89
|
+
"author": "Long Beard",
|
|
90
|
+
"license": "MIT",
|
|
91
|
+
"source": "local",
|
|
92
|
+
"when": "A Figma screen, or a built UI spec, to check",
|
|
93
|
+
"why": "Against the design rules and the Ready frame. Hard rules block; soft ones are reported."
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "matt-pocock",
|
|
38
97
|
"kit": true,
|
|
39
98
|
"author": "Matt Pocock",
|
|
40
99
|
"license": "MIT",
|
|
41
100
|
"source": "https://github.com/mattpocock/skills",
|
|
42
101
|
"routes": [
|
|
43
102
|
{
|
|
44
|
-
"when": "Something is broken, throwing, failing, or slow — a hard bug",
|
|
45
103
|
"skill": "diagnosing-bugs",
|
|
46
|
-
"
|
|
104
|
+
"when": "A hard bug"
|
|
47
105
|
},
|
|
48
106
|
{
|
|
49
|
-
"when": "They asked for TDD, test-first, or red-green-refactor",
|
|
50
107
|
"skill": "tdd",
|
|
51
|
-
"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"when": "They asked to grill a plan or design, or the ask is underspecified",
|
|
55
|
-
"skill": "grill-me",
|
|
56
|
-
"why": "Interview until every branch of the design tree is resolved. Uses grilling."
|
|
108
|
+
"when": "Test-first, when asked"
|
|
57
109
|
},
|
|
58
110
|
{
|
|
59
|
-
"when": "Stress-testing a plan, decision, or idea",
|
|
60
|
-
"skill": "grilling",
|
|
61
|
-
"why": "The interview primitive behind grill-me. Relentless questions until branches are closed."
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"when": "They want an idea built through a spec and tickets",
|
|
65
|
-
"skill": "Matt Pocock's flow",
|
|
66
|
-
"why": "In his order: grill-with-docs, to-spec, to-tickets, then implement per ticket or implement-spec for all of them. setup-matt-pocock-skills runs once first and picks the tracker (GitHub Issues or local files). Inside the flow its own steps win: implement calls tdd and code-review; do not swap in ponytail-review. ask-matt names the next step."
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"when": "A throwaway prototype of logic or state",
|
|
70
|
-
"skill": "prototype",
|
|
71
|
-
"why": "A page or screen goes to design-taste-frontend."
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"when": "Deepening modules or the shape of the code",
|
|
75
|
-
"skill": "improve-codebase-architecture",
|
|
76
|
-
"why": "Bugs, load, and bloat across the repo stay ponytail-audit."
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"when": "They asked to hand off to another agent or session",
|
|
80
111
|
"skill": "handoff",
|
|
81
|
-
"
|
|
112
|
+
"when": "Handing off, when asked"
|
|
82
113
|
}
|
|
83
114
|
]
|
|
84
115
|
},
|
|
85
116
|
{
|
|
86
|
-
"name": "
|
|
87
|
-
"author": "
|
|
88
|
-
"license": "
|
|
89
|
-
"source": "https://github.com/
|
|
90
|
-
"when": "
|
|
91
|
-
"why": "Name where it can break before you write. A small change gets a short answer."
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"name": "design-reference-hunt",
|
|
95
|
-
"author": "Long Beard",
|
|
96
|
-
"license": "MIT",
|
|
97
|
-
"source": "local",
|
|
98
|
-
"when": "No official look, or they asked to hunt / define direction / find references",
|
|
99
|
-
"why": "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."
|
|
117
|
+
"name": "figma-use",
|
|
118
|
+
"author": "Figma",
|
|
119
|
+
"license": "see repository",
|
|
120
|
+
"source": "https://github.com/figma/mcp-server-guide/tree/main/skills",
|
|
121
|
+
"when": "Before any use_figma call"
|
|
100
122
|
},
|
|
101
123
|
{
|
|
102
|
-
"name": "
|
|
103
|
-
"author": "
|
|
104
|
-
"license": "
|
|
105
|
-
"source": "https://github.com/
|
|
106
|
-
"when": "
|
|
107
|
-
"why": "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."
|
|
124
|
+
"name": "figma-generate-library",
|
|
125
|
+
"author": "Figma",
|
|
126
|
+
"license": "see repository",
|
|
127
|
+
"source": "https://github.com/figma/mcp-server-guide/tree/main/skills",
|
|
128
|
+
"when": "Figma tokens, styles, or components"
|
|
108
129
|
},
|
|
109
130
|
{
|
|
110
|
-
"name": "
|
|
111
|
-
"author": "
|
|
112
|
-
"license": "
|
|
113
|
-
"source": "https://github.com/
|
|
114
|
-
"when": "
|
|
115
|
-
"why": "
|
|
131
|
+
"name": "figma-generate-design",
|
|
132
|
+
"author": "Figma",
|
|
133
|
+
"license": "see repository",
|
|
134
|
+
"source": "https://github.com/figma/mcp-server-guide/tree/main/skills",
|
|
135
|
+
"when": "A screen in Figma",
|
|
136
|
+
"why": "From the file's components and tokens."
|
|
116
137
|
},
|
|
117
138
|
{
|
|
118
139
|
"name": "figma-design-to-code",
|
|
119
140
|
"author": "Figma",
|
|
120
141
|
"license": "see repository",
|
|
121
142
|
"source": "https://github.com/figma/mcp-server-guide/tree/main/skills",
|
|
122
|
-
"when": "A Figma
|
|
123
|
-
"why": "A designer handed it over. Needs the Figma connection. Reuse this project's components."
|
|
143
|
+
"when": "A Figma link to build"
|
|
124
144
|
},
|
|
125
145
|
{
|
|
126
|
-
"name": "
|
|
127
|
-
"author": "
|
|
146
|
+
"name": "animate",
|
|
147
|
+
"author": "emilkowalski",
|
|
128
148
|
"license": "MIT",
|
|
129
|
-
"source": "https://github.com/
|
|
149
|
+
"source": "https://github.com/emilkowalski/skills/tree/main/skills/animate",
|
|
150
|
+
"when": "They asked to animate a control or a transition",
|
|
151
|
+
"why": "Read DESIGN.md's decisions first. Decide this one move, then build it.",
|
|
130
152
|
"optional": true,
|
|
131
|
-
"
|
|
132
|
-
"why": "Build the page from that picture."
|
|
153
|
+
"hint": "motion"
|
|
133
154
|
},
|
|
134
155
|
{
|
|
135
|
-
"name": "
|
|
136
|
-
"author": "
|
|
156
|
+
"name": "jury",
|
|
157
|
+
"author": "juliobsz",
|
|
137
158
|
"license": "MIT",
|
|
138
|
-
"source": "https://github.com/
|
|
159
|
+
"source": "https://github.com/juliobsz/skills/tree/main/jury",
|
|
160
|
+
"when": "They asked to jury, score, judge, or roast the design (or a live URL / local build)",
|
|
161
|
+
"why": "Blind evidence scorecard. Do not redesign. Fixes go to DESIGN.md or Figma. Only when asked.",
|
|
139
162
|
"optional": true,
|
|
140
|
-
"
|
|
141
|
-
"why": "Look for a broken trust boundary. The full audit runs only when you ask for an audit or a pen-test."
|
|
163
|
+
"hint": "scored review"
|
|
142
164
|
},
|
|
143
165
|
{
|
|
144
166
|
"name": "web-design-guidelines",
|
|
@@ -146,23 +168,27 @@
|
|
|
146
168
|
"license": "see repository",
|
|
147
169
|
"source": "https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines",
|
|
148
170
|
"when": "A UI review you asked for",
|
|
149
|
-
"why": "Accessibility and interface rules."
|
|
171
|
+
"why": "Accessibility and interface rules.",
|
|
172
|
+
"optional": true
|
|
150
173
|
},
|
|
151
174
|
{
|
|
152
|
-
"name": "
|
|
153
|
-
"author": "
|
|
175
|
+
"name": "security-audit",
|
|
176
|
+
"author": "Cloudflare",
|
|
154
177
|
"license": "MIT",
|
|
155
|
-
"source": "https://github.com/
|
|
156
|
-
"when": "
|
|
157
|
-
"why": "
|
|
178
|
+
"source": "https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit",
|
|
179
|
+
"when": "A security review you asked for",
|
|
180
|
+
"why": "Look for a broken trust boundary. The full audit runs only when you ask for an audit or a pen-test.",
|
|
181
|
+
"optional": true
|
|
158
182
|
},
|
|
159
183
|
{
|
|
160
|
-
"name": "
|
|
161
|
-
"author": "
|
|
184
|
+
"name": "image-to-code",
|
|
185
|
+
"author": "Leonxlnx",
|
|
162
186
|
"license": "MIT",
|
|
163
|
-
"source": "
|
|
164
|
-
"when": "
|
|
165
|
-
"why": "
|
|
187
|
+
"source": "https://github.com/Leonxlnx/imagegen-skills",
|
|
188
|
+
"when": "A picture you already have",
|
|
189
|
+
"why": "Build the page from that picture.",
|
|
190
|
+
"optional": true,
|
|
191
|
+
"hint": "from a picture"
|
|
166
192
|
}
|
|
167
193
|
]
|
|
168
194
|
}
|