From platform-engineering
Defines cross-platform development rules for security, architecture, and performance across SPA, PWA, mobile, and desktop apps. Includes OWASP, OAuth, and Core Web Vitals guidance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/platform-engineering:platform-engineeringThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Three pillars govern every application you ship -- Security, Architecture, and Performance. Each rule is tagged with severity (MUST/DO/DON'T) and platform applicability.
references/api-design.mdreferences/api-security.mdreferences/auth-tokens.mdreferences/backend-and-platform-performance.mdreferences/client-server-architecture.mdreferences/frontend-performance.mdreferences/infrastructure.mdreferences/offline-first.mdreferences/passkeys-webauthn.mdreferences/platform-security.mdreferences/secrets-management.mdreferences/server-validation.mdreferences/xss-csp.mdThree pillars govern every application you ship -- Security, Architecture, and Performance. Each rule is tagged with severity (MUST/DO/DON'T) and platform applicability.
| 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 |
server-validation, auth-tokens, passkeys-webauthn, api-security, xss-csp, secrets-management, platform-securityclient-server-architecture, api-design, offline-first, infrastructurefrontend-performance, backend-and-platform-performancenpx claudepluginhub acaprino/claude-code-daodan --plugin platform-engineeringGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.