[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6NK6BPA2D5NQPXJ01QWRRHK":3,"skill-same:01M6NK6BPA2D5NQPXJ01QWRRHK":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":28,"linkOnly":29,"markdownContent":30,"markdownBody":31,"frontMatter":32,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":14,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":38,"install":39,"resources":52},"01M6NK6BPA2D5NQPXJ01QWRRHK","domain-entity-creation",null,"Use when creating or changing domain entities, value objects, or their tests.","drimsheet\u002Fdrimsheet-core","drimsheet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F315783398?v=4","01M6NK5MZBAT7HG45GK25YH0B8","Drimsheet","01M6NK5N3EX9M6KFDE765HRK96",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Fdomain-entity-creation\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27],"domain","creation","entity","entity creation","domain entity creation","use","objects","tests","value","2026-11-10 10:12:30",false,"---\nname: domain-entity-creation\ndescription: Use when creating or changing domain entities, value objects, or their tests.\n---\n\n# Domain Entity Creation\n\n## Load\n\n- [Folder Responsibility](..\u002F..\u002Frules\u002Ffolder-responsibility.md)\n- [Domain Modeling](..\u002F..\u002Frules\u002Fdomain-modeling.md)\n- [Domain Validations And Helpers](..\u002F..\u002Frules\u002Fdomain-validations.md)\n- [Error Creation](..\u002F..\u002Frules\u002Ferror-creation.md)\n- [Readability](..\u002F..\u002Frules\u002Freadability.md)\n- [Domain Unit Tests](..\u002F..\u002Frules\u002Ftesting\u002Fdomain.md)\n\n## Entity Pattern\n\n- Entity: `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002F\u003Cname>.entity.ts`.\n- Validations:\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002Fvalidations\u002F\u003Cname>.validation.ts`.\n- Helpers: one default-exported function per\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002Fhelpers\u002F\u003Cname>.helper.ts`.\n- Tests: `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002F__tests__\u002F\u003Cname>.entity.test.ts`.\n- Freeze returned entities and exported entity objects.\n- Delegate reusable validation to the entity's frozen validation object; keep\n  entity methods focused on construction or transition, events, and audits.\n- Spread the entity's validation object into the frozen entity API. Import\n  helpers directly and do not re-export them through the entity object.\n- Return `[entity, events, audit]` for creation\u002Fmutation methods when the local pattern does.\n- Export the frozen entity object as default.\n\nUse nearby entities as the source of truth for exact typing and audit\u002Fevent shape.\n\n## Value Pattern\n\n- Value: `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002F\u003Cname>.vo.ts`.\n- Validations:\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002Fvalidations\u002F\u003Cname>.validation.ts`.\n- Helpers: one default-exported function per\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002Fhelpers\u002F\u003Cname>.helper.ts`.\n- Validation tests:\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002Fvalidations\u002F__tests__\u002F\u003Cname>.validation.test.ts`.\n- Value tests: `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002F__tests__\u002F\u003Cname>.vo.test.ts`.\n- Freeze returned values and exported value objects.\n- Spread the value's validation object into the frozen value API. Import helpers\n  directly and do not re-export them through the value object.\n- Import shared value validations directly when no owning value object exists.\n- Keep private construction assertions with their value factory when they do\n  not form a reusable validation API.\n\nUse nearby values as the source of truth for exact typing and immutable result\nshape.\n","# Domain Entity Creation\n\n## Load\n\n- [Folder Responsibility](..\u002F..\u002Frules\u002Ffolder-responsibility.md)\n- [Domain Modeling](..\u002F..\u002Frules\u002Fdomain-modeling.md)\n- [Domain Validations And Helpers](..\u002F..\u002Frules\u002Fdomain-validations.md)\n- [Error Creation](..\u002F..\u002Frules\u002Ferror-creation.md)\n- [Readability](..\u002F..\u002Frules\u002Freadability.md)\n- [Domain Unit Tests](..\u002F..\u002Frules\u002Ftesting\u002Fdomain.md)\n\n## Entity Pattern\n\n- Entity: `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002F\u003Cname>.entity.ts`.\n- Validations:\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002Fvalidations\u002F\u003Cname>.validation.ts`.\n- Helpers: one default-exported function per\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002Fhelpers\u002F\u003Cname>.helper.ts`.\n- Tests: `src\u002Fdomain\u002F\u003Cdomain>\u002Fentities\u002F__tests__\u002F\u003Cname>.entity.test.ts`.\n- Freeze returned entities and exported entity objects.\n- Delegate reusable validation to the entity's frozen validation object; keep\n  entity methods focused on construction or transition, events, and audits.\n- Spread the entity's validation object into the frozen entity API. Import\n  helpers directly and do not re-export them through the entity object.\n- Return `[entity, events, audit]` for creation\u002Fmutation methods when the local pattern does.\n- Export the frozen entity object as default.\n\nUse nearby entities as the source of truth for exact typing and audit\u002Fevent shape.\n\n## Value Pattern\n\n- Value: `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002F\u003Cname>.vo.ts`.\n- Validations:\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002Fvalidations\u002F\u003Cname>.validation.ts`.\n- Helpers: one default-exported function per\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002Fhelpers\u002F\u003Cname>.helper.ts`.\n- Validation tests:\n  `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002Fvalidations\u002F__tests__\u002F\u003Cname>.validation.test.ts`.\n- Value tests: `src\u002Fdomain\u002F\u003Cdomain>\u002Fvalues\u002F__tests__\u002F\u003Cname>.vo.test.ts`.\n- Freeze returned values and exported value objects.\n- Spread the value's validation object into the frozen value API. Import helpers\n  directly and do not re-export them through the value object.\n- Import shared value validations directly when no owning value object exists.\n- Keep private construction assertions with their value factory when they do\n  not form a reusable validation API.\n\nUse nearby values as the source of truth for exact typing and immutable result\nshape.\n",{"name":5,"description":7},"development","f64c2e4250c49cc8a91c8571d73381be0e91c764",".agents\u002Fskills\u002Fdomain-entity-creation","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core","https:\u002F\u002Fgithub.com\u002Fdrimsheet","2026-11-11 15:47:10",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add drimsheet\u002Fdrimsheet-core --skill domain-entity-creation",{"tool":45,"command":46},"bunx","bunx skills add drimsheet\u002Fdrimsheet-core --skill domain-entity-creation",{"tool":48,"command":49},"pnpm","pnpm dlx skills add drimsheet\u002Fdrimsheet-core --skill domain-entity-creation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Fdomain-entity-creation\u002FSKILL.md",true,[],[54,62,82,100,117,128],{"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":28},"01M6NK7RY7KXQQYMDVHZV62N26","testing","Use when adding, changing, or reviewing tests in this repository.","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Ftesting\u002FSKILL.md",[],[56,61,24,26],"repository",{"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":28},"01M6NK7JNV0R0M9T149117R9DY","reporting-usecase-creation","Use when creating, changing, or reorganizing reporting use cases and their DTOs, read queries, tests, wiring, or HTTP endpoints. Does not cover accounting reporting-period or reporting-context management.","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Freporting-usecase-creation\u002FSKILL.md",[],[69,70,20,71,72,73,74,24,75,76,77,26,78,79,80,81],"reporting usecase creation","reporting","management","context","read","http","queries","endpoints","accounting","context management","cover","wiring","http endpoints",{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":28},"01M6NK7GP1F6X3RCMKX4931KF7","pr-reviewer","Use when reviewing code changes, pull requests, or branch diffs.","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Fpr-reviewer\u002FSKILL.md",[],[89,90,91,92,93,24,94,95,96,97,98,99],"reviewer","pr reviewer","pr","requests","changes","reviewing code","code","branch","diffs","pull requests","pull",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":28},"01M6NK7DDA9RH49394J9V6H0BG","planner","Use whenever the user asks for a plan, implementation plan, approach, roadmap, or planning, and whenever the agent decides to create or present a plan before doing work.","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Fplanner\u002FSKILL.md",[],[102,107,108,109,110,111,24,112,113,114,115,116],"work","create","planning","plan","user","roadmap","implementation","present","for","implementation plan",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":28},"01M6NK7BGH49Q4VJW16SN6GB8H","pair-programmer","Use when implementing code changes in this repository.","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Fpair-programmer\u002FSKILL.md",[],[124,125,126,95,61,24,127,93],"pair","pair programmer","implementing code","implementing",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":28},"01M6NK74AEZ7EM5JE48F5KQW2N","migration","Use when creating, running, or reviewing database migrations.","https:\u002F\u002Fgithub.com\u002Fdrimsheet\u002Fdrimsheet-core\u002Fblob\u002Fdevelopment\u002F.agents\u002Fskills\u002Fmigration\u002FSKILL.md",[],[130,24,135,136,137],"database migrations","migrations","database"]