skillmkt 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +213 -2
- package/client/bin/skillmkt.js +84 -0
- package/client/commands/audit.js +34 -0
- package/client/commands/build.js +61 -0
- package/client/commands/config.js +34 -0
- package/client/commands/conflicts.js +14 -0
- package/client/commands/decide.js +19 -0
- package/client/commands/diff.js +52 -0
- package/client/commands/doctor.js +109 -0
- package/client/commands/download.js +35 -0
- package/client/commands/init.js +82 -0
- package/client/commands/install.js +169 -0
- package/client/commands/list.js +56 -0
- package/client/commands/merge.js +49 -0
- package/client/commands/outdated.js +34 -0
- package/client/commands/registry.js +42 -0
- package/client/commands/remove.js +48 -0
- package/client/commands/resolve.js +76 -0
- package/client/commands/rollback.js +30 -0
- package/client/commands/search.js +46 -0
- package/client/commands/serve.js +99 -0
- package/client/commands/show.js +52 -0
- package/client/commands/sync.js +54 -0
- package/client/commands/targets.js +75 -0
- package/client/commands/update.js +39 -0
- package/client/commands/upgrade.js +75 -0
- package/client/lib/ai.js +67 -0
- package/client/lib/audit.js +87 -0
- package/client/lib/autoarb.js +26 -0
- package/client/lib/conflicts.js +65 -0
- package/client/lib/ctx.js +68 -0
- package/client/lib/daemon.js +47 -0
- package/client/lib/dashboard.js +29 -0
- package/client/lib/decide.js +43 -0
- package/client/lib/evidence.js +56 -0
- package/client/lib/githash.js +36 -0
- package/client/lib/hub.js +125 -0
- package/client/lib/llm.js +85 -0
- package/client/lib/package.js +73 -0
- package/client/lib/project.js +97 -0
- package/client/lib/prompt.js +22 -0
- package/client/lib/ref.js +37 -0
- package/client/lib/registries/github.js +106 -0
- package/client/lib/registries/index.js +37 -0
- package/client/lib/registries/rfc.js +42 -0
- package/client/lib/registries/skillssh.js +59 -0
- package/client/lib/render.js +53 -0
- package/client/lib/rules.js +36 -0
- package/client/lib/scanner.js +158 -0
- package/client/lib/state.js +50 -0
- package/client/lib/yamlls.js +14 -0
- package/client/public/app.js +63 -0
- package/client/public/index.html +21 -0
- package/package.json +44 -4
- package/pipeline/lib/env.js +40 -0
- package/pipeline/lib/gh.js +53 -0
- package/pipeline/lib/llm.js +108 -0
- package/pipeline/lib/util.js +103 -0
- package/skill/SKILL.md +270 -0
- package/skill/references/a11y.md +82 -0
- package/skill/references/code.md +415 -0
- package/skill/references/color.md +84 -0
- package/skill/references/copy.md +197 -0
- package/skill/references/imagery.md +157 -0
- package/skill/references/layout.md +404 -0
- package/skill/references/motion.md +104 -0
- package/skill/references/process.md +303 -0
- package/skill/references/type.md +84 -0
- package/skill/rules-manifest.yml +13092 -0
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# type
|
|
2
|
+
|
|
3
|
+
- **(floor)** Validate on submit with aria-invalid and aria-describedby errors named per field, move focus to the first failed field, show errors inline, and expose all eight control states including :active and :disabled unless the control is not a form control and has no aria-disabled anywhere.
|
|
4
|
+
- **(floor)** Apply aria-selected, aria-controls, aria-expanded, aria-pressed, aria-current, aria-required, and aria-hidden correctly per component, prefer semantic HTML over ARIA roles, and mark decorative icons and hidden maps appropriately.
|
|
5
|
+
- **(floor)** Maintain hierarchical headings progressing one level at a time, mark custom widgets with ARIA roles/states/properties, place a skip-to-content link as the first focusable element pointing to main content, and never let overlays or fixed headers cover focused elements.
|
|
6
|
+
- **(floor)** Overlays and dialogs must inert the page behind them, move initial focus to the first interactive element, close on Escape and backdrop click, include a visible close control, announce their state, and expose pause/stop/hide controls for motion longer than five seconds.
|
|
7
|
+
- **(floor)** Use fx-prompt only for the hero prompt box of an AI or developer product, fx-bars only for monthly figures on a labelled scale with no more than sixteen bars, and a plain accent fade under a line or still ruled-grounds inside data, never an effect that draws its own grid or moving traces, never halftone-screen in a chart area, fx-tabs only for a product tour or dashboard preview, fx-avatar only for calls, presence, or a team list, and fx-headline only for hero or closing lines of two to three words.
|
|
8
|
+
- **(floor)** Load only the font weights the page uses using one link per source with display=swap and a preconnect to the host first, preload critical fonts with link rel=preload as font and font-display: swap, and detect language via Accept-Language or navigator.languages rather than IP.
|
|
9
|
+
- **(reflex)** For Tailwind v4, place every color, font, text, tracking, radius, shadow, and ease token inside a single @theme static block so each becomes both a utility and a usable CSS variable.
|
|
10
|
+
- **(reflex)** Swatches must set data-product-color on the named frames and swap to that colour's still; set sizes, spacing, widths, and gaps to the design's needs and keep their names, treating the written scale as a starting point rather than a fixed style.
|
|
11
|
+
- **(floor)** Ship all eight interactive states—default, hover, focus-visible, active, disabled, loading, error, and success—for every stateful control, using a 1px drop or one colour step darker on active press.
|
|
12
|
+
- **(floor)** Never let gradient ramps or multi-stop gradients stand in for material, and prohibit purple-to-blue, purple-to-pink, cyan-on-dark, gradient text, glass effects, and coloured glow shadows.
|
|
13
|
+
- **(reflex)** Declare the colour posture in the stamp and honour its surface and accent footprint, moving declared Committed, Full-palette, or Drenched colours into surface tokens while rejecting undeclared colour sprawl.
|
|
14
|
+
- **(floor)** Declare every colour in OKLCH and store tokens in a single location named by role (e.g. --color-ink) rather than by literal names such as black; route all colours and font families through tokens declared at :root or a theme block, never emitting raw values outside the token block.
|
|
15
|
+
- **(floor)** Build paper, ink, five to nine tinted neutrals, and one accent with a derived focus colour on the accent hue, keeping the brand present at every depth by reading its values from project files; use a single accent series for emphasis with every other series neutral, rendering context or reference series via a fixed-order lightness ramp on the accent hue and muted colour.
|
|
16
|
+
- **(floor)** Keep all labels, values, and axis text in ink or muted colour, identify series with a swatch beside the label rather than coloured text, and render ranges, keywords, numbers, today's dot, and status chips as ink tints, never shipping a row of green dots; keep small inline marks beside text in ink and never mix brand colours with ink marks.
|
|
17
|
+
- **(floor)** Maintain 4.5:1 contrast for body text and APCA Lc 60, and 3:1 or Lc 45 for large text, icons, focus rings, and field edges; error state must apply the error colour to the border, message, and aria-invalid, never relying on colour alone; provide visible focus indicators for all interactive elements.
|
|
18
|
+
- **(floor)** Prohibit glass panels, gradient-filled pills, gradient text, glass effects, purple-to-blue gradients, cards inside cards, emojis as icons, hand-drawn browser or OS windows, and repeated stripe or grid backgrounds with nothing under them; never apply a print, dither, grade, or filter over a photograph on any page kind.
|
|
19
|
+
- **(floor)** Style pill controls as filled and outlined variants with an ink-filled primary beside an outlined secondary, and set html data-radius to one of sharp, soft, or round applying the matching radius family to cards, panels, controls, and buttons; implement every button with all eight states using the provided CSS variables and transitions; maintain consistent visual variants across reused components.
|
|
20
|
+
- **(floor)** Anchor all page and accent colours on the recorded spec primary instead of memory-derived values; when fetching is impossible, ask once for the primary hex and fonts or to build free, and never guess brand colours from memory; derive --g-main from the client palette rather than a fixed off-white, and derive --g-alt within 20 degrees of --g-main's hue, 0.06 to 0.15 darker, and never below lightness 0.70.
|
|
21
|
+
- **(floor)** Pass all pages built this session to the linter together and break shared cadence, jokes, or opening phrases between them; place a verbed link at each rail's edge while avoiding a global CTA so the fold's single visible action is the first rail's link; name Xbox and Nintendo consoles in type instead of drawing a mark; write foundry-voice copy that names the face, its weights, and its use in short phrases; and place a sold item's name and price inside its card padding rather than as a line under a bare picture.
|
|
22
|
+
- **(floor)** Write specific, slightly literary copy that favors verbs over adjectives, proves craft through concrete detail rather than naming it, and writes no line a competitor could use unchanged.
|
|
23
|
+
- **(reflex)** Keep small eyebrow type only when it carries a fact, destination, or identifier the reader would otherwise lack, never leave it bare, and when its heading is figurative promote the plain label to the heading rather than deleting the eyebrow alone.
|
|
24
|
+
- **(floor)** Write a hero headline of seven words or fewer with one or two actions, pair any bare figure with the line that says what it means, vary what each section contains, show the main action at most twice on one screen, and fail when the page deals no moment.
|
|
25
|
+
- **(reflex)** Avoid number-pair headings; state what each section holds and give every heading a noun naming a thing, a section, or a digit; cut any region the comp invented but the copy does not support instead of building it.
|
|
26
|
+
- **(reflex)** Respect word budgets for headings, section heads, intros, paragraphs and lists, cap pages at 450 visible words, keep paragraphs to five lines at 1440, and cap lines at 62 characters with nothing below 13px.
|
|
27
|
+
- **(floor)** Use only realistic numbers, proof, names, and data the brief gives—verbatim quotes with name and role or town, sourced figures, showable customer logos, real customers, reviews, press, founder names, and product data—never invent figures, jargon nodes, or material, and delete rotated vertical text, scroll cues, version or BETA pills, weather/locale strips, mono-caps strips, and credit captions under stand-ins unless the prompt is a launch, venue, or distributed studio and the text is a fact.
|
|
28
|
+
- **(reflex)** Limit landing pages to about 80 words per 900px window with the hero reduced to a headline, one sentence, and its actions, keep copy to short lines and one idea per sentence preferring verbs over adjectives and avoiding adjective triads, vary section and paragraph lengths to follow the material, and keep one line to two sentences under headings and card bodies to two sentences of at most twenty-five words.
|
|
29
|
+
- **(floor)** Use one or two eyebrow labels per page and none when the heading already names the thing, write rail headings as dated lines including a count, use non-breaking spaces between units, modifiers, and brand names with ampersands where space is constrained, and never join meta strings with middle dots, glue arrows to link or button text, add decorative status dots before labels, or emit WORD - fragment labels.
|
|
30
|
+
- **(floor)** Borrow at most one move from a second register beyond the chosen one, choose a writing register per client from copy-registers.md instead of applying one uniform house voice while never overriding the h1 category, heading nouns, or button verbs defined in copy.md, write direct slightly poetic specific copy in active voice in the client's register avoiding em dashes throughout body copy and abstract category nouns such as power and alignment, do not talk about the page itself its structure or how it was built, and record the chosen voice card on the plan not on the page.
|
|
31
|
+
- **(floor)** Show only the real team the brief gives with consistent light and grounds and no more than eight people, carry place/product/service pages with the client's own photographs (each used once) and the page's real copy, deal two different compositions and one type moment per place page, keep captions out of close-photos, and limit photographs to at most a third of the page below the hero (up to 45% on photographic shapes) with no two photograph-led sections in a row.
|
|
32
|
+
- **(reflex)** Use spacing tokens for all gaps and margins (never raw lengths where a token exists), apply a consistent spacing scale across components, and size icons using the standard sizes 16, 20, 24, 28, 32, 36, 40, 48, and 56.
|
|
33
|
+
- **(floor)** Do not place any UI fragment over an object or add a second effect beside it, never render a narrow auto-centred heading over full-width left-flush content, and never place a big fragment dead centre with equal ground all round or a dialog alone on a ground.
|
|
34
|
+
- **(floor)** Do not use asymmetric prose columns.
|
|
35
|
+
- **(floor)** Make the hero figure the largest element on the page and always pair it with a worded headline that explains its meaning rather than treating it as a bare label.
|
|
36
|
+
- **(reflex)** Fix plain defects such as misalignment, broken glyphs, and lying labels at any depth.
|
|
37
|
+
- **(reflex)** Only add numbered markers such as 01/02/03 when the content is genuinely a sequence like a process or timeline.
|
|
38
|
+
- **(floor)** Close the page with the visitor's job, not a generic form, permit a masthead, quiet edge-aligned bar, colophon, and letter close, and permit a solid pill as chrome since it does not fight the register.
|
|
39
|
+
- **(reflex)** Hold card lines 2px apart from 1024px via .card--row so titles and panels align across a row, insert hairline rules between rows of catalogue cards, anchor each body section with a supporting figure or chart, and flex children must set min-w-0 to allow text truncation.
|
|
40
|
+
- **(reflex)** When the hero layout places no image in the fold, make the type itself fill the screen; otherwise size the frame so the product fills its share of the frame.
|
|
41
|
+
- **(reflex)** Build heroes around at most two centred elements with one breaking alignment (margin-aligned, right-flushed, or numeral-anchored), and place the headline plus its single sentence on a plate at the image base with captions near a corner in body type.
|
|
42
|
+
- **(reflex)** Do not default to identical rounded cards sharing one border-radius, a uniform soft grey shadow, and gradient washes as decoration unless the brief explicitly requests that direction.
|
|
43
|
+
- **(reflex)** Define exactly two shared page-level breakpoints in rem units, with the layout breakpoint at 60rem and the type breakpoint at 40rem, adding a third only when content itself breaks.
|
|
44
|
+
- **(reflex)** Lay out comparison stats in a three-column grid that collapses to a single column with top borders under 60rem, making each comparison row 48px tall and closed by a 1px rule.
|
|
45
|
+
- **(floor)** Present content statically: keep the print present from the first frame with no entry animation, load captures instantly leaving remaining content static, omit reveal animations on index-first pages, apply exactly one type-unmask reveal on the first specimen only, and keep footer statements and still diagrams effect-free.
|
|
46
|
+
- **(floor)** On a custom run, make every design decision for this client instead of dealing or prescribing a theme, shape, section list, component, palette recipe, or draw.
|
|
47
|
+
- **(reflex)** When a theme and a shape, genre or craft file disagree on material, controls or motion, let the theme win while keeping the Floor and the user's words.
|
|
48
|
+
- **(floor)** Reserve index-first for browsing surfaces such as documentation hubs, knowledge bases, archives, and design-system entries rather than hard-sell pages, and use the Specimen shape only for prompts about type, publishing or writing not for the editorial genre alone.
|
|
49
|
+
- **(floor)** Do not use the manifesto structure for checkout, pricing, or product tour pages, and never use the Type Specimen pattern when the brand uses an off-the-shelf typeface.
|
|
50
|
+
- **(floor)** Use a comp strictly for its composition, never as evidence that a design gate has been satisfied, and render at most two comps (three only when the direction genuinely forks).
|
|
51
|
+
- **(reflex)** Treat the chosen typeface and its treatment as an active design element rather than a neutral carrier, reserving monospace and accent usage for genuine code, figures, measurements, or matched display/body faces.
|
|
52
|
+
- **(floor)** Use at most three font families (at most four font files) with fixed jobs, prefer free variable fonts from Google Fonts or Fontshare, and only use paid foundries after the user confirms the licence; choose the pairing via the trade tool when available.
|
|
53
|
+
- **(reflex)** Use at most three font weights chosen as paired extremes, reduce body weight by 50 units in dark mode, and size type generously to occupy the screen without crowding.
|
|
54
|
+
- **(floor)** Size and wrap headings by rendered character count, splitting long heads at sense breaks and rewriting heads over 90 characters; reserve labels, captions, and meta for the body face in sentence case, and never place a single italic word inside a roman heading.
|
|
55
|
+
- **(reflex)** Set form inputs to 48px minimum height with focus-visible outlines and error borders, position labels 4-8px above fields with helpers 4px below at label size replacing errors in that line, and make body-adjacent UI larger on phones and tighter at 60rem.
|
|
56
|
+
- **(reflex)** Prefer a typographic CTA via a Specimen page over an oversized solid button, set the hero heading to clamp(4rem, 10vw, 9rem) hugging container edges, and limit the hero to at most one quieter level of small text.
|
|
57
|
+
- **(reflex)** Set body line height to at least 1.5, balance paragraphs and multi-line heads to avoid orphans and stubs, and never underline links by default, using color and spacing instead.
|
|
58
|
+
- **(floor)** Render categories as real h2 elements in the display face in sentence case, use short direct questions ending in question marks for FAQ headings, and generate ordinal figures via ordered lists with counter() only when the run is genuinely ordinal.
|
|
59
|
+
- **(reflex)** Keep body line lengths under 80 characters, render running text at no less than 12px, functional text at no less than 11px, and multi-line prose leaded at no less than 1.3.
|
|
60
|
+
- **(reflex)** Do not apply template chrome such as tracked-out ALL-CAPS eyebrows, middle-dot meta strings, spaced-em-dash labels, tinted near-black stand-in blacks, monospace data labels, or trailing arrows on links and buttons unless the brief explicitly requests them, and never render body text in all caps.
|
|
61
|
+
- **(floor)** Use exactly one display face and one body face, or a single family for both, plus at most one outlier that serves exactly one role; never use faces from banned or saturated lists, or any face a catalog theme sets, and confirm the display face is not already used by the active catalog theme before writing its token.
|
|
62
|
+
- **(floor)** Apply negative tracking to display faces (never letting two letters touch on condensed or heavy faces), apply text-wrap balance to headings and pretty to body copy, give uppercase wrapping hero headings a line-height of 1.0 or greater, and set manifesto headings as uppercase display type tilted between -2deg and -4deg or left straight using exactly one weight and one colour throughout.
|
|
63
|
+
- **(reflex)** Render all numerals on numeric surfaces as tabular figures, use tabular-nums for number columns and numeric comparisons, block-display stat figures, and treat a figure as a headline only when the page is built around it and it carries its unit and source; when using Bespoke Slab as display, place figures in the body face because its old-style figures ignore lining-nums.
|
|
64
|
+
- **(floor)** Keep section heads to six words or fewer at --text-section with at most one lead line beneath, keep the grid heading to a short line above the grid without display typography, never place one italic word inside an otherwise roman heading, treat a number typed beside or above the heading as an eyebrow rather than an ordinal counter, and never use an eyebrow or set labels, captions, table heads, tags or nav links in tracked capitals or small caps, rendering them in the body or theme label face one step smaller in sentence or lower case without tracking.
|
|
65
|
+
- **(floor)** Every field must have a visible label above it, never using placeholder as the label; state changes must never alter border width, padding, height, or animate the ring, reserving a transparent outline at rest so the ring appears without shifting; show the inset outline immediately on focus and never change the border width, keeping floating labels as placeholders at rest; textareas must allow vertical resize with min-height 6rem; range thumbs must take focus and provide a 44px hit target; keep list text at 16px and use 13px only for group labels; use logical properties for spacing, allow room for 30 to 40 percent longer strings, and avoid hard-coded date or number formats.
|
|
66
|
+
- **(floor)** Permit hairline rules, fleurons, drop caps, double rules, and italic text inside running body copy; use monospace type only inside code blocks and keep tab labels and captions in the body face; allow a second icon source only when it is a brand or platform mark used in at most two slots; and empty states must state what is empty, why it matters, and one action, never a bare No results.
|
|
67
|
+
- **(reflex)** Ensure the type carries the theme at the current size, and progressively demonstrate the typeface through display size, body size, italic, language coverage, and OpenType features.
|
|
68
|
+
- **(floor)** Use at most two type families, with a single third family reserved for exactly one role; load faces from Google Fonts with display=swap and request only the weights actually used.
|
|
69
|
+
- **(reflex)** Treat saturated default faces as requiring an explicit argument rather than being chosen automatically.
|
|
70
|
+
- **(reflex)** Allow the wordmark to use a different face than the body, especially on tone-rich pages, and collapse to one family only when the body voice is the brand.
|
|
71
|
+
- **(floor)** Do not render labels or eyebrow text in all caps.
|
|
72
|
+
- **(floor)** Keep each display head to one weight, one style and one colour, deriving stress from breaks or size rather than styling; never wrap uppercase display text with line-height under 1.0, using at least 1.0 and ideally 1.02 to 1.08.
|
|
73
|
+
- **(floor)** Keep body copy at 16px minimum with 1.5 to 1.65 line-height and 45 to 75ch measure, never all caps or unhyphenated justified text, and never use an italic serif body type.
|
|
74
|
+
- **(reflex)** Set prose line-height to 1.65 to 1.75 with 60 to 75ch measure, keep stat titles unwrapped without icons and mark features as definition lists.
|
|
75
|
+
- **(reflex)** Keep running prose max-width between 45 and 75ch, never render lines of about 88 characters or more over three lines, and cap lede/caption widths at 28ch for two-sentence-or-fewer copy.
|
|
76
|
+
- **(reflex)** Keep the body to a single column with line-height of at least 1.65 and a measure of 60 to 65 characters.
|
|
77
|
+
- **(reflex)** Set letter body prose to a single column with a 50ch measure.
|
|
78
|
+
- **(floor)** Make readable text 16px or larger with 1.5 to 1.8 line height and --ink at 7:1 contrast.
|
|
79
|
+
- **(floor)** Cap display type at 6rem and apply the type scale exactly: display 84px, display-s 60px, section 52px, title 25px, lead 21px, body 16px, small 14px.
|
|
80
|
+
- **(finish)** Apply tabular numerals to display-size figures and hyphens:auto to justified text.
|
|
81
|
+
- **(reflex)** Do not redefine the spacing scale, type scale, easings, or durations inside design.md; they live in tokens.css.
|
|
82
|
+
- **(reflex)** Keep section headings plain and functional at section size so the captures carry the content; render median h2s below the hero at --text-section and item titles at --text-title; render the title one line at the card-title token with weight 500, keep running card text at 16/24 in --c-text ink, cap text at 46ch, and reserve muted small text for labels only.
|
|
83
|
+
- **(reflex)** Give group labels 13px weight 500 ink with 12px of air below and no rule.
|
|
84
|
+
- **(reflex)** Use clamp() for sizes that change continuously and media queries for layouts that change discretely, detecting capabilities with hover and pointer queries rather than width.
|