aberdeen

Guide AI assistants in teaching Aberdeen's reactive UI patterns and code generation.

107|9|Updated May 11, 2020
One-click install
npx skills add https://github.com/vanviegen/aberdeen --skill aberdeen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: aberdeen
Source: https://github.com/vanviegen/aberdeen/tree/main
Command: npx skills add https://github.com/vanviegen/aberdeen --skill aberdeen

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Aberdeen provides guidance for building reactive UIs with a fine-grained reactivity model, helping developers and AI assistants understand and implement efficient UI patterns without a virtual DOM.

Core Features & Use Cases

  • Reactive primitives: proxies, onEach, derive, map, and ref-based bindings to drive DOM updates.
  • Routing, transitions, and predictions to support complex, responsive applications.
  • Real-world use: building dashboards, editors, and component libraries that refresh only the necessary parts.

Quick Start

Start by creating an element with $('div') and binding it to a proxied value to observe live updates as the data changes.

Frequently Asked Questions about aberdeen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a reactive UI without a virtual DOM?

You build a reactive UI without a virtual DOM by using fine-grained reactivity models that update the DOM directly. Aberdeen guides this process using reactive primitives like proxies and onEach to refresh only the necessary parts.

What is fine-grained reactivity and how do proxies drive DOM updates?

Fine-grained reactivity tracks dependencies at the expression level so only affected DOM nodes update. Proxies act as reactive state containers that trigger DOM updates automatically when their underlying data changes.

How do I create a reactive element and bind it to a proxied value?

To create a reactive element, call $('div') to generate a DOM node and bind it to a proxied value. Observing the proxied data ensures the element updates live as the data changes.

Can I use reactive routing and transitions for complex UI applications?

Yes, you can use reactive routing and transitions for complex applications. Aberdeen supports routing, transitions, and predictions to build responsive dashboards, editors, and component libraries efficiently.

What is the best way to handle reactive lists in a proxy-based UI?

The best way to handle reactive lists is using the onEach primitive. It maps over proxied arrays to render list items and performs precise DOM updates when items are added, removed, or modified.

When should I choose a fine-grained reactive UI over a virtual DOM framework?

Choose a fine-grained reactive UI when building dashboards, editors, or component libraries that require maximum update efficiency. By skipping the virtual DOM diffing overhead, you refresh only the necessary parts directly.