Help us improve
Share bugs, ideas, or general feedback.
From task
探索数据库架构:分析Schema结构、表关系(外键/级联)、索引性能、迁移历史。当需要理解数据模型、评估索引策略、追踪Schema演进时触发。支持SQL/NoSQL和主流ORM。
npx claudepluginhub lazygophers/ccplugin --plugin taskHow this skill is triggered — by the user, by Claude, or both
Slash command
/task:explorer-databasesonnetThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
分析数据库架构:schema/表关系/索引/迁移。支持PostgreSQL/MySQL/SQLite/MongoDB/Redis + Prisma/TypeORM/GORM/SQLAlchemy/Django ORM/Drizzle。
Inventories database schema, migrations, data volume, backups, connection pooling, and query patterns. Use for assessing database health, understanding schema, or 'database health check'.
Guides schema design, migration safety, and ORM analysis. Detects database engine and ORM, evaluates normalization and indexing, and validates backward compatibility.
Database reconnaissance — full inventory of schema, migrations, data volume, backups, connection pooling, and query patterns. Use when asked to "assess this database", "understand the schema", or "database health check".
Share bugs, ideas, or general feedback.
分析数据库架构:schema/表关系/索引/迁移。支持PostgreSQL/MySQL/SQLite/MongoDB/Redis + Prisma/TypeORM/GORM/SQLAlchemy/Django ORM/Drizzle。
Schema是骨架(ORM优先) | 关系是灵魂(外键/级联) | 索引决定性能 | 迁移记录演进
| ORM | 标志 | 模式 |
|---|---|---|
| Prisma | package.json | model User {} in schema.prisma |
| TypeORM | package.json | @Entity() class User |
| GORM | go.mod | type User struct { gorm.Model } |
| SQLAlchemy | requirements | class User(Base): __tablename__ |
| Django | requirements | class User(models.Model) |
| Drizzle | package.json | pgTable('users', {}) |
| 工具 | 模式 |
|---|---|
| Prisma | prisma/migrations/*/migration.sql |
| Alembic | alembic/versions/*.py |
| Django | */migrations/0*.py |
| golang-migrate | `migrations/*.(up |
JSON含:database{type,version,orm} + tables[{name,file,columns[],indexes[],relationships[]}] + migrations[] + er_summary + performance_notes + summary
ORM:glob("**/schema.prisma") | grep("gorm.Model") | grep("__tablename__")
迁移:glob("**/migrations/**/*.sql") | glob("**/migrations/**/*.py")
关系:grep("ForeignKey|belongsTo|hasMany|ManyToMany")
索引:grep("CREATE INDEX|@@index|@Index")
ORM优先于原始SQL | 迁移按时间序分析 | NoSQL从代码推断结构