@jonandev/longbeard 0.9.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +18 -33
- package/CHANGELOG.md +44 -1
- package/README.md +69 -93
- package/beard.json +148 -198
- package/bin/long-beard.js +105 -43
- package/package.json +3 -2
- package/skills/design/SKILL.md +139 -0
- package/skills/design/references/design-md-template.md +58 -0
- package/skills/design/references/design-rules.md +189 -0
- package/skills/design/scripts/capture.mjs +489 -0
- package/skills/design/scripts/contrast.mjs +27 -0
- package/skills/design-check/SKILL.md +79 -0
- package/skills/design-check/references/design-rules.md +189 -0
- package/skills/{design-reference-hunt → design-check}/scripts/capture.mjs +65 -13
- package/skills/design-direction/SKILL.md +190 -0
- package/skills/design-direction/references/sources.md +86 -0
- package/skills/design-direction/scripts/capture.mjs +489 -0
- package/skills/{design-reference-hunt → design-direction}/scripts/contact-sheet.mjs +1 -1
- package/skills/{design-reference-hunt → design-direction}/scripts/dribbble-cards.mjs +46 -5
- package/skills/{design-reference-hunt → design-direction}/scripts/moodboard.mjs +7 -9
- package/skills/design-direction/scripts/picker.mjs +254 -0
- package/skills/idea/SKILL.md +106 -0
- package/skills/design-md/SKILL.md +0 -100
- package/skills/design-reference-hunt/SKILL.md +0 -177
- package/skills/design-reference-hunt/references/sources.md +0 -74
- /package/skills/{design-reference-hunt → design-check}/scripts/contrast.mjs +0 -0
package/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": "
|
|
9
|
-
"
|
|
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": "
|
|
137
|
-
"when": "
|
|
138
|
-
"why": "
|
|
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": "
|
|
142
|
-
"author": "
|
|
72
|
+
"name": "design-direction",
|
|
73
|
+
"author": "Long Beard",
|
|
143
74
|
"license": "MIT",
|
|
144
|
-
"source": "
|
|
145
|
-
"when": "
|
|
146
|
-
"why": "
|
|
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": "
|
|
150
|
-
"author": "
|
|
80
|
+
"name": "design",
|
|
81
|
+
"author": "Long Beard",
|
|
151
82
|
"license": "MIT",
|
|
152
|
-
"source": "
|
|
153
|
-
"when": "
|
|
154
|
-
"why": "
|
|
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": "
|
|
158
|
-
"author": "
|
|
88
|
+
"name": "design-check",
|
|
89
|
+
"author": "Long Beard",
|
|
159
90
|
"license": "MIT",
|
|
160
|
-
"source": "
|
|
161
|
-
"when": "
|
|
162
|
-
"why": "
|
|
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": "
|
|
96
|
+
"name": "matt-pocock",
|
|
97
|
+
"kit": true,
|
|
166
98
|
"author": "Matt Pocock",
|
|
167
99
|
"license": "MIT",
|
|
168
|
-
"source": "https://github.com/mattpocock/skills
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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": "
|
|
182
|
-
"author": "
|
|
183
|
-
"license": "
|
|
184
|
-
"source": "
|
|
185
|
-
"when": "
|
|
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": "
|
|
190
|
-
"author": "
|
|
191
|
-
"license": "
|
|
192
|
-
"source": "https://github.com/
|
|
193
|
-
"when": "
|
|
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": "
|
|
198
|
-
"author": "
|
|
199
|
-
"license": "
|
|
200
|
-
"source": "https://github.com/
|
|
201
|
-
"when": "
|
|
202
|
-
"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."
|
|
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
|
|
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": "
|
|
214
|
-
"author": "
|
|
146
|
+
"name": "animate",
|
|
147
|
+
"author": "emilkowalski",
|
|
215
148
|
"license": "MIT",
|
|
216
|
-
"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.",
|
|
217
152
|
"optional": true,
|
|
218
|
-
"
|
|
219
|
-
"why": "Build the page from that picture."
|
|
153
|
+
"hint": "motion"
|
|
220
154
|
},
|
|
221
155
|
{
|
|
222
|
-
"name": "
|
|
223
|
-
"author": "
|
|
156
|
+
"name": "jury",
|
|
157
|
+
"author": "juliobsz",
|
|
224
158
|
"license": "MIT",
|
|
225
|
-
"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.",
|
|
226
162
|
"optional": true,
|
|
227
|
-
"
|
|
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": "
|
|
240
|
-
"author": "
|
|
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/
|
|
243
|
-
"when": "
|
|
244
|
-
"why": "
|
|
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": "
|
|
248
|
-
"author": "
|
|
195
|
+
"name": "image-to-code",
|
|
196
|
+
"author": "Leonxlnx",
|
|
249
197
|
"license": "MIT",
|
|
250
|
-
"source": "
|
|
251
|
-
"when": "
|
|
252
|
-
"why": "
|
|
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
|
}
|