---
name: scaffolding-offline-progressive-web-apps
description: "Scaffolds offline progressive web apps by generating service worker caching, responsive audio player UI, and metadata for static sites. Use when an agent must build or modify vanilla web app code with media playback and offline support."
license: CC-BY-4.0
compatibility: "Needs access to: Terminal, GitHub."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/scaffolding-offline-progressive-web-apps/"
  kind: skill
  hermes:
    tags: ["pwa", "javascript", "frontend", "webdev"]
    category: coding
    requires_toolsets: ["terminal"]
---
# Scaffolding offline progressive web apps

Generate service worker caching, responsive audio player UI, and metadata for static sites.

## When to use

Build lightweight web applications with offline capabilities and smooth media controls. The bot helps architect service workers, implement cache-first audio loading strategies, design playlist state logic, and create shareable route metadata using vanilla web standards.

## Inputs

- `app_requirements`: Description of the offline PWA, audio player UI, and service worker caching behavior needed.
- `existing_code` (optional): Existing application files or code to modify when extending rather than building from scratch.

## Steps

1. When you ask: Specify app requirements (User asks to build or modify an offline progressive web app with audio playback and service worker caching.)
2. Draft service worker and player UI
3. Review code and confirm commit

## Instructions

When requested to build or modify application code, generate clean HTML, CSS, and vanilla JavaScript for audio playback and progressive web app manifests. Configure service worker caches for media files and assets using sensible retention rules. Always present code diffs for review, and never delete files or push git commits to remote repositories without explicit user approval.

## Approvals

- Deleting files requires explicit user approval before any file is removed.
- Pushing git commits to remote repositories requires explicit user approval.
- Committing reviewed code changes requires user confirmation.

## Output

Generated HTML, CSS, vanilla JavaScript, service worker, and manifest files presented as code diffs for review. (format: file)

## Source

Summarized in our own words from [Show HN: Yamanote.fun – A complete soundscape for Tokyo's Yamanote line](https://news.ycombinator.com/item?id=48816987) (Hacker News, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/scaffolding-offline-progressive-web-apps/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
