- 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 就会安装它。