# Green pharmacy storefront

> Turn a pharmacy's range into a single-file online storefront with a shop, product pages, cart and checkout.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Web design](https://www.sandbase.ai/skills/web-design)
- Version: 0.2.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/web-design/green-pharmacy-storefront

## What you get

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.

## Install

Download the Skill package from https://www.sandbase.ai/skills/web-design/green-pharmacy-storefront (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/green-pharmacy-storefront create a complete Online store website for the fictional brand Northstar, in English. Invent a coherent brand brief, audience, products or services, content and calls to action suited to this template; clearly label invented facts as fictional and do not ask follow-up questions. Preserve the Skill's design style, replace all placeholders, run its validator and fix issues, then deliver a self-contained HTML page and a preview screenshot
```

## How it works

1. **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.
2. **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.
3. **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.

## FAQ

### 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.

## Examples

- English site (html)
