@sylphx/flow 2.28.1 → 2.28.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @sylphx/flow
|
|
2
2
|
|
|
3
|
+
## 2.28.3 (2025-12-19)
|
|
4
|
+
|
|
5
|
+
### 🐛 Bug Fixes
|
|
6
|
+
|
|
7
|
+
- **prompts:** instruct agents to use Skill tool explicitly ([45a2d34](https://github.com/SylphxAI/flow/commit/45a2d34fca6cf3064193980b15acdc922ac0f554))
|
|
8
|
+
|
|
9
|
+
## 2.28.2 (2025-12-19)
|
|
10
|
+
|
|
11
|
+
Enhance PWA skill with comprehensive native app parity checklist (35 capabilities)
|
|
12
|
+
|
|
13
|
+
### 📚 Documentation
|
|
14
|
+
|
|
15
|
+
- **skills:** expand PWA native parity to 35 capabilities ([8d32115](https://github.com/SylphxAI/flow/commit/8d321157ff66894f8b4fc6689eee39b6ce9176d1))
|
|
16
|
+
- **skills:** remove priority categorization from PWA skill ([64d3966](https://github.com/SylphxAI/flow/commit/64d39660da95fc3b03c03534e906d0a9d81e9e1f))
|
|
17
|
+
- **skills:** enhance PWA skill with native app parity checklist ([8840a51](https://github.com/SylphxAI/flow/commit/8840a51e0fa3e9e1c638ca4a101235a9169edca9))
|
|
18
|
+
|
|
3
19
|
## 2.28.1 (2025-12-19)
|
|
4
20
|
|
|
5
21
|
### 🐛 Bug Fixes
|
package/assets/agents/builder.md
CHANGED
|
@@ -43,14 +43,7 @@ Build toward that.
|
|
|
43
43
|
|
|
44
44
|
**Ultrathink.** Many minds beat one. Delegate workers to explore from different angles. They critique, you synthesize. Never self-assess.
|
|
45
45
|
|
|
46
|
-
**Skills.** Before acting on any domain —
|
|
47
|
-
```
|
|
48
|
-
abuse-prevention, account-security, admin, appsec, auth, billing,
|
|
49
|
-
code-quality, competitive-analysis, data-modeling, database, delivery,
|
|
50
|
-
deployments, growth, i18n, ledger, observability, performance, pricing,
|
|
51
|
-
privacy, pwa, referral, seo, storage, support, uiux
|
|
52
|
-
```
|
|
53
|
-
Skills contain: tech stack decisions, non-negotiables, driving questions. Then exceed them.
|
|
46
|
+
**Skills.** Before acting on any domain — use the Skill tool to load guidelines. Read the guidelines. Then exceed them.
|
|
54
47
|
|
|
55
48
|
**Act.** No permission needed. No workarounds. Ship it.
|
|
56
49
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: pwa
|
|
3
|
-
description: PWA -
|
|
3
|
+
description: PWA - native app parity, offline-first, engagement. Use when building installable web apps.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# PWA Guideline
|
|
@@ -8,24 +8,68 @@ description: PWA - service workers, offline support. Use when building PWA featu
|
|
|
8
8
|
## Tech Stack
|
|
9
9
|
|
|
10
10
|
* **Framework**: Next.js
|
|
11
|
+
* **Service Worker**: Serwist (Next.js integration)
|
|
11
12
|
* **Platform**: Vercel
|
|
12
13
|
|
|
13
14
|
## Non-Negotiables
|
|
14
15
|
|
|
15
16
|
* Service worker must not cache personalized/sensitive/authorized content
|
|
16
17
|
* Cache invalidation on deploy must be correct (no stale content)
|
|
18
|
+
* Offline experience must be functional, not just a fallback page
|
|
19
|
+
* Installation prompt must be contextual (after value demonstrated)
|
|
20
|
+
|
|
21
|
+
## Native App Parity
|
|
22
|
+
|
|
23
|
+
| Capability | API |
|
|
24
|
+
|------------|-----|
|
|
25
|
+
| True offline | Cache API + localStorage/IndexedDB |
|
|
26
|
+
| Background sync | Background Sync API |
|
|
27
|
+
| App icon badge | Badging API |
|
|
28
|
+
| Local notifications | Notifications API |
|
|
29
|
+
| Push notifications | Web Push API |
|
|
30
|
+
| App shortcuts | manifest.json `shortcuts` |
|
|
31
|
+
| File handling | File Handling API |
|
|
32
|
+
| Protocol handling | registerProtocolHandler |
|
|
33
|
+
| Pull-to-refresh | Touch events + CSS |
|
|
34
|
+
| View transitions | View Transitions API |
|
|
35
|
+
| Bottom sheets | CSS + touch gestures |
|
|
36
|
+
| Skeleton loading | CSS + React Suspense |
|
|
37
|
+
| Swipe gestures | Touch/Pointer events |
|
|
38
|
+
| Haptic feedback | Vibration API |
|
|
39
|
+
| Sound effects | Web Audio API |
|
|
40
|
+
| Media controls | Media Session API |
|
|
41
|
+
| Wake lock | Screen Wake Lock API |
|
|
42
|
+
| Orientation lock | Screen Orientation API |
|
|
43
|
+
| Fullscreen | Fullscreen API |
|
|
44
|
+
| Picture-in-Picture | PiP API |
|
|
45
|
+
| Share | Web Share API |
|
|
46
|
+
| Receive share | Share Target API |
|
|
47
|
+
| Clipboard | Clipboard API |
|
|
48
|
+
| Camera/Mic | MediaDevices API |
|
|
49
|
+
| Geolocation | Geolocation API |
|
|
50
|
+
| Motion sensors | DeviceMotion/Orientation |
|
|
51
|
+
| Bluetooth | Web Bluetooth API |
|
|
52
|
+
| NFC | Web NFC API |
|
|
53
|
+
| Barcode scan | Barcode Detection API |
|
|
54
|
+
| Speech | Web Speech API |
|
|
55
|
+
| Payments | Payment Request API |
|
|
56
|
+
| Credentials | Credential Management API |
|
|
57
|
+
| Idle detection | Idle Detection API |
|
|
58
|
+
| Network status | Network Information API |
|
|
59
|
+
| Reduced motion | `prefers-reduced-motion` |
|
|
60
|
+
| Window controls | Window Controls Overlay |
|
|
17
61
|
|
|
18
62
|
## Context
|
|
19
63
|
|
|
20
|
-
|
|
64
|
+
PWA goal: users forget they're in a browser. The gap between "website" and "app" is measured in micro-interactions — haptics, gestures, offline resilience, and engagement hooks.
|
|
21
65
|
|
|
22
|
-
|
|
66
|
+
A bad PWA is worse than no PWA. But a great PWA can match 90% of native with 10% of the effort.
|
|
23
67
|
|
|
24
68
|
## Driving Questions
|
|
25
69
|
|
|
26
|
-
*
|
|
27
|
-
* What
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* What
|
|
70
|
+
* What breaks when the user goes offline mid-action?
|
|
71
|
+
* What would make users install this instead of bookmarking?
|
|
72
|
+
* Which native gestures (swipe, pull, long-press) are missing?
|
|
73
|
+
* What local notifications would drive daily engagement?
|
|
74
|
+
* Where does the app feel "webby" instead of native?
|
|
75
|
+
* What's the first thing users see when they open the installed app?
|
|
@@ -16,13 +16,6 @@ Push for world-class:
|
|
|
16
16
|
|
|
17
17
|
**Never self-assess.** Delegate to workers — they critique, you synthesize. Final Gate.
|
|
18
18
|
|
|
19
|
-
**
|
|
20
|
-
```
|
|
21
|
-
abuse-prevention, account-security, admin, appsec, auth, billing,
|
|
22
|
-
code-quality, competitive-analysis, data-modeling, database, delivery,
|
|
23
|
-
deployments, growth, i18n, ledger, observability, performance, pricing,
|
|
24
|
-
privacy, pwa, referral, seo, storage, support, uiux
|
|
25
|
-
```
|
|
26
|
-
Skills contain: tech stack decisions, non-negotiables, driving questions. Then exceed them.
|
|
19
|
+
**Skills.** Before acting on any domain — use the Skill tool to load guidelines. Read the guidelines. Then exceed them.
|
|
27
20
|
|
|
28
21
|
`/continue`
|
|
@@ -17,14 +17,7 @@ args:
|
|
|
17
17
|
|
|
18
18
|
## Execution
|
|
19
19
|
|
|
20
|
-
1. **
|
|
21
|
-
```
|
|
22
|
-
abuse-prevention, account-security, admin, appsec, auth, billing,
|
|
23
|
-
code-quality, competitive-analysis, data-modeling, database, delivery,
|
|
24
|
-
deployments, growth, i18n, ledger, observability, performance, pricing,
|
|
25
|
-
privacy, pwa, referral, seo, storage, support, uiux
|
|
26
|
-
```
|
|
27
|
-
Skills contain: tech stack decisions, non-negotiables, driving questions.
|
|
20
|
+
1. **Load skills** — Use the Skill tool to load guidelines for relevant domains. Read the guidelines.
|
|
28
21
|
|
|
29
22
|
2. **Understand** — How is this implemented? Architecture, choices, tradeoffs.
|
|
30
23
|
|
package/package.json
CHANGED