shell
Skill120 starsChanged 4 days agoMITView on GitHub
Write the code around the generated core: read before writing or changing anything in `src/` or a test, in VibeLang (`.vibe`) or React (`.tsx`), and before importing `gen/<name>.effect.vibe`, building or running the application.
21 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- fmind/dotfilestheir own version, first seen Nov 29, 2026
- fmind/dottheir own version, first seen Nov 29, 2026
- elizaOS/elizaedited, first seen Nov 29, 2026
- fx/skillstheir own version, first seen Nov 8, 2026
- testdino-hq/google-styleguides-skillstheir own version, first seen Nov 8, 2026
- ryanmaclean/skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use update-cli-config, migrate-to-skills and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
PandelisZSkillupdate-cli-config
View and modify Cursor CLI configuration settings in ~/.cursor/cli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.
Also in 6 projects that use this
32103210Skillmigrate-to-skills
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills format (.cursor/skills/). Use when you want to migrate rules or commands to skills, convert .mdc rules to SKILL.md format, or consolidate commands into the skills directory.
Also in 6 projects that use this
32103210Skillupdate-cursor-settings
Modify Cursor/VSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.
Also in 6 projects that use this
0mlkrizzz655335vSkillreview-bugbot
缺陷导向代码审查。用 Bugbot 子代理找 bug。
Also in 3 projects that use this
0mlkrizzz655335vSkillsdk
Codex SDK 集成开发。用 TypeScript/Python SDK 做 agent 生命周期、流式输出、本地/云端执行等集成。
Also in 5 projects that use this
Tsumugii24Skillsplit-to-prs
Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.
Also in 5 projects that use this
- +2 more from 32103210
- +1 more from 0mlkrizzz655335v
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- elizaOS/eliza★ 20k98% same
Wrote their own version · 20
- zylos-ai/zylos-core★ 1.2ksame name
- blockcell-labs/blockcell★ 263same name
- nimadorostkar/Claude-Skills-collection★ 41same name
- last9/mithai★ 20same name
- testdino-hq/google-styleguides-skills★ 15same name
- fmind/dot★ 14same name
- fmind/dotfiles★ 14same name
- ArangoGutierrez/claude-toolkit★ 4same name
- Cogni-AI-OU/cogni-ai-agent-skills★ 4same name
- fx/skills★ 4same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository36 other files it gives its agents.
- AGENTS.mdAGENTS.md
- alchemySkill
- architectSkill
- arenaSkill
- benchmark-checklistSkill
- bug-reviewSkill
- designSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-encode-lessons-in-structureSkill
- principle-exhaust-the-design-spaceSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-migrate-callers-then-delete-legacy-apisSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-never-block-on-the-humanSkill
- principle-outcome-oriented-executionSkill
- principle-prove-it-worksSkill
- principle-redesign-from-first-principlesSkill
- principle-separate-before-serializing-shared-stateSkill
- principle-sequence-verifiable-unitsSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- principle-type-system-disciplineSkill
- proveSkill
- syncSkill
- typescript-best-practicesSkill
- whySkill
- feedSkill
The file
Files
The VibeLang shell
The shell around the generated code is
VibeLang: .vibe files, TypeScript
syntax over Effect 4, in which a function's type
says what it fails with and which services it needs. Every package depends on
the vibelang compiler: types runs vibelang --noEmit -p ., which checks
.vibe, .ts and .tsx as one program, and gen writes
gen/<name>.effect.vibe beside each gen/<name>.ts.
Before writing any, read the skill the compiler ships,
node_modules/vibelang/skills/vibelang/SKILL.md. The language is new: look
syntax and Effect APIs up, and compile often.
The Effect adapter
gen/<name>.effect.vibe is gen/<name>.ts for effect code. Import it in
place of the .ts module: "../gen/index.effect.vibe".
| It exports | Which is |
every type of gen/<name>.ts | the same types |
its constants and functions, under their own names: initial, step, enabled, parseEvent, your guards, helpers and rules | the same, declared to throw nothing, so effect code calls them bare: canPay(order, 5). The compiler refuses that call (EK0403) when the function is imported from gen/<name>.ts |
and for a state machine, with [, by], NotASender and decodeSender only
when the spec has a sender:
| It exports | Which is |
error Rejected { event, state[, by] } | the rules do not allow this event in this state |
error NotAnEvent { input }, NotAState { input }, NotASender { input } | an untrusted value that is not one |
decodeEvent(input), decodeState(input), decodeSender(input) | parseEvent, parseState and parseSender, failing where they return undefined |
apply(current, event[, by]) | step, failing with Rejected where enabled refuses instead of leaving the state unchanged |
service Machine | the state and the one way to change it: get(), the state as it is kept now; send(event[, by]), which applies the event to the state as it is kept when it is sent, so a Rejected carries that state; receive(input[, by]) for an untrusted event (decodeEvent, then send); and changes, a Stream of the state the Machine was made with or last led to, then of each one an event sent to it leads to |
machine(start = initial) | a Layer that provides Machine in memory, applying one event at a time; start may be a state decodeState returned |
machineOver(load, keep) | an effect that makes a Machine over a state kept elsewhere: each event is applied to what load reads when it is sent, never to a copy, and the state it leads to goes to keep before send returns. It fails as the first load does; where a later load fails or keep dies, send dies and the state stays. A shell that keeps the state elsewhere, such as a file, supplies only how to load and keep it |
stored(key, start = initial) | a Layer that provides Machine kept as JSON under key in Effect's KeyValueStore (effect/persistence/KeyValueStore): each event is applied to what is stored when it is sent, through decodeState, or to start where nothing is, so a page, tab or program over the same store steps from what another stored and never writes over it; what is stored and is not a state fails the layer with NotAState, or makes a later send die, and is never written over; each new state is stored before send returns, and send dies where the store refuses it |
Where transitions return { state, out }, apply, send and receive
return that record; get and changes give the state.
A shell, src/app.vibe, and its test, test/app.test.vibe, on the order
example's spec. answer needs a Machine, which the caller provides;
receive decodes the input and applies it, so the state changes only if both
pass; canSubmit is a guard of the spec, called bare. The only comment is the
test's spec citation (AGENTS.md, "Writing code"):
import { Machine, NotAnEvent, Rejected, canSubmit } from "../gen/index.effect.vibe"
export effect function answer(input: unknown) {
const orders = try Machine
return effect {
const order = try orders.receive(input)
return canSubmit(order) ? "ready to submit" : order.status
} catch (error) => match (error) {
when NotAnEvent: "not an event";
when Rejected: `${error.event.type} is not allowed for a ${error.state.status} order`;
}
}// spec/index.md, "Story: Check out"
import { assert, it } from "@effect/vitest"
import { machine } from "../gen/index.effect.vibe"
import { answer } from "../src/app.vibe"
it.effect("Check out", effect () => {
provide machine() {
const said = [try answer({ type: "addItem", qty: 2 }), try answer({ type: "pay", amount: 1 }), try answer("pay")]
try Effect.try(() => assert.deepStrictEqual(said, ["ready to submit", "pay is not allowed for a Draft order", "not an event"]))
}
})machine()forgets when the process ends;stored(key)keeps the state in theKeyValueStorelayer the program provides (layerFileSystem(dir)on Node,layerStoragein a browser,layerMemoryin a test), shared by every page or program over the same key. A page another has stored past, such as a second tab or the page a step back restores, shows its last state until its next event, which is applied to what is stored; nothing locks the store between a send's read and its write, so two that send at the same instant can still lose one event. Never restate the state as an Effect Schema. A shell that keeps it any other way, onmachineOveror onapplyand the decoders, needs a driver thatcheckcompares with the spec (SPEC.md, "Conformance"):checkwrites one to fill in whensrc/importsapply.- Cover every case in a finite match. Match
event.typewith literal patterns or match the event itself with patterns such aswhen { type: "pay", let amount }: …. A match withoutdefaultmust cover the whole finite union (EK4701), including variants distinguished bytag. - A
.vibefile reaches the platform through Effect, not throughnode:*imports,console,fetchor the DOM: an Effect service (Console,FileSystem,HttpClient, …), amodule node { … }body in the file, or a thin.tsfile beside it. //@files stay.ts(prove skill). Effect code calls one through amodulebody that says what its functions throw.
The React interface
Components are .tsx under src/, built with Vite. A component reads the
state and sends events through hooks over the Machine service, so what it
shows is the spec's state and what it can do is what enabled allows: a
control is offered exactly when its event is. It keeps in useState only
what the spec does not own, such as an open menu or a draft in a text box.
In a package that depends on react, gen/<name>.react.ts exports, for each
state machine, useMachine(runtime) and useMachine(runtime, select, equals?)
(plus useMachineSelector(runtime, select, equals?)) over a ManagedRuntime
that provides Machine. useMachine returns { state, cause, can(event[, by]), send(event[, by]) }:
state is undefined until the machine has published one (or the selected slice
when select is given, re-rendering only when equals says it changed),
cause is what stopped it (such as a stored layer that could not read its
key), can and send are cached per runtime (can checks enabled, and
send resolves with the Exit of Machine.send). Offer a control exactly
when can holds; never hand-write a hook over changes.
Style with Tailwind utilities on the project's tokens, compose shadcn/ui components before writing one, and follow the design skill.
The page is served by the package's start script, or dev when that is
not the studio, which prints the http://localhost address it serves at:
check's explore stage runs it and lets Bombadil drive the page. What
must hold in every state the page reaches goes in test/bombadil.ts
(SPEC.md, "Exploring the page").
Building, running and testing
| Command | Does | |
| check | pnpm check | types checks src/, test/ and gen/ with vibelang --noEmit -p . |
| build | pnpm build (vibelang) | checks, and writes JavaScript to dist/, as dist/src/… and dist/gen/… |
| run | pnpm build && node dist/src/main.js | runs the built src/main.vibe |
| explore | pnpm check | the explore stage serves the page and checks test/bombadil.ts with Bombadil in Chromium |
| test | pnpm test (vitest run) | test/**/*.test.vibe, written with @effect/vitest, and the property tests of src/**/*.schema.* and *.contract.*; compiled as they load, no build first (AGENTS.md, "Tests") |
| Needs | |
| Node | 26 |
dependencies | effect, @effect/platform-node, vibelang-runtime |
devDependencies | vibelang, vibelang-vite, vite, vitest, @effect/vitest, @types/node |
VibeLang's packages move together, and with one version of Effect: pin them
exactly, at the versions vibestack init adds and vibestack upgrade keeps
aligned. The compiler writes declarations for other tools under .vibe/, even
when it only checks: keep it out of Git, like dist/.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

