pwa-best-practices
PWA Best Practices
This skill provides architectural guidelines and patterns for building and maintaining robust PWAs in a modern React ecosystem.
Monorepo Rollout Intent (Eridu)
Use this skill when introducing or refining PWA support in apps/erify_studios and apps/erify_creators.
- Prefer an app-by-app rollout with one canonical migration checklist.
- Start with
erify_studiosas the benchmark implementation. - Reuse the same PWA conventions in other FE apps unless there is a documented product constraint.
- Keep changes incremental: infra/bootstrap first, then offline UX and advanced sync.
Recommended Rollout Phases
- Foundation
- Add and configure
vite-plugin-pwainvite.config.ts. - Define manifest metadata (name, short_name, theme/background colors, display, icons).
- Ensure icon assets exist (including
maskablevariants).
- Add and configure
More from allenlin90/eridu-services
service-pattern-nestjs
Comprehensive NestJS service implementation patterns. This skill should be used when implementing Model Services, Orchestration Services, or business logic with NestJS decorators.
8erify-authorization
Patterns for implementing authorization in erify_api with current StudioMembership + AdminGuard behavior, plus planned RBAC references
6data-validation
Provides comprehensive guidance for input validation, data serialization, and ID management in backend APIs. This skill should be used when designing validation schemas, transforming request/response data, mapping database IDs to external identifiers, and ensuring type safety across API boundaries.
6code-quality
Provides general code quality and best practices guidance applicable across languages and frameworks. Focuses on linting, testing, and type safety.
6repository-pattern-nestjs
Comprehensive Prisma repository implementation patterns for NestJS. This skill should be used when implementing repositories that extend BaseRepository or use Prisma delegates.
6task-template-builder
Provides guidelines for the Task Template Builder architecture, including Schema alignment, Draft storage, Drag-and-Drop, and Validation logic.
6