skills/vendix-frontend-routing/SKILL.md
Angular frontend web routing patterns, dynamic app routes, public/private route files, guards, and lazy loading. Trigger: Managing Routes, adding frontend routes, lazy-loading modules/components, or editing public/private route files.
npx skillsauth add rzyfront/vendix vendix-frontend-routingInstall 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.
Use this skill for Angular web routing in apps/frontend. It replaces the old separate lazy-routing skill; all route targets should be lazy-loaded unless there is a verified reason not to.
apps/frontend/src/app/app.routes.ts exports an empty route array.apps/frontend/src/app/routes/public.apps/frontend/src/app/routes/private.*.routes.ts files under private/modules/**.Key route files:
routes/private/super_admin.routes.tsroutes/private/org_admin.routes.tsroutes/private/store_admin.routes.tsroutes/private/ecommerce.routes.tsroutes/public/store_ecommerce.public.routes.tsroutes/public/vendix_landing.public.routes.tsroutes/public/org_landing.public.routes.tsroutes/public/store_landing.public.routes.tsloadComponent for standalone components.loadChildren for route groups exported from *.routes.ts.AuthGuard; backend still owns real authorization.data for presentation metadata or default filters, not security decisions.{
path: 'products',
loadComponent: () =>
import('../../private/modules/store/products/products.component').then(
(c) => c.ProductsComponent,
),
}
{
path: 'accounting',
loadChildren: () =>
import('../../private/modules/store/accounting/accounting.routes').then(
(m) => m.accountingRoutes,
),
}
loadComponent or loadChildren route.vendix-panel-ui if this is an admin module.vendix-app-architecture - AppType/domain routing conceptsvendix-panel-ui - Sidebar visibility for private modulesvendix-zoneless-signals - Component runtime rulesvendix-frontend-module - Module file structuredevelopment
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.