burrr-ai

Comwit — AI skill for Claude Code

AI community

React state management for vibe coding.

How to install Comwit

This entry records only its repository, not the path inside it, so there is no exact command to give. Open burrr-ai/comwit and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Comwit does

React state management for vibe coding. Pass llm.txt to Claude Code.

Alternatives in AI

  • AI Guide — 程序员鱼皮的 AI 资源大全 + Vibe Coding 零基础教程,分享 OpenClaw 保姆级教程、大模型玩法(DeepSeek / GPT / Gemini / Claude)、最新 AI 资讯、Prompt 提 11.8k ★
  • Vibe Coding — AI 时代的 Vibe Coding 实践:使用 Claude Code 从零开发 AI 漫剧生成平台的完整记录,涵盖技术选型、AI 驱动开发、UI 优化与功能迭代全流程 570 ★
  • Prompt Tower — Context management for long-context LLMs, agents, and vibe coding 382 ★

README

comwit

**React state for you and your agent.**

State management for React and Next.js, published as **`@comwit/state`**. Keep client state, server queries, and actions in one domain, then use them through one typed hook.

[Website](https://library.comwit.io) · [Documentation](https://library.comwit.io/docs) · [Quickstart](https://library.comwit.io/docs/guide/quickstart) · [npm](https://www.npmjs.com/package/@comwit/state)

Used in 1,000+ projects on [comwit.io](https://comwit.io), a Claude Code-powered vibe coding platform from Korea. Sponsored by [burrr.ai](https://burrr.ai).

Why comwit?

  • One domain, one hook. Define a model, add actions, and combine them with create().
  • Client state and server data together. Reactive values, cached queries, and server hydration share the same domain.
  • Direct mutations inside actions. Update state with ordinary JavaScript; components subscribe through selectors.
  • Built for coding agents. A compact `llms.txt` covers setup, domain structure, and the core APIs.

Installation

npm install @comwit/state

Supports **React 18 and 19**. For Next.js, follow the [App Router setup](https://library.comwit.io/docs/guide/quickstart).

Working with an AI agent

Give Claude Code or your coding agent this prompt:

Set up @comwit/state in this project using https://library.comwit.io/llms.txt.
Follow its domain structure and state management patterns.

Quick start

A complete counter in one file:

'use client'

import { action, ComwitProvider, create, model } from '@comwit/state'

type CounterState = { count: number }
type CounterActions = { increment(): void; reset(): void }

const counter = model({ count: 0 })

const counterActions = action(({ state }) => {
  const m = state(counter)

  return {
    increment() {
      m.count += 1
    },
    reset() {
      m.count = 0
    },
  }
})

const useCounter = c