platform-engineering

Installation
SKILL.md

Cross-Platform Development Rulebook

Three pillars govern every application you ship -- Security, Architecture, and Performance. Each rule is tagged with severity (MUST/DO/DON'T) and platform applicability.

Quick Platform Decision Matrix

Concern SPA PWA Mobile Electron Tauri
Auth token storage JS memory + httpOnly cookies JS memory + httpOnly cookies Platform Keychain/Keystore OS credential store OS credential store
OAuth flow Auth Code + PKCE Auth Code + PKCE System browser + PKCE Standard PKCE Standard PKCE
XSS impact Session hijack + persistent SW hijack WebView bridge access XSS to RCE Limited to web context
CSP Critical Critical WebViews only Critical Relevant
Offline strategy Optional IndexedDB + Cache API + SW Room/CoreData + sync queue Optional Optional
Bundle target <170KB compressed JS <170KB compressed JS <20MB APK/IPA 80-150MB (Chromium) <10MB total
API style REST or GraphQL REST (SW caching) GraphQL (fewer round-trips) REST (server-side aggregation) REST
State management Zustand/Redux + TanStack Query IndexedDB + Cache API ViewModel+StateFlow / SwiftUI IPC + context isolation Rust invoke commands

When to Load References

Related skills
Installs
1
GitHub Stars
2
First Seen
3 days ago