Skip to content
Back to skills

Order Cleanup

ASecurity

清理测试库里的过期订单时使用

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentssql

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add code2rich/rigdepot --skill order-cleanup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Order Cleanup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Order Cleanup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/code2rich-order-cleanup-rigdepot/badge)](https://www.skillsdirectory.com/skills/code2rich-order-cleanup-rigdepot)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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)。

Files in this skill

  • SKILL.md443 B
  • scripts/cleanup.sql230 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.