fec-pwa-implementation

fec-pwa-implementation is a skill for Claude Code from bovinphang/frontend-craft. It costs 87 tokens per session (561 once invoked), scanned A, original, MIT.

A guide for adding Progressive Web App features to a website. A Progressive Web App, or PWA, is a website that can be installed like an app and can offer limited offline use through a web app manifest and a service worker.

In plain words
What is it for?
Adding install metadata, icons, service workers, offline fallback pages, cache rules, update notices, and iOS or Android compatibility checks; and testing installation, offline access, updates, and reinstallation.
Why use it?
Making a site installable or available offline requires careful handling of caching, updates, sensitive requests, and differences between devices. This helps define those rules without caching login, payment, or permission operations incorrectly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frontend-craft plugin — 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers shipped together

Good fit Adding install metadata, icons, service workers, offline fallback pages, cache rules, update notices, and iOS or Android compatibility checks; and testing installation, offline access, updates, and reinstallation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bovinphang/frontend-craft/fec-pwa-implementation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bovinphang/frontend-craft --skill fec-pwa-implementation
Clone the repo
git clone --depth 1 https://github.com/bovinphang/frontend-craft

Made for: Claude Code.

Or install frontend-craft, the plugin that ships this one along with the rest of its 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fec-pwa-implementation

README.md
[![agentmods](https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-pwa-implementation/github.svg)](https://agentmods.dev/skills/bovinphang/frontend-craft/fec-pwa-implementation)
Your own site
<a href="https://agentmods.dev/skills/bovinphang/frontend-craft/fec-pwa-implementation"><img src="https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-pwa-implementation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fec-pwa-implementation

Your own site · 80×15
<a href="https://agentmods.dev/skills/bovinphang/frontend-craft/fec-pwa-implementation"><img src="https://agentmods.dev/badge/skills/bovinphang/frontend-craft/fec-pwa-implementation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 87 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 561 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00087 $0.00561
Opus 5 $0.00044 $0.00280
Sonnet 5 $0.00017 $0.00112
Haiku 4.5 $0.00009 $0.00056

Measured 9d ago against content hash 489c34b48f39, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

fec-pwa-implementation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

localized/zh-CN/skills/fec-pwa-implementation/SKILL.md · 36 lines

What it actually says

PWA 实现

用途

让 Web 应用具备可安装、离线兜底和可控更新能力。

流程

  1. 确认 PWA 是否值得做:面向移动端/桌面安装、弱网离线、重复访问场景时优先;纯内部后台、强实时流媒体或只需要普通缓存时不要强行 PWA。
  2. 先补齐 manifest、图标、主题色和 HTML 引用;图标至少覆盖 192/512,Android 需 maskable,iOS 需 apple touch icon。
  3. 注册 Service Worker,并设计更新提示;不要静默 skipWaiting() 后强刷用户页面。
  4. 用 Workbox 或框架插件管理 precache/runtime cache;登录、支付、权限变更等敏感请求必须走网络。
  5. 提供 offline fallback 页面和安装提示 UI,并验证首次加载、离线访问、更新激活、卸载重装。

详细参考

约束

  • Service Worker 仅在 HTTPS 下工作(localhost 除外)。
  • 缓存策略必须区分页面、静态资源、API 与敏感操作;不要把登录、支付、权限接口缓存起来。
  • Service Worker 更新有生命周期延迟;用户可见刷新提示优先于强制刷新。
  • iOS PWA 能力弱于 Android,安装、推送和生命周期都要单独验证。
  • 缓存有配额和逐出机制,必须设置 max entries / max age。

预期输出

产出可安装的 Web 应用、离线 fallback、可见更新提示和明确缓存策略。验证 Lighthouse PWA、DevTools Application 面板、离线模式、更新发布和移动端安装流程。

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 36 lines · 87 tokens per session scan A 489c34b48f39

Subscribe to this mod's changes

fec-pwa-implementation is a skill published in the GitHub repository bovinphang/frontend-craft (21 stars, last pushed 8d ago), licensed MIT. It adds 87 tokens to every session and 561 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

vertical-fintech-mobile

Domain-knowledge pack for money on a phone — wallets, payments, custody and signing, transaction lifecycle, KYC/AML gates, and offline reconciliation. The rules that separate a payments app from a CRUD app with a currency symbol: a balance is a claim about a server, an idempotency key must outlive the process that…

avelikiy/great_cto · 119 tokens

validate-mobile

Run a Maestro flow on an explicitly selected iOS or Android device and report behavioral evidence.

johnkozaris/jko-claude-plugins · 20 tokens

validate-api

Run the project's Hurl scenarios with an OIDC access token passed as a secret variable.

johnkozaris/jko-claude-plugins · 20 tokens

backend-architecture

This skill should be used for consequential backend architecture decisions: module or service boundaries; modular monoliths versus independent services; service extraction and data migration; data ownership and consistency; synchronous, event-driven, actor/stateful, or pipeline designs; failure isolation…

johnkozaris/jko-claude-plugins · 119 tokens

validate-ws

Run a bounded, protocol-aware WebSocket probe with an OIDC bearer token.

johnkozaris/jko-claude-plugins · 19 tokens

dotnet-backend-expert

This skill should be used when the user is writing, reviewing, debugging, or architecting pure .NET backend code for Kestrel-hosted services. It provides expert critique for REST endpoints, SignalR hubs, TypeScript/React client integration shape, pragmatic Rust interop, application services, AppHost-aware project…

mathisk2095/jko-claude-plugins · 181 tokens