monica-infra-persistence
Skill18 starsChanged 7 months agoMITView on GitHub
Use when integrating Monica repositories, transactions, object storage, transactional domain events, outbox, or inbox in an application, diagnosing save and commit behavior, or inspecting DbContext connections, activity, and migrations.
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- monica-application-building-block-developmentSkill
- monica-application-microserviceSkill
- monica-application-modular-monolithSkill
- monica-applicationSkill
- monica-application-ui-developmentSkill
- monica-application-uiSkill
- monica-application-unit-testingSkill
- monica-architectureSkill
- monica-coding-standardsSkill
- monica-contributionSkill
- monica-developmentSkill
- monica-docs-authoringSkill
- monica-frameworkSkill
- monica-guideSkill
- monica-infra-aiSkill
- monica-infra-configurationSkill
- monica-infra-hostingSkill
- monica-infra-jobsSkill
- monica-infra-messagingSkill
- monica-infra-observabilitySkill
- monica-infra-uiSkill
- monica-infra-webSkill
- monica-opentelemetrySkill
- monica-requirement-designSkill
- monica-third-party-module-developmentSkill
- monica-troubleshootingSkill
- monica-ui-auditSkill
- monica-ui-bridge-debugSkill
- monica-ui-designSkill
- monica-ui-developmentSkill
- monica-ui-localizationSkill
- monica-unit-testingSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
If a named skill is unavailable, use $monica-guide to resolve the verified Monica checkout (source resolve --repository monica --json) and …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Monica persistence
Repositories and UnitOfWork cover a local database operation; use transactional-event guidance when a committed write must drive external delivery.
| Task | Read |
| Register a context, stage aggregate ranges, or insert prepared rows with optional audit properties | Repositories |
| Cache immutable repository projections using transactional dataset versions | Repository snapshots |
| Place infrastructure tables and per-context history across relational providers | Infrastructure table layout |
| Place migration projects, consolidate databases, or define schema/history ownership | $monica-application (references/05-database-migrations.md) |
| Inspect registered contexts, provider sessions, migration history, or migration updates | Repository diagnostics |
| Choose explicit rollback for business failures, Shared/Independent boundaries, or database participants | Transactions |
| Store binary objects or select a Minio provider | Blob storage |
| Choose before-commit effects or committed delivery; configure outbox, batch inbox, and projections | Transactional events |
| Diagnose a failed or slow save, transaction, or delivery | Troubleshooting |
For key-value storage, use state stores; for application placement, use Building Block development in $monica-application-building-block-development. For module implementation, use $monica-framework, then $monica-development.
If a named skill is unavailable, use $monica-guide to resolve the verified Monica checkout (source resolve --repository monica --json) and read its canonical skills/<name>/SKILL.md and specified reference.
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.

