Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Order Cleanup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/code2rich-order-cleanup-rigdepot)
---
name: order-cleanup
description: 清理测试库里的过期订单时使用
---
# 清理过期订单
1. 跑脚本 `scripts/cleanup.sql`,它只删 90 天前的订单。
2. 跑完以后更新统计:
```sql
update order_stats
set total = (SELECT count(*) FROM orders)
where day = current_date
```
不需要的步骤可以从列表里删掉(delete from the list),然后更新设置(update the settings)。