@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/beard.json CHANGED
@@ -3,229 +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, no DESIGN.md",
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",
36
+ "skills": [
37
+ "grill-with-docs"
38
+ ],
39
+ "writes": "GLOSSARY.md, ADRs"
40
+ },
41
+ {
42
+ "name": "Plan",
43
+ "when": "A flow or feature",
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": "ponytail",
9
- "kit": true,
10
- "author": "DietrichGebert",
11
- "license": "MIT",
12
- "source": "https://github.com/DietrichGebert/ponytail",
13
- "routes": [
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
- ]
35
- },
36
- {
37
- "name": "grill-me",
38
- "author": "Matt Pocock",
39
- "license": "MIT",
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",
64
+ "name": "idea",
65
+ "author": "Long Beard",
135
66
  "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."
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."
139
70
  },
140
71
  {
141
- "name": "domain-modeling",
142
- "author": "Matt Pocock",
72
+ "name": "design-direction",
73
+ "author": "Long Beard",
143
74
  "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."
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."
147
78
  },
148
79
  {
149
- "name": "handoff",
150
- "author": "Matt Pocock",
80
+ "name": "design",
81
+ "author": "Long Beard",
151
82
  "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."
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."
155
86
  },
156
87
  {
157
- "name": "retro",
158
- "author": "Matt Pocock",
88
+ "name": "design-check",
89
+ "author": "Long Beard",
159
90
  "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."
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."
163
94
  },
164
95
  {
165
- "name": "writing-for-agents",
96
+ "name": "matt-pocock",
97
+ "kit": true,
166
98
  "author": "Matt Pocock",
167
99
  "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."
171
- },
172
- {
173
- "name": "premortem",
174
- "author": "GeorgeT",
175
- "license": "MIT",
176
- "source": "https://github.com/joetawil7/first-pass/tree/main/skills",
177
- "when": "A change that touches data, money, jobs, or what a person sees",
178
- "why": "Name where it can break before you write. A small change gets a short answer."
100
+ "source": "https://github.com/mattpocock/skills",
101
+ "routes": [
102
+ {
103
+ "skill": "diagnosing-bugs",
104
+ "when": "A hard bug"
105
+ },
106
+ {
107
+ "skill": "tdd",
108
+ "when": "Test-first, when asked"
109
+ },
110
+ {
111
+ "skill": "handoff",
112
+ "when": "Handing off, when asked"
113
+ }
114
+ ]
179
115
  },
180
116
  {
181
- "name": "design-reference-hunt",
182
- "author": "Long Beard",
183
- "license": "MIT",
184
- "source": "local",
185
- "when": "No official look, or they asked to hunt / define direction / find references",
186
- "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"
187
122
  },
188
123
  {
189
- "name": "design-taste-frontend",
190
- "author": "Leonxlnx",
191
- "license": "MIT",
192
- "source": "https://github.com/Leonxlnx/taste-skill",
193
- "when": "They asked to build, code, or prototype a page or screen",
194
- "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"
195
129
  },
196
130
  {
197
- "name": "animate",
198
- "author": "emilkowalski",
199
- "license": "MIT",
200
- "source": "https://github.com/emilkowalski/skills/tree/main/skills/animate",
201
- "when": "They asked to animate a control or a transition",
202
- "why": "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."
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."
203
137
  },
204
138
  {
205
139
  "name": "figma-design-to-code",
206
140
  "author": "Figma",
207
141
  "license": "see repository",
208
142
  "source": "https://github.com/figma/mcp-server-guide/tree/main/skills",
209
- "when": "A Figma file or link",
210
- "why": "A designer handed it over. Needs the Figma connection. Reuse this project's components."
143
+ "when": "A Figma link to build"
211
144
  },
212
145
  {
213
- "name": "image-to-code",
214
- "author": "Leonxlnx",
146
+ "name": "animate",
147
+ "author": "emilkowalski",
215
148
  "license": "MIT",
216
- "source": "https://github.com/Leonxlnx/imagegen-skills",
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.",
217
152
  "optional": true,
218
- "when": "A picture you already have",
219
- "why": "Build the page from that picture."
153
+ "hint": "motion"
220
154
  },
221
155
  {
222
- "name": "security-audit",
223
- "author": "Cloudflare",
156
+ "name": "jury",
157
+ "author": "juliobsz",
224
158
  "license": "MIT",
225
- "source": "https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit",
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.",
226
162
  "optional": true,
227
- "when": "A security review you asked for",
228
- "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"
229
164
  },
230
165
  {
231
166
  "name": "web-design-guidelines",
@@ -233,23 +168,38 @@
233
168
  "license": "see repository",
234
169
  "source": "https://github.com/vercel-labs/agent-skills/tree/main/skills/web-design-guidelines",
235
170
  "when": "A UI review you asked for",
236
- "why": "Accessibility and interface rules."
171
+ "why": "Accessibility and interface rules.",
172
+ "optional": true
237
173
  },
238
174
  {
239
- "name": "jury",
240
- "author": "juliobsz",
175
+ "name": "modern-web-guidance",
176
+ "author": "Google Chrome",
177
+ "license": "Apache-2.0",
178
+ "source": "https://github.com/GoogleChrome/modern-web-guidance/tree/main/skills/modern-web-guidance",
179
+ "when": "Writing HTML, CSS, or client-side JS",
180
+ "why": "Current browser APIs; DESIGN.md decides the look.",
181
+ "optional": true,
182
+ "preselected": true,
183
+ "hint": "current browser APIs, needs the network"
184
+ },
185
+ {
186
+ "name": "security-audit",
187
+ "author": "Cloudflare",
241
188
  "license": "MIT",
242
- "source": "https://github.com/juliobsz/skills/tree/main/jury",
243
- "when": "They asked to jury, score, judge, or roast the design (or a live URL / local build)",
244
- "why": "Blind evidence scorecard. Do not redesign. Fixes stay on the board, DESIGN.md, or Figma. Do not run after every build unless they asked."
189
+ "source": "https://github.com/cloudflare/security-audit-skill/tree/main/skills/security-audit",
190
+ "when": "A security review you asked for",
191
+ "why": "Look for a broken trust boundary. The full audit runs only when you ask for an audit or a pen-test.",
192
+ "optional": true
245
193
  },
246
194
  {
247
- "name": "design-md",
248
- "author": "Long Beard",
195
+ "name": "image-to-code",
196
+ "author": "Leonxlnx",
249
197
  "license": "MIT",
250
- "source": "local",
251
- "when": "The look of this project, or they confirmed writing or updating DESIGN.md",
252
- "why": "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."
198
+ "source": "https://github.com/Leonxlnx/imagegen-skills",
199
+ "when": "A picture you already have",
200
+ "why": "Build the page from that picture.",
201
+ "optional": true,
202
+ "hint": "from a picture"
253
203
  }
254
204
  ]
255
205
  }