用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/vamseeachanta/workspace-hub --skill windmill-1-script-organization命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | windmill-1-script-organization |
| description | Sub-skill of windmill: 1. Script Organization (+3). |
| version | 1.0.0 |
| category | operations |
| type | reference |
| scripts_exempt | true |
scripts/
├── data/
│ ├── fetch_api_data.py
│ ├── transform_records.ts
│ └── aggregate_metrics.py
├── integrations/
│ ├── sync_crm.py
│ ├── webhook_handler.ts
│ └── slack_notifications.py
├── devops/
│ ├── deploy_service.sh
│ ├── health_checks.py
│ └── cleanup_resources.py
└── admin/
├── manage_resources.py
└── user_management.py
import wmill
def main(input_data: dict):
try:
result = process_data(input_data)
return {"success": True, "data": result}
except ValueError as e:
# Business logic error - don't retry
wmill.set_state({"error": str(e), "retryable": False})
raise
except ConnectionError as e:
# Transient error - allow retry
wmill.set_state({"error": str(e), "retryable": True})
raise
# Always use resources for credentials
api_key = wmill.get_resource("u/admin/api_key") # Good
# api_key = "sk-1234567890" # Never hardcode
# Use variables for configuration
config = wmill.get_variable("u/admin/app_config")
# Test script locally
wmill script run f/data/fetch_api_data \
--data '{"api_endpoint": "https://api.example.com", "limit": 10}'
# Run with specific resource
wmill script run f/data/fetch_api_data \
--resource u/admin/test_api_credentials