[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HRG0VTYFND373VFSWRZJQS":3,"skill-same:01M6HRG0VTYFND373VFSWRZJQS":60},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":43,"ownerDescription":44,"updatedAt":45,"install":46,"resources":59},"01M6HRG0VTYFND373VFSWRZJQS","review-scalardb",null,"Design-review perspective for ScalarDB projects: transaction scope, OCC contention and schema\ncompatibility.","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\u002Freview-scalardb\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29],"review","review scalardb","design","projects","schema","compatibility","transaction","scope","sonnet","for","perspective","2026-11-10 10:12:30",false,"---\ndescription: |\n  Design-review perspective for ScalarDB projects: transaction scope, OCC contention and schema\n  compatibility.\nmodel: sonnet\n---\n\n# ScalarDB Constraint Review\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## Knowledge Grounding\n\nConstraint claims (version-specific limits, config keys, edition-gated features) are verified\nagainst the project's pinned ScalarDB release in the OKF knowledge bundle\n(@rules\u002Fokf-knowledge-bundle.md), not against memory. Cite the concept's `resource` URL as\nevidence when a finding depends on documented behavior.\n\n## Review Dimensions\n\n### 1. Cross-Service Transaction Mechanism (weight: 0.40)\n- Whether the design names a mechanism per cross-service transaction rather than defaulting to 2PC\n- Whether a simpler mechanism was available and skipped (shared-cluster one-phase commit; the\n  Microservice Transaction API on ScalarDB 3.19+ Cluster)\n- Whether a new design adopts the deprecated 2PC interface without an ADR-recorded deviation\n- Whether hand-written 2PC transactions are contained within a maximum of 2-3 services\n- Whether a PostgreSQL wire protocol or Native JDBC access path relies on semantics it does not\n  provide (enforced constraints, locks) or on a mismatched isolation level\n- Detection of transactions spanning 4+ services\n- Application points for ScalarDB Saga, whether compensations are defined and idempotent, and\n  whether every external participant's readiness (idempotency, duplicate response, compensation\n  deadline, outcome query) is assessed with a disposition per gap\n\n### 2. OCC Contention Analysis (weight: 0.35)\n- Identification of write hotspots\n- Whether the design can achieve an OCC conflict rate below 5%\n- Contention mitigation strategies (partitioning, CQRS, etc.)\n\n### 3. Schema and API Compatibility (weight: 0.25)\n- Validity of partition\u002Fclustering key design\n- Necessity of secondary indexes and their performance impact\n- Compliance with the constraints of the release the project pinned\n- Whether edition-gated features are within the project's contracted edition (SQL\u002FJDBC and GraphQL\n  are Enterprise **Premium**; Analytics is an Enterprise **Option**; ABAC is an Enterprise Premium\n  Option and in Private Preview) — see @rules\u002Fscalardb-edition-profiles.md\n- Whether the pinned version line is still under maintenance support\n\n## Execution\n\n### Step 1: Collect Input File Paths\n\nGlob for all available ScalarDB design documents:\n- `reports\u002F03_design\u002Fscalardb-*.md`\n- `reports\u002F03_design\u002Ftarget-architecture.md`\n- `reports\u002F03_design\u002Ftransformation-plan.md`\n- `reports\u002F03_design\u002Fapi-specifications\u002F**\u002F*.md` (if exists)\n\nRecord the full list of found file paths — these will be passed to sub-agents.\n\n### Step 2: Spawn Three Parallel Dimension Reviewers\n\nIn a **single message**, issue all three Agent() calls simultaneously so they run in parallel:\n\n**Task A — Cross-Service Transaction Mechanism (SDB-1xx)**\n```\nAgent(\n  subagent_type: \"general-purpose\",\n  model: \"sonnet\",\n  description: \"Cross-service transaction mechanism dimension review\",\n  prompt: \"\"\"\nYou are a ScalarDB architect reviewing designs for the CROSS-SERVICE TRANSACTION MECHANISM.\n\nRead all of the following files using the Read tool:\n\u003CFILE_LIST>\n[Insert the full list of file paths found in Step 1, one per line]\n\u003C\u002FFILE_LIST>\n\nScalarDB offers four mechanisms for a transaction that spans services, in order of preference:\n1. Shared-cluster pattern with the one-phase commit interface — every service uses one ScalarDB\n   Cluster instance. This is the documented recommendation \"whenever possible\".\n2. Microservice Transaction API (`GlobalTransactionManager` \u002F `BranchTransaction`, ScalarDB 3.19+\n   Cluster; SQL `GLOBAL_TRANSACTION` on 3.20+) — separated Cluster instances with a Transaction\n   Coordinator node driving 2PC underneath; application code stays one-phase and is identical to\n   option 1. Available only if the project pins 3.19 or later on an Enterprise edition.\n3. Application-driven two-phase commit interface — **deprecated as of ScalarDB 3.19** (\"will be\n   removed in a future release\"; 3.20 removed `join()` \u002F `resume()`). Acceptable only pre-3.19, on\n   Core (Community) only, or with Spring Data JDBC, and only as an ADR-recorded deviation with a\n   migration path. ScalarDB recommends such transactions span at most 2-3 services.\n4. ScalarDB Saga (3.20 GA, Apache-2.0) — eventual consistency with compensations (SAGA) or\n   reservations (TCC), for cases where a single ACID transaction is not possible or not wanted.\n   Its store must run Consensus Commit.\n\nEvaluate ONLY the Cross-Service Transaction Mechanism dimension:\n- Does the design name a mechanism for each cross-service transaction, with a recorded reason?\n- Was a simpler mechanism available and skipped (shared cluster, or the Microservice Transaction\n  API when the pinned version and edition allow it)?\n- Does any new design adopt the deprecated 2PC interface without an ADR and a migration path?\n- Are hand-written 2PC transactions contained within 2-3 services maximum?\n- Are there transactions spanning 4+ services that should use Saga instead?\n- Where Saga is used, is a compensation defined for every step, and are the steps idempotent?\n- Where a saga step calls an external API, does the Participant Readiness table state the provider's\n  idempotency mechanism, duplicate response, compensation deadline against the saga horizon, outcome\n  query and evidence URL, and does every gap carry a disposition? (An unassessed external participant\n  is a blocker — @rules\u002Fscalardb-saga-patterns.md § External Participants)\n- Where the PostgreSQL wire protocol or a standalone frontend is an access path, does any invariant\n  rely on `UNIQUE` \u002F `CHECK` \u002F `REFERENCES` being enforced, or on `FOR UPDATE` locking? (It is not —\n  @rules\u002Fscalardb-postgres-frontend-patterns.md)\n- Where ScalarDB Native JDBC is used, do every ScalarDB application and the driver pin the same\n  isolation level, and are the refused statement shapes absent? (@rules\u002Fscalardb-native-jdbc-patterns.md)\n\nScore 1-5: 5=Exemplary (mechanism chosen and justified per transaction, simplest viable option\nused), 4=Good, 3=Acceptable, 2=Concerning, 1=Critical (wide hand-written 2PC scope, or no\nmechanism stated)\n\nReturn ONLY this JSON (no markdown fences, no explanation):\n{\n  \"name\": \"Cross-Service Transaction Mechanism\",\n  \"weight\": 0.40,\n  \"score\": \u003Cinteger 1-5>,\n  \"findings\": [\n    {\n      \"id\": \"SDB-1\u003CNN>\",\n      \"severity\": \"critical|major|minor|info\",\n      \"location\": \"\u003Cfile:section>\",\n      \"title\": \"\u003Cfinding title>\",\n      \"description\": \"\u003Cmechanism or scope issue and its impact on transaction reliability and complexity>\",\n      \"recommendation\": \"\u003Cthe mechanism to switch to, or the scope reduction to make>\"\n    }\n  ]\n}\n\"\"\"\n)\n```\n\n**Task B — OCC Contention Analysis (SDB-2xx)**\n```\nAgent(\n  subagent_type: \"general-purpose\",\n  model: \"sonnet\",\n  description: \"OCC contention analysis dimension review\",\n  prompt: \"\"\"\nYou are a ScalarDB architect reviewing designs for OCC CONTENTION ANALYSIS.\n\nRead all of the following files using the Read tool:\n\u003CFILE_LIST>\n[Insert the full list of file paths found in Step 1, one per line]\n\u003C\u002FFILE_LIST>\n\nScalarDB uses Optimistic Concurrency Control (OCC). Conflict rates above 5% degrade performance significantly.\n\nEvaluate ONLY the OCC Contention Analysis dimension:\n- Which tables\u002Fpartitions are write hotspots (multiple concurrent writes to the same partition key)?\n- Can the design achieve an OCC conflict rate below 5% under expected load?\n- Are contention mitigation strategies applied (partitioning, CQRS, event sourcing, etc.)? Read the design's \"Read Model, CQRS and Event Sourcing Decisions\" table: an aggregate with a hot partition and `none` \u002F `no` there is a finding, and an aggregate absent from the table is *undecided* — a finding too, not \"not needed\"\n\nScore 1-5: 5=Exemplary (minimal hotspots, clear mitigation), 4=Good, 3=Acceptable, 2=Concerning, 1=Critical (high contention)\n\nReturn ONLY this JSON (no markdown fences, no explanation):\n{\n  \"name\": \"OCC Contention Analysis\",\n  \"weight\": 0.35,\n  \"score\": \u003Cinteger 1-5>,\n  \"findings\": [\n    {\n      \"id\": \"SDB-2\u003CNN>\",\n      \"severity\": \"critical|major|minor|info\",\n      \"location\": \"\u003Cfile:section>\",\n      \"title\": \"\u003Cfinding title>\",\n      \"description\": \"\u003Chotspot or contention pattern and its performance impact>\",\n      \"recommendation\": \"\u003Cspecific partitioning or design change>\"\n    }\n  ]\n}\n\"\"\"\n)\n```\n\n**Task C — Schema and API Compatibility (SDB-3xx)**\n```\nAgent(\n  subagent_type: \"general-purpose\",\n  model: \"sonnet\",\n  description: \"Schema and API compatibility dimension review\",\n  prompt: \"\"\"\nYou are a ScalarDB architect reviewing designs for SCHEMA AND API COMPATIBILITY.\n\nRead all of the following files using the Read tool:\n\u003CFILE_LIST>\n[Insert the full list of file paths found in Step 1, one per line]\n\u003C\u002FFILE_LIST>\n\nEvaluate ONLY the Schema and API Compatibility dimension, against the constraints of the ScalarDB\nrelease the design pins (state the version you assumed if the design does not name one):\n- Partition key design (even distribution, no hot partitions, no monotonically increasing sole partition keys)\n- Clustering key design (appropriate sort order for access patterns)\n- Secondary indexes (only where necessary; avoid high-cardinality indexes on some backends)\n- API usage (Put is deprecated since 3.13; use Insert\u002FUpsert\u002FUpdate instead)\n- Exception handling (specific conflict exceptions caught before parent classes). The 3.19 recovery\n  APIs — finishTransaction(), recoverRecord() — are low-level operational APIs; flag any design\n  that calls them from application error handling\n- Edition fit: SQL \u002F JDBC \u002F Spring Data JDBC \u002F GraphQL require Enterprise **Premium** (not\n  Standard); ScalarDB Analytics is a separately contracted Enterprise **Option**; ABAC is an\n  Enterprise Premium **Option** and in Private Preview. Flag any feature used outside the\n  project's stated edition\n- Version support: flag a design pinned to ScalarDB 3.15 or 3.14, which are past maintenance support\n\nScore 1-5: 5=Exemplary, 4=Good, 3=Acceptable, 2=Concerning, 1=Critical\n\nReturn ONLY this JSON (no markdown fences, no explanation):\n{\n  \"name\": \"Schema and API Compatibility\",\n  \"weight\": 0.25,\n  \"score\": \u003Cinteger 1-5>,\n  \"findings\": [\n    {\n      \"id\": \"SDB-3\u003CNN>\",\n      \"severity\": \"critical|major|minor|info\",\n      \"location\": \"\u003Cfile:section>\",\n      \"title\": \"\u003Cfinding title>\",\n      \"description\": \"\u003Cschema or API issue and its constraint violation>\",\n      \"recommendation\": \"\u003Cspecific fix per ScalarDB constraints>\"\n    }\n  ]\n}\n\"\"\"\n)\n```\n\n### Step 3: Merge and Write Output\n\nAfter all three Tasks complete, compute the weighted score and write output:\n\n```\nweighted_score = round(0.40 × scoreA + 0.35 × scoreB + 0.25 × scoreC, 2)\n```\n\nWrite `reports\u002Freview\u002Findividual\u002Freview-scalardb.json`:\n```json\n{\n  \"perspective\": \"scalardb\",\n  \"reviewer\": \"review-scalardb\",\n  \"timestamp\": \"\u003CISO-8601 now>\",\n  \"dimensions\": [\u003CTask A result>, \u003CTask B result>, \u003CTask C result>],\n  \"weighted_score\": \u003Ccomputed>,\n  \"summary\": \"\u003C2-3 sentences synthesizing ScalarDB constraint compliance and key risks>\"\n}\n```\n\n## Output Format\n\nFinding ID prefix: **SDB-**\n- SDB-1xx: Cross-Service Transaction Mechanism\n- SDB-2xx: OCC Contention Analysis\n- SDB-3xx: Schema and API Compatibility\n","# ScalarDB Constraint Review\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## Knowledge Grounding\n\nConstraint claims (version-specific limits, config keys, edition-gated features) are verified\nagainst the project's pinned ScalarDB release in the OKF knowledge bundle\n(@rules\u002Fokf-knowledge-bundle.md), not against memory. Cite the concept's `resource` URL as\nevidence when a finding depends on documented behavior.\n\n## Review Dimensions\n\n### 1. Cross-Service Transaction Mechanism (weight: 0.40)\n- Whether the design names a mechanism per cross-service transaction rather than defaulting to 2PC\n- Whether a simpler mechanism was available and skipped (shared-cluster one-phase commit; the\n  Microservice Transaction API on ScalarDB 3.19+ Cluster)\n- Whether a new design adopts the deprecated 2PC interface without an ADR-recorded deviation\n- Whether hand-written 2PC transactions are contained within a maximum of 2-3 services\n- Whether a PostgreSQL wire protocol or Native JDBC access path relies on semantics it does not\n  provide (enforced constraints, locks) or on a mismatched isolation level\n- Detection of transactions spanning 4+ services\n- Application points for ScalarDB Saga, whether compensations are defined and idempotent, and\n  whether every external participant's readiness (idempotency, duplicate response, compensation\n  deadline, outcome query) is assessed with a disposition per gap\n\n### 2. OCC Contention Analysis (weight: 0.35)\n- Identification of write hotspots\n- Whether the design can achieve an OCC conflict rate below 5%\n- Contention mitigation strategies (partitioning, CQRS, etc.)\n\n### 3. Schema and API Compatibility (weight: 0.25)\n- Validity of partition\u002Fclustering key design\n- Necessity of secondary indexes and their performance impact\n- Compliance with the constraints of the release the project pinned\n- Whether edition-gated features are within the project's contracted edition (SQL\u002FJDBC and GraphQL\n  are Enterprise **Premium**; Analytics is an Enterprise **Option**; ABAC is an Enterprise Premium\n  Option and in Private Preview) — see @rules\u002Fscalardb-edition-profiles.md\n- Whether the pinned version line is still under maintenance support\n\n## Execution\n\n### Step 1: Collect Input File Paths\n\nGlob for all available ScalarDB design documents:\n- `reports\u002F03_design\u002Fscalardb-*.md`\n- `reports\u002F03_design\u002Ftarget-architecture.md`\n- `reports\u002F03_design\u002Ftransformation-plan.md`\n- `reports\u002F03_design\u002Fapi-specifications\u002F**\u002F*.md` (if exists)\n\nRecord the full list of found file paths — these will be passed to sub-agents.\n\n### Step 2: Spawn Three Parallel Dimension Reviewers\n\nIn a **single message**, issue all three Agent() calls simultaneously so they run in parallel:\n\n**Task A — Cross-Service Transaction Mechanism (SDB-1xx)**\n```\nAgent(\n  subagent_type: \"general-purpose\",\n  model: \"sonnet\",\n  description: \"Cross-service transaction mechanism dimension review\",\n  prompt: \"\"\"\nYou are a ScalarDB architect reviewing designs for the CROSS-SERVICE TRANSACTION MECHANISM.\n\nRead all of the following files using the Read tool:\n\u003CFILE_LIST>\n[Insert the full list of file paths found in Step 1, one per line]\n\u003C\u002FFILE_LIST>\n\nScalarDB offers four mechanisms for a transaction that spans services, in order of preference:\n1. Shared-cluster pattern with the one-phase commit interface — every service uses one ScalarDB\n   Cluster instance. This is the documented recommendation \"whenever possible\".\n2. Microservice Transaction API (`GlobalTransactionManager` \u002F `BranchTransaction`, ScalarDB 3.19+\n   Cluster; SQL `GLOBAL_TRANSACTION` on 3.20+) — separated Cluster instances with a Transaction\n   Coordinator node driving 2PC underneath; application code stays one-phase and is identical to\n   option 1. Available only if the project pins 3.19 or later on an Enterprise edition.\n3. Application-driven two-phase commit interface — **deprecated as of ScalarDB 3.19** (\"will be\n   removed in a future release\"; 3.20 removed `join()` \u002F `resume()`). Acceptable only pre-3.19, on\n   Core (Community) only, or with Spring Data JDBC, and only as an ADR-recorded deviation with a\n   migration path. ScalarDB recommends such transactions span at most 2-3 services.\n4. ScalarDB Saga (3.20 GA, Apache-2.0) — eventual consistency with compensations (SAGA) or\n   reservations (TCC), for cases where a single ACID transaction is not possible or not wanted.\n   Its store must run Consensus Commit.\n\nEvaluate ONLY the Cross-Service Transaction Mechanism dimension:\n- Does the design name a mechanism for each cross-service transaction, with a recorded reason?\n- Was a simpler mechanism available and skipped (shared cluster, or the Microservice Transaction\n  API when the pinned version and edition allow it)?\n- Does any new design adopt the deprecated 2PC interface without an ADR and a migration path?\n- Are hand-written 2PC transactions contained within 2-3 services maximum?\n- Are there transactions spanning 4+ services that should use Saga instead?\n- Where Saga is used, is a compensation defined for every step, and are the steps idempotent?\n- Where a saga step calls an external API, does the Participant Readiness table state the provider's\n  idempotency mechanism, duplicate response, compensation deadline against the saga horizon, outcome\n  query and evidence URL, and does every gap carry a disposition? (An unassessed external participant\n  is a blocker — @rules\u002Fscalardb-saga-patterns.md § External Participants)\n- Where the PostgreSQL wire protocol or a standalone frontend is an access path, does any invariant\n  rely on `UNIQUE` \u002F `CHECK` \u002F `REFERENCES` being enforced, or on `FOR UPDATE` locking? (It is not —\n  @rules\u002Fscalardb-postgres-frontend-patterns.md)\n- Where ScalarDB Native JDBC is used, do every ScalarDB application and the driver pin the same\n  isolation level, and are the refused statement shapes absent? (@rules\u002Fscalardb-native-jdbc-patterns.md)\n\nScore 1-5: 5=Exemplary (mechanism chosen and justified per transaction, simplest viable option\nused), 4=Good, 3=Acceptable, 2=Concerning, 1=Critical (wide hand-written 2PC scope, or no\nmechanism stated)\n\nReturn ONLY this JSON (no markdown fences, no explanation):\n{\n  \"name\": \"Cross-Service Transaction Mechanism\",\n  \"weight\": 0.40,\n  \"score\": \u003Cinteger 1-5>,\n  \"findings\": [\n    {\n      \"id\": \"SDB-1\u003CNN>\",\n      \"severity\": \"critical|major|minor|info\",\n      \"location\": \"\u003Cfile:section>\",\n      \"title\": \"\u003Cfinding title>\",\n      \"description\": \"\u003Cmechanism or scope issue and its impact on transaction reliability and complexity>\",\n      \"recommendation\": \"\u003Cthe mechanism to switch to, or the scope reduction to make>\"\n    }\n  ]\n}\n\"\"\"\n)\n```\n\n**Task B — OCC Contention Analysis (SDB-2xx)**\n```\nAgent(\n  subagent_type: \"general-purpose\",\n  model: \"sonnet\",\n  description: \"OCC contention analysis dimension review\",\n  prompt: \"\"\"\nYou are a ScalarDB architect reviewing designs for OCC CONTENTION ANALYSIS.\n\nRead all of the following files using the Read tool:\n\u003CFILE_LIST>\n[Insert the full list of file paths found in Step 1, one per line]\n\u003C\u002FFILE_LIST>\n\nScalarDB uses Optimistic Concurrency Control (OCC). Conflict rates above 5% degrade performance significantly.\n\nEvaluate ONLY the OCC Contention Analysis dimension:\n- Which tables\u002Fpartitions are write hotspots (multiple concurrent writes to the same partition key)?\n- Can the design achieve an OCC conflict rate below 5% under expected load?\n- Are contention mitigation strategies applied (partitioning, CQRS, event sourcing, etc.)? Read the design's \"Read Model, CQRS and Event Sourcing Decisions\" table: an aggregate with a hot partition and `none` \u002F `no` there is a finding, and an aggregate absent from the table is *undecided* — a finding too, not \"not needed\"\n\nScore 1-5: 5=Exemplary (minimal hotspots, clear mitigation), 4=Good, 3=Acceptable, 2=Concerning, 1=Critical (high contention)\n\nReturn ONLY this JSON (no markdown fences, no explanation):\n{\n  \"name\": \"OCC Contention Analysis\",\n  \"weight\": 0.35,\n  \"score\": \u003Cinteger 1-5>,\n  \"findings\": [\n    {\n      \"id\": \"SDB-2\u003CNN>\",\n      \"severity\": \"critical|major|minor|info\",\n      \"location\": \"\u003Cfile:section>\",\n      \"title\": \"\u003Cfinding title>\",\n      \"description\": \"\u003Chotspot or contention pattern and its performance impact>\",\n      \"recommendation\": \"\u003Cspecific partitioning or design change>\"\n    }\n  ]\n}\n\"\"\"\n)\n```\n\n**Task C — Schema and API Compatibility (SDB-3xx)**\n```\nAgent(\n  subagent_type: \"general-purpose\",\n  model: \"sonnet\",\n  description: \"Schema and API compatibility dimension review\",\n  prompt: \"\"\"\nYou are a ScalarDB architect reviewing designs for SCHEMA AND API COMPATIBILITY.\n\nRead all of the following files using the Read tool:\n\u003CFILE_LIST>\n[Insert the full list of file paths found in Step 1, one per line]\n\u003C\u002FFILE_LIST>\n\nEvaluate ONLY the Schema and API Compatibility dimension, against the constraints of the ScalarDB\nrelease the design pins (state the version you assumed if the design does not name one):\n- Partition key design (even distribution, no hot partitions, no monotonically increasing sole partition keys)\n- Clustering key design (appropriate sort order for access patterns)\n- Secondary indexes (only where necessary; avoid high-cardinality indexes on some backends)\n- API usage (Put is deprecated since 3.13; use Insert\u002FUpsert\u002FUpdate instead)\n- Exception handling (specific conflict exceptions caught before parent classes). The 3.19 recovery\n  APIs — finishTransaction(), recoverRecord() — are low-level operational APIs; flag any design\n  that calls them from application error handling\n- Edition fit: SQL \u002F JDBC \u002F Spring Data JDBC \u002F GraphQL require Enterprise **Premium** (not\n  Standard); ScalarDB Analytics is a separately contracted Enterprise **Option**; ABAC is an\n  Enterprise Premium **Option** and in Private Preview. Flag any feature used outside the\n  project's stated edition\n- Version support: flag a design pinned to ScalarDB 3.15 or 3.14, which are past maintenance support\n\nScore 1-5: 5=Exemplary, 4=Good, 3=Acceptable, 2=Concerning, 1=Critical\n\nReturn ONLY this JSON (no markdown fences, no explanation):\n{\n  \"name\": \"Schema and API Compatibility\",\n  \"weight\": 0.25,\n  \"score\": \u003Cinteger 1-5>,\n  \"findings\": [\n    {\n      \"id\": \"SDB-3\u003CNN>\",\n      \"severity\": \"critical|major|minor|info\",\n      \"location\": \"\u003Cfile:section>\",\n      \"title\": \"\u003Cfinding title>\",\n      \"description\": \"\u003Cschema or API issue and its constraint violation>\",\n      \"recommendation\": \"\u003Cspecific fix per ScalarDB constraints>\"\n    }\n  ]\n}\n\"\"\"\n)\n```\n\n### Step 3: Merge and Write Output\n\nAfter all three Tasks complete, compute the weighted score and write output:\n\n```\nweighted_score = round(0.40 × scoreA + 0.35 × scoreB + 0.25 × scoreC, 2)\n```\n\nWrite `reports\u002Freview\u002Findividual\u002Freview-scalardb.json`:\n```json\n{\n  \"perspective\": \"scalardb\",\n  \"reviewer\": \"review-scalardb\",\n  \"timestamp\": \"\u003CISO-8601 now>\",\n  \"dimensions\": [\u003CTask A result>, \u003CTask B result>, \u003CTask C result>],\n  \"weighted_score\": \u003Ccomputed>,\n  \"summary\": \"\u003C2-3 sentences synthesizing ScalarDB constraint compliance and key risks>\"\n}\n```\n\n## Output Format\n\nFinding ID prefix: **SDB-**\n- SDB-1xx: Cross-Service Transaction Mechanism\n- SDB-2xx: OCC Contention Analysis\n- SDB-3xx: Schema and API Compatibility\n",{"model":27,"description":35},"Design-review perspective for ScalarDB projects: transaction scope, OCC contention and schema\ncompatibility.\n","main","fed4c7ebb79ed82ce5c961f944a1ab0ab21bae26","skills\u002Freview-scalardb",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":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add wfukatsu\u002Fnexus-architect --skill review-scalardb",{"tool":52,"command":53},"bunx","bunx skills add wfukatsu\u002Fnexus-architect --skill review-scalardb",{"tool":55,"command":56},"pnpm","pnpm dlx skills add wfukatsu\u002Fnexus-architect --skill review-scalardb","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwfukatsu\u002Fnexus-architect\u002Fblob\u002Fmain\u002Fskills\u002Freview-scalardb\u002FSKILL.md",true,[],[61,69,95,116,139,160],{"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":68},"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":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":30},"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",[],[76,77,78,79,27,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94],"verify sql migration","verify","sql","migration","tests","golden","source","Production","fetcher","data","properties","id","database","auto","true","mode","en","core","never",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":30},"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",[],[102,77,103,89,104,105,21,90,106,107,92,26,108,109,110,111,112,113,114,115],"implementation","verify implementation","quality gate","contract","chain","api contract","backlog","repo","example","stage","check","api","code","requirements",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":30},"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",[],[123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138],"update knowledge","update","knowledge","root","plugin","bundle","Bash","terraform","status","okf","latest","kubernetes","name","haiku","Tools","fetch",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":30},"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",[],[141,115,88,146,147,21,148,149,150,28,151,152,153,154,155,156,157,158,159],"Legacy","use","system","move","project","migrate","path","application","refactor","services","work","state","architecture","interactive",{"skillNo":161,"name":162,"nameZh":6,"description":163,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":164,"categories":165,"keywords":166,"publishedAt":30},"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",[],[167,168,169,27,170,91,171,172,173,174,175,176,177],"select scalardb edition","select","topology","short","Enterprise","choose","deployment","options","cluster","interview","community"]