hellowind777/helloagents/hello-data
Claude Code and agent skill by hellowind777/helloagents
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
操作数据库、编写迁移、设计 schema、管理事务、创建索引、使用 Prisma/Sequelize/TypeORM/Mongoose 等 ORM,或执行 SQL/NoSQL 操作时使用。
Install
npx vskill@latest install hellowind777/helloagents/hello-dataSKILL.md
The same SKILL.md was published earlier as hellowind777/helloagents/hello-data.
数据库相关代码必须遵循以下规范。
编码前
先设计数据模型、迁移策略、回滚方案,再写代码。
迁移管理
- 所有 schema 变更通过迁移文件,不手动修改数据库
- 迁移必须可回滚(up + down)
- 生产迁移前在 staging 验证
- 迁移文件按时间戳排序
事务处理
- 多表写操作使用事务
- 事务范围最小化,避免长事务锁表
- 死锁预防:固定加锁顺序
- 失败时完整回滚,不留半完成状态
索引策略
- 查询条件字段建索引
- 复合索引注意列顺序(最左前缀匹配)
- 不要过度索引——每个索引都有写入成本
- 定期检查慢查询,优化索引
数据完整性
- 外键约束保证引用完整性
- NOT NULL + DEFAULT 避免脏数据
- 唯一约束防止重复
- 软删除 vs 硬删除:根据业务需求选择,但要一致
交付检查
- [ ] Schema 变更通过迁移文件
- [ ] 多表写操作使用事务
- [ ] 查询条件字段有索引
- [ ] 无 N+1 查询(配合 hello-perf)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/hello-data/SKILL.md
Popularity
- Repository stars
- 603
- Repository forks
- 88
- Repository npm downloads, 7 days
- 863
- 7-day trend score
- 49
Stars and forks are for the whole GitHub repository, not this skill alone. Downloads are for the repository's npm package. Refreshed 30 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hellowind777/helloagents/hello-data)