kerf-app

Solid

Build UIs in the kerf reactive framework (https://github.com/brianwestphal/kerf). Use this skill whenever the user is writing or modifying code that imports `kerfjs`, asks to add a feature to a kerf app, or asks "how do I do X in kerf?". Use it proactively the moment you spot a kerf import in the file you're editing.

Code & Development 30 stars 1 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 82/100

Stars 20%
50
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Building apps with kerf > Drop this file into your `~/.claude/skills/kerf-app/SKILL.md` (or your > project's `.claude/skills/kerf-app/SKILL.md`) so Claude Code activates > it whenever you work on a kerf app. kerf is a ~12 KB reactive UI framework (~13 KB with `arraySignal`): signals + DOM morphing + JSX → HTML strings. No virtual DOM, no compiler, no scheduler. The whole public surface fits in 17 exports. ## Setup - Install: `npm install kerfjs` - `tsconfig.json`: `"jsx": "react-jsx"`, `"jsxImportSource": "kerfjs"` - Vite / esbuild need no extra config. - **Dev diagnostics are opt-in by import, and only an APP installs them.** kerf does not infer dev mode. In the app entry add `if (import.meta.env.DEV) await import('kerfjs/dev');` (Vite) or `if (process.env.NODE_ENV !== 'production') await import('kerfjs/dev');` (webpack/Node). That enables the read-only store `get()` snapshot, the throwing dangerous-URL screen, and makes the `KERF_DEV_WARN_*` family available; omitting it is production shape and sheds ~4.7 KB min+gzip because the condition folds away and the chunk is never emitted. Put it FIRST if relying on the untracked-signal warning — `signal()` picks its constructor at creation time. - **Switch individual warnings on with `enableWarnings()`**, which is the only switch that works in a browser (no `process` object there, and a bundler `define` cannot reach the read): `const dev = await import('kerfjs/dev'); dev.enableWarnings({ staleBinding: true, narrowSet: true,...

Details

Author
brianwestphal
Repository
brianwestphal/glassbox
Created
6 months ago
Last Updated
1 months ago
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

kerf-app

Build UIs in the kerf reactive framework (https://github.com/brianwestphal/kerf). Use this skill whenever the user is writing or modifying code that imports `kerfjs`, asks to add a feature to a kerf app, or asks "how do I do X in kerf?". Use it proactively the moment you spot a kerf import in the file you're editing.

6 Updated 1 months ago
brianwestphal
AI & Automation Listed

skill-creator

Author, audit and iterate on Claude skills - write a new SKILL.md from scratch, restructure or trim an existing one, and measure whether it actually works. Use when the user wants to create a skill, turn a workflow they just did into a skill, edit or improve an existing skill, fix a skill's frontmatter or description, run evals against a skill, benchmark a skill against a no-skill baseline, or optimize a description so it fires at the right time and not the wrong one. Also use when a skill needs validating before it ships - frontmatter key allowlist, the 1024-character description cap, ASCII, referenced-path existence. Not for acquiring or installing a skill from a repo or URL, or porting an already-authored skill between platforms - that is install-skill.

1 Updated 1 months ago
M4NUSH7
AI & Automation Listed

keel-dev

Development conductor — the dev toolbox. Run it by name to build through the Pocock spine (grill → spec → tickets → implement → review) with gstack/superpowers as opt-in power-tools, graphify for comprehension, all governed by keel-v2.

0 Updated 1 months ago
sayeediftekhar