skills/skill-sync/SKILL.md
Syncs skill metadata to AGENTS.md Auto-invoke sections. Trigger: When updating skill metadata (metadata.scope/metadata.auto_invoke), regenerating Auto-invoke tables, or running ./skills/skill-sync/assets/sync.sh (including --dry-run/--scope).
npx skillsauth add rzyfront/vendix skill-syncInstall 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 to keep AGENTS.md auto-invoke tables and provider-specific skill copies aligned with the source files in skills/.
skills/{skill-name}/SKILL.md.metadata.scope and metadata.auto_invoke generate AGENTS.md auto-invoke rows..claude/skills, .opencode/skills, .agent/skills, and .agents/skills after setup sync.skills/ and sync.---
name: my-skill
description: >
Short description.
Trigger: Specific situation that should load this skill.
license: MIT
metadata:
author: rzyfront
version: "1.0"
scope: [root]
auto_invoke:
- "Action that should load this skill"
allowed-tools: Read, Edit, Write, Glob, Grep, Bash
---
allowed-tools is optional and stays at the top level, not inside metadata.
| Scope | Target |
| --- | --- |
| root | AGENTS.md |
| backend | apps/backend/AGENTS.md if present |
| frontend | apps/frontend/AGENTS.md if present |
| ecommerce | apps/ecommerce/AGENTS.md if present |
If a scoped AGENTS.md file does not exist, the sync script warns and skips that scope.
# Update AGENTS.md auto-invoke tables from metadata
./skills/skill-sync/assets/sync.sh
# Preview auto-invoke table changes
./skills/skill-sync/assets/sync.sh --dry-run
# Sync only one scope
./skills/skill-sync/assets/sync.sh --scope root
# Copy source skills to provider-specific locations
./skills/setup.sh --sync
After creating or modifying a skill:
skills/.metadata.scope and metadata.auto_invoke when the skill should auto-load../skills/skill-sync/assets/sync.sh../skills/setup.sh --sync../skills/skill-sync/assets/sync.sh again if provider sync rewrote generated root instructions.AGENTS.md entries.AGENTS.md: check metadata.scope and metadata.auto_invoke.AGENTS.md: either create that scoped file intentionally or use scope: [root]../skills/setup.sh --sync after editing source skills.development
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.