Examples
Sample .krs projects and the diagrams karasu renders from them. examples/ is the single source of truth; the diagrams are rendered at build time.
Getting started
Section titled “Getting started”- Getting started — EC platform — The full drill-down: system → service → domain → usecase → resource.
- Splitting a system across files — One
systemblock reopened across files via whole-fileimport, with deploy / organization propagation.
Themed scenarios
Section titled “Themed scenarios”- Payment platform — A payment system with external providers and cross-service flows.
- HR tool — A human-resources tool modeled end to end.
- Migration coexistence — Old and new domains side by side with
@deprecated/@migration_target. - Logical + physical (deploy) — Deployment units linked to logical services via
realizes. - Organization & ownership — Teams owning services, with members and contact links.
- Deploy + org together — A project carrying both the physical (deploy) and organizational views.
- Deploy-only file — A file whose only meaningful content is a
deployblock. - Org-only file — A file whose only meaningful content is an
organizationblock. - Clients & capabilities (MCP) —
clientnodes withresourceandcapability, including an MCP client.
Feature samples
Section titled “Feature samples”- Feature samples — Small single-purpose snippets, each demonstrating one feature.
© 2026 Hiroki Kondo · Licensed under Apache-2.0