Progressive Web App

Progressive Web App

Guides an AI coding agent to build progressive web apps with service workers, a web manifest, offline support, push notifications and installability.

Skill files7 files

references/

templates/

SKILL.md89 lines
1
---
2
name: progressive-web-app
3
description: >
4
Build progressive web apps using service workers, web manifest, offline
5
support, and installability. Use when creating app-like web experiences.
6
---
7
8
# Progressive Web App
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Build progressive web applications with offline support, installability, service workers, and web app manifests to deliver app-like experiences in the browser.
21
22
## When to Use
23
24
- App-like web experiences
25
- Offline functionality needed
26
- Mobile installation required
27
- Push notifications
28
- Fast loading experiences
29
30
## Quick Start
31
32
Minimal working example:
33
34
```json
35
// public/manifest.json
36
{
37
"name": "My Awesome App",
38
"short_name": "AwesomeApp",
39
"description": "A progressive web application",
40
"start_url": "/",
41
"scope": "/",
42
"display": "standalone",
43
"orientation": "portrait-primary",
44
"background_color": "#ffffff",
45
"theme_color": "#007bff",
46
"icons": [
47
{
48
"src": "/images/icon-192.png",
49
"sizes": "192x192",
50
"type": "image/png",
51
"purpose": "any"
52
},
53
{
54
"src": "/images/icon-512.png",
55
"sizes": "512x512",
56
"type": "image/png",
57
"purpose": "any"
58
},
59
{
60
// ... (see reference guides for full implementation)
61
```
62
63
## Reference Guides
64
65
Detailed implementations in the `references/` directory:
66
67
| Guide | Contents |
68
|---|---|
69
| [Web App Manifest](references/web-app-manifest.md) | Web App Manifest |
70
| [Service Worker Implementation](references/service-worker-implementation.md) | Service Worker Implementation |
71
| [Install Prompt and App Installation](references/install-prompt-and-app-installation.md) | Install Prompt and App Installation |
72
| [Offline Support with IndexedDB](references/offline-support-with-indexeddb.md) | Offline Support with IndexedDB |
73
| [Push Notifications](references/push-notifications.md) | Push Notifications |
74
75
## Best Practices
76
77
### ✅ DO
78
79
- Follow established patterns and conventions
80
- Write clean, maintainable code
81
- Add appropriate documentation
82
- Test thoroughly before deploying
83
84
### ❌ DON'T
85
86
- Skip testing or validation
87
- Ignore error handling
88
- Hard-code configuration values
89

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,412 prompts

More by @OpenSourceBuffGuy

See all
Chibi character 16 frame dance reference sheet prompt image

Chibi character 16 frame dance reference sheet

Creates a square 4x4 sheet of sixteen consecutive dance keyframes of an uploaded character, following numbered choreography steps with identity locked and secondary motion on hair and cloth.

image-prompt, character-sheet, multi-panel, dance, chibi, reference-image, character-consistency, character-design, full-body, white-background, illustration, structured-output, square-format, negative-prompt, gpt-image, for-artists, for-designers, game-assets, long-form, advanced

Running Man Pulled Back by Semi Chibi Double prompt image

Running Man Pulled Back by Semi Chibi Double

Makes a bright studio editorial photo of a running person from a reference photo, with a 3D semi-chibi double tugging their clothes back and realistic fabric tension.

image-prompt, gpt-image, reference-image, face-reference, negative-prompt, photorealistic, editorial, chibi, 3d-render, studio-lighting, white-background, fashion, portrait, full-body, motion-blur, whimsical, vertical-format, character-consistency, action-figure, fashion-shoot, pixar-style, soft-lighting, for-photographers, for-artists, humorous

Cornflower meadow path to a misty sailboat prompt image

Cornflower meadow path to a misty sailboat

Draws a portrait-format colored-pencil scene of a cornflower meadow with a winding path leading to a misty sea, a distant sailboat and a sunset sky.

image-prompt, illustration, landscape, flowers, ocean, dreamy, pastel, golden-hour, vertical-format, nano-banana, sketch, summer, for-artists, wallpaper, soft-lighting, wide-shot, high-angle

Reviews

Loading reviews…

Discussion

Loading comments…