Your build starts here
Replace bracketed details with your own goal, context, and checks. Keep the first build small enough to inspect.
Add offline reading for [content] using the project's existing web architecture. The offline promise is [specific pages or records that remain usable].
Inspect current storage and service-worker behavior before adding another cache. Define what is cached, when it becomes stale, and how a new application version updates its assets. Keep cached reading separate from pending server writes and account permissions.
Verify a first visit without saved content, an online visit followed by loss of connectivity, an offline reload, and reconnection. Show useful unavailable or stale states. Report tested browsers and any capability-dependent limitations without claiming every feature now works offline.Make this prompt yours
Replace bracketed fields with your goal, current behavior, and relevant evidence. Keep requirements that affect the task. Check the result against the acceptance criteria you supplied.
The docs behind it
These references explain the underlying concepts and APIs. The prompt templates and project plans are original examples to adapt to your own setup.
Documentation links checked .
Editorial review · October 28, 2026
Supported: Original, unexecuted offline template. It explicitly bounds cached reading, update policy, and unsupported operations; service-worker support does not guarantee arbitrary offline writes.