An agent skill for building native Lynx applications with Vue 3 using the vue-lynx custom renderer.
npx skills add derrickobedgiu1/vue-lynxThis skill gives Claude (or any compatible agent) the knowledge to correctly build Vue Lynx apps, covering the key differences from standard Vue web development:
- Lynx-native elements —
<view>,<text>,<image>,<scroll-view>,<list>instead of HTML - Lynx event system —
:bindtap,:catchtap,:capture-bindtapinstead of@click - Dual-thread architecture — Vue runs on the background thread, native rendering on the main thread, with ops/events flowing between them
- Main Thread Script (MTS) — Eliminating cross-thread latency for smooth animations and gesture handling using
'main thread'functions,useMainThreadRef, andrunOnMainThread/runOnBackground - Ecosystem integration — Vue Router (with
createMemoryHistory), Pinia, TanStack Vue Query, and Tailwind CSS (with@lynx-js/tailwind-preset) - Testing — Setting up
vue-lynx-testing-librarywith vitest and the dual-thread test environment - Project setup —
lynx.config.ts,pluginVueLynxoptions, entry points, type declarations
vue-lynx/
├── SKILL.md # Core skill (always loaded)
└── references/
├── main-thread-script.md # MTS performance patterns
├── ecosystem.md # Router, Pinia, Vue Query, Tailwind
└── testing.md # Test setup and patterns
The main SKILL.md covers everything needed for typical Vue Lynx development. The reference files are loaded on-demand when the task requires deeper guidance on a specific topic.
MIT