Skip to content
Back to skills

How To

ASecurity

A full-stack reactive todo app over a single browser-to-engine WebSocket. Function calls and live stream change events flow over the same connection.

  • 18,821 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 3, 2026
developmentreactfrontendbackend

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned June 3, 2026

npx -y skills add iii-hq/iii --skill how-to --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of How To?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for How To
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/iii-hq-how-to/badge)](https://www.skillsdirectory.com/skills/iii-hq-how-to)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
<!-- generated by iii-skill-render. DO NOT EDIT (changes here are overwritten on the next render). Edit docs/0-12-0/how-to/build-a-realtime-todo-app.mdx. -->

# Build a real-time todo app


A full-stack reactive todo app over a single browser-to-engine WebSocket. Function calls and live
stream change events flow over the same connection.

## Engine configuration

The `config.yaml` workers needed to support a browser-driven reactive app.

## Backend

The worker, auth, stream wrapper, and CRUD functions that power the app server-side.

### Worker setup

Connect a worker, register the functions the app needs, and bind triggers.

### Auth function (RBAC)

An auth function runs on each new browser WebSocket connection, issues a session ID, and namespaces
the session's registered functions to prevent collisions.

### Stream wrapper

A typed wrapper class over `stream::get` / `stream::set` / `stream::list` / `stream::delete` for one
named stream.

### Functions

The CRUD functions the browser calls (create, toggle, delete, list) wired to write through the
stream wrapper.

## Frontend

The browser-side WebSocket connection and reactive hook that render live updates.

### Connection

Connect the browser to the engine over a single WebSocket using `iii-browser-sdk`.

### Real-time hook

A hook that subscribes to the stream and re-renders the UI on each change event the engine pushes.

## Key concepts

The reactive primitives this app relies on: single-WebSocket transport, per-session RBAC
namespacing, and stream-driven UI updates.

Files in this skill

  • build-a-realtime-todo-app.mdx1.5 KB
  • build-a-realtime-todo-app.mdx.skill.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.