Green pharmacy storefront
- Lab Skill
- v0.2.0
- Web design
Turn a pharmacy's range into a single-file online storefront with a shop, product pages, cart and checkout.
示例
English site
该示例在沙盒化的框架中运行,无法访问此页面。
在线运行
在 SandBase sandbox 中运行 Green pharmacy storefront 的示例,并在这里查看结果。
你将获得什么
Bring your pharmacy, product range, prices, delivery and advice services. The Skill returns one HTML file with 17 routed views, offline fonts and a validator report.
工作原理
- 01
Gather the pharmacy brief
Green Pharmacy Storefront begins with a short checklist: who the shop serves, its one promise, proof you can stand behind and where each call to action goes. The Agent picks en or zh-CN, copies assets/template.html, the 29 image slots and the bundled fonts into a work folder, and lists every fact it had to make up so you can review them later.
- 02
Fill products, areas and pharmacists
Shop data lives in script constants. The Agent replaces the 14 PRODUCTS with brand, category, rating and image fields, the 6 CATEGORIES, the 8 BRANDS, the 5 delivery AREAS with eta and fee, the 4 TEAM pharmacists with credentials, plus REVIEWS, FAQS and opening HOURS. Every trace of the Fernwell Pharmacy sample, including product names like Saline Nasal Spray, must go.
- 03
Inline and validate the storefront
The scripts run on Node 18 or newer in your own Agent or terminal. node scripts/inline-assets.mjs work/src.html work/index.html embeds images and fonts, and node scripts/validate.mjs work/index.html --mode site --site-lang en repeats until it exits 0. Adding --browser lets a local Chrome or Edge click through shop, cart and checkout and save screenshots to review.
常见问题
Does Green Pharmacy Storefront process real orders?
No. Green Pharmacy Storefront produces a single self-contained HTML file with shop, product, cart and checkout views, and the page makes no network calls. Cart and checkout are interactive views inside the page script. Connecting payments or a pharmacy system is outside the Skill, and claims about certifications or medicines must come from you.
Does Green Pharmacy Storefront need a SandBase key?
No. Green Pharmacy Storefront ships scripts that never call a model or reach the network, so no key is needed and running them adds nothing to any SandBase bill. Replacement product photos come from the Agent's own image tool or from files you supply. The 29 shipped images are examples generated for a fictional brief.
Can Green Pharmacy Storefront show my own pharmacists?
Yes. Green Pharmacy Storefront keeps four TEAM entries, each with name, role, credentials, focus, image and working days, and you replace them with your staff. Generated portraits must be labelled as illustrations, and the Skill never invents real people, certifications or legal claims. When a name also appears in an image file name, rename the matching file in work/images/ too.
How big is a finished Green Pharmacy Storefront page?
Green Pharmacy Storefront inlines all images and fonts, so its size depends mostly on the product photos. The validator sets a 5 MB soft limit and an 8 MB hard limit for the file. With 29 image slots, a page of full-size photos can cross that line, so use fewer or smaller images when the check complains.
Why does Green Pharmacy Storefront flag Fernwell?
Green Pharmacy Storefront treats Fernwell Pharmacy and sample staff such as Amara Okafor as leftovers, and they stay errors until replaced. Product names such as Magnesium Glycinate or Gentle Baby Wash trigger warnings, listed in assets/validate.config.json, that you check one by one. Placeholder href values also need a real URL, or an example.com address that only warns.
更多 Skills
所有 Web design Skills →
Baked 3D Story Site
A three-page 3D story site with baked light, scroll stops that loop and a shader cut between pages, in one offline file.

UI Finishes
Metal, jewel, halo, roll, fill, offset and ring buttons, media cards, glass and textures, each checked in rest, hover, focus and pressed for real contrast.

Headline Motion
Headlines, labels and numbers that rise, decode, type, rotate, count and draw themselves without moving the layout, measured in a real browser.

Scroll Chapters
Long pages told chapter by chapter: a pinned stage, sliding panels, a text crawl, lit paragraphs, stacking cards and drifting columns, checked in a real browser for dead scroll.

Scroll 3D Product Site
A complete product website where scroll turns, opens and takes apart a live 3D model, with every video and image rendered from that model, in one offline file.

Landing Page System
A complete single-file landing page with a conversion structure and a shared visual system, checked by a rendered-page audit before delivery.

