alchemy-domain
Skill by alchemy-run
Builds backends with @alchemy.run/domain, a domain-driven design library on Effect. It turns requirements into aggregates, commands, events, views, policies and sagas, then hosts and tests them.
Install alchemy-domain
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alchemy-run/alchemy /tmp/alchemy && mkdir -p ~/.claude/skills && cp -r /tmp/alchemy/packages/domain/skills/alchemy-domain ~/.claude/skills/alchemy-domainRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alchemy-run/alchemy /tmp/alchemy && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/alchemy/packages/domain/skills/alchemy-domain ~/.gemini/antigravity-cli/skills/alchemy-domainAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
alchemy-domain is an agent skill for building backends with @alchemy.run/domain, a domain-driven design library on Effect. It guides the assistant from requirements to building blocks such as aggregates, commands, events, rejections, views, policies, sagas, projections, streams, queries, external systems and Apis. It also covers laying out a monorepo, writing stories as tests, and reviewing existing code.
The skill explains that the same model runs in memory for tests and on Cloudflare, Rivet or Effect Cluster Durable Objects through alchemy. It also covers driving the model from an Effect UI frontend. It is for developers designing or changing an @alchemy.run/domain model, adding a building block, wiring hosting or a frontend, or reviewing such code.
Written from the project's SKILL.md and checked against it.
What it can do
- Requirements to building blocksTurns requirements into events, commands, rejections, aggregates, views, policies and sagas.
- Monorepo layoutLays out domain, server and web packages with one kind-suffixed file per block.
- Block templatesProvides templates for writing each building block.
- Stories and invariantsSpecifies behavior with stories and states rules that Verify checks.
- Cloudflare hostingHosts the model on Cloudflare Durable Objects and deploys with one alchemy stack.
- Frontend wiringDrives the model from an Effect UI frontend in the web package.
- AI processesAdds language model work that a policy or saga hands to a session, using the alchemy-ai skill.
- Change checklistGives a step-by-step checklist for changing a model and reviewing its code.
What you need
- @alchemy.run/domain and effect packages
- Cloudflare account for hosting on Durable Objects
Try asking
- Break these requirements into aggregates, commands and events for @alchemy.run/domain
- Lay out a monorepo with domain, server and web packages for my backend
- Write stories that test my transfer command and its rejections
Good to know
- Policies and projections run at least once, so their effects must be idempotent.
- Clients should not read aggregates directly. Read through views, streams or queries.
- The domain package may import only @alchemy.run/domain and effect.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/domain/skills/alchemy-domain/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/building-blocks.md34 KB -
references/frontend/effect-ui.md11 KB -
references/frontend/index.md3 KB -
references/hosting.md17 KB
Show all 8 files
-
references/layout.md7 KB -
references/modeling.md9 KB -
references/testing.md24 KB
Alternatives to alchemy-domain
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
alchemy-domain: common questions
How do I model a backend with @alchemy.run/domain?
The skill walks through turning requirements into building blocks such as aggregates, commands, events, views, policies and sagas. Each step has a reference file with templates.
Where can a domain model run?
The source says the same model runs in memory for tests and on Cloudflare, Rivet or Effect Cluster Durable Objects in production.
How are domain models tested?
Behavior is specified with stories covering events, replies, rejections, views and saga outcomes. Saga internal steps are not tested directly.
How do I install alchemy-domain?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is alchemy-domain free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is alchemy-domain safe to use?
It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to alchemy-domain?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
