skills/vendix-frontend-domain/SKILL.md
Frontend domain/app configuration patterns: AppConfigService domain detection, environment resolution, branding application, dynamic route selection, and cached app config. Trigger: When working on frontend domains.
npx skillsauth add rzyfront/vendix vendix-frontend-domainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
apps/frontend/src/app/core/services/app-config.service.tsapps/frontend/src/app/core/models/domain-config.interface.tsapps/frontend/src/app/core/models/environment.enum.tsapps/frontend/src/app/routes/AppConfigService is async and builds an AppConfig object through setupConfig() and detectDomain(). It does not expose the old BehaviorSubject domain_config$$ pattern documented in legacy guidance.
It currently:
${environment.apiUrl}/public/domains/resolve/${hostname}ThemeServiceCurrent config includes fields such as:
environmentdomainTypeorganization_slugstore_slugorganization_idstore_idstore_logo_urlisVendixDomainisMainVendixDomaincustomConfig, which can include branding and currencyAppConfigService and the route maps rather than creating duplicate domain-config services.ThemeService.detectDomain() and theme setup.vendix-app-architecturevendix-frontend-routingvendix-frontend-themedevelopment
Mobile app development rules for Vendix Expo/React Native project. Trigger: When editing, creating, or modifying any file under apps/mobile, or when developing mobile-specific features.
development
Feature gating by store subscription state: global store write guard, AI feature gate, Redis feature resolution, quota consumption, frontend paywall interceptor, banner, and subscription UI states. Trigger: When adding feature gates, paywalls, subscription-based access control, protecting store write operations, AI feature gates, or rollout flags.
testing
SaaS subscription billing for Vendix stores: plan pricing, invoices, Wompi platform payments, manual payments, partner commissions, payouts, proration, and dunning. Trigger: When creating SaaS invoices, working with partner rev-share, margin/surcharge pricing, invoice sequence allocation, partner payout batches, subscription payments, manual payments, or dunning flows.
development
Periodic quota counters with Redis, UTC period keys, Lua-based idempotent AI quota consumption, request-id deduplication, and post-success consumption. Trigger: When building quota counters, enforcing monthly/daily feature caps, or reusing AI quota patterns for uploads, emails, exports, or rate-limited features.