[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C71HHNKC0TQ0F4V37Z8Q30":3,"skill-same:01M7C71HHNKC0TQ0F4V37Z8Q30":53},{"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":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7C71HHNKC0TQ0F4V37Z8Q30","domain-backend",null,"Use when designing Effect HTTP API surfaces (HttpApi, HttpApiClient, branded params, typed errors), Effect Config \u002F AppConfig, module boundaries (Domain\u002FErrors\u002FApi\u002FService\u002FRepo), sub-modules, Postgres persistence, or reviewing backend layout in apps\u002Fapi or packages\u002Fapi-core. Prefer repos\u002Feffect-smol and docs\u002Fagent-patterns\u002F for Effect idioms. NOT for visual UI.","OctavianTocan\u002Fagentic-inbox","OctavianTocan","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F55554752?v=4","01M7C71C9259P2V7FB54046SB4","Octavian Tocan","01M7C71C9VKZRJWXZNZG1BA4PH",0,"MIT","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fdomain-backend\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: domain-backend\ndescription: \"Use when designing Effect HTTP API surfaces (HttpApi, HttpApiClient, branded params, typed errors), Effect Config \u002F AppConfig, module boundaries (Domain\u002FErrors\u002FApi\u002FService\u002FRepo), sub-modules, Postgres persistence, or reviewing backend layout in apps\u002Fapi or packages\u002Fapi-core. Prefer repos\u002Feffect-smol and docs\u002Fagent-patterns\u002F for Effect idioms. NOT for visual UI.\"\n---\n\n\u003C!-- AUTO-GENERATED by skill-gen -- DO NOT EDIT -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FAppConfig.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FDatabase\u002FDecodeSqlRow.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FActions\u002FHttp.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FActions\u002FRepo.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FLayers.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FDecisions\u002FRepo.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FRuns\u002FRepo.ts -->\n\u003C!-- Source: apps\u002Fweb\u002Fsrc\u002Flib\u002Finbox\u002Fclient.ts -->\n\u003C!-- Source: packages\u002Fapi-core\u002Fsrc\u002FApi.ts -->\n\u003C!-- Source: packages\u002Fapi-core\u002Fsrc\u002FModules\u002FTriage\u002FRuns\u002FDomain.ts -->\n\n## Effect Config (`AppConfig`)\n\n- Non-secret knobs live in `apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FAppConfig.ts` via `Config.all` + `withDefault` (`PORT`, `API_HOST`, `OPENROUTER_MODEL`, triage pacing).\n- Secrets: `Config.redacted` on `layerConfig` surfaces (`DATABASE_URL`, `OPENROUTER_API_KEY`).\n- Demo-mode gate stays raw dynamic `process.env` in `runtime-mode.ts` (Next bundling).\n- Tests: prefer `ConfigProvider.layer(ConfigProvider.fromUnknown(…))` when Effect Config is SoT.\n- See `repos\u002Feffect-smol\u002Fpackages\u002Feffect\u002FCONFIG.md` and `docs\u002Fagent-patterns\u002Feffect-config.md`.\n\n## SQL row → domain (Effect Schema)\n\nRepos must not hand-map Postgres rows with `as` casts or `new Domain({ … row.email_id … })`.\nDecode through Effect Schema at the repo boundary:\n\n1. Start from the api-core domain schema (`Schema.Class` \u002F `Schema.Struct`).\n2. Remap snake_case columns with `Schema.encodeKeys({ emailId: 'email_id', … })`.\n3. Decode with `decodeSqlRow` from `apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FDatabase\u002FDecodeSqlRow.ts` (wraps `Schema.decodeUnknownSync` + optional TEXT→JSON parse).\n\nCanonical example (see Decisions \u002F Actions \u002F Runs \u002F Chat repos):\n\n```ts\nconst DecisionFromRow = Decision.pipe(\n  Schema.encodeKeys({\n    emailId: 'email_id',\n    whyPreview: 'why_preview',\n    keyFacts: 'key_facts',\n    isSensitive: 'is_sensitive',\n    policyReasons: 'policy_reasons'\n  })\n)\nconst decodeDecision = decodeSqlRow(DecisionFromRow)\n```\n\n### SQL NULL vs `Schema.optional`\n\nPostgres returns JS `null`. Bare `Schema.optional(X)` expects the key absent \u002F `undefined`,\nnot `null`. For nullable columns use:\n\n- `Schema.NullOr(X)` when the domain value is `X | null`\n- `Schema.optional(Schema.NullOr(X))` when both omit and SQL NULL are allowed\n\nDo **not** strip nulls in a generic row transform before decode — that breaks `NullOr` fields\nthat require the key to be present as `null`.\n\n### Sync decode exception\n\n`decodeUnknownSync` inside repos via `decodeSqlRow` is the intended pattern.\nDo not use sync Schema decode in HTTP handlers or agent loops — keep those Effect-shaped.\n\n## HttpApi handlers\n\n- `HttpApiBuilder.group(Api, 'group', …)` then `handlers.handle('endpoint', …)`.\n- `Effect.fail` declared endpoint errors; do **not** `Effect.die` \u002F `orDie` domain errors that belong in OpenAPI.\n- Infra failures (`ConfigError`, `AiError`) may stay defects (500) unless declared as typed 5xx schemas.\n- Never `Schema.decodeUnknownSync` path\u002Fbody ids in handlers — endpoint params already decoded.\n- See `docs\u002Fagent-patterns\u002Feffect-httpapi.md`.\n\n## Append-only ledger exception\n\n`apps\u002Fapi\u002Fsrc\u002FModules\u002FActions\u002FRepo.ts` is not an upsert aggregate. Effects are immutable rows: use `append`\n(+ get\u002Flist\u002Fdelete for wipe). Idempotency is `(run_id, action, action_revision)`\nat the DB layer, not an in-place update of a prior row.\n\n# Backend Surface Design (agentic-inbox)\n\nPrinciples for *what* to expose on the Effect API and *how* to structure backend\nmodules in this shared-inbox workspace.\n\nFor TypeScript quality see `practice-code-quality`. For UI product design see\n`domain-design`. For React\u002FNext implementation see `domain-frontend`.\nFull file-split checklist: [module-layout.md](references\u002Fmodule-layout.md).\n\n## Product constraints (backend-relevant)\n\n- **Sensitive emails must never be auto-actioned.**\n- **Every agent action must be legible** in plain language per email.\n- **Wrong calls must be cheaply reversible** (undo \u002F re-triage).\n- **The email dataset is static** — `data\u002Femails.json`, ids `e-001`..`e-080`.\n\n## Before you design\n\n1. Match existing modules — Domain \u002F Errors \u002F Api \u002F Service \u002F Repo split.\n2. Prefer extending `@app\u002Fapi-core` schemas before inventing parallel types.\n3. Compose HTTP layers in `apps\u002Fapi\u002Fsrc\u002FModules\u002FLayers.ts` (`CoreModulesLive`).\n4. Before writing Effect code, read `repos\u002Feffect-smol\u002FLLMS.md`, then `docs\u002Fagent-patterns\u002F`.\n\n## Codebase anchors\n\n| Concern | Path |\n|---------|------|\n| HTTP contracts | `packages\u002Fapi-core\u002Fsrc\u002FModules\u002F` (`@app\u002Fapi-core`) |\n| Runtime modules | `apps\u002Fapi\u002Fsrc\u002FModules\u002F` |\n| Layer merge | `apps\u002Fapi\u002Fsrc\u002FModules\u002FLayers.ts` |\n| Postgres migrator | `apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FDatabase\u002F` |\n| Vendored Effect | `repos\u002Feffect-smol\u002F` (read-only; see `repos\u002FREADME.md`) |\n| Agent pattern files | `docs\u002Fagent-patterns\u002F` |\n\n## Quick reference\n\n- Schemas in api-core; handlers\u002Frepos in `apps\u002Fapi`.\n- Mutable repos: whole-entity `upsert`; no per-field writers.\n- Second aggregate → sub-module folder on both packages.\n- Default answer to new public routes is no — extend existing groups.\n- Never auto-action sensitive mail.\n- Do not import from `repos\u002F`; prefer it over web search for Effect idioms.\n\n## Repo surface (mutable aggregates)\n\nPersist whole entities. Services mutate in memory, then call `upsert` \u002F `create`.\nDo **not** add per-field writers (`updateStatus`, `setPending`, `complete`, …).\n\nCanonical shape (see `apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FDecisions\u002FRepo.ts`):\n\n- `upsert` \u002F `create`\n- `get` \u002F `list*`\n- `deleteByEmail` \u002F `deleteAll` (demo wipe)\n\nAppend-only stores (action ledger) use `append` instead of upsert.\nAtomic claim\u002FCAS methods are OK when concurrency requires them — not as a substitute for upsert.\n\n## Sub-modules\n\nWhen a module needs a second Domain\u002FRepo aggregate, nest it:\n`Modules\u002FTriage\u002FDecisions\u002F`, `Modules\u002FTriage\u002FRuns\u002F` — mirror in `packages\u002Fapi-core`\n(`Triage\u002FRuns\u002FDomain.ts`). Prefer that over a second flat `Repo.ts` at the parent.\n\n## Example: Schema row decode in `apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FDecisions\u002FRepo.ts`\n\n`DecisionFromRow = Decision.pipe(Schema.encodeKeys({…}))` then\n`decodeSqlRow(DecisionFromRow)` — see also `Infrastructure\u002FDatabase\u002FDecodeSqlRow.ts`.\n\n## Example: Triage runs sub-module\n\n`apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FRuns` holds the runs aggregate. Repo methods are whole-entity only\n(`create` \u002F `upsert` \u002F `get` \u002F optional `listByEmail` \u002F wipe deletes).\nStatus and pending transitions belong in `TriageService` \u002F the engine, which\nbuild an updated `TriageRun` and upsert — never `updateStatus` on the repo.\nPublic HTTP stays intent-shaped (`run triage`, `resume by runId`), not CRUD on runs.\n\n## Web HttpApiClient\n\n- Prefer `HttpApiClient.make(Api, { baseUrl })` + `FetchHttpClient.layer` for JSON routes.\n- Import wire types from `@app\u002Fapi-core` (see `lib\u002Finbox\u002Ftypes.ts`); do not redefine mirrors.\n- SSE (triage\u002Fchat) may keep a thin raw-fetch adapter for AbortSignal + UI event narrowing.\n- See `docs\u002Fagent-patterns\u002Feffect-httpapi.md`.\n\n## HttpApi contracts (`packages\u002Fapi-core`)\n\n- One `HttpApi` composed of groups\u002Fendpoints; handlers live in `apps\u002Fapi`.\n- Path params use branded domain ids (`EmailId`, `ApprovalId`, `LedgerEntryId`), not bare `Schema.String`.\n- Declare every handler `Effect.fail` error on the endpoint with `httpApiStatus`.\n- Annotate endpoints (`OpenApi.Summary` \u002F `Description`) and shared models (`identifier`).\n- API-level `SchemaErrorHandler` maps decode failures to structured 422s.\n- When unsure, read `repos\u002Feffect-smol\u002Fpackages\u002Feffect\u002FHTTPAPI.md` and `docs\u002Fagent-patterns\u002Feffect-httpapi.md`.\n- Do not import application code from `repos\u002F`.\n\n## api-core sub-modules\n\nExtra aggregates under a parent module live in a subfolder (`packages\u002Fapi-core\u002Fsrc\u002FModules\u002FTriage\u002FRuns`):\n`Domain.ts` here, runtime `Repo.ts` \u002F services under the matching\n`apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FRuns\u002F` path. Keep HttpApi groups at the parent\nunless the sub-module is independently HTTP-exposed.\nBatch HTTP `TriageRunRequest` stays on the parent `Triage\u002FDomain.ts`.\n","\u003C!-- AUTO-GENERATED by skill-gen -- DO NOT EDIT -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FAppConfig.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FDatabase\u002FDecodeSqlRow.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FActions\u002FHttp.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FActions\u002FRepo.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FLayers.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FDecisions\u002FRepo.ts -->\n\u003C!-- Source: apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FRuns\u002FRepo.ts -->\n\u003C!-- Source: apps\u002Fweb\u002Fsrc\u002Flib\u002Finbox\u002Fclient.ts -->\n\u003C!-- Source: packages\u002Fapi-core\u002Fsrc\u002FApi.ts -->\n\u003C!-- Source: packages\u002Fapi-core\u002Fsrc\u002FModules\u002FTriage\u002FRuns\u002FDomain.ts -->\n\n## Effect Config (`AppConfig`)\n\n- Non-secret knobs live in `apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FAppConfig.ts` via `Config.all` + `withDefault` (`PORT`, `API_HOST`, `OPENROUTER_MODEL`, triage pacing).\n- Secrets: `Config.redacted` on `layerConfig` surfaces (`DATABASE_URL`, `OPENROUTER_API_KEY`).\n- Demo-mode gate stays raw dynamic `process.env` in `runtime-mode.ts` (Next bundling).\n- Tests: prefer `ConfigProvider.layer(ConfigProvider.fromUnknown(…))` when Effect Config is SoT.\n- See `repos\u002Feffect-smol\u002Fpackages\u002Feffect\u002FCONFIG.md` and `docs\u002Fagent-patterns\u002Feffect-config.md`.\n\n## SQL row → domain (Effect Schema)\n\nRepos must not hand-map Postgres rows with `as` casts or `new Domain({ … row.email_id … })`.\nDecode through Effect Schema at the repo boundary:\n\n1. Start from the api-core domain schema (`Schema.Class` \u002F `Schema.Struct`).\n2. Remap snake_case columns with `Schema.encodeKeys({ emailId: 'email_id', … })`.\n3. Decode with `decodeSqlRow` from `apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FDatabase\u002FDecodeSqlRow.ts` (wraps `Schema.decodeUnknownSync` + optional TEXT→JSON parse).\n\nCanonical example (see Decisions \u002F Actions \u002F Runs \u002F Chat repos):\n\n```ts\nconst DecisionFromRow = Decision.pipe(\n  Schema.encodeKeys({\n    emailId: 'email_id',\n    whyPreview: 'why_preview',\n    keyFacts: 'key_facts',\n    isSensitive: 'is_sensitive',\n    policyReasons: 'policy_reasons'\n  })\n)\nconst decodeDecision = decodeSqlRow(DecisionFromRow)\n```\n\n### SQL NULL vs `Schema.optional`\n\nPostgres returns JS `null`. Bare `Schema.optional(X)` expects the key absent \u002F `undefined`,\nnot `null`. For nullable columns use:\n\n- `Schema.NullOr(X)` when the domain value is `X | null`\n- `Schema.optional(Schema.NullOr(X))` when both omit and SQL NULL are allowed\n\nDo **not** strip nulls in a generic row transform before decode — that breaks `NullOr` fields\nthat require the key to be present as `null`.\n\n### Sync decode exception\n\n`decodeUnknownSync` inside repos via `decodeSqlRow` is the intended pattern.\nDo not use sync Schema decode in HTTP handlers or agent loops — keep those Effect-shaped.\n\n## HttpApi handlers\n\n- `HttpApiBuilder.group(Api, 'group', …)` then `handlers.handle('endpoint', …)`.\n- `Effect.fail` declared endpoint errors; do **not** `Effect.die` \u002F `orDie` domain errors that belong in OpenAPI.\n- Infra failures (`ConfigError`, `AiError`) may stay defects (500) unless declared as typed 5xx schemas.\n- Never `Schema.decodeUnknownSync` path\u002Fbody ids in handlers — endpoint params already decoded.\n- See `docs\u002Fagent-patterns\u002Feffect-httpapi.md`.\n\n## Append-only ledger exception\n\n`apps\u002Fapi\u002Fsrc\u002FModules\u002FActions\u002FRepo.ts` is not an upsert aggregate. Effects are immutable rows: use `append`\n(+ get\u002Flist\u002Fdelete for wipe). Idempotency is `(run_id, action, action_revision)`\nat the DB layer, not an in-place update of a prior row.\n\n# Backend Surface Design (agentic-inbox)\n\nPrinciples for *what* to expose on the Effect API and *how* to structure backend\nmodules in this shared-inbox workspace.\n\nFor TypeScript quality see `practice-code-quality`. For UI product design see\n`domain-design`. For React\u002FNext implementation see `domain-frontend`.\nFull file-split checklist: [module-layout.md](references\u002Fmodule-layout.md).\n\n## Product constraints (backend-relevant)\n\n- **Sensitive emails must never be auto-actioned.**\n- **Every agent action must be legible** in plain language per email.\n- **Wrong calls must be cheaply reversible** (undo \u002F re-triage).\n- **The email dataset is static** — `data\u002Femails.json`, ids `e-001`..`e-080`.\n\n## Before you design\n\n1. Match existing modules — Domain \u002F Errors \u002F Api \u002F Service \u002F Repo split.\n2. Prefer extending `@app\u002Fapi-core` schemas before inventing parallel types.\n3. Compose HTTP layers in `apps\u002Fapi\u002Fsrc\u002FModules\u002FLayers.ts` (`CoreModulesLive`).\n4. Before writing Effect code, read `repos\u002Feffect-smol\u002FLLMS.md`, then `docs\u002Fagent-patterns\u002F`.\n\n## Codebase anchors\n\n| Concern | Path |\n|---------|------|\n| HTTP contracts | `packages\u002Fapi-core\u002Fsrc\u002FModules\u002F` (`@app\u002Fapi-core`) |\n| Runtime modules | `apps\u002Fapi\u002Fsrc\u002FModules\u002F` |\n| Layer merge | `apps\u002Fapi\u002Fsrc\u002FModules\u002FLayers.ts` |\n| Postgres migrator | `apps\u002Fapi\u002Fsrc\u002FInfrastructure\u002FDatabase\u002F` |\n| Vendored Effect | `repos\u002Feffect-smol\u002F` (read-only; see `repos\u002FREADME.md`) |\n| Agent pattern files | `docs\u002Fagent-patterns\u002F` |\n\n## Quick reference\n\n- Schemas in api-core; handlers\u002Frepos in `apps\u002Fapi`.\n- Mutable repos: whole-entity `upsert`; no per-field writers.\n- Second aggregate → sub-module folder on both packages.\n- Default answer to new public routes is no — extend existing groups.\n- Never auto-action sensitive mail.\n- Do not import from `repos\u002F`; prefer it over web search for Effect idioms.\n\n## Repo surface (mutable aggregates)\n\nPersist whole entities. Services mutate in memory, then call `upsert` \u002F `create`.\nDo **not** add per-field writers (`updateStatus`, `setPending`, `complete`, …).\n\nCanonical shape (see `apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FDecisions\u002FRepo.ts`):\n\n- `upsert` \u002F `create`\n- `get` \u002F `list*`\n- `deleteByEmail` \u002F `deleteAll` (demo wipe)\n\nAppend-only stores (action ledger) use `append` instead of upsert.\nAtomic claim\u002FCAS methods are OK when concurrency requires them — not as a substitute for upsert.\n\n## Sub-modules\n\nWhen a module needs a second Domain\u002FRepo aggregate, nest it:\n`Modules\u002FTriage\u002FDecisions\u002F`, `Modules\u002FTriage\u002FRuns\u002F` — mirror in `packages\u002Fapi-core`\n(`Triage\u002FRuns\u002FDomain.ts`). Prefer that over a second flat `Repo.ts` at the parent.\n\n## Example: Schema row decode in `apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FDecisions\u002FRepo.ts`\n\n`DecisionFromRow = Decision.pipe(Schema.encodeKeys({…}))` then\n`decodeSqlRow(DecisionFromRow)` — see also `Infrastructure\u002FDatabase\u002FDecodeSqlRow.ts`.\n\n## Example: Triage runs sub-module\n\n`apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FRuns` holds the runs aggregate. Repo methods are whole-entity only\n(`create` \u002F `upsert` \u002F `get` \u002F optional `listByEmail` \u002F wipe deletes).\nStatus and pending transitions belong in `TriageService` \u002F the engine, which\nbuild an updated `TriageRun` and upsert — never `updateStatus` on the repo.\nPublic HTTP stays intent-shaped (`run triage`, `resume by runId`), not CRUD on runs.\n\n## Web HttpApiClient\n\n- Prefer `HttpApiClient.make(Api, { baseUrl })` + `FetchHttpClient.layer` for JSON routes.\n- Import wire types from `@app\u002Fapi-core` (see `lib\u002Finbox\u002Ftypes.ts`); do not redefine mirrors.\n- SSE (triage\u002Fchat) may keep a thin raw-fetch adapter for AbortSignal + UI event narrowing.\n- See `docs\u002Fagent-patterns\u002Feffect-httpapi.md`.\n\n## HttpApi contracts (`packages\u002Fapi-core`)\n\n- One `HttpApi` composed of groups\u002Fendpoints; handlers live in `apps\u002Fapi`.\n- Path params use branded domain ids (`EmailId`, `ApprovalId`, `LedgerEntryId`), not bare `Schema.String`.\n- Declare every handler `Effect.fail` error on the endpoint with `httpApiStatus`.\n- Annotate endpoints (`OpenApi.Summary` \u002F `Description`) and shared models (`identifier`).\n- API-level `SchemaErrorHandler` maps decode failures to structured 422s.\n- When unsure, read `repos\u002Feffect-smol\u002Fpackages\u002Feffect\u002FHTTPAPI.md` and `docs\u002Fagent-patterns\u002Feffect-httpapi.md`.\n- Do not import application code from `repos\u002F`.\n\n## api-core sub-modules\n\nExtra aggregates under a parent module live in a subfolder (`packages\u002Fapi-core\u002Fsrc\u002FModules\u002FTriage\u002FRuns`):\n`Domain.ts` here, runtime `Repo.ts` \u002F services under the matching\n`apps\u002Fapi\u002Fsrc\u002FModules\u002FTriage\u002FRuns\u002F` path. Keep HttpApi groups at the parent\nunless the sub-module is independently HTTP-exposed.\nBatch HTTP `TriageRunRequest` stays on the parent `Triage\u002FDomain.ts`.\n",{"name":5,"description":7},"main","516fd82c2b9f9a7877cd8fc3716ce85ad5aea154",".agent\u002Fskills\u002Fdomain-backend","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox","https:\u002F\u002Fagentic-inbox.octaviantocan.com","https:\u002F\u002Fgithub.com\u002FOctavianTocan","https:\u002F\u002Foctaviantocan.com","Product & Design Engineer. React, TypeScript, React Native. Shipped at Ojin, TwinMind and a YC startup. Zaragoza, Spain.","2026-11-10 20:03:26",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add OctavianTocan\u002Fagentic-inbox --skill domain-backend",{"tool":39,"command":40},"bunx","bunx skills add OctavianTocan\u002Fagentic-inbox --skill domain-backend",{"tool":42,"command":43},"pnpm","pnpm dlx skills add OctavianTocan\u002Fagentic-inbox --skill domain-backend","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fdomain-backend\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fmodule-layout.md","REFERENCE","参考文档",3344,"https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fdomain-backend\u002Freferences\u002Fmodule-layout.md",[54,61,68,75,82,87],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7C72EKFAYWCHT824ZRWR5ZN","testing","Testing patterns and best practices.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fskill-gen\u002Fe2e-test-expected\u002Ftesting\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7C72DCKJMY89MJBYBX90MH2","coding","General coding patterns and conventions.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fskill-gen\u002Fe2e-test-expected\u002Fcoding\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7C729AP4GNJN3KF78VV0B6E","skill-gen","Use when adding, modifying, generating, checking, or debugging repo-local skill fragments embedded in source code with \u002F\u002F\u003Cskill-gen> markers.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fskill-gen\u002F.agent\u002Fskills\u002Fskill-gen\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7C724TJ8XH6QKZNJP6EJSGF","gen-github-workflow","Use when creating, modifying, generating, checking, or debugging CI workflow fragments embedded in source code with \u002F\u002F\u003Cgen-github-workflow> markers.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002Ftools\u002Fgen-github-workflow\u002F.agent\u002Fskills\u002Fgen-github-workflow\u002FSKILL.md",[],[],{"skillNo":83,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7C720VEJCXABMYNSHDS9X0C","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Fskill-gen\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7C71V6NRZZ43RH1KDJ3MGBD","inbox-agents-md","Decides when to create or update nested AGENTS.md, README.md, and CLAUDE.md files in the agentic-inbox monorepo. Use when adding packages\u002Fapps\u002Ftools, restructuring subtrees, writing agent docs, or when nested subtree docs may be stale or missing.","https:\u002F\u002Fgithub.com\u002FOctavianTocan\u002Fagentic-inbox\u002Fblob\u002Fmain\u002F.agent\u002Fskills\u002Finbox-agents-md\u002FSKILL.md",[],[]]