@jonandev/longbeard 0.8.0 → 0.9.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 +14 -5
- package/CHANGELOG.md +6 -0
- package/README.md +2 -2
- package/beard.json +132 -45
- package/bin/long-beard.js +9 -8
- package/package.json +1 -1
package/AGENTS.md
CHANGED
|
@@ -10,14 +10,23 @@ A marketing site is the page a person lands on to understand or choose. An appli
|
|
|
10
10
|
- A diff: ponytail-review. Read it like someone who gets paged.
|
|
11
11
|
- The whole repo: ponytail-audit. That same pass, over every file.
|
|
12
12
|
- Shortcuts you meant to come back to: ponytail-debt. Collect the limits you marked.
|
|
13
|
-
-
|
|
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.
|
|
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.
|
|
16
14
|
- Stress-testing a plan, decision, or idea: grilling. The interview primitive behind grill-me. Relentless questions until branches are closed.
|
|
17
|
-
-
|
|
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.
|
|
18
23
|
- 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.
|
|
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.
|
|
20
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.
|
|
21
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.
|
|
22
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.
|
|
23
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.
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.9.0 — 2026-10-30
|
|
6
|
+
|
|
7
|
+
- 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.
|
|
8
|
+
- `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.
|
|
9
|
+
- `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.
|
|
10
|
+
|
|
5
11
|
## 0.8.0 — 2026-10-30
|
|
6
12
|
|
|
7
13
|
- Ponytail and Matt Pocock's skills are kits: every skill each author publishes, not a handful picked here. That adds Matt's spec flow (`setup-matt-pocock-skills`, `to-spec`, `to-tickets`, `implement`, `implement-spec`) and the rest of his published set, and ponytail's `ponytail-gain` and `ponytail-help`. A kit follows its author: `update` installs a skill they add and removes one they stop publishing, unless you edited it. The router only says which flow a plain ask goes to where they overlap, and leaves the steps inside a flow alone. `npx longbeard remove <name>` leaves one kit skill out. People who already ran `init`: install this version, then run `npx longbeard update`; the Matt and ponytail skills you have join their kits.
|
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Writing stays small. A risky change is named before it is built. Design directio
|
|
|
35
35
|
<tr>
|
|
36
36
|
<td>Plan</td>
|
|
37
37
|
<td><a href="https://github.com/mattpocock/skills">mattpocock-skills</a></td>
|
|
38
|
-
<td>
|
|
38
|
+
<td>A picked set, not his whole repo. Grill a feature, write it as a spec, split it into vertical-slice tickets on GitHub Issues or local files, build each test-first, then review against the spec. Run <code>/setup-matt-pocock-skills</code> once per repo first. Also diagnosing-bugs, prototype, improve-codebase-architecture, handoff, retro. Most run only when you type their command</td>
|
|
39
39
|
<td>Matt Pocock</td>
|
|
40
40
|
</tr>
|
|
41
41
|
<tr>
|
|
@@ -99,7 +99,7 @@ Writing stays small. A risky change is named before it is built. Design directio
|
|
|
99
99
|
</tbody>
|
|
100
100
|
</table>
|
|
101
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>`.
|
|
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>`.
|
|
103
103
|
|
|
104
104
|
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
105
|
|
package/beard.json
CHANGED
|
@@ -34,53 +34,140 @@
|
|
|
34
34
|
]
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
|
-
"name": "
|
|
38
|
-
"kit": true,
|
|
37
|
+
"name": "grill-me",
|
|
39
38
|
"author": "Matt Pocock",
|
|
40
39
|
"license": "MIT",
|
|
41
|
-
"source": "https://github.com/mattpocock/skills",
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
40
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/productivity/grill-me",
|
|
41
|
+
"when": "They asked to grill a plan or design, or the ask is underspecified",
|
|
42
|
+
"why": "Interview until every branch of the design tree is resolved. Uses grilling. A feature goes on to to-spec, then to-tickets."
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "grilling",
|
|
46
|
+
"author": "Matt Pocock",
|
|
47
|
+
"license": "MIT",
|
|
48
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/productivity/grilling",
|
|
49
|
+
"when": "Stress-testing a plan, decision, or idea",
|
|
50
|
+
"why": "The interview primitive behind grill-me. Relentless questions until branches are closed."
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "setup-matt-pocock-skills",
|
|
54
|
+
"author": "Matt Pocock",
|
|
55
|
+
"license": "MIT",
|
|
56
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/setup-matt-pocock-skills",
|
|
57
|
+
"when": "Before to-spec or to-tickets in a repo with no tracker set up",
|
|
58
|
+
"why": "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."
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "to-spec",
|
|
62
|
+
"author": "Matt Pocock",
|
|
63
|
+
"license": "MIT",
|
|
64
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/to-spec",
|
|
65
|
+
"when": "A grilled feature to write down whole",
|
|
66
|
+
"why": "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."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "to-tickets",
|
|
70
|
+
"author": "Matt Pocock",
|
|
71
|
+
"license": "MIT",
|
|
72
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/to-tickets",
|
|
73
|
+
"when": "A spec, plan, or conversation to split into tickets",
|
|
74
|
+
"why": "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."
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "implement",
|
|
78
|
+
"author": "Matt Pocock",
|
|
79
|
+
"license": "MIT",
|
|
80
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/implement",
|
|
81
|
+
"when": "Building one ticket, or a spec in one session",
|
|
82
|
+
"why": "Read the ticket from the tracker, build it with tdd at the seams the spec agreed, then code-review, then commit."
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "implement-spec",
|
|
86
|
+
"author": "Matt Pocock",
|
|
87
|
+
"license": "MIT",
|
|
88
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/implement-spec",
|
|
89
|
+
"when": "Building every ticket of a spec",
|
|
90
|
+
"why": "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."
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "tdd",
|
|
94
|
+
"author": "Matt Pocock",
|
|
95
|
+
"license": "MIT",
|
|
96
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/tdd",
|
|
97
|
+
"when": "They asked for TDD, test-first, or red-green-refactor",
|
|
98
|
+
"why": "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."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "code-review",
|
|
102
|
+
"author": "Matt Pocock",
|
|
103
|
+
"license": "MIT",
|
|
104
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/code-review",
|
|
105
|
+
"when": "Reviewing work built from a spec or ticket",
|
|
106
|
+
"why": "Two axes, in parallel: this repo's standards, and the spec. A plain diff stays ponytail-review."
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "diagnosing-bugs",
|
|
110
|
+
"author": "Matt Pocock",
|
|
111
|
+
"license": "MIT",
|
|
112
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/diagnosing-bugs",
|
|
113
|
+
"when": "Something is broken, throwing, failing, or slow — a hard bug",
|
|
114
|
+
"why": "Build a tight feedback loop first, then localize, reduce, fix, and guard."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "prototype",
|
|
118
|
+
"author": "Matt Pocock",
|
|
119
|
+
"license": "MIT",
|
|
120
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/prototype",
|
|
121
|
+
"when": "A throwaway prototype of logic or state",
|
|
122
|
+
"why": "A page or screen goes to design-taste-frontend."
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "improve-codebase-architecture",
|
|
126
|
+
"author": "Matt Pocock",
|
|
127
|
+
"license": "MIT",
|
|
128
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/improve-codebase-architecture",
|
|
129
|
+
"when": "Deepening modules or the shape of the code",
|
|
130
|
+
"why": "Uses codebase-design and domain-modeling. Bugs, load, and bloat across the repo stay ponytail-audit."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "codebase-design",
|
|
134
|
+
"author": "Matt Pocock",
|
|
135
|
+
"license": "MIT",
|
|
136
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/codebase-design",
|
|
137
|
+
"when": "Designing a module's interface",
|
|
138
|
+
"why": "The shared vocabulary for deep modules that improve-codebase-architecture uses."
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "domain-modeling",
|
|
142
|
+
"author": "Matt Pocock",
|
|
143
|
+
"license": "MIT",
|
|
144
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/domain-modeling",
|
|
145
|
+
"when": "Naming the project's terms or recording a decision",
|
|
146
|
+
"why": "Keeps `GLOSSARY.md` and ADRs current, created only when a term or decision is settled. improve-codebase-architecture calls it."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "handoff",
|
|
150
|
+
"author": "Matt Pocock",
|
|
151
|
+
"license": "MIT",
|
|
152
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/productivity/handoff",
|
|
153
|
+
"when": "They asked to hand off to another agent or session",
|
|
154
|
+
"why": "Compact the conversation into a handoff document another agent can pick up."
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "retro",
|
|
158
|
+
"author": "Matt Pocock",
|
|
159
|
+
"license": "MIT",
|
|
160
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/engineering/retro",
|
|
161
|
+
"when": "They asked for a retro on a session",
|
|
162
|
+
"why": "Find what would have made the session easier: checks, navigation pointers, review rules, tool cost. Uses writing-for-agents. Suggests; you choose."
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "writing-for-agents",
|
|
166
|
+
"author": "Matt Pocock",
|
|
167
|
+
"license": "MIT",
|
|
168
|
+
"source": "https://github.com/mattpocock/skills/tree/main/skills/productivity/writing-for-agents",
|
|
169
|
+
"when": "Writing a skill, AGENTS.md, or CLAUDE.md",
|
|
170
|
+
"why": "The style guide retro uses."
|
|
84
171
|
},
|
|
85
172
|
{
|
|
86
173
|
"name": "premortem",
|
package/bin/long-beard.js
CHANGED
|
@@ -45,7 +45,7 @@ The catalog is beard.json. The command is longbeard, via npx in the project.
|
|
|
45
45
|
init installs missing skills from beard.json. A skill already present for an agent is left there.
|
|
46
46
|
update installs anything new, refreshes only items in beard-lock.json, and rewrites the AGENTS.md block.
|
|
47
47
|
A skill written here is copied from the installed package when its version moved, and the line says which versions.
|
|
48
|
-
A kit (ponytail
|
|
48
|
+
A kit (ponytail) is every skill its author publishes. update adds new ones and removes retired ones you did not edit, and a kit's skills when the catalog drops it.
|
|
49
49
|
Install the package first (npm install -D @jonandev/longbeard@latest); update does not fetch it.
|
|
50
50
|
add in a project writes beard.local.json (an extra, not a second kit). remove omits a kit skill here.
|
|
51
51
|
--agent skips the agent list and installs for that tool. Repeat it.
|
|
@@ -737,21 +737,22 @@ async function update(flags) {
|
|
|
737
737
|
const skills = await expandKits(picked.skills, extra.omit);
|
|
738
738
|
const classified = classify(skills, agents, flags);
|
|
739
739
|
classified.later = later;
|
|
740
|
-
// A skill
|
|
741
|
-
|
|
740
|
+
// A kit skill nothing lists any more leaves, unless you edited it: the author
|
|
741
|
+
// stopped publishing it, or the catalog dropped the kit.
|
|
742
742
|
const listed = new Set(skills.map((skill) => skill.name));
|
|
743
743
|
const retired = Object.entries(classified.lock.skills)
|
|
744
|
-
.filter(([name, entry]) =>
|
|
744
|
+
.filter(([name, entry]) => entry.kit && !listed.has(name) && !extra.omit.includes(name))
|
|
745
745
|
.map(([name, entry]) => ({ name, author: entry.author, edited: locallyEdited(name, entry, agents, flags.global) }));
|
|
746
746
|
const drop = retired.filter((skill) => !skill.edited);
|
|
747
747
|
plan("update", flags, agents, classified);
|
|
748
|
-
rows("retired", yellow, drop, "
|
|
749
|
-
rows("retired, kept", yellow, retired.filter((skill) => skill.edited), "
|
|
748
|
+
rows("retired", yellow, drop, "No longer in its kit or the catalog. Removed.", nameWidth([retired]));
|
|
749
|
+
rows("retired, kept", yellow, retired.filter((skill) => skill.edited), "No longer in its kit or the catalog. Kept because you edited it.", nameWidth([retired]));
|
|
750
750
|
confirmWrite(flags, classified.writes);
|
|
751
751
|
if (drop.length > 0) {
|
|
752
|
+
// No --agent: with one, the skills CLI unlinks Claude Code but leaves the
|
|
753
|
+
// shared .agents/skills folder that Cursor reads.
|
|
752
754
|
const args = ["remove", ...drop.map((skill) => skill.name), "-y"];
|
|
753
755
|
if (flags.global) args.push("--global");
|
|
754
|
-
for (const agent of agents) args.push("--agent", agent);
|
|
755
756
|
runSkills(args);
|
|
756
757
|
for (const skill of drop) delete classified.lock.skills[skill.name];
|
|
757
758
|
}
|
|
@@ -882,9 +883,9 @@ function remove(flags, rest) {
|
|
|
882
883
|
rows("remove", yellow, names.map((name) => ({ name })), shared.has(names[0]) ? "Omitted here. Still in the shared catalog." : "This project only.", 16);
|
|
883
884
|
if (ours.length > 0) {
|
|
884
885
|
say(dim("Removing…"));
|
|
886
|
+
// No --agent, as in update: it would leave the shared .agents/skills folder.
|
|
885
887
|
const args = ["remove", ...ours, "-y"];
|
|
886
888
|
if (flags.global) args.push("--global");
|
|
887
|
-
for (const agent of agents) args.push("--agent", agent);
|
|
888
889
|
runSkills(args);
|
|
889
890
|
for (const name of ours) delete lock.skills[name];
|
|
890
891
|
writeLock(flags, lock);
|