This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is the documentation website for Neatoo, a DDD (Domain-Driven Design) framework for .NET Blazor and WPF applications. “Neatoo” on this site encompasses the combination of two repositories:
The site is built with Jekyll using the Minimal Mistakes theme and hosted on GitHub Pages.
| Repository | Purpose |
|---|---|
| NeatooDotNet/Neatoo | Core DDD framework |
| NeatooDotNet/RemoteFactory | Client-server communication |
| NeatooDotNet/neatoodotnet.github.io | This documentation site |
More detailed technical documentation lives in the main repositories:
https://github.com/NeatooDotNet/Neatoo/docshttps://github.com/NeatooDotNet/RemoteFactory/docsThese repositories are the source of truth. This documentation site aims to stay current but may lag behind.
Check these locations for changes that need to be incorporated into this site:
https://github.com/NeatooDotNet/Neatoo/docs/todoshttps://github.com/NeatooDotNet/RemoteFactory/docs/todosTrack which commits from each repository this documentation site is synchronized with:
| Repository | Last Synced Commit | Date |
|---|---|---|
| Neatoo | 0df02e5 |
2026-01-01 |
| RemoteFactory | 27760f8 |
2026-01-01 |
When updating documentation, review commits since the last sync and update this table.
Note: 2026-01-01 sync added C# records support (Neatoo 10.1.1, RemoteFactory 10.1.0):
[Create] attribute for Value Objects[Service] injection in record primary constructor parameters[Fetch] methods for records[Remote] serialization supportbase-value-objects.md and factory-operations.md for records documentationPrevious sync (2025-12-30): Mapper documentation updated - MapFrom/MapTo manually implemented, MapModifiedTo source-generated
A shared Neatoo skill file exists at the user level for Claude Code:
Location: ~/.claude/skills/neatoo.md
This skill provides Claude with Neatoo framework knowledge across all projects. When updating documentation from the Neatoo or RemoteFactory repositories, also update the Neatoo skill to keep it current.
Track which commits have been incorporated into the Neatoo skill:
| Repository | Last Synced Commit | Date |
|---|---|---|
| Neatoo | 0df02e5 |
2026-01-01 |
| RemoteFactory | 27760f8 |
2026-01-01 |
When syncing from the source repositories:
_pages/)~/.claude/skills/neatoo.md)The skill should contain the same core technical content as the reference documentation but formatted as a single comprehensive reference for Claude.
# Install dependencies
bundle install
# Run local development server
bundle exec jekyll serve
# Build the site
bundle exec jekyll build
Note: Changes to _config.yml require restarting the server.
mmistakes/minimal-mistakes)_pages/ directory contains all documentation pages_data/navigation.yml with central sidebar navindex.md at rootassets/Pages use front matter with:
layout: single (default for pages)permalink: /path/to/page/toc: true and toc_sticky: true enabled by defaultsidebar: nav: "central" for navigation| Section | Path | Content |
|---|---|---|
| Getting Started | /gettingstarted/ |
Introduction, Quick Start, Client/Server Setup |
| Concepts | /concepts/ |
DDD Overview, Aggregates, Rules, Factories (with Commands & Queries), Client-Server, Properties, Authorization |
| Reference | /reference/ |
EntityBase, ValidateBase, Base & Value Objects, EntityListBase, Rules Engine, Factory Operations, Data Mapping, Authorization System, Dependency Injection, Exception Handling |
| Guides | /guides/ |
Blazor Integration, Database-Dependent Validation, Troubleshooting |
| Examples | /example/ |
Person entity, Order Aggregate |
Developers who want to use Neatoo for building .NET applications with proper DDD architecture.
This site should fully explain not just how to use Neatoo, but the underlying principles:
The existing documentation uses:
/api/neatoo endpoint[AuthorizeFactory]Important: For this documentation site, “Neatoo” encompasses both Neatoo and Neatoo.RemoteFactory. Users of this site are assumed to be using the full framework.
/docs folder handles its own specific technical documentationWhen editing documentation:
| File | Purpose |
|---|---|
_config.yml |
Site configuration, theme, plugins |
_data/navigation.yml |
Sidebar navigation structure |
index.md |
Home page with feature highlights |
_pages/concepts/*.md |
Deep-dive concept explanations |
_pages/gettingstarted/*.md |
Onboarding and setup |
_pages/guides/*.md |
Practical how-to guides |
_pages/reference/*.md |
API reference |
_pages/examples/*.md |
Complete working examples |