- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add timescale/pg-aiguide --skill schema-exploration -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add timescale/pg-aiguide --skill schema-exploration -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add timescale/pg-aiguide --skill schema-exploration -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add timescale/pg-aiguide --skill schema-exploration -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/timescale/pg-aiguide/tree/HEAD/skills/schema-exploration來自發布者
Start with the user's question, not a full-database audit unless that is the explicit ask. Use the database connection already available to you; if none is available, ask for access or work from provided schema files. Stay within the database and schemas the user has authorized. Catalog metadata can reveal sensitive names or source code: do not export it unnecessarily.
public contains the application.EXPLAIN where authorized. Do not mistake a valid plan for proof of business semantics.Illustrative only; report facts verified in the target database:
sales.orders has a primary key on order_id and a foreign key from account_id to sales.accounts.account_id.sales.orders likely records one row per order; the keys support this, but do not establish what the business calls an “order.”pg_stats is data-derived and requires approval too. Do not change schema, data, roles, or session-wide settings without authorization. Never call discovered functions or procedures, refresh materialized views, or run EXPLAIN ANALYZE on unknown queries. A function marked STABLE or IMMUTABLE is not a safety guarantee.$1, $2, etc. as values using your client's API. psql users can follow the optional psql adapter. Never interpolate an untrusted object name as raw SQL; placeholders cannot replace SQL identifiers in data queries.server_version_num first. If a query fails due to permissions or version differences, report the limitation instead of guessing.|
---name: schema-explorationdescription: |---# skills/schema-exploration/SKILL.md常見問題
從發布者下載 skills/schema-exploration/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/timescale/pg-aiguide。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。