N NoBullshit.wiki 中文

Community group buying e-commerce operations - weekly buy-schedule draft and check tool, single file - a human schedules, the tool checks, and the accountability chain stays with operations: enter the candidate item pool (role tags, supply windows, past sell-through, margin), get a weekly draft schedule plus five hard checks - traffic-driver count per round and the gap between rounds (a gap closes the newcomer intake), same-category consecutive-round cap (long runs breed fatigue and supplier concentration), per-round margin floor (traffic drivers must not drag the round's margin through the floor), seasonal-item lead time (seasonal windows are back-calculated - miss the buy cadence and the whole season is missed), supply-window conflicts (an item whose supplier window does not line up, once scheduled in, feeds live work to the stockout emergency SOP); failed checks are listed in red with no auto-fixing - which item to change is operations' call; parameters all blank, nothing prefilled, schedule data never written to disk

Works with:Claude / GPT-4 classCategories:Community Group BuyingLevel:Advanced Updated

You are a coding agent. Build a single-file HTML "community
group buying weekly buy-schedule tool" for group-buying
operators to lay out the weekly buy calendar: drag out a
draft schedule and get every rules violation laid out in
red. Runs locally, offline, no external dependencies.

Positioning (design to this; do not build a general
production scheduler): community group buying's buy
schedule carries premises of its own - items in the pool
arrive with windows (seasonal windows, supplier supply
periods) and with roles (traffic driver / regular /
margin / seasonal), and every round must hold a margin
floor. The three ailments of hand scheduling: traffic-
driver gaps nobody watches, seasonal items missing their
back-calculated window, and items with conflicting
supply windows feeding live work to the stockout
emergency SOP once scheduled in. The tool's job is to
turn those three ailments into red text, not to make
operations' decisions for it.

Two entry blocks:
One, the candidate item pool: item name, role tag (pick
   one of four, list editable), supply window (start and
   end dates), seasonal window (fill in if any), past
   sell-through (recent rounds, may be empty), margin
   amount
Two, rule settings (every number left blank for me to
   configure; nothing prefilled):
   - Traffic drivers: at least [N] per round, at most
     [N] rounds between them
   - Same-category consecutive cap: [N] rounds
   - Per-round margin floor: [X] (the minimum for the
     summed margin of the items scheduled into a round)
   - Seasonal lead time: [N] days (how many days before
     the seasonal window the item must go live - drives
     the back-calculation)
   - Per-round listing capacity cap: [N] items

Five hard checks (recomputed instantly after any change
to the schedule; failures listed in red; auto-fixing the
table is forbidden):
1. Traffic-driver coverage: a round below the minimum,
   or a gap beyond the cap (a gap closes the newcomer
   intake) - red-flag the round
2. Same-category runs: the same category scheduled past
   the cap - red-flag the category and the round
3. Margin structure: a round whose scheduled margins sum
   below the floor (traffic drivers bunched and the
   round's margin punched through) - red-flag the round
   and the shortfall
4. Seasonal back-calculation: an item whose go-live date
   plus fulfillment lead time falls after "seasonal
   window minus lead time" - red-flag the item and its
   latest go-live day
5. Supply-window conflict: an item scheduled into a
   round its supply window doesn't cover (window not
   started or already ended) - red-flag the item and
   the conflict dates
Each red line carries a minimal-fix suggestion (example:
"Round 3 is short one traffic driver: items X and Y in
the pool are eligible with free windows") - the
suggestion stays a suggestion; whether to change, and
what to change, is my call.

Outputs:
- The weekly schedule: a rounds x items grid, drag from
  the pool into the grid, all five checks recomputed on
  every change
- Per-round side panel: this round's traffic-driver /
  regular / margin / seasonal counts and summed margin
  (displayed beside the floor)
- Red list: which rule, which round and item, the
  minimal fix
- One-click copy of the schedule as plain text (a
  by-round version and a by-item version), paste-ready
  into the selection-meeting materials

Implementation requirements:
- Single HTML file, inline CSS and JS, opens on double
  click, no network requests
- No data written to disk; refresh clears everything.
  Ship one example pool (about 20 items, including one
  seasonal item and one supply-window conflict) so the
  red text is visible the moment it opens

You must not:
- Build no "auto-optimal schedule" - pile up optimization
  targets and the schedule becomes a black box nobody
  can explain; the tool checks, the human decides
- Never silently loosen a check value; if the pool can't
  fill the round, the red text says so
- No accounts, no cloud sync, no external libraries; no
  prefilled rules of thumb

Why it is written this way

"A human schedules, the tool checks" is this tool's constitution - written into the positioning paragraph and welded into the must-not list. Auto-scheduling sounds more advanced, but behind every scheduling constraint sits a trade-off: a traffic-driver gap starves the newcomer intake, but forcing in low-margin items to fill the gap punches through the margin floor - when two constraints fight, the compromise belongs to operations' judgment, not to an algorithm's optimum. The tool's value is turning "noticed after the schedule ships" into "seen while scheduling": five checks recompute instantly, red text flags the round and the shortfall, and the operator's eyes only ever have to process red. A clean accountability chain is what makes a schedule something a person can sign and later review.

The five checks each target a real ailment of hand scheduling. Traffic-driver gaps are the most common silent accident - drivers carry thin margin, so at scheduling time they are the first to get "let's skip them this round"; two rounds of gap and the newcomer intake closes, a loss that only shows up four weeks later in the repurchase data. Seasonal back-calculation is a one-way door - a seasonal item that misses the buy cadence is not delayed but missed for the whole season; the check computes the "latest go-live day" into red text so the back-calculation lives in the tool and date arithmetic never depends on a human head. The supply-window check is relief for the stockout emergency SOP downstream: schedule an item whose window doesn't line up, and the emergency SOP gets triggered daily - one red line upstream is one fire drill fewer downstream.

Check values all left blank follows the same lineage as the site's other tools: prefilled values get taken for authoritative defaults, while every operation's margin floor and traffic-driver cadence differ wildly - the tool welds the structure, not the numbers. Red text with a minimal fix but no auto-fix extends the same principle: give the suggestion in full (which pool items are eligible, which windows are free), leave the decision to the person - auto-fixing would silently digest a violation, and the operator would never learn that the schedule once crossed a line.

No persistence matters more for a scheduling tool than here: margin amounts, sell-through, and supply windows in the pool are core operating data, and only a tool that saves nothing can safely sit on any office machine. The example pool deliberately plants one seasonal item and one supply-window conflict - the tool's value has to be visible within ten seconds of opening, and a blank grid demonstrates nothing.

Variables

Variable Description
Traffic-driver cadence Minimum per round, maximum gap between rounds - set by this buy's acquisition cost and the driver inventory in the pool
Margin floor The minimum summed margin for items scheduled into a round - back-calculated from this operation's cost structure; below it, drivers are buying volume at a loss
Seasonal lead time The days back-calculated to the latest go-live date - covers fulfillment lead time and warm-up, set per category by supply-chain length

buy-schedulingsingle-file-toolschedule-checks