@jonandev/longbeard 0.9.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 -33
- package/CHANGELOG.md +25 -1
- package/README.md +55 -90
- package/beard.json +137 -198
- package/bin/long-beard.js +53 -21
- 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,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 | 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
|
-
- 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 with the frame 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,30 @@
|
|
|
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`.
|
|
4
28
|
|
|
5
29
|
## 0.9.0 — 2026-10-30
|
|
6
30
|
|
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/`. 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 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:
|