skills/vendix-frontend-modal/SKILL.md
Modal implementation patterns for Vendix frontend: app-modal API, model-based visibility, slots, outputs, zoneless-safe close/open behavior, and modal wrapper usage in feature flows. Trigger: When creating or modifying modals in frontend.
npx skillsauth add rzyfront/vendix vendix-frontend-modalInstall 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/shared/components/modal/modal.component.tsapps/frontend/src/app/shared/components/modal/README.mdapp-modal APIapp-modal is a standalone shared component using signal APIs.
Inputs:
isOpen via model<boolean>(false)titlesubtitlesize: sm | md | lg | xl-mid | xlcenteredcloseOnBackdropcloseOnEscapeshowCloseButtonoverlayCloseButtoncustomClassesOutputs:
openedclosedcancelSlots/content areas:
[slot=header][slot=header-end][slot=footer]vendix-zoneless-signals patterns when wrapping modals.[(isOpen)] with a signal/model in the parent or wrapper component.cancel when the wrapper needs cleanup on close.opened and closed are emitted from an effect() observing isOpen() transitions.close() sets isOpen(false) and emits cancel.dblclick path plus outside-container detection; document current behavior, do not assume a different click contract without checking the component.app-modal owns only generic modal chrome/visibility behavior.vendix-zoneless-signalsvendix-frontend-componentvendix-angular-formsdevelopment
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.