Repository navigation
Recipes
Mark Rogers edited this page Oct 16, 2026
·
2 revisions
BW new D:\kits\acme --brand "Acme" --site "portal=https://portal.acme.example/"
BW login D:\kits\acme --site portal https://portal.acme.example/ --channel msedge
BW capture D:\kits\acme --site portal --crawl 10 --channel msedge
BW tokens D:\kits\acme
Ask the agent: "a new order-tracking card for the portal, using brand.css". It writes D:\kits\acme\out\tracker.html and runs BW render on it.
BW new KIT --brand "Acme" --site "www=https://www.acme.example/" --site "careers=https://careers.acme.example/"
BW capture KIT --site www --crawl 15 --channel msedge
BW capture KIT --site careers --crawl 15 --channel msedge
BW tokens KIT
BW prep KIT
BW caption KIT
BW review KIT # prune and fix captions
BW train KIT --lora brand --run # watch with BW status KIT
BW pick KIT --lora brand --step 300 --to <ComfyUI>\models\loras
BW train KIT --lora careers --run # residual on Z-Image
BW pick KIT --lora careers --to <ComfyUI>\models\loras
BW sweep KIT "desktop web page screenshot, a job detail page with an \"Apply now\" button" --a brand --b careers
BW gen KIT "isolated card UI component, a job card with the title \"Store manager\" and a \"Save\" button" --lora brand=1 --lora careers=1
BW new KIT --brand "Acme" --site intranet
BW import KIT --site intranet D:\shots\intranet
BW import KIT --site intranet D:\shots\intranet-buttons --kind component
BW prep KIT
There are no tokens without a capture. For the code route, the agent reads the colours off the screenshots, and you confirm the font.
BW ref KIT "desktop web page screenshot, a returns page with a list of items and a \"Start a return\" button" --refs KIT\capture\www\pages\www-home__desktop.png --n 4
BW gen KIT "PROMPT" --lora brand=1, and then BW gen KIT "PROMPT" --lora brand=1 --lora careers=1 with the same --seed.
brandwright 0.1.5 · repository · issues · MIT