domaincraft-core
Domain-model contract for AI agents. Load it when modeling a domain, writing or editing domain.yaml, or attaching business logic to generated entities — it front-loads the contract and what you can and cannot touch.
Dedicated agent skills let AI assistants work with a DomainCraft project correctly — modeling the domain, validating domain.yaml and extending generated code without breaking the contract.
Domain-model contract for AI agents. Load it when modeling a domain, writing or editing domain.yaml, or attaching business logic to generated entities — it front-loads the contract and what you can and cannot touch.
Working with code generated by the csharp-rest bridge — an ASP.NET Core REST API (EF Core + PostgreSQL + JWT). Implement business logic in custom partials, never in *.g.cs. Always loads domaincraft-core alongside.
The framework-agnostic TypeScript data layer: read projections, Zod schemas, the typed query DSL, JWT client, error taxonomy and the permissions matrix.
React glue over ts-core: TanStack Query hooks with optimistic updates and the UI recipes for building screens against the typed client.
Run domaincraft validate before every generate. Fix exactly the reported error, one fix per validation run.
Where business logic lives: overwrite:false custom files and the C# Generation Gap hooks that survive regeneration.
Entity and field renames with old_name plus --prune, so custom files and database columns keep their data.
The /dc-init command: bootstrap shop, saas, crm or blog with domaincraft init, then validate and generate.
Claude Code:
claude plugin marketplace add DomainCraft/domaincraft-agent-plugins
claude plugin install domaincraft@domaincraftCursor, Codex, Gemini, OpenCode and 75+ other agents:
npx skills add DomainCraft/domaincraft-agent-pluginsSkills load on demand. Plugin skills are invoked as /domaincraft:<skill>.