Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Przegląd i audyt

audit-pwa

/audit-pwa

Audytuje aplikację PWA: manifest, instalowalność, service worker, strategię cache, powiadomienia push i bezpieczeństwo service workera.

Repozytorium
pn-ultra-audit ↗
Licencja
GPL-3.0
Ostatnia zmiana repozytorium
13.11.2026

Ocena i bezpieczeństwo

85/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść20 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

GPL-3.0, otwarta.

Co robi i kiedy

Audytuje aplikację PWA: manifest, instalowalność, service worker, strategię cache, powiadomienia push i bezpieczeństwo service workera.

Oryginalny opis (EN)

Progressive Web App auditor. Checks the web app manifest, installability, service worker (registration, caching strategy, offline fallback, versioned caches, update flow), push notifications, HTTPS and security of the service worker (remote importScripts, cached private data, unvalidated messages, leaked VAPID keys). Use when a project has a manifest or service worker, or the user mentions PWA, offline, installable, service worker, workbox, push.

Jak działa

  1. 0. Baseline from the CLI
  2. 1. Manifest and installability
  3. 2. Service worker
  4. 3. Security
  5. 4. Report
Sekcje z nagłówków SKILL.md, w oryginale · 20 linii, 234 słów
Podgląd SKILL.md
---
name: audit-pwa
description: Progressive Web App auditor. Checks the web app manifest, installability, service worker (registration, caching strategy, offline fallback, versioned caches, update flow), push notifications, HTTPS and security of the service worker (remote importScripts, cached private data, unvalidated messages, leaked VAPID keys). Use when a project has a manifest or service worker, or the user mentions PWA, offline, installable, service worker, workbox, push.
---

# audit-pwa

Goal: make the PWA **installable, offline-capable, updatable and safe**. Review first; fix the highest-risk gaps.

## 0. Baseline from the CLI
Run `python3 <suite>/audit.py <project> --only pwa --strictness <basic|standard|strict>` (ask the user which level if they did not say; default standard). With a deployed site add `--url https://site --authorized` for the live check (manifest reachable, icons load, service-worker MIME type and cache headers). Read the `PWA-*` findings and the PWA score/checklist in the dashboard (PWA view).

## 1. Manifest and installability
`name`/`short_name`, `start_url` inside `scope`, `display: standalone`, icons 192 + 512 (+ maskable), `theme_color`/`background_color`, `<link rel="manifest">` on every page, viewport meta, `apple-touch-icon`. Strict mode also wants `id`, `description`, `screenshots`, `categories`, `shortcuts`.

## 2. Service worker
Registered from the site root after `load`; `fetch` handler (network-first for HTML/API, cache-first for hashed assets, offline fallback page); **versioned cache names and cleanup in `activate`**; no unconditional `skipWaiting()` (use an update prompt); bounded runtime caches; `Cache-Control: no-cache` for `sw.js`.

## 3. Security
No `importScripts` from other origins; never cache authenticated/API responses (or key per user and clear on logout); validate `event.source` in `message` handlers; VAPID private key only on the server; notification permission only after a user gesture; HTTPS everywhere.

## 4. Report
For each finding: file:line, why it matters, the exact change, and how to verify (DevTools > Application > Manifest / Service Workers, Lighthouse "Installable" and offline test). Never claim "PWA-ready" without the checklist.

Wersje

W bazie nie ma innych skilli o nazwie audit-pwa.

Migawka bazy z 13.11.2026 · wersja paczki 89e0df4a6396 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 1 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100pwa
    Wspiera tworzenie Progressive Web App: service workery, Web App Manifest, strategie offline-first, cache z Workbox, powiadomienia push i instalowalność.
  • 95frontend-pwa
    Zmienia aplikację webową w instalowalną i działającą offline: manifest, service worker z Workbox, bezpieczną aktualizację i powiadomienia push.
  • 90fec-pwa-implementation
    Dodaje i przegląda funkcje Progressive Web App: możliwość instalacji, manifest, rejestrację Service Workera, cache Workbox, tryb offline, monity o aktualizacji, ikony maskable i zgodność z PWA na iOS.
  • 90agent-pwa-specialist
    Działa jako subagent specjalista od aplikacji PWA: service workers, architektura offline-first, powiadomienia push, manifest i instalowalne aplikacje webowe.
  • 95pwa
    Opisuje architekturę Progressive Web App: service workery, manifest aplikacji, strategie cache, tryb offline, powiadomienia push, synchronizację w tle i Workbox.
  • 90dte-pwa
    Przygotowuje aplikację Rails do działania offline i instalacji: manifest, service worker, stany pamięci podręcznej i powiadomienia.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.