database
它能做什么
这个工具可以帮你创建和管理数据库。它能协助你完成数据库的设计、搭建、优化和迁移,涵盖 SQL 和 NoSQL 等技术。
适用场景
- ✓当你规划一个新数据库的结构时。
- ✓当你需要提升慢查询的速度时。
- ✓当你要把数据从一个数据库迁移到另一个数据库时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/database/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我设计一个网上商店的数据库。”
每周 5 个新技能,1 分钟读完。
工作原理
它会把你连接到专门的工具上,这些工具了解不同类型的数据库和各类任务。你描述自己的需求,它就会借助这些工具为你提供指导。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Database Workflow Bundle
Overview
Comprehensive database workflow for database design, development, optimization, migrations, and data engineering. Covers SQL, NoSQL, and modern data platforms.
When to Use This Workflow
Use this workflow when:
- Designing database schemas
- Implementing database migrations
- Optimizing query performance
- Setting up data pipelines
- Managing database operations
- Implementing data quality
Workflow Phases
Phase 1: Database Design
Skills to Invoke
database-architect- Database architecturedatabase-design- Schema designpostgresql- PostgreSQL designnosql-expert- NoSQL design
Actions
- Gather requirements
- Design schema
- Define relationships
- Plan indexing strategy
- Design for scalability
Copy-Paste Prompts
Use @database-architect to design database schema
Use @postgresql to design PostgreSQL schema
Phase 2: Database Implementation
Skills to Invoke
prisma-expert- Prisma ORMdatabase-migrations-sql-migrations- SQL migrationsneon-postgres- Serverless Postgres
Actions
- Set up database connection
- Configure ORM
- Create migrations
- Implement models
- Set up seed data
Copy-Paste Prompts
Use @prisma-expert to set up Prisma ORM
Use @database-migrations-sql-migrations to create migrations
Phase 3: Query Optimization
Skills to Invoke
database-optimizer- Database optimizationsql-optimization-patterns- SQL optimizationpostgres-best-practices- PostgreSQL optimization
Actions
- Analyze slow queries
- Review execution plans
- Optimize indexes
- Refactor queries
- Implement caching
Copy-Paste Prompts
Use @database-optimizer to optimize database performance
Use @sql-optimization-patterns to optimize SQL queries
Phase 4: Data Migration
Skills to Invoke
database-migration- Database migrationframework-migration-code-migrate- Code migration
Actions
- Plan migration strategy
- Create migration scripts
- Test migration
- Execute migration
- Verify data integrity
Copy-Paste Prompts
Use @database-migration to plan database migration
Phase 5: Data Pipeline Development
Skills to Invoke
data-engineer- Data engineeringdata-engineering-data-pipeline- Data pipelinesairflow-dag-patterns- Airflow workflowsdbt-transformation-patterns- dbt transformations
Actions
- Design data pipeline
- Set up data ingestion
- Implement transformations
- Configure scheduling
- Set up monitoring
Copy-Paste Prompts
Use @data-engineer to design data pipeline
Use @airflow-dag-patterns to create Airflow DAGs
Phase 6: Data Quality
Skills to Invoke
data-quality-frameworks- Data qualitydata-engineering-data-driven-feature- Data-driven features
Actions
- Define quality metrics
- Implement validation
- Set up monitoring
- Create alerts
- Document standards
Copy-Paste Prompts
Use @data-quality-frameworks to implement data quality checks
Phase 7: Database Operations
Skills to Invoke
database-admin- Database administrationbackup-automation- Backup automation
Actions
- Set up backups
- Configure replication
- Monitor performance
- Plan capacity
- Implement security
Copy-Paste Prompts
Use @database-admin to manage database operations
Database Technology Workflows
PostgreSQL
Skills: postgresql, postgres-best-practices, neon-postgres, prisma-expert
MongoDB
Skills: nosql-expert, azure-cosmos-db-py
Redis
Skills: bullmq-specialist, upstash-qstash
Data Warehousing
Skills: clickhouse-io, dbt-transformation-patterns
Quality Gates
- Schema designed and reviewed
- Migrations tested
- Performance benchmarks met
- Backups configured
- Monitoring in place
- Documentation complete
Related Workflow Bundles
development- Application developmentcloud-devops- Infrastructureai-ml- AI/ML data pipelinestesting-qa- Data testing
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
SQL 和 NoSQL 是什么?
SQL 是一种比较传统的数据库类型,数据以有组织的表格形式存放。NoSQL 则更加灵活,数据的组织方式也更多样。
什么是数据库迁移?
数据库迁移是指更新或转移数据库中数据的一系列步骤,确保一切都能正常运行。
什么是查询优化?
查询优化是指让你向数据库发出的查询(即 queries)运行得更快、更高效的过程。
详情
作者的原始描述
Database development and operations workflow covering SQL, NoSQL, database design, migrations, optimization, and data engineering.
热度
- GitHub 星标
- 48k
- 排名
- #4334
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。