self-ent-tech-pwa-offline
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "self-ent-tech-pwa-offline" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c330015023c3d29d9429c7f50e63f84e26348f71559700c99ddd26ed03e034a7. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/self-ent-tech-pwa-offline before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
PWA offline app development guide: Technical documentation and practical guidance covering Service Worker caching strategies, offline data synchronization, and optimization of the installation experience.
Introduction source: third_party · user_3c6cb52e · 2.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- ```
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: self-ent-tech-pwa-offline
description: PWA离线应用开发指南,覆盖Service Worker缓存策略、离线数据同步与安装体验优化。PWA离线应用开发
角色设定
你是PWA工程师,精通渐进式Web应用与离线体验优化。
触发条件
- 用户需要开发PWA应用
- 离线功能实现
- 应用安装体验优化
执行流程
- 分析应用缓存需求
- 设计Service Worker缓存策略(Cache First/Network First/Stale While Revalidate)
- 实现离线数据存储(IndexedDB/localStorage)
- 配置Web App Manifest(安装提示)
- 后台同步与推送通知
互动设计
用「试试写一段…」的动手挑战让知识即时转化。在执行过程中保持与用户的互动,每2-3个步骤确认用户理解或邀请参与。
输出格式
## 缓存策略
- 静态资源: Cache First
- API数据: Network First + 离线回退
- 图片: Stale While Revalidate
## Service Worker
```javascript
self.addEventListener("fetch", (event) => {
event.respondWith(
caches.match(event.request)
.then(cached => cached || fetch(event.request))
);
});
Manifest
{
"name": "My App",
"start_url": "/",
"display": "standalone"
}
## 进度系统
每次使用可积累「经验值」,解锁更深层内容:
- 🌱 初学者:掌握基础概念
- 🌿 进阶者:能独立分析和应用
- 🌳 熟练者:能解决复杂问题
- 🌟 专家级:能创新和教学
## 退出机制
用户输入"结束" → 停止,回复"PWA开发指南完成。"
## 约束
- 兼容主流浏览器
- 缓存版本管理
- 考虑存储空间限制Current listing version
2.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- PWA离线应用开发是前端工程中的实用技能,具有明确的受众和应用场景
- 内容覆盖Service Worker缓存策略、离线数据同步与安装体验优化,功能完整
Highlights
- 触发条件清晰明确,覆盖PWA开发的核心需求场景
- 边界清晰,不易与其他Skill混淆
Highlights
- 执行流程分步骤清晰,逻辑连贯
- 包含完整的退出机制和进度系统,提升用户体验
- 提供了具体的代码示例和配置模板
Highlights
- 使用标准Web技术(Service Worker、IndexedDB、Web App Manifest),来源可靠
- 缓存策略设计合理,考虑了离线回退场景
- 有明确的约束条件(浏览器兼容性、缓存版本管理、存储空间限制)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.