database-scout
仓库创建 2025年6月22日最近提交 1 天前SkillHot 收录 20 天前
▸ 精选理由
安全只读访问并能自动生成可视化的表关系图,便于数据理解。
这个 Skill 做什么
只读探索 SQLite/PostgreSQL,查看表结构、预览数据并生成 ER 图。
以只读方式探索 SQLite 或 PostgreSQL:列出表、查看列类型与约束、预览样本数据、生成 Mermaid 格式的 ER 图并运行安全查询。适合接手新库、做数据建模或需要快速理解现有 schema 时使用。优势是无写入风险还能直接产出可视化 ER 图和便于分享的 schema 摘要。
▸ 展开 SKILL.md 英文原文
Explore SQLite and PostgreSQL databases: list tables, inspect schemas (columns/types/constraints), preview data, generate Mermaid ER diagrams, and run safe read-only queries. Triggered by requests to explore a database, view table structures, describe tables, generate diagrams, or query data, and by keywords like database exploration, schema, ER diagram, or SQL query.
4.4k
Stars
448
Forks
40
仓库内 Skill
+70
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/database-scout/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/zebbern/claude-code-guide/main/skills/database-scout/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# database-scout Read-only exploration tool for SQLite / PostgreSQL databases — inspect table schemas, preview data, generate ER diagrams, and run safe queries. ## Feature Overview | Feature | Description | |---------|-------------| | List all tables | Show tables and views in the database, with row counts | | Inspect table schema | Column names, types, constraints (PK/FK/NOT NULL), indexes, defaults | | Data preview | View the first N rows of a table | | ER diagram generation | Output Mermaid erDiagram syntax, ready to render | | Safe read-only queries | Only SELECT/WITH/EXPLAIN allowed; write operations are blocked | ## Security Mechanisms - **Connection-level read-only**: SQLite open
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有