mirror of
https://github.com/adobe/skills.git
synced 2026-09-19 08:06:09 +08:00
9cfed1145a
v1 (four-stage greenfield: brand → briefings → wireframes → prototype) is preserved at tag stardust--v0.1.0. v0.3.0 is a complete refactor with a new surface (extract → direct → prototype → migrate) and a hard runtime dependency on impeccable. - plugins/stardust: replace contents with v0.3.0 source from paolomoz/stardust-2 (skills, evals, README, tile.json, plugin.json) - plugins/stardust/.claude-plugin/plugin.json: bump to 0.3.0; add repository and v2-relevant keywords - plugins/stardust/skills/*/SKILL.md: add license: Apache-2.0 to frontmatter - .claude-plugin/marketplace.json: update stardust entry with new description, version, category, keywords, author, homepage, repository, license (mirrors adobe-for-creativity entry shape) - plugins/stardust/README.md: status bumped to v0.3.0; v1 link repointed to the stardust--v0.1.0 tag Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
2.1 KiB
2.1 KiB
Eval: multi-page extract with cap
Setup
Empty project; no stardust/ folder. Impeccable installed in
.agents/skills/impeccable/ (hard dep verified by stardust setup).
User prompt
"Use stardust to extract https://stripe.com"
Expected behavior
The stardust:extract skill is invoked. It:
- Runs the master skill setup (impeccable dep check, context loader).
- Discovers the page inventory before crawling: tries
sitemap.xml, thensitemap_index.xml, thenrobots.txtSitemap:directives, then BFS crawl. - Applies the default page cap of 25 and shows the user the discovered list, the cut list, and asks for confirmation.
- Uses Playwright (not WebFetch / curl) for per-page rendering
at 1440 × 900 @ 2× DPR with
networkidle+ 1.5 s grace and a scroll-to-bottom pass. - Writes one
stardust/current/pages/<slug>.jsonper crawled page with the full schema (headings, landmarks, ctas, links, media, forms, widgets, per-section style). - Runs the brand-surface extraction once on the home page and
writes
stardust/current/_brand-extraction.jsonwith logo, palette (frequency-clustered), type, spacing, motifs, componentStyle, voice samples. - Locates the logo via the priority chain (inline SVG →
<img>with logo-ish identifier →apple-touch-icon→og:image→ favicon → synthesized placeholder) and saves it understardust/current/assets/logo.<ext>(noticons/). - Authors
stardust/current/PRODUCT.mddirectly using impeccable'steach.mdas the format spec — does NOT invoke$impeccable teach(the current-state file is descriptive, no interview). - Authors
stardust/current/DESIGN.mdandDESIGN.jsondirectly using impeccable'sdocument.mdas the format spec — does NOT invoke$impeccable document. - Updates
stardust/state.jsonwithsite.originUrl,site.pageCap,site.crawled, and onepages[]entry per crawled page withstatus: "extracted". - Prints a summary report and recommends
$stardust directnext. - Does NOT reference EDS, AEM,
localhost:3000, or dev servers.