[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CX2RHMNTW4PVPZTNWBZV2B":3,"skill-same:01M7CX2RHMNTW4PVPZTNWBZV2B":63},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":36,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M7CX2RHMNTW4PVPZTNWBZV2B","dms-external-database",null,"Connects a DMS project to a client's existing database, runs the Builder's analysis of it, settles what the analysis could not decide from the catalog and aggregates, generates TableViews through the Builder, names them and gives each the table features its data supports, and always builds an analytics dashboard first in the menu. Use when the user wants pages over a database the project does not own, PostgreSQL, MongoDB or RethinkDB (\"plug in our client's Postgres\", \"map their Mongo database\", \"generate the admin for this database\", \"finish the mapping the Builder proposed\").","AntelopeJS\u002Fdms-ai","AntelopeJS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F77635295?v=4","01M7CX1C2M5X3XX6QCBGFH4T4G","01M7CX1C3AJKCX3ZFWQP7S8XAV",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-external-database\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: dms-external-database\ndescription: Connects a DMS project to a client's existing database, runs the Builder's analysis of it, settles what the analysis could not decide from the catalog and aggregates, generates TableViews through the Builder, names them and gives each the table features its data supports, and always builds an analytics dashboard first in the menu. Use when the user wants pages over a database the project does not own, PostgreSQL, MongoDB or RethinkDB (\"plug in our client's Postgres\", \"map their Mongo database\", \"generate the admin for this database\", \"finish the mapping the Builder proposed\").\nicon: i-ph-database\ncategory: Builder\ntags: [Database, Builder, Pages, DMS]\n---\n\n# Pages over a client's existing database\n\nThe Builder analyses the database by itself: from the catalog and the profiles, fixed rules\npropose a mapping and name every choice's rule. Your work is what those rules cannot do: answer\nthe questions they left open, revisit the defaults the names and comments contradict, and plan the\nanalytics pages from the data. You never start from scratch.\n\nYou work through the `database_*` and `builder_*` tools only. You never read rows of the client's\ndatabase: the catalog and aggregates are what you have, and they are enough. The database's URL\nlives in the project's `.env`. The sidecar refuses your file tools on `.env` files and keeps their\nvariables out of your environment. Under Claude Code a shell in Code mode can still read them; under\nCodex the sandbox refuses that too. Never read `.env` or print the environment, and never write a\ncredential yourself.\n\nThe flow is **connect → analyse → settle → validate → apply → check**. Analysing and settling\nread only, so they run in plan mode. Nothing is written before the integrator presses **Run** on\nyour plan.\n\nIn a Claude Code session started outside the dashboard chat, the tools are named\n`mcp__dms-ai__database_connections`, `mcp__dms-ai__builder_analyse_database` and so on. There is no\n**Run** button and no sidecar guarding `.env`: present the plan, and write nothing until the\nintegrator approves it in the session. The rules above on `.env` still hold. A mapping that removes\npages, a deletion or a project configuration change is refused once with what it would do: show\nthat to the integrator, and repeat the identical call only after they confirm it.\n\n## 1. Connect\n\nCall `database_connections`.\n\n- **A connection is listed** with an `engine`: use its id and go to 2.\n- **An entry answers `error`**: say what it says (an owned instance, the catalog not enabled, a\n  role that cannot read) and stop.\n- **Nothing is listed**: the project is not connected yet. Ask the integrator which engine the\n  database runs: PostgreSQL, MongoDB or RethinkDB. Propose one `builder_configure_project` call\n  with that engine's steps in REFERENCE.md *Connecting*. Pick the names with the integrator, for\n  example connection `erp`, provider module `postgres-erp` (`mongodb-erp`, `rethinkdb-erp`),\n  generated module `erp-tables`, variable `ERP_DATABASE_URL`, and for MongoDB\n  `ERP_DATABASE_NAME`. Ask the integrator for the version of the engine's module to install\n  (`@antelopejs\u002Fpostgres`, `@antelopejs\u002Fmongodb`, `@antelopejs\u002Frethinkdb`): you cannot look it\n  up. The user approves the diff.\n  - Then tell the integrator to put the URL in `.env` (`ERP_DATABASE_URL=postgres:\u002F\u002F…`,\n    `mongodb:\u002F\u002F…`, or `rethinkdb:\u002F\u002F…\u002F\u003Cdatabase>`; for MongoDB also `ERP_DATABASE_NAME`), or in the\n    Builder's *Database* workspace, which writes it there, and to restart the project. Every\n    deployed environment needs the same variables, set where that environment keeps its secrets,\n    never in git.\n  - Recommend an account that can only read for the analysis: a PostgreSQL role with SELECT, a\n    MongoDB user with the built-in `read` role, a RethinkDB user with `read` permission.\n  - Stop here: the connection exists only after the restart.\n\nThe Builder and you each have a connection to the database, under the same id: the Builder for\nits analysis and mapping, you for your probing.\n\n## 2. Analyse\n\n`builder_analyse_database` with the connection and the generated module.\n\n- It answers the proposal, or, when profiling takes longer, the job's progress and `id`: call it\n  again with `job` until the proposal is in.\n- A `schemas` open item means the database is large: ask the integrator which schemas matter and\n  analyse again with `schemas`.\n- Relations the module mapped or excluded before are not proposed again. On a module mapped\n  already, the proposal is what is left.\n\nRead the proposal as REFERENCE.md *The proposal* explains: every choice has a `rule` and a `kind`.\nA `fact` follows from the catalog; leave it. A `default` is a judgement; check it.\n\n## 3. Settle\n\nIn plan mode, through the read-only tools. Probe lightly: a targeted `database_profile` of a few\ncolumns, a `CheckReference` in `references`, a `database_describe` of one relation. Never a\nprofile of the whole database again: the Builder did it.\n\n- **Open items**, one by one:\n  - `purpose`: what a relation holds. Decide from its name, comment, columns and profile:\n    entities to list (a TableView), facts to count (stats only), or nothing to show (excluded).\n    The item carries the relation as it would be mapped, and in its own `open` the questions\n    that mapping leaves. Answer those only when you map the relation.\n  - `label`: which column names a row. Prefer a name or title, then a code or number people\n    recognise.\n  - `reference`: a column found almost whole in another relation's key. Check it with\n    `CheckReference` on the column; make it a relation column only at containment 1.\n  - `field-type`: a field of a document database whose sampled values have several types, none\n    covering enough of them (`int 60% | string 40%`). Pick the declaration that reads what\n    the field means, from its name and its shares, or leave it out. Unanswered, it stays out.\n  - Where nothing tells you, say so and leave the item open: the integrator answers it in the\n    Builder. Do not guess.\n- **Defaults worth revisiting.** For example a table rule R8 calls a log whose name and comment\n  say it holds entities, a label rule L1 chose that a comment contradicts, or a title taken from a\n  cryptic name.\n- **Document databases** (MongoDB, RethinkDB) declare no field types and no references: the\n  catalog reads types from a sample, and every reference comes from a name and a `CheckReference`,\n  never from the database. An embedded document is one field: its subfields are not mappable, and\n  neither is an array of ids as a relation.\n- **Editable.** Every TableView is proposed read-only. Make one editable only where the integrator\n  wants it; show `writes` beside it, so a read-only role in this environment is visible.\n- **Pages people can work with.** Load the `dms-page-design` skill. For every TableView, plan\n  from its columns, profiles and categories, as *Name every page* and *Tables* there say: a\n  title, an icon and a description; the tabs, saved views, display modes, footer totals and\n  KPI cards its data supports. Decide each from the data, and leave out what the data does\n  not support.\n- **The analytics dashboard,** which the analysis does not make. Every run ends with one,\n  first in the menu, even when the integrator only asked for the tables. Plan it from the data:\n  1. **Inspect.** For each relation, read from the proposal its rows, its `time-axis` columns\n     with their `range`, its `measure` columns, and its `enum-like` columns with their\n     `categories`. Profile a column the proposal leaves without them, such as the main date\n     column's range. Write each range down: the period rule needs the last date.\n  2. **Ask.** Write the 4 to 8 questions the owner of this data asks every week: how revenue\n     or volume trends, what sells, who buys, where, and how it compares with last year. Each\n     question names the relation, the measure (a sum of a `measure` column or a row count)\n     and the grouping (the time axis or a column of the same relation).\n  3. **Plan pages.** The relation with a time axis, a measure and the most rows is the main\n     fact relation. It gets the dashboard, named for its area (\"Sales\", or \"Overview\" when it\n     also carries the other relations' headline figures), holding every question about it.\n     Another relation gets its own analytics page only when it has its own time axis and at\n     least 100 rows. When no relation has a time axis, the dashboard still exists: KPI cards\n     of counts and sums, and breakdowns by the category columns, with no period selector.\n  4. **Choose blocks** for each question with `dms-page-design`, and its default period from\n     the main time axis's real range.\n- **The minimum.** Your plan, and the pages you write, meet all of these:\n  - one analytics dashboard, first in the connection's menu (`order: 0`), opened by a toolbar\n    with a period selector when the data has dates;\n  - every page with a title in the owner's words, an icon and a description, never the raw\n    relation name;\n  - every table given the tabs, views, display modes, footer totals and KPI cards its data\n    supports, as `dms-page-design` *Tables* decides;\n  - at least 3 different chart kinds on it when the data has the shapes for them;\n  - a default period computed from the data's real dates, never assumed;\n  - every page built with one `builder_compose_page` call, previewed first, and every block whose\n    preview is empty, zero or failed dropped or changed;\n  - every page opened with `navigate_to_page` and its block report read before you report.\n- **Not possible yet:** breakdowns by a related entity's name, such as revenue per customer.\n  Templates read one relation, so they would show ids. List them under *Not possible yet*,\n  never as pages.\n\nWrite your plan (`ExitPlanMode`) in the format of REFERENCE.md *Plan*: what you change in the\nproposal and why, the questions and the analytics pages that answer them, the open items you\nleave, and what is not possible yet.\n\n## 4. Validate\n\nThe integrator answers in chat or with \"suggest a change\". Revise the plan and present it\nagain. Write nothing before Run.\n\n## 5. Apply\n\nWork in this order, so the most visible result lands first: map the tables, build the\ndashboard and check it, then add KPI rows above tables, then any second analytics page.\n\n1. `builder_map_resources` in batches of 3 or 4 relations per call, TableViews and stats-only\n   relations alike; the relations decided against go in `excluded` on the first call\n   (REFERENCE.md *Mapping*). One call with every relation of a large database can abort.\n   - Send the proposal's choices as they stand where you changed nothing, plus per resource\n     the `title`, `icon`, `description` and `tableOptions` you planned.\n   - On `invalid_config`, fix the choice it names and call again: a refused call writes nothing.\n     When the same choice is refused twice, drop it (send the relation without that display or\n     option) and say so in your report, rather than trying more variants.\n   - It answers each relation's `ref`, which queries name it by, `category`, the connection's\n     category ref (`pages.\u003Cconnection>`), and `leftOut`: carry those into your report.\n2. Per analytics page, one `builder_compose_page` call with `create` (`name`, `displayName`,\n   `module` set to the generated module, `category` set to the `category` MapResources\n   answered, an icon, a description, and `order: 0` for the dashboard, 1, 2… for the next\n   ones) and every block in the order `dms-page-design` lays out, each data block with its\n   query inline. Preview first, then write, as `dms-page-design` *Build a page in one call*\n   says.\n   - Queries read the mapped resources by their refs (`\u003Cconnection>\u002F\u003Cschema>\u002F\u003Crelation>`).\n3. Per table page that gets KPI cards above its table, one `builder_compose_page` call with\n   `placement: { \"before\": \"table\" }`, previewed first. A table option MapResources refused\n   comes back as a warning: fix it with `builder_configure_table_view`.\n\nTo change a relation later, read its current choices with `builder_mapping`, then call\n`builder_map_resources` with that relation alone, its included columns as they are and only your\nchange made: a mapped relation is rewritten from the choices sent, and its page follows.\n\n## 6. Check\n\n- Navigate only once every page is written. Pages register when the host reloads the generated\n  module: under `ajs project dev` its watcher rebuilds the module after your writes.\n- `navigate_to_page` to each page. If it answers `unknown_route`, the reload has not happened.\n  - Read `query_logs` once, for a reload error.\n  - Then tell the integrator the pages appear once the module reloads. Do not wait, retry or\n    investigate further.\n- `query_logs` for registration warnings (lossy fields, unserved indexes) and for the errors of\n  the routes the pages called.\n- On each analytics page, fix or remove every block `navigate_to_page` reports as empty or\n  failed, and navigate again, as in `dms-page-design` *Check every block*.\n\nThen report:\n\n- what the Builder mapped by its rules, and what you changed;\n- the pages made, with each analytics page's default period and the date range it came from,\n  and per table the features you gave it and why;\n- every block that still shows no data, and why;\n- what was left out and why;\n- the open items left, which the integrator finds in the Builder's *Database* workspace;\n- the variable every deployment must set.\n\n## Guardrails\n\n- Never write a URL, password or token into a tool call, the config or a page.\n- Never map into the project's own module: only into the module bound to the connection.\n- `CreateResource`, `AddField` and table-side `ConfigureField` are refused in that module: its\n  tables are the database's.\n- `DeleteResource` there never deletes the client's rows.\n","# Pages over a client's existing database\n\nThe Builder analyses the database by itself: from the catalog and the profiles, fixed rules\npropose a mapping and name every choice's rule. Your work is what those rules cannot do: answer\nthe questions they left open, revisit the defaults the names and comments contradict, and plan the\nanalytics pages from the data. You never start from scratch.\n\nYou work through the `database_*` and `builder_*` tools only. You never read rows of the client's\ndatabase: the catalog and aggregates are what you have, and they are enough. The database's URL\nlives in the project's `.env`. The sidecar refuses your file tools on `.env` files and keeps their\nvariables out of your environment. Under Claude Code a shell in Code mode can still read them; under\nCodex the sandbox refuses that too. Never read `.env` or print the environment, and never write a\ncredential yourself.\n\nThe flow is **connect → analyse → settle → validate → apply → check**. Analysing and settling\nread only, so they run in plan mode. Nothing is written before the integrator presses **Run** on\nyour plan.\n\nIn a Claude Code session started outside the dashboard chat, the tools are named\n`mcp__dms-ai__database_connections`, `mcp__dms-ai__builder_analyse_database` and so on. There is no\n**Run** button and no sidecar guarding `.env`: present the plan, and write nothing until the\nintegrator approves it in the session. The rules above on `.env` still hold. A mapping that removes\npages, a deletion or a project configuration change is refused once with what it would do: show\nthat to the integrator, and repeat the identical call only after they confirm it.\n\n## 1. Connect\n\nCall `database_connections`.\n\n- **A connection is listed** with an `engine`: use its id and go to 2.\n- **An entry answers `error`**: say what it says (an owned instance, the catalog not enabled, a\n  role that cannot read) and stop.\n- **Nothing is listed**: the project is not connected yet. Ask the integrator which engine the\n  database runs: PostgreSQL, MongoDB or RethinkDB. Propose one `builder_configure_project` call\n  with that engine's steps in REFERENCE.md *Connecting*. Pick the names with the integrator, for\n  example connection `erp`, provider module `postgres-erp` (`mongodb-erp`, `rethinkdb-erp`),\n  generated module `erp-tables`, variable `ERP_DATABASE_URL`, and for MongoDB\n  `ERP_DATABASE_NAME`. Ask the integrator for the version of the engine's module to install\n  (`@antelopejs\u002Fpostgres`, `@antelopejs\u002Fmongodb`, `@antelopejs\u002Frethinkdb`): you cannot look it\n  up. The user approves the diff.\n  - Then tell the integrator to put the URL in `.env` (`ERP_DATABASE_URL=postgres:\u002F\u002F…`,\n    `mongodb:\u002F\u002F…`, or `rethinkdb:\u002F\u002F…\u002F\u003Cdatabase>`; for MongoDB also `ERP_DATABASE_NAME`), or in the\n    Builder's *Database* workspace, which writes it there, and to restart the project. Every\n    deployed environment needs the same variables, set where that environment keeps its secrets,\n    never in git.\n  - Recommend an account that can only read for the analysis: a PostgreSQL role with SELECT, a\n    MongoDB user with the built-in `read` role, a RethinkDB user with `read` permission.\n  - Stop here: the connection exists only after the restart.\n\nThe Builder and you each have a connection to the database, under the same id: the Builder for\nits analysis and mapping, you for your probing.\n\n## 2. Analyse\n\n`builder_analyse_database` with the connection and the generated module.\n\n- It answers the proposal, or, when profiling takes longer, the job's progress and `id`: call it\n  again with `job` until the proposal is in.\n- A `schemas` open item means the database is large: ask the integrator which schemas matter and\n  analyse again with `schemas`.\n- Relations the module mapped or excluded before are not proposed again. On a module mapped\n  already, the proposal is what is left.\n\nRead the proposal as REFERENCE.md *The proposal* explains: every choice has a `rule` and a `kind`.\nA `fact` follows from the catalog; leave it. A `default` is a judgement; check it.\n\n## 3. Settle\n\nIn plan mode, through the read-only tools. Probe lightly: a targeted `database_profile` of a few\ncolumns, a `CheckReference` in `references`, a `database_describe` of one relation. Never a\nprofile of the whole database again: the Builder did it.\n\n- **Open items**, one by one:\n  - `purpose`: what a relation holds. Decide from its name, comment, columns and profile:\n    entities to list (a TableView), facts to count (stats only), or nothing to show (excluded).\n    The item carries the relation as it would be mapped, and in its own `open` the questions\n    that mapping leaves. Answer those only when you map the relation.\n  - `label`: which column names a row. Prefer a name or title, then a code or number people\n    recognise.\n  - `reference`: a column found almost whole in another relation's key. Check it with\n    `CheckReference` on the column; make it a relation column only at containment 1.\n  - `field-type`: a field of a document database whose sampled values have several types, none\n    covering enough of them (`int 60% | string 40%`). Pick the declaration that reads what\n    the field means, from its name and its shares, or leave it out. Unanswered, it stays out.\n  - Where nothing tells you, say so and leave the item open: the integrator answers it in the\n    Builder. Do not guess.\n- **Defaults worth revisiting.** For example a table rule R8 calls a log whose name and comment\n  say it holds entities, a label rule L1 chose that a comment contradicts, or a title taken from a\n  cryptic name.\n- **Document databases** (MongoDB, RethinkDB) declare no field types and no references: the\n  catalog reads types from a sample, and every reference comes from a name and a `CheckReference`,\n  never from the database. An embedded document is one field: its subfields are not mappable, and\n  neither is an array of ids as a relation.\n- **Editable.** Every TableView is proposed read-only. Make one editable only where the integrator\n  wants it; show `writes` beside it, so a read-only role in this environment is visible.\n- **Pages people can work with.** Load the `dms-page-design` skill. For every TableView, plan\n  from its columns, profiles and categories, as *Name every page* and *Tables* there say: a\n  title, an icon and a description; the tabs, saved views, display modes, footer totals and\n  KPI cards its data supports. Decide each from the data, and leave out what the data does\n  not support.\n- **The analytics dashboard,** which the analysis does not make. Every run ends with one,\n  first in the menu, even when the integrator only asked for the tables. Plan it from the data:\n  1. **Inspect.** For each relation, read from the proposal its rows, its `time-axis` columns\n     with their `range`, its `measure` columns, and its `enum-like` columns with their\n     `categories`. Profile a column the proposal leaves without them, such as the main date\n     column's range. Write each range down: the period rule needs the last date.\n  2. **Ask.** Write the 4 to 8 questions the owner of this data asks every week: how revenue\n     or volume trends, what sells, who buys, where, and how it compares with last year. Each\n     question names the relation, the measure (a sum of a `measure` column or a row count)\n     and the grouping (the time axis or a column of the same relation).\n  3. **Plan pages.** The relation with a time axis, a measure and the most rows is the main\n     fact relation. It gets the dashboard, named for its area (\"Sales\", or \"Overview\" when it\n     also carries the other relations' headline figures), holding every question about it.\n     Another relation gets its own analytics page only when it has its own time axis and at\n     least 100 rows. When no relation has a time axis, the dashboard still exists: KPI cards\n     of counts and sums, and breakdowns by the category columns, with no period selector.\n  4. **Choose blocks** for each question with `dms-page-design`, and its default period from\n     the main time axis's real range.\n- **The minimum.** Your plan, and the pages you write, meet all of these:\n  - one analytics dashboard, first in the connection's menu (`order: 0`), opened by a toolbar\n    with a period selector when the data has dates;\n  - every page with a title in the owner's words, an icon and a description, never the raw\n    relation name;\n  - every table given the tabs, views, display modes, footer totals and KPI cards its data\n    supports, as `dms-page-design` *Tables* decides;\n  - at least 3 different chart kinds on it when the data has the shapes for them;\n  - a default period computed from the data's real dates, never assumed;\n  - every page built with one `builder_compose_page` call, previewed first, and every block whose\n    preview is empty, zero or failed dropped or changed;\n  - every page opened with `navigate_to_page` and its block report read before you report.\n- **Not possible yet:** breakdowns by a related entity's name, such as revenue per customer.\n  Templates read one relation, so they would show ids. List them under *Not possible yet*,\n  never as pages.\n\nWrite your plan (`ExitPlanMode`) in the format of REFERENCE.md *Plan*: what you change in the\nproposal and why, the questions and the analytics pages that answer them, the open items you\nleave, and what is not possible yet.\n\n## 4. Validate\n\nThe integrator answers in chat or with \"suggest a change\". Revise the plan and present it\nagain. Write nothing before Run.\n\n## 5. Apply\n\nWork in this order, so the most visible result lands first: map the tables, build the\ndashboard and check it, then add KPI rows above tables, then any second analytics page.\n\n1. `builder_map_resources` in batches of 3 or 4 relations per call, TableViews and stats-only\n   relations alike; the relations decided against go in `excluded` on the first call\n   (REFERENCE.md *Mapping*). One call with every relation of a large database can abort.\n   - Send the proposal's choices as they stand where you changed nothing, plus per resource\n     the `title`, `icon`, `description` and `tableOptions` you planned.\n   - On `invalid_config`, fix the choice it names and call again: a refused call writes nothing.\n     When the same choice is refused twice, drop it (send the relation without that display or\n     option) and say so in your report, rather than trying more variants.\n   - It answers each relation's `ref`, which queries name it by, `category`, the connection's\n     category ref (`pages.\u003Cconnection>`), and `leftOut`: carry those into your report.\n2. Per analytics page, one `builder_compose_page` call with `create` (`name`, `displayName`,\n   `module` set to the generated module, `category` set to the `category` MapResources\n   answered, an icon, a description, and `order: 0` for the dashboard, 1, 2… for the next\n   ones) and every block in the order `dms-page-design` lays out, each data block with its\n   query inline. Preview first, then write, as `dms-page-design` *Build a page in one call*\n   says.\n   - Queries read the mapped resources by their refs (`\u003Cconnection>\u002F\u003Cschema>\u002F\u003Crelation>`).\n3. Per table page that gets KPI cards above its table, one `builder_compose_page` call with\n   `placement: { \"before\": \"table\" }`, previewed first. A table option MapResources refused\n   comes back as a warning: fix it with `builder_configure_table_view`.\n\nTo change a relation later, read its current choices with `builder_mapping`, then call\n`builder_map_resources` with that relation alone, its included columns as they are and only your\nchange made: a mapped relation is rewritten from the choices sent, and its page follows.\n\n## 6. Check\n\n- Navigate only once every page is written. Pages register when the host reloads the generated\n  module: under `ajs project dev` its watcher rebuilds the module after your writes.\n- `navigate_to_page` to each page. If it answers `unknown_route`, the reload has not happened.\n  - Read `query_logs` once, for a reload error.\n  - Then tell the integrator the pages appear once the module reloads. Do not wait, retry or\n    investigate further.\n- `query_logs` for registration warnings (lossy fields, unserved indexes) and for the errors of\n  the routes the pages called.\n- On each analytics page, fix or remove every block `navigate_to_page` reports as empty or\n  failed, and navigate again, as in `dms-page-design` *Check every block*.\n\nThen report:\n\n- what the Builder mapped by its rules, and what you changed;\n- the pages made, with each analytics page's default period and the date range it came from,\n  and per table the features you gave it and why;\n- every block that still shows no data, and why;\n- what was left out and why;\n- the open items left, which the integrator finds in the Builder's *Database* workspace;\n- the variable every deployment must set.\n\n## Guardrails\n\n- Never write a URL, password or token into a tool call, the config or a page.\n- Never map into the project's own module: only into the module bound to the connection.\n- `CreateResource`, `AddField` and table-side `ConfigureField` are refused in that module: its\n  tables are the database's.\n- `DeleteResource` there never deletes the client's rows.\n",{"icon":23,"name":5,"tags":24,"category":26,"description":7},"i-ph-database",[25,26,27,28],"Database","Builder","Pages","DMS","main","e20a01ce9439685e2387dd95bd0560f4619f1d59","skills\u002Fdms-external-database",0,"https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai","https:\u002F\u002Fdms.antelopejs.com\u002Fdocs\u002Fmodules\u002Fai","https:\u002F\u002Fgithub.com\u002FAntelopeJS","https:\u002F\u002Fantelopejs.com\u002F","AntelopeJS DMS: an open-source back office and analytics dashboard for your database, built on the AntelopeJS TypeScript framework.","2026-11-14 03:26:54",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add AntelopeJS\u002Fdms-ai --skill dms-external-database",{"tool":45,"command":46},"bunx","bunx skills add AntelopeJS\u002Fdms-ai --skill dms-external-database",{"tool":48,"command":49},"pnpm","pnpm dlx skills add AntelopeJS\u002Fdms-ai --skill dms-external-database","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-external-database\u002FSKILL.md",true,[53,59],{"path":54,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":57,"sourceHtmlUrl":58},"cases.json","REFERENCE","参考文档",1674,"https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-external-database\u002Fcases.json",{"path":60,"resourceType":55,"resourceTypeDesc":56,"sizeBytes":61,"sourceHtmlUrl":62},"REFERENCE.md",8605,"https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-external-database\u002FREFERENCE.md",[64,71,78,85,92,99],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M7CX2YPMQKR0PGJG1JRB38W2","dms-page-design","Designs DMS pages that show data, through the Builder tools. Use when building or changing an analytics, stats or dashboard page or a table page, choosing a chart or a KPI for some data, picking a page's period, naming a page and its icon, or deciding how a table displays (badges, prices, relation labels, status tabs, saved views, kanban, cards, footer totals, KPI cards above the table).","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-page-design\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M7CX2KVKANAJPJDYJSNQ8SBN","dms-builder-safe","Builds or modifies AntelopeJS DMS admin pages through the Builder MCP tools instead of raw code edits. Use when the generation mode is \"safe\", or when the user wants predictable, typechecked page edits (add\u002Fconfigure\u002Fmove\u002Fremove blocks, create pages and categories).","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-builder-safe\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M7CX2ERNJR1MVT24K41N2Y4N","dms-ai","Sets up and troubleshoots @antelopejs\u002Fdms-ai, the AI development assistant of the AntelopeJS DMS (chat panel, sidecar running Claude Code or Codex, change sets with undo, audit log and skills pages under \u002Fmodules\u002Fai). Use when installing or configuring dms-ai (backendUrl, DMS_AI, providers, Codex), when the assistant is offline, or when a module must ship skills to it through antelopeJs.skills.","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-ai\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":18},"01M7CX2A93HWSX9HHWJMDFA65T","dms-ai-code-mode","Runs the dms-ai Code-mode loop for changing a DMS page in code while the user watches it in the dashboard overlay, with the list_pages, navigate_to_page, find_pages_using, typecheck and query_logs host tools. Use when the dms-ai generation mode is Code and a change touches a rendered page, or when the user allows Code mode after a Builder tool answered opaque_target or unsupported.","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fskills\u002Fdms-ai-code-mode\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7CX27MB5YBABGF34CY7ZHV9","page-builder","Create and modify DMS pages. Use when the user wants to add or edit a page.","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002Fsidecar\u002Ftests\u002Ffixtures\u002Fskills\u002Fdms-ai\u002Fpage-builder\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7CX22F6ZC47JCAMXNG7BA30","verify-dms-ai","Drive the AntelopeJS dms-ai module (the AI assistant: its sidecar, Overview, Changes, Activity, Skills and Settings pages, the Codex sign-in banner and the owner-only routes) the way the platform owner does, inside a DMS with free ports and its own MongoDB database, and report a verdict with evidence. Use to prove a change to AntelopeJS\u002Fdms-ai works before merge, or to verify a PR. A turn with Claude Code or Codex needs credentials a run never holds: that part is NOT VERIFIED, so a verdict is never a plain PASS.","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fdms-ai\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fverify-dms-ai\u002FSKILL.md",[],[]]