Skip to content

LeoYeAI/agent-master-skills / skills/architecture-inventory-risk-assessment

architecture-inventory-risk-assessment

Unverified

Inventory your cloud architectures and assess risks. Query architecture blueprints, evaluate Well-Architected scores, and identify governance gaps.

clear_publish_log.py

View on GitHub
#!/usr/bin/env python3
"""清理发布记录(用于重新开始)"""
import json
from pathlib import Path
from datetime import datetime

PUBLISH_LOG = Path(__file__).parent / "publish_log.json"

def main():
    if not PUBLISH_LOG.exists():
        print("✅ 发布记录文件不存在,无需清理")
        return
    
    # 备份现有记录
    backup_file = PUBLISH_LOG.parent / f"publish_log_backup_{datetime.now().strftime('%Y%m%d_%H%M%S')}.json"
    with open(PUBLISH_LOG, encoding="utf-8") as f:
        backup_data = f.read()
    with open(backup_file, "w", encoding="utf-8") as f:
        f.write(backup_data)
    print(f"✅ 已备份现有记录到: {backup_file}")
    
    # 清空记录
    empty_log = {
        "skills": {},
        "stats": {"success": 0, "fail": 0, "total": 0}
    }
    with open(PUBLISH_LOG, "w", encoding="utf-8") as f:
        json.dump(empty_log, f, ensure_ascii=False, indent=2)
    
    print(f"✅ 已清空发布记录: {PUBLISH_LOG}")
    print("💡 现在可以重新开始发布流程")

if __name__ == "__main__":
    main()
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall