[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79HFFWY8C86S3ADEBRBWFAR":3,"skill-same:01M79HFFWY8C86S3ADEBRBWFAR":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M79HFFWY8C86S3ADEBRBWFAR","ef-core-sqlite",null,"EF Core + SQLite practices for DysonHarness (DysonDbContext, DysonDbAccessor, IDbContextFactory, migrations, value converters, WAL\u002Ftimeout, SubjectId). Use when changing entities, DbContext configuration, repository concurrency, SQLite schema, migrations, value converters, indexes, cascade deletes, or any service that touches dyson.db in this repository.","EntitySystems\u002FDysonHarness","EntitySystems","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F123959868?v=4","01M79HF5859MTPQYRQCPPCVTXX","Entity Systems","01M79HF58XXJHT815PM7S66YXH",4,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fskills\u002Fef-core-sqlite\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: ef-core-sqlite\ndescription: >-\n  EF Core + SQLite practices for DysonHarness (DysonDbContext, DysonDbAccessor,\n  IDbContextFactory, migrations, value converters, WAL\u002Ftimeout, SubjectId). Use when\n  changing entities, DbContext configuration, repository concurrency, SQLite schema,\n  migrations, value converters, indexes, cascade deletes, or any service that\n  touches dyson.db in this repository.\n---\n\n# EF Core + SQLite (DysonHarness)\n\nApply when working on persistence in **`Harness.LocalDb`** (`DysonDbContext`, repository impls, migrations). Contracts and EF-free POCOs live in `Harness.Abstractions\u002FStorage`. Prefer Microsoft EF Core guidance adapted to this app’s single-file SQLite model. Subject scoping \u002F shared providers: [docs\u002Fstorage\u002Fcloud-hosting.md](..\u002F..\u002Fdocs\u002Fstorage\u002Fcloud-hosting.md).\n\n## Repo map\n\n| Piece | Location |\n| ----- | -------- |\n| Contracts + POCOs | `src\u002FHarness\u002FHarness.Abstractions\u002FStorage\u002F` |\n| DbContext | `src\u002FHarness\u002FHarness.LocalDb\u002FStorage\u002FDysonDbContext.cs` |\n| Connection + WAL\u002Ftimeout | `DysonSqliteConfigurator` |\n| Thread-safe EF entrypoint | `DysonDbAccessor` (singleton) |\n| Design-time factory | `src\u002FHarness\u002FHarness.LocalDb\u002FStorage\u002FDysonDbContextFactory.cs` |\n| Runtime registration | `AddDysonLocalDb(databasePath)` (UI `Program.cs`) |\n| Migrations | `src\u002FHarness\u002FHarness.LocalDb\u002FMigrations\u002F` |\n| Value converter example | `src\u002FHarness\u002FHarness.LocalDb\u002FStorage\u002FStringListJsonValueConverter.cs` |\n| Apply on startup | **once** via factory `EnsureMigrated()` in `Program.cs` |\n| Schema docs | `docs\u002Fstorage\u002Fmodels.md`, `docs\u002Fstorage\u002Fsessions.md`, `docs\u002Fstorage\u002Fcloud-hosting.md` |\n\nDB file: `DysonAppPaths.GetDatabasePath(DysonBuildInfo.Current)` → `{app-data}\u002Fdyson.db`. Timestamps: `DateTime` UTC only — never `DateTimeOffset` on entities or EF `OrderBy` (SQLite limitation; see csharp skill \u002F rules).\n\nSubject columns: required `SubjectId` on subject-owned tables and on `model_providers` (owner or `DysonSubjects.Shared`). Existing rows migrate to `\"local\"`. Child rows (slugs, turns, logs, todos) stay parent-scoped.\n\n## When SQLite fits\n\n- Local \u002F single-user app data (this harness): one file, no server, simple deploy.\n- Multi-subject LocalDb on one file is fine for desktop + small cloud hosts; not a substitute for multi-writer server DBs when you need strong concurrent writers, schemas, sequences, or rich ALTER support.\n- Other DB backends implement the same `IDyson*Repository` interfaces outside this repo.\n\n### Limitations vs other providers (act on these)\n\n- No schemas \u002F sequences; no native DB-generated concurrency tokens.\n- Prefer `DateTime` (UTC) over `DateTimeOffset`; avoid ordering\u002Fcomparing `decimal` \u002F `TimeSpan` \u002F `ulong` in SQL — EF may client-eval.\n- Some schema ops need table rebuilds; EF may rebuild or throw `NotSupportedException` — review generated migrations for SQLite.\n- Idempotent migration scripts are limited; prefer `Database.Migrate()` \u002F `dotnet ef database update`.\n\n## Connection (timeout + WAL)\n\nAlways configure through `DysonSqliteConfigurator` (not bare `Data Source=`):\n\n- Connection string: `Data Source={path};Default Timeout=30` (busy timeout seconds)\n- On open: `PRAGMA journal_mode=WAL;` + `PRAGMA synchronous=NORMAL;`\n- Used by DI factory registration, `OnConfiguring`, design-time factory, and tests that open file-backed DBs\n- Compaction is `DysonSqliteVacuumHostedService` (`AddDysonLocalDb`); do not ad-hoc `VACUUM` from repositories\n\n```csharp\nDysonSqliteConfigurator.Configure(options, databasePath);\n```\n\n## Mandatory service rule (concurrency)\n\n**Any DB access in a service must use either:**\n\n1. A **new** `DysonDbContext` from `IDbContextFactory` \u002F `DysonDbAccessor.RunAsync` for that operation (preferred default), **or**\n2. A `DysonDbContext` **passed down** from the caller that already owns it — **one logical owner \u002F one thread of execution at a time** on that instance.\n\nHard bans:\n\n- Never inject a long-lived shared scoped `DysonDbContext` into multithreaded services for ad-hoc use.\n- Never share one context across parallel tools \u002F `Task.WhenAll` \u002F `Task.Run` \u002F multiple repositories.\n- Never stash a context on a singleton beyond the owning `RunAsync` lifetime.\n\n### Accessor pattern\n\n```csharp\n\u002F\u002F Public repository API\npublic Task\u003CResult\u003CGuid, string>> CreateAsync(...) =>\n    _accessor.RunAsync((db, ct) => CreateCoreAsync(db, ..., ct), cancellationToken);\n\n\u002F\u002F Pass-down helper (same unit of work; no parallel ops on db)\nprivate static async Task TouchAsync(DysonDbContext db, Guid id, CancellationToken ct) { ... }\n```\n\nSemantics of `RunAsync`: acquire process-wide gate (keyed by DB path) → `CreateDbContext` → run work → dispose → release gate. `DysonDbAccessor.SaveChangesAsync` retries SQLITE_BUSY (5) \u002F SQLITE_LOCKED (6).\n\n### SQLite one-writer\n\nSQLite allows one writer at a time. The process-wide gate serializes writers in-process; `Default Timeout=30` waits on external lock holders. **Error 5** = database busy (another connection holds a write lock). Prefer short transactions; do not hold a context across UI awaits outside `RunAsync`.\n\n### UpsertTurn contention retry\n\n`IDysonSessionRepository.UpsertTurnAsync` (LocalDb impl) alone retries (~5 attempts, short backoff, fresh `RunAsync` each time) on:\n\n- EF `InvalidOperationException` (“second operation … on this context”)\n- `SqliteException` busy (5) \u002F locked (6)\n\nOther errors return `Failed to upsert turn: …` immediately.\n\n## EnsureCreated vs migrations\n\n| API | Use |\n| --- | --- |\n| `Database.Migrate()` \u002F `EnsureMigrated()` | **This repo’s default** — creates DB if missing and applies pending migrations |\n| `EnsureCreated()` | Prototypes \u002F throwaway in-memory tests only |\n\n**Migrate once** at app startup (`Program.cs` factory context). Do not call `EnsureMigrated` on every scope.\n\n**Do not mix** `EnsureCreated` with migrations on the same durable DB file.\n\n## Migrations workflow\n\nAfter entity \u002F `OnModelCreating` changes:\n\n1. Add a migration (from repo, targeting LocalDb):\n\n```bash\ndotnet ef migrations add \u003CName> \\\n  --project src\u002FHarness\u002FHarness.LocalDb\u002FHarness.LocalDb.csproj \\\n  --startup-project src\u002FHarness\u002FHarness.UI\u002FHarness.UI.csproj\n```\n\n2. Review the generated `Up`\u002F`Down` for SQLite rebuilds and data loss.\n3. Apply: app startup (`EnsureMigrated`) or `dotnet ef database update` with an explicit connection if needed.\n4. Commit migration `.cs` + `DysonDbContextModelSnapshot.cs` together with model changes.\n5. Update storage docs when schema\u002Fbehavior changes (`docs\u002Fstorage\u002F…`).\n\nNever hand-edit the live `dyson.db` schema without a migration — that causes schema drift.\n\n## Value converters\n\nPrefer EF `ValueConverter` \u002F `HasConversion` over manual serialize\u002Fdeserialize in repository methods.\n\n**In this repo:**\n\n- `List\u003Cstring>` ↔ JSON TEXT: `StringListJsonValueConverter` + its `ValueComparer` on `HasConversion(..., Comparer)` so change tracking sees list mutations.\n- Enums → int: `.HasConversion\u003Cint>()`.\n- Opaque JSON blobs (e.g. `ToolStateJson`, `PayloadJson`, `CommentsJson`) may stay as `string` columns when the repository owns parse\u002Fformat.\n\n**Rules:**\n\n- Configure converters in `OnModelCreating`, not ad hoc at call sites.\n- For mutable collections\u002Fowned types, supply a `ValueComparer` (or EF won’t detect in-place edits).\n- Normalize on write; define safe read behavior for null\u002Finvalid provider values (see `StringListJsonValueConverter`).\n- Changing converter output shape usually needs a migration (column type\u002Fdata rewrite).\n\n## Indexes, uniqueness, cascade\n\nConfigure in `OnModelCreating` (match existing style):\n\n- **Unique**: composite business keys, e.g. `(SubjectId, AbsolutePath)`, `(SubjectId, Key)` PK on app settings, `(SubjectId, Name)` on shells, `(SubjectId, ModelSlugId)` on favorites, `(ProviderId, Slug)`, `(SessionId, Sequence)`, `(SessionId, TaskCode)`.\n- **Index**: filter\u002Fsort columns (`SubjectId`, `LastActivityUtc`, FKs used in lookups).\n- **Cascade**: owned children of a session\u002Fprovider (turns, logs, todos, slugs) → `DeleteBehavior.Cascade`.\n- **SetNull**: optional FKs that should survive parent delete (e.g. session → work directory \u002F slug).\n- **Restrict**: relationships that must not silently wipe graphs (e.g. parent session).\n\nPick delete behavior deliberately; SQLite will enforce FKs when enabled. Always filter repository queries by `IDysonSubjectContext.SubjectId` (and shared visibility for model providers).\n\n## Pitfalls checklist\n\n- [ ] Schema change → migration + snapshot + docs; never rely on `EnsureCreated` in app code\n- [ ] Service DB access → factory\u002Faccessor **or** pass-down context with single-thread ownership\n- [ ] No shared scoped `DysonDbContext` across parallel tools \u002F repositories\n- [ ] No `DateTimeOffset` on EF entities \u002F ordered queries\n- [ ] Collection JSON properties use converter + comparer (or immutable replace of the list)\n- [ ] Connection uses `DysonSqliteConfigurator` (timeout + WAL), not bare `Data Source=`\n- [ ] Do not ad-hoc `VACUUM` from repositories — compaction is `DysonSqliteVacuumHostedService` (`AddDysonLocalDb`)\n- [ ] Migrate **once** at startup — not per DI scope\n- [ ] Subject filters on every list\u002Fget\u002Fwrite; never ensure `\"shared\"` as a real subject row\n- [ ] Shared provider writes go through `IDysonAccessEvaluator.Can(ManageSharedProviders)`\n- [ ] Secrets: API keys live in DB for the app’s use — do not log them, do not commit `dyson.db` \u002F `.env` credentials\n- [ ] Design-time DB (`dyson-design.db`) is not user data; don’t treat it as source of truth\n- [ ] Abandoned migration lock (EF9+ `__EFMigrationsLock`): if migrate hangs after a kill, clear that table (see [reference.md](reference.md))\n\n## Additional resources\n\n- Deeper Microsoft links and extended notes: [reference.md](reference.md)\n- Storage overview: [docs\u002Fstorage\u002Fmodels.md](..\u002F..\u002Fdocs\u002Fstorage\u002Fmodels.md)\n- Cloud hosting \u002F subjects: [docs\u002Fstorage\u002Fcloud-hosting.md](..\u002F..\u002Fdocs\u002Fstorage\u002Fcloud-hosting.md)\n- C# \u002F DateTime rule: [skills\u002Fcsharp\u002FSKILL.md](..\u002Fcsharp\u002FSKILL.md)\n","# EF Core + SQLite (DysonHarness)\n\nApply when working on persistence in **`Harness.LocalDb`** (`DysonDbContext`, repository impls, migrations). Contracts and EF-free POCOs live in `Harness.Abstractions\u002FStorage`. Prefer Microsoft EF Core guidance adapted to this app’s single-file SQLite model. Subject scoping \u002F shared providers: [docs\u002Fstorage\u002Fcloud-hosting.md](..\u002F..\u002Fdocs\u002Fstorage\u002Fcloud-hosting.md).\n\n## Repo map\n\n| Piece | Location |\n| ----- | -------- |\n| Contracts + POCOs | `src\u002FHarness\u002FHarness.Abstractions\u002FStorage\u002F` |\n| DbContext | `src\u002FHarness\u002FHarness.LocalDb\u002FStorage\u002FDysonDbContext.cs` |\n| Connection + WAL\u002Ftimeout | `DysonSqliteConfigurator` |\n| Thread-safe EF entrypoint | `DysonDbAccessor` (singleton) |\n| Design-time factory | `src\u002FHarness\u002FHarness.LocalDb\u002FStorage\u002FDysonDbContextFactory.cs` |\n| Runtime registration | `AddDysonLocalDb(databasePath)` (UI `Program.cs`) |\n| Migrations | `src\u002FHarness\u002FHarness.LocalDb\u002FMigrations\u002F` |\n| Value converter example | `src\u002FHarness\u002FHarness.LocalDb\u002FStorage\u002FStringListJsonValueConverter.cs` |\n| Apply on startup | **once** via factory `EnsureMigrated()` in `Program.cs` |\n| Schema docs | `docs\u002Fstorage\u002Fmodels.md`, `docs\u002Fstorage\u002Fsessions.md`, `docs\u002Fstorage\u002Fcloud-hosting.md` |\n\nDB file: `DysonAppPaths.GetDatabasePath(DysonBuildInfo.Current)` → `{app-data}\u002Fdyson.db`. Timestamps: `DateTime` UTC only — never `DateTimeOffset` on entities or EF `OrderBy` (SQLite limitation; see csharp skill \u002F rules).\n\nSubject columns: required `SubjectId` on subject-owned tables and on `model_providers` (owner or `DysonSubjects.Shared`). Existing rows migrate to `\"local\"`. Child rows (slugs, turns, logs, todos) stay parent-scoped.\n\n## When SQLite fits\n\n- Local \u002F single-user app data (this harness): one file, no server, simple deploy.\n- Multi-subject LocalDb on one file is fine for desktop + small cloud hosts; not a substitute for multi-writer server DBs when you need strong concurrent writers, schemas, sequences, or rich ALTER support.\n- Other DB backends implement the same `IDyson*Repository` interfaces outside this repo.\n\n### Limitations vs other providers (act on these)\n\n- No schemas \u002F sequences; no native DB-generated concurrency tokens.\n- Prefer `DateTime` (UTC) over `DateTimeOffset`; avoid ordering\u002Fcomparing `decimal` \u002F `TimeSpan` \u002F `ulong` in SQL — EF may client-eval.\n- Some schema ops need table rebuilds; EF may rebuild or throw `NotSupportedException` — review generated migrations for SQLite.\n- Idempotent migration scripts are limited; prefer `Database.Migrate()` \u002F `dotnet ef database update`.\n\n## Connection (timeout + WAL)\n\nAlways configure through `DysonSqliteConfigurator` (not bare `Data Source=`):\n\n- Connection string: `Data Source={path};Default Timeout=30` (busy timeout seconds)\n- On open: `PRAGMA journal_mode=WAL;` + `PRAGMA synchronous=NORMAL;`\n- Used by DI factory registration, `OnConfiguring`, design-time factory, and tests that open file-backed DBs\n- Compaction is `DysonSqliteVacuumHostedService` (`AddDysonLocalDb`); do not ad-hoc `VACUUM` from repositories\n\n```csharp\nDysonSqliteConfigurator.Configure(options, databasePath);\n```\n\n## Mandatory service rule (concurrency)\n\n**Any DB access in a service must use either:**\n\n1. A **new** `DysonDbContext` from `IDbContextFactory` \u002F `DysonDbAccessor.RunAsync` for that operation (preferred default), **or**\n2. A `DysonDbContext` **passed down** from the caller that already owns it — **one logical owner \u002F one thread of execution at a time** on that instance.\n\nHard bans:\n\n- Never inject a long-lived shared scoped `DysonDbContext` into multithreaded services for ad-hoc use.\n- Never share one context across parallel tools \u002F `Task.WhenAll` \u002F `Task.Run` \u002F multiple repositories.\n- Never stash a context on a singleton beyond the owning `RunAsync` lifetime.\n\n### Accessor pattern\n\n```csharp\n\u002F\u002F Public repository API\npublic Task\u003CResult\u003CGuid, string>> CreateAsync(...) =>\n    _accessor.RunAsync((db, ct) => CreateCoreAsync(db, ..., ct), cancellationToken);\n\n\u002F\u002F Pass-down helper (same unit of work; no parallel ops on db)\nprivate static async Task TouchAsync(DysonDbContext db, Guid id, CancellationToken ct) { ... }\n```\n\nSemantics of `RunAsync`: acquire process-wide gate (keyed by DB path) → `CreateDbContext` → run work → dispose → release gate. `DysonDbAccessor.SaveChangesAsync` retries SQLITE_BUSY (5) \u002F SQLITE_LOCKED (6).\n\n### SQLite one-writer\n\nSQLite allows one writer at a time. The process-wide gate serializes writers in-process; `Default Timeout=30` waits on external lock holders. **Error 5** = database busy (another connection holds a write lock). Prefer short transactions; do not hold a context across UI awaits outside `RunAsync`.\n\n### UpsertTurn contention retry\n\n`IDysonSessionRepository.UpsertTurnAsync` (LocalDb impl) alone retries (~5 attempts, short backoff, fresh `RunAsync` each time) on:\n\n- EF `InvalidOperationException` (“second operation … on this context”)\n- `SqliteException` busy (5) \u002F locked (6)\n\nOther errors return `Failed to upsert turn: …` immediately.\n\n## EnsureCreated vs migrations\n\n| API | Use |\n| --- | --- |\n| `Database.Migrate()` \u002F `EnsureMigrated()` | **This repo’s default** — creates DB if missing and applies pending migrations |\n| `EnsureCreated()` | Prototypes \u002F throwaway in-memory tests only |\n\n**Migrate once** at app startup (`Program.cs` factory context). Do not call `EnsureMigrated` on every scope.\n\n**Do not mix** `EnsureCreated` with migrations on the same durable DB file.\n\n## Migrations workflow\n\nAfter entity \u002F `OnModelCreating` changes:\n\n1. Add a migration (from repo, targeting LocalDb):\n\n```bash\ndotnet ef migrations add \u003CName> \\\n  --project src\u002FHarness\u002FHarness.LocalDb\u002FHarness.LocalDb.csproj \\\n  --startup-project src\u002FHarness\u002FHarness.UI\u002FHarness.UI.csproj\n```\n\n2. Review the generated `Up`\u002F`Down` for SQLite rebuilds and data loss.\n3. Apply: app startup (`EnsureMigrated`) or `dotnet ef database update` with an explicit connection if needed.\n4. Commit migration `.cs` + `DysonDbContextModelSnapshot.cs` together with model changes.\n5. Update storage docs when schema\u002Fbehavior changes (`docs\u002Fstorage\u002F…`).\n\nNever hand-edit the live `dyson.db` schema without a migration — that causes schema drift.\n\n## Value converters\n\nPrefer EF `ValueConverter` \u002F `HasConversion` over manual serialize\u002Fdeserialize in repository methods.\n\n**In this repo:**\n\n- `List\u003Cstring>` ↔ JSON TEXT: `StringListJsonValueConverter` + its `ValueComparer` on `HasConversion(..., Comparer)` so change tracking sees list mutations.\n- Enums → int: `.HasConversion\u003Cint>()`.\n- Opaque JSON blobs (e.g. `ToolStateJson`, `PayloadJson`, `CommentsJson`) may stay as `string` columns when the repository owns parse\u002Fformat.\n\n**Rules:**\n\n- Configure converters in `OnModelCreating`, not ad hoc at call sites.\n- For mutable collections\u002Fowned types, supply a `ValueComparer` (or EF won’t detect in-place edits).\n- Normalize on write; define safe read behavior for null\u002Finvalid provider values (see `StringListJsonValueConverter`).\n- Changing converter output shape usually needs a migration (column type\u002Fdata rewrite).\n\n## Indexes, uniqueness, cascade\n\nConfigure in `OnModelCreating` (match existing style):\n\n- **Unique**: composite business keys, e.g. `(SubjectId, AbsolutePath)`, `(SubjectId, Key)` PK on app settings, `(SubjectId, Name)` on shells, `(SubjectId, ModelSlugId)` on favorites, `(ProviderId, Slug)`, `(SessionId, Sequence)`, `(SessionId, TaskCode)`.\n- **Index**: filter\u002Fsort columns (`SubjectId`, `LastActivityUtc`, FKs used in lookups).\n- **Cascade**: owned children of a session\u002Fprovider (turns, logs, todos, slugs) → `DeleteBehavior.Cascade`.\n- **SetNull**: optional FKs that should survive parent delete (e.g. session → work directory \u002F slug).\n- **Restrict**: relationships that must not silently wipe graphs (e.g. parent session).\n\nPick delete behavior deliberately; SQLite will enforce FKs when enabled. Always filter repository queries by `IDysonSubjectContext.SubjectId` (and shared visibility for model providers).\n\n## Pitfalls checklist\n\n- [ ] Schema change → migration + snapshot + docs; never rely on `EnsureCreated` in app code\n- [ ] Service DB access → factory\u002Faccessor **or** pass-down context with single-thread ownership\n- [ ] No shared scoped `DysonDbContext` across parallel tools \u002F repositories\n- [ ] No `DateTimeOffset` on EF entities \u002F ordered queries\n- [ ] Collection JSON properties use converter + comparer (or immutable replace of the list)\n- [ ] Connection uses `DysonSqliteConfigurator` (timeout + WAL), not bare `Data Source=`\n- [ ] Do not ad-hoc `VACUUM` from repositories — compaction is `DysonSqliteVacuumHostedService` (`AddDysonLocalDb`)\n- [ ] Migrate **once** at startup — not per DI scope\n- [ ] Subject filters on every list\u002Fget\u002Fwrite; never ensure `\"shared\"` as a real subject row\n- [ ] Shared provider writes go through `IDysonAccessEvaluator.Can(ManageSharedProviders)`\n- [ ] Secrets: API keys live in DB for the app’s use — do not log them, do not commit `dyson.db` \u002F `.env` credentials\n- [ ] Design-time DB (`dyson-design.db`) is not user data; don’t treat it as source of truth\n- [ ] Abandoned migration lock (EF9+ `__EFMigrationsLock`): if migrate hangs after a kill, clear that table (see [reference.md](reference.md))\n\n## Additional resources\n\n- Deeper Microsoft links and extended notes: [reference.md](reference.md)\n- Storage overview: [docs\u002Fstorage\u002Fmodels.md](..\u002F..\u002Fdocs\u002Fstorage\u002Fmodels.md)\n- Cloud hosting \u002F subjects: [docs\u002Fstorage\u002Fcloud-hosting.md](..\u002F..\u002Fdocs\u002Fstorage\u002Fcloud-hosting.md)\n- C# \u002F DateTime rule: [skills\u002Fcsharp\u002FSKILL.md](..\u002Fcsharp\u002FSKILL.md)\n",{"name":5,"description":7},"master","bf321f77d769d1f957a75f60a7e98534972c158d","skills\u002Fef-core-sqlite",0,"https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness","https:\u002F\u002Fdysonharness.com\u002F","https:\u002F\u002Fgithub.com\u002FEntitySystems","https:\u002F\u002Fentitysystems.co","Software development company based in France ","2026-11-13 03:51:46",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add EntitySystems\u002FDysonHarness --skill ef-core-sqlite",{"tool":40,"command":41},"bunx","bunx skills add EntitySystems\u002FDysonHarness --skill ef-core-sqlite",{"tool":43,"command":44},"pnpm","pnpm dlx skills add EntitySystems\u002FDysonHarness --skill ef-core-sqlite","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fskills\u002Fef-core-sqlite\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"reference.md","REFERENCE","参考文档",3548,"https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fskills\u002Fef-core-sqlite\u002Freference.md",[55,62,69,76],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M79HFPZ6FB3D2DQVT7YRADX0","cursor-skill","Pinned Cursor test skill","https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fsrc\u002FHarness\u002FHarness.Tests\u002FFixtures\u002FPlugins\u002FCursor\u002Fskills\u002Fcursor-skill\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M79HFNWQ281HBECWTRQ8CDV2","codex-skill","Pinned Codex test skill","https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fsrc\u002FHarness\u002FHarness.Tests\u002FFixtures\u002FPlugins\u002FCodex\u002Fcustom-skills\u002Fcodex-skill\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M79HFMNSFTMKKCX49WZ32FZ1","sample-skill","Pinned test skill","https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fsrc\u002FHarness\u002FHarness.Tests\u002FFixtures\u002FPlugins\u002FAgentPlugin\u002Fskills\u002Fsample-skill\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M79HFBSNKKKMZ24RHT50RDXW","csharp","Modern C# \u002F .NET practices for DysonHarness (Harness.Engine): coding conventions, null safety, async\u002FTAP, naming, shallow architecture (1–2 abstraction layers), and Result-pattern APIs. Use when writing, reviewing, or refactoring C#, .NET, or Harness.Engine code in this repository.","https:\u002F\u002Fgithub.com\u002FEntitySystems\u002FDysonHarness\u002Fblob\u002Fmaster\u002Fskills\u002Fcsharp\u002FSKILL.md",[],[]]