Button setsSYSTEM SETSHARING SETNAVIGATION SETCLOSING SETRETENTION SETCONTACT SET Pricing and contactPRICING EMAIL US ContentBUTTON LIBRARYDISPLAY CODESSITE PACKSAI PROMPTSREADINSTALL GUIDE LanguageTIẾNG VIỆTENGLISH VIEN PRICING

Home / AI prompts

AI PROMPT PACK D

Zero-Junk Hosting

A site that never fills its own disk: click logs kept as daily totals only, raw downloads deleted the moment they are processed.

The 9 commands inside

D0Project brief (paste this first)
Once, at the start of every new AI session. Fill in the {{BLANKS}} and paste it before any other command in this pack.
D1Where is the space going? (read-only)
First. Measure before cutting.
D2Daily-total click counter
After D1, if the site records clicks or views as individual rows or lines.
D3Raw data: download, process, delete
After D1, for every import, feed or scrape the site runs.
D4Retention rules and the janitor
After D2 and D3. One small job that enforces every expiry.
D5Storage budget and early warning
After D4.
D6Data-minimisation review
After D2–D5. A short pass that also makes privacy questions easier to answer.
D7Prove it works
Before leaving it unattended.
D8Troubleshooting
Something looks wrong later. Paste the brief (D0) first, then this.

A look inside

Make every import job clean up after itself.

For each job that downloads or generates raw data ({{RAW_DATA}}):

1. Give the job its own working folder under one dedicated temporary root (outside the web root), named with the job name and start time. Each job holds an exclusive lock while it runs; when it starts, it first removes every earlier working folder of its own, whatever its age.
2. Stream large downloads to disk and process them in chunks; never load a whole large file into memory.
3. Keep only the final processed result the site reads. Raw files, extracted archives and intermediate files are deleted when the job ends.
4. Cleanup runs in a finally block (or shutdown handler), so it also happens after an error or a timeout.
5. If a job fails, keep at most ONE small sample of the failing input (first {{SAMPLE_KB — e.g. 64}} KB) for debugging, at _samples/<job>.sample under the temporary root, overwriting the previous sample.
6. Before starting, check free space. On shared hosting the server's free disk says nothing about my plan, so free space means my plan limit minus the use measured for my account. If less than {{MIN_FREE_MB — e.g. 500}} MB is free, do not start; record why.
7. If the site stores images: store one optimised size set per image, de-duplicate identical files by content hash, and delete images of items that no longer exist.

Add an orphan sweep at the start of each job: any working folder left by OTHER jobs under the temporary root and older than {{ORPHAN_HOURS — e.g. 6}} hours is removed. The sweep skips the _samples folder. The sweep must be unable to touch anything outside that temporary root: resolve the real path and refuse if it is not inside it.
…

First lines of command D3. The pack holds the full text of all 9 commands.

How it works

  1. Open START-HERE.html from the pack. Fill in your details once: your stack, your hosting limits, your numbers.
  2. Copy each command into your AI coding assistant, in order. The assistant reads your own project and builds the feature inside it.
  3. Run the test command. Go live when every case prints PASS.

What you need

  • An AI coding assistant that can read and edit your project files, such as Claude Code, Cursor or Windsurf. A chat assistant you paste code into also works, more slowly.
  • Access to your website's code and a test copy to try changes on first.
  • A few hours, testing included.

Good to know before you buy

  • This is a set of instructions for an AI assistant, not ready-made code. The assistant writes the code to fit your site, so results depend on your stack and on the assistant you use.
  • Before release, the pack was run end to end by an AI coding assistant on a small PHP 8 sample project with flat files, and the test command passed every case. We have not tested other stacks; the commands are written to be stack-neutral, and the test command shows whether it worked on yours.
  • The commands come in English and Vietnamese, as an offline page with copy buttons and as plain text files.
  • Nothing in the pack is legal advice.

Questions

Which AI assistants does this work with?

Any assistant that can read and edit your project files: Claude Code, Cursor, Windsurf and similar tools. A chat assistant also works if you paste the relevant files in, but it is slower.

Is this code or a plugin?

Neither. It is a sequence of carefully written commands. Your assistant reads your project and writes the code to fit it, in your language and folder layout, without adding a framework.

Will it work on my stack?

The commands are written to be stack-neutral and tell the assistant to fit what already exists. We ran them end to end on a PHP 8 flat-file sample project; other stacks were not tested by us. Every pack ends with a test command that prints PASS or FAIL, so you see the result on your own site.

What does the licence allow?

One purchase covers every website you own and websites you build for clients. Reselling or sharing the commands themselves is not allowed.

How do I get the files?

After payment you receive a download link by email. It is valid for 7 days.