[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HR2S2QDQ1N7TCTBFP3SECR":3,"skill-same:01M6HR2S2QDQ1N7TCTBFP3SECR":64},{"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":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6HR2S2QDQ1N7TCTBFP3SECR","design-data-layer",null,"Design the database layer of a project that does not use ScalarDB: schema, keys, transactions and\nread models. For ScalarDB projects, use design-scalardb.","wfukatsu\u002Fnexus-architect","wfukatsu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F11712747?v=4","01M6HR128TEJY1WD0C36TDQD7S","Wataru Fukatsu","01M6HR12D55WNY36YSW845YXZ1",13,"MIT","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-data-layer\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"design","data","layer","design data layer","database","transactions","projects","read","use","schema","models","project","opus","keys","for","2026-11-10 10:12:30",false,"---\ndescription: |\n  Design the database layer of a project that does not use ScalarDB: schema, keys, transactions and\n  read models. For ScalarDB projects, use design-scalardb.\nmodel: opus\n---\n\n# Data Layer Design\n\nShared files: a path written `@rules\u002F…`, `@skills\u002F…`, `@templates\u002F…` or `@docs\u002F…` is relative to the\nplugin root, `${CLAUDE_PLUGIN_ROOT}` — not to the project being worked on. Read it from there.\n\n## Desired Outcome\n\nGeneric data layer design for projects not using ScalarDB:\n- Database selection and configuration (RDB\u002FNoSQL\u002Fhybrid)\n- Connection pool design\n- Migration strategy\n- Transaction management patterns\n- ORM\u002Fdata access patterns\n- The read model \u002F CQRS \u002F event sourcing decision per aggregate — default *neither*; adopt for a\n  named reason with the projection lag and rebuild cost stated (the same table\n  `\u002Farchitect:design-scalardb` records; `review-data-integrity` reads it as *undecided* when absent)\n\n## Prerequisites\n\n| File | Required\u002FRecommended | Source |\n|------|---------------------|--------|\n| reports\u002F03_design\u002Ftarget-architecture.md | Required | \u002Farchitect:design-microservices |\n| reports\u002F03_design\u002Faggregates\u002Faggregate-manifest.json | Optional | \u002Farchitect:design-aggregate — the aggregate as the concurrency scope and the unit one transaction writes, one repository per root |\n| reports\u002F03_design\u002Fstate-machines\u002Fstate-machine-manifest.json | Optional | \u002Farchitect:design-state-machine — the state column, its concurrency scope, and whether transition history is recorded (@rules\u002Fstate-modeling.md §6) |\n| reports\u002F04_quality\u002Fnfr.md | Optional | \u002Fproduct:define-nfr — read-latency and reporting targets for the Read Model \u002F CQRS \u002F Event Sourcing decision; absent, take them from `requirements-definition.md`'s NFR table, and ask what neither states (@rules\u002Fopen-questions.md) |\n\n## Output\n\n| File | Content |\n|------|---------|\n| `reports\u002F03_design\u002Fdata-layer-design.md` | DB design, transaction management, migration, the Read Model \u002F CQRS \u002F Event Sourcing decision per aggregate |\n\nOutput language and frontmatter: @rules\u002Foutput-conventions.md.\n\n## Architecture Decision Records\n\nThe decisions this skill makes that a later phase depends on — the storage engine and consistency mechanism, and the CQRS \u002F Event Sourcing adoption verdicts — are each recorded as\n`reports\u002F03_design\u002Fadr\u002Fadr-NNN-\u003Cslug>.md` under @rules\u002Farchitecture-decision-records.md: allocate\n`ADR-` as `max + 1` over `work\u002Ftraceability.json` and the directory (`redesign` registers the\nprefix; this skill appends), cite what drove the decision in `upstream` — typically `AGG-` \u002F `STM-` \u002F `NFR-` nodes, or `reports\u002F` paths on the legacy path, per the rule's §2 (never\nempty), list the alternatives rejected, append one `{ \"type\": \"decision\" }` node per record to\nthe graph, regenerate `index.md`, and run\n`python3 \"${CLAUDE_PLUGIN_ROOT}\u002Ftools\u002Flib\u002Fadr_records.py\" \u003Cproject_dir>` before completing. A\nrecord you disagree with is superseded by a new one, never edited.\n\n## Related Skills\n\n| Skill | Relationship |\n|-------|-------------|\n| \u002Farchitect:design-microservices | Input source |\n| \u002Farchitect:review-data-integrity | Review target |\n","# Data Layer Design\n\nShared files: a path written `@rules\u002F…`, `@skills\u002F…`, `@templates\u002F…` or `@docs\u002F…` is relative to the\nplugin root, `${CLAUDE_PLUGIN_ROOT}` — not to the project being worked on. Read it from there.\n\n## Desired Outcome\n\nGeneric data layer design for projects not using ScalarDB:\n- Database selection and configuration (RDB\u002FNoSQL\u002Fhybrid)\n- Connection pool design\n- Migration strategy\n- Transaction management patterns\n- ORM\u002Fdata access patterns\n- The read model \u002F CQRS \u002F event sourcing decision per aggregate — default *neither*; adopt for a\n  named reason with the projection lag and rebuild cost stated (the same table\n  `\u002Farchitect:design-scalardb` records; `review-data-integrity` reads it as *undecided* when absent)\n\n## Prerequisites\n\n| File | Required\u002FRecommended | Source |\n|------|---------------------|--------|\n| reports\u002F03_design\u002Ftarget-architecture.md | Required | \u002Farchitect:design-microservices |\n| reports\u002F03_design\u002Faggregates\u002Faggregate-manifest.json | Optional | \u002Farchitect:design-aggregate — the aggregate as the concurrency scope and the unit one transaction writes, one repository per root |\n| reports\u002F03_design\u002Fstate-machines\u002Fstate-machine-manifest.json | Optional | \u002Farchitect:design-state-machine — the state column, its concurrency scope, and whether transition history is recorded (@rules\u002Fstate-modeling.md §6) |\n| reports\u002F04_quality\u002Fnfr.md | Optional | \u002Fproduct:define-nfr — read-latency and reporting targets for the Read Model \u002F CQRS \u002F Event Sourcing decision; absent, take them from `requirements-definition.md`'s NFR table, and ask what neither states (@rules\u002Fopen-questions.md) |\n\n## Output\n\n| File | Content |\n|------|---------|\n| `reports\u002F03_design\u002Fdata-layer-design.md` | DB design, transaction management, migration, the Read Model \u002F CQRS \u002F Event Sourcing decision per aggregate |\n\nOutput language and frontmatter: @rules\u002Foutput-conventions.md.\n\n## Architecture Decision Records\n\nThe decisions this skill makes that a later phase depends on — the storage engine and consistency mechanism, and the CQRS \u002F Event Sourcing adoption verdicts — are each recorded as\n`reports\u002F03_design\u002Fadr\u002Fadr-NNN-\u003Cslug>.md` under @rules\u002Farchitecture-decision-records.md: allocate\n`ADR-` as `max + 1` over `work\u002Ftraceability.json` and the directory (`redesign` registers the\nprefix; this skill appends), cite what drove the decision in `upstream` — typically `AGG-` \u002F `STM-` \u002F `NFR-` nodes, or `reports\u002F` paths on the legacy path, per the rule's §2 (never\nempty), list the alternatives rejected, append one `{ \"type\": \"decision\" }` node per record to\nthe graph, regenerate `index.md`, and run\n`python3 \"${CLAUDE_PLUGIN_ROOT}\u002Ftools\u002Flib\u002Fadr_records.py\" \u003Cproject_dir>` before completing. A\nrecord you disagree with is superseded by a new one, never edited.\n\n## Related Skills\n\n| Skill | Relationship |\n|-------|-------------|\n| \u002Farchitect:design-microservices | Input source |\n| \u002Farchitect:review-data-integrity | Review target |\n",{"model":31,"description":39},"Design the database layer of a project that does not use ScalarDB: schema, keys, transactions and\nread models. For ScalarDB projects, use design-scalardb.\n","main","fed4c7ebb79ed82ce5c961f944a1ab0ab21bae26","skills\u002Fdesign-data-layer",1,"https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect","https:\u002F\u002Fnexus-architect-docs-070772.gitlab.io\u002F","https:\u002F\u002Fgithub.com\u002Fwfukatsu","https:\u002F\u002Fwww.scalar-labs.com\u002F","Wataru Fukatsu | Co-Founder and CEO, Scalar, Inc.","2026-11-14 22:03:27",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add wfukatsu\u002Fnexus-architect --skill design-data-layer",{"tool":56,"command":57},"bunx","bunx skills add wfukatsu\u002Fnexus-architect --skill design-data-layer",{"tool":59,"command":60},"pnpm","pnpm dlx skills add wfukatsu\u002Fnexus-architect --skill design-data-layer","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fdesign-data-layer\u002FSKILL.md",true,[],[65,73,98,120,143,162],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":72},"01M7DTDMYVAWFXAYJHXN5687Z2","doctor","Check the install and a project: plugins at the repository's version, hooks and skills in\nplace, the two knowledge bundles present and fresh, the project's registry, question store,\naudit log, learned rules and claims readable. Run it first when a command misbehaves.","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fdoctor\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":34},"01M6HRH10GPAVTZ8W90WD9HJK1","verify-sql-migration","Prove a SQL migration on data: golden checks against an authorized source database and\ndifferential tests against ScalarDB. Never touches production.","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fverify-sql-migration\u002FSKILL.md",[],[80,81,82,83,84,85,86,87,88,89,20,90,91,23,92,93,94,95,96,97],"verify sql migration","verify","sql","migration","sonnet","tests","golden","source","Production","fetcher","properties","id","auto","true","mode","en","core","never",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":34},"01M6HRGWK643YKN0QVRQSNSDCR","verify-implementation","Check code against the design (API contract, transactions, security, requirements, the example\nchain) and report every divergence; optionally runs the eight-stage quality gate.","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fverify-implementation\u002FSKILL.md",[],[105,81,106,92,107,108,19,93,109,110,95,111,112,113,114,115,116,117,118,119],"implementation","verify implementation","quality gate","contract","chain","api contract","scope","backlog","repo","example","stage","check","api","code","requirements",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":34},"01M6HRGS929NK1B5WG1ZANSXQ1","update-knowledge","Fetch or update an OKF knowledge bundle: ScalarDB\u002FScalarDL, or the vendored Kubernetes\u002FTerraform\nbundle.","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fupdate-knowledge\u002FSKILL.md",[],[127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142],"update knowledge","update","knowledge","root","plugin","bundle","Bash","terraform","status","okf","latest","kubernetes","name","haiku","Tools","fetch",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":34},"01M6HRGNMYSK70R8Y9BY41E74D","start","Interactive entry point for system architecture work: refactor a legacy application into services,\nor design a new system from requirements; picks the path from the project's state. To move a\ndatabase to ScalarDB, use migrate-database.","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fstart\u002FSKILL.md",[],[145,119,23,150,27,19,151,152,30,33,153,154,155,156,157,158,159,160,161],"Legacy","system","move","migrate","path","application","refactor","services","work","state","architecture","interactive",{"skillNo":163,"name":164,"nameZh":6,"description":165,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":168,"publishedAt":34},"01M6HRGHZXK0NXF6W62MMNS46H","select-scalardb-edition","Choose the ScalarDB edition (Community, Enterprise Standard or Premium, plus Enterprise Options),\ndeployment mode and cluster topology through a short interview.","https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Fselect-scalardb-edition\u002FSKILL.md",[],[169,170,171,84,172,94,173,174,175,176,177,178,179],"select scalardb edition","select","topology","short","Enterprise","choose","deployment","options","cluster","interview","community"]