core
/core
Dostarcza kontrolery @audio-ui/core do budowy pokręteł, suwaków, mierników i padów XY bez Reacta: matematyka wartości, skale logarytmiczne, obsługa wskaźnika, kółka i klawiatury oraz dostępność.
- Autor
- ouestlabs ↗
- Repozytorium
- audio-ui ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 17
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Dostarcza kontrolery @audio-ui/core do budowy pokręteł, suwaków, mierników i padów XY bez Reacta: matematyka wartości, skale logarytmiczne, obsługa wskaźnika, kółka i klawiatury oraz dostępność.
Oryginalny opis (EN)
Load this before writing any audio control, knob, fader, meter, XY pad or slider for Vue, Svelte, Solid, Angular, Lit, web components or plain JavaScript and the DOM, or in any project without React. It holds the framework-free @audio-ui/core controllers behind every audio/ui primitive (value math, log scales, pointer, wheel and keyboard handling, native range input for accessibility, live sources), the plain DOM knob and fader, and the Vue and Svelte bindings, so the control is not rewritten from scratch. Use it whenever the user names a non-React framework or says no React, even if they only
Jak działa
- When to Apply
- Rule Categories by Priority
- Quick Reference
- Workflow
- How to Use
- Full Compiled Document
Podgląd SKILL.md
--- name: core description: "Load this before writing any audio control, knob, fader, meter, XY pad or slider for Vue, Svelte, Solid, Angular, Lit, web components or plain JavaScript and the DOM, or in any project without React. It holds the framework-free @audio-ui/core controllers behind every audio/ui primitive (value math, log scales, pointer, wheel and keyboard handling, native range input for accessibility, live sources), the plain DOM knob and fader, and the Vue and Svelte bindings, so the control is not rewritten from scratch. Use it whenever the user names a non-React framework or says no React, even if they only ask for a rotary knob, a fader or a synth UI." license: MIT metadata: author: audio/ui version: "1.2.0" --- # Audio controls without React `@audio-ui/core` holds the logic of every audio/ui primitive with no framework in it: value math, scales, pointer, wheel and keyboard handling, and live sources. A control outside React is one controller, a native range input for accessibility, and a few lines of drawing. ## When to Apply - Audio controls for Vue, Svelte, Solid, Angular, web components or the plain DOM - A project that has no React, or no `@audio-ui/react` - Writing a binding of the controllers for another framework - Reviewing code that creates controllers, subscribes or redraws ## Rule Categories by Priority | Priority | Category | Impact | Prefix | | --- | --- | --- | --- | | 1 | Without React | HIGH | `core-` | ## Quick Reference ### 1. Without React (HIGH) - `core-one-controller` - Create one controller per control, once; never on every option change - `core-redraw-after-set-options` - `setOptions` replaces everything and notifies no one: pass all options, then redraw - `core-draw-from-snapshot` - Draw angle, percent and text from `getSnapshot()`, never recomputed - `core-native-range-input` - A hidden `<input type="range">` wired to `keyDown` and `type` - `core-pointer-handler` - Primary button, `preventDefault`, focus the input and `touch-action: none` before `press` - `core-cleanup` - Call the removers `subscribe` and `attachWheel` return - `core-public-entries` - `@audio-ui/core` and `@audio-ui/core/<name>`, never `/internal` ## Workflow 1. **Install** `@audio-ui/core` (no dependencies) and read [core.md](./core.md): the entries, a plain DOM knob, and Vue and Svelte bindings. 2. **Create one controller per control**, once (`core-one-controller`), wire a hidden `<input type="range">` to it (`core-native-range-input`), and draw from `getSnapshot()` (`core-draw-from-snapshot`). 3. **Handle the pointer the way the rules say** (`core-pointer-handler`) and call the removers on teardown (`core-cleanup`). 4. **Look.** The `design` skill has the skins and `styles/dom.css` for the plain DOM; sound and live data come from the `web-audio` skill. 5. **Verify.** Tab to each control and use the arrow keys, then drag it fast. ## How to Use Read the rule files for the explanation and the incorrect and correct code: ``` rules/core-one-controller.md rules/core-cleanup.md ``` - [core.md](./core.md): the controllers outside React, with a plain DOM knob and Vue and Svelte bindings - Full docs: https://www.audio-ui.dev/llms.txt ## Full Compiled Document Every rule of this skill expanded in one file: [AGENTS.md](./AGENTS.md)
Pliki w paczce (17)
- AGENTS.md 9 KB
- SKILL.md 3 KB
- core.md 20 KB
- metadata.json 1 KB
- agents/openai.yml 1 KB
- assets/audio-ui-small.png 2 KB
- assets/audio-ui.png 20 KB
- evals/evals.json 1 KB
- rules/_sections.md 1 KB
- rules/_template.md 1 KB
- rules/core-cleanup.md 1 KB
- rules/core-draw-from-snapshot.md 1 KB
- rules/core-native-range-input.md 1 KB
- rules/core-one-controller.md 1 KB
- rules/core-pointer-handler.md 1 KB
- rules/core-public-entries.md 1 KB
- rules/core-redraw-after-set-options.md 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · ouestlabs/audio-ui | 100 | MIT |
| leeguooooo/chrome-use | 100 | Apache-2.0 |
| vercel-labs/json-render | 100 | Apache-2.0 |
| yangshun2005/agent-browser-cn | 100 | Apache-2.0 |
| vercel-labs/zero-native | 100 | Apache-2.0 |
| arjunrajlaboratory/mycelium | 100 | MIT |
| data-ai-xyz/tandem | 100 | MIT |
| modeled-information-format/mnemonic | 100 | MIT |
| kamioj/spec-workflow | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 817cdb2927ee (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100audio-ui
Dobiera, instaluje i podłącza komponenty audio w React, z shadcn lub bez: pokrętła, suwaki, wykresy filtrów, sekwencery, klawiatury i paski transportu, wraz z przepływem wartości. - 100frontend-testing
Pisze i naprawia testy interfejsów bez Reacta: kod DOM, komponenty web lub Vue, Svelte i Angular, w Vitest lub Jest z jsdom. - 100change-primitive
Zmienia, poprawia i dodaje bezgłowe prymitywy oraz ich logikę w pakietach @audio-ui/react i @audio-ui/core, z testami, changesetem i dokumentacją API. - 91frontend-development
Pomaga tworzyć komponenty i strony we frameworkach React, Vue, Svelte i Angular, w tym stan i routing. - 100frontend-components
Generuje szkielety wielokrotnego użytku komponentów UI w React, Vue, Svelte i Web Components, ze stanem, interfejsami propsów, hookami i hermetyzacją stylów. - 90ui-sdk
Buduje interfejsy z ui-sdk w React, Vue, Svelte, Solid lub komponentach webowych: dobór komponentów, testy klawiatury, ARIA i tryb RTL.