Write the real-world pain points together with the interface requirements into the prompt, and the model produces a medication butler web app you can use long-term.
Disclaimer: The content shown on this page is all generated by AI models and is for reference only; it does not constitute any guarantee of results. Actual output and Credits consumption are subject to "Usage Details" in the console.
qwen3.8-max → single-file HTML app (medication management + dose check-in + remaining-stock warning + trip merging + .ics export). Key division of labor: all dates and inventory are computed by deterministic JS; the model is only responsible for writing the program, never directly calculating medication-related dates.
Actual output
Walked through with three chronic-disease medications, the single-file app's dual views (both are clickable to try out):
Elder view (default): large fonts, grouped by time slot, tap "Taken" to check in ![]() | Family view: run-out date / suggested refill date / merged trip ![]() |
Steps: give the feature requirements and the desired interface look together
Send the feature requirements to qwen3.8-max:
Appendix: the Design spec section in the prompt (determines how the interface looks, can be copied directly)
Appendix: the Design spec section in the prompt (determines how the interface looks, can be copied directly)
View actual output · What it computed for you
View actual output · What it computed for you
Notes
- Consumption: This playbook involves text generation + deep thinking (
qwen3.8-max), producing a 37 KB complete app. Generating a complete program is a long-output task; thinking and output dominate consumption, noticeably higher than ordinary Q&A. When tweaking details later, bring the existing code into context for targeted fixes — that's cheaper than rewriting the whole thing and won't break the parts already tuned. - Medical boundary: This playbook only provides time reminders for dosing and refills, and offers no medication advice; drug names, doses, and dosing methods are all subject to the doctor's prescription and the drug instructions, and entered results must be manually reviewed by family. Data is stored only in the browser locally and never uploaded to any server.
- Deterministic calculation: A wrong run-out date leads to actually running out of medicine, so the prompt explicitly requires "use precise JS calculation", having the model produce deterministic code rather than directly giving answers — all the dates above are computed by the generated program and each matches independent verification.
- How to import the calendar to your phone: Email the .ics to your phone and tap to add it (iPhone supports it natively; on Android, use a mail app to open the attachment — tapping it directly in WeChat often won't open).
- Whether the interface looks good depends on whether you said it: The first version only gave feature requirements, and the produced interface had a dark-green title bar with a dot-pattern background and seven or eight colors mixed together; after writing the color, font, hierarchy, and whitespace rules into the prompt and regenerating, the same features yielded the look shown in the image above.

