Home / pubky / pubky-app · .cursor/rules/pwa.mdc · GitHub

pwa rulesA

pwa is agent-read markdown (rules) from pubky/pubky-app: PWA / service worker — shell-only precache, no data caching, user-consented updates, static offline fallback, manifest and install banner.

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# PWA Rules

@docs/pwa.md — what the service worker may and may never cache, the update flow, the static offline fallback, the precache allow-list, and how to test locally.

Read the whole file at its exact version.

How to install

Latest version
mdr add pubky/pubky-app/.cursor/rules/pwa.mdc@git:20260918.b35cf7a
Exact content
mdr add pubky/pubky-app/.cursor/rules/pwa.mdc@sha256:f1f503398d0df0c5

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_7msualo3v6fxzsk3.svg)](https://markdownregistry.com/a/art_7msualo3v6fxzsk3)

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
git:20260918.b35cf7a latest2026-09-18 b35cf7a 864 BA view

Audit of the latest version

A  14 of 14 checks passed. Deterministic, no model, same answer every run.
  • pass: Size between 200 bytes and 200 KB (864 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

pubky/pubky-app · 26 stars · license MIT · pushed 2026-09-23 · branch dev

API

GET https://markdownregistry.com/api/v1/artifacts/art_7msualo3v6fxzsk3
GET https://markdownregistry.com/api/v1/resolve?ref=pubky/pubky-app/.cursor/rules/pwa.mdc
GET https://markdownregistry.com/api/v1/blob/f1f503398d0df0c57142a149e327dccee3273b506c5c57925714372cb1690734

Your agent does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

More from pubky/pubky-app

pubky-code-review skill
pubky/pubky-app · .agents/skills/pubky-code-review/SKILL.md · Run a local code review of a diff against this repo's architecture rules (AGENTS.md, .greptile/config.json) and quality…
git:20260915.d786bb4 · audit A · 26 stars
pubky-staging-invite skill
pubky/pubky-app · .agents/skills/pubky-staging-invite/SKILL.md · Mints a single-use signup token for the Pubky staging homeserver. Use when the user explicitly asks for a new staging…
git:20260915.d786bb4 · audit A · 26 stars
sentry-nextjs-sdk skill
pubky/pubky-app · .agents/skills/sentry-nextjs-sdk/SKILL.md · Full Sentry SDK setup for Next.js. Use when asked to "add Sentry to Next.js", "install @sentry/nextjs", or configure…
git:20260507.298cb6e · audit A · 26 stars
architecture rules
pubky/pubky-app · .cursor/rules/architecture.mdc · Core architecture rules - layer separation, dependencies, and anti-patterns
git:20260309.80c3cb2 · audit B · 26 stars
commit-message rules
pubky/pubky-app · .cursor/rules/commit-message.mdc · Enforce conventional commit message format
git:20260309.80c3cb2 · audit B · 26 stars
component-testing rules
pubky/pubky-app · .cursor/rules/component-testing.mdc · Writing unit tests and snapshot tests for UI component rendering
git:20260309.80c3cb2 · audit B · 26 stars
components rules
pubky/pubky-app · .cursor/rules/components.mdc · Component development patterns - Shadcn first, atomic design, Figma parity
git:20260309.80c3cb2 · audit B · 26 stars
data-patterns rules
pubky/pubky-app · .cursor/rules/data-patterns.mdc · Data patterns - composite IDs, streams, TTL, pipes normalization
git:20260915.d786bb4 · audit B · 26 stars
env-variables rules
pubky/pubky-app · .cursor/rules/env-variables.mdc · Build-time Env and runtime PUBKY_RUNTIME_* configuration rules
git:20260915.d786bb4 · audit A · 26 stars
error-handling rules
pubky/pubky-app · .cursor/rules/error-handling.mdc · Error handling conventions using AppError across all layers
git:20260915.d786bb4 · audit B · 26 stars
local-first rules
pubky/pubky-app · .cursor/rules/local-first.mdc · Local-first write patterns and controller naming conventions
git:20260915.d786bb4 · audit B · 26 stars
sentry rules
pubky/pubky-app · .cursor/rules/sentry.mdc · Observability conventions (Sentry + Pulse) — capture funnel, direct-call rule and the Pulse consent gate
git:20260923.a27e420 · audit A · 26 stars

Every file in pubky/pubky-app

Browse by kind, by grade A, or by owner.