Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add vaquarkhan/Fullstack-development-agent-skills --skill ef-core-persistencegit clone --depth 1 https://github.com/vaquarkhan/Fullstack-development-agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/vaquarkhan/fullstack-development-agent-skills/ef-core-persistence)<a href="https://agentmods.dev/skills/vaquarkhan/fullstack-development-agent-skills/ef-core-persistence"><img src="https://agentmods.dev/badge/skills/vaquarkhan/fullstack-development-agent-skills/ef-core-persistence/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/vaquarkhan/fullstack-development-agent-skills/ef-core-persistence"><img src="https://agentmods.dev/badge/skills/vaquarkhan/fullstack-development-agent-skills/ef-core-persistence.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00040 | $0.00507 |
| Opus 5.5 | $0.00016 | $0.00203 |
| Sonnet 5.5 | $0.00008 | $0.00101 |
| Haiku 4.5 | $0.00004 | $0.00051 |
Grade A, and why
ef-core-persistence scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
EF Core Persistence
Use When
- Implementing EF Core data access in ASP.NET Core services
- Designing entities, configurations, migrations, and query performance
- Pairing with
aspnetcore-minimal-apisorskills/dotnet-aspnet-core-microservices
Workflow
- Define entities and IEntityTypeConfiguration classes per aggregate.
- Register DbContext with pooled factory; configure connection resiliency.
- Use migrations with review for locking — prefer expand/contract for large tables.
- Implement repositories or specifications; project to DTOs in queries.
- Add interceptors for auditing, soft delete, or multi-tenant filters.
- Test with Testcontainers SQL Server/Postgres or in-memory only for unit scope.
Required Checks
- No N+1 — use Select projections or explicit Include with purpose
- AsNoTracking on read-only queries
- Concurrency tokens on contested aggregates
- Migrations tested against production-like row counts when tables are large
Examples And Templates
See examples/ for side-by-side good vs bad patterns agents commonly get wrong.
See templates/ for copy-paste starters aligned with this skill.
Decision Framework
- Prefer configurations over data annotations for team consistency.
- Owned types for value objects; avoid primitive obsession on entities.
- Raw SQL only for reporting or bulk ops — document and parameterize.
- Split read models (Dapper/raw SQL) when EF projections are insufficient.
Common Rationalizations And Rebuttals
- "Lazy loading is convenient." -> Causes N+1 in APIs; use explicit loading or projections.
- "One DbContext for everything." -> Bounded contexts may need separate contexts.
- "Migrate in app startup always." -> Run migrations in CI/CD job with rollback plan.
Evidence Pack
- Migration script with expand/contract notes
- Query plan or EF logging proof for critical list endpoints
- Concurrency conflict test output
- Interceptor audit sample (created/updated by)
Exit Criteria
- Queries are tracked appropriately; hot paths avoid N+1
- Migrations are safe for production table sizes
- Multi-tenant or soft-delete rules enforced at persistence layer
What ships with it
3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 61 lines · 40 tokens per session scan A d7c398dcc41a
ef-core-persistence is a skill published in the GitHub repository vaquarkhan/Fullstack-development-agent-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 40 tokens to every session and 507 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
sod
Use when needing a multi-paradigm .NET ORM — EntityBase + EntityQuery CRUD, OQL chain queries with oql.Limit paging, MyBatis-style SQL-MAP XML via SqlMapper, AdoHelper raw SQL, MyDB.GetDBHelperByConnectionName. Also for identity keys not written back after Insert, dirty-field updates, and provider switching across…
ruoyi-cloud
Use when scaffolding a Java Spring Cloud microservice backend — Nacos discovery and config, Spring Cloud Gateway auth filter, Sentinel rate limiting, Seata distributed transactions, RBAC menus, code generator for CRUD plus Vue pages. RuoYi-Cloud v3.6.8 (Spring Boot 4.0.3, Spring Cloud 2025.1.0, JDK 17). Also for…
crawl-engine-map
Module map of the crawlberg core crate (engine, HTTP, tower layers, HTML pipeline, feature-gated browser/ai/mcp/api/warc modules, types). Use when finding where crawl logic lives in crates/crawlberg.
spring-boot-4-conventions
Spring Framework 7 / Spring Boot 4 idioms and defaults. Use when writing or reviewing controllers, services, configuration, HTTP clients, async/virtual-thread code, or anything touching Spring's programming model.
others-skills
Use when needing Go language development, desktop RPA automation, self-hosted email marketing, Java Spring Cloud scaffolding, SSL/TLS certificate automation, Docker Compose multi-container orchestration, FFmpeg audio/video transcoding or HLS slicing, or building a bilingual children's Phaser/Vue game collection. Index…
spring-boot
Spring Boot 3.x - Java framework for production-ready applications with dependency injection, REST APIs, data access, security, and actuator monitoring.