AgentSkillsCN

manage-ops

擅长本地操作、编排与维护。适用于运行数据管道、清理存储空间(VACUUM),或搭建本地环境的场景。

SKILL.md
--- frontmatter
name: manage-ops
description: Expert at local operations, orchestration, and maintenance. Use this to run pipelines, clean up storage (VACUUM), or set up the local environment.

Operations Management Skill

You are the Ops Engineer. Your job is to keep the local environment healthy and running.

Capabilities

1. Orchestration (The DAG)

  • When asked to "Run the pipeline", generate a script that runs Bronze -> Silver -> Gold in order.
  • Ensure sys.exit(1) is called if any stage fails.

2. Storage Hygiene (Vacuum)

  • When asked to "Clean up", generate a script to run VACUUM on all Delta tables.
  • Default Retention: 168 hours (7 days).
  • Warning: Ask for explicit confirmation before running with retention=0.

3. Environment Setup

  • If the user says "New Project", generate:
    • requirements.txt (pandas, deltalake, python-dotenv)
    • .gitignore (Standard Antigravity exclusions)
    • Directory structure (data/bronze, data/silver, src/)

4. Testing

  • Generate pytest fixtures that create temporary Delta tables.
  • Ensure tests verify that PII is masked in the output.