Superpowers:给 AI 编程助手一套完整的软件工程方法论
· ☕ 9 分钟
1. Superpowers 是什么 Superpowers 是一套给 coding agent 装上「工程纪律」的插件,由 Prime Radiant 维护。它不是 prompt 模板库,而是一套建立在 Skills(技能) 之上的完整软件工程方法论——会话启动时通过 bootstrap 机制,让 AI 在正确的时刻自动调用正确的流程。 核心设计: Skills — 用 Markdown 编写的、可版本控制的行为规

OpenSpec:让 AI 编程助手先对齐需求,再写代码
· ☕ 10 分钟
1. OpenSpec 是什么 OpenSpec 是一个开源的、轻量级 AI 辅助规格驱动开发框架。它用 Markdown 文件存规格与变更,用 Slash 命令(如 /opsx:propose、/opsx:apply)驱动 AI 助手,用 CLI 管理状态、验证格式、归档变更。 简单说,它把「聊出来的需求」变成「可追踪、可迭代、

ComfyUI Wan2.2 视频生成示例
· ☕ 2 分钟
参考:ComfyUI 官方 Wan2.2 教程 1. 下载模型 进入 ComfyUI 模型目录 1 cd models 下载仓库 1 GIT_LFS_SKIP_SMUDGE=1 git clone https://www.modelscope.cn/Comfy-Org/Wan_2.2_ComfyUI_Repackaged.git 下载模型 1 2 cd Wan_2.2_ComfyUI_Repackaged git lfs pull& 2. 5B 混合版(文生 + 图生) 2.1 下载工作流 1 wget https://raw.githubusercontent.com/Comfy-Org/workflow_templates/refs/heads/main/templates/video_wan2_2_5B_ti2v.json 或依次点击 工作流 → 浏览模板 → 视频 → Wan2.2 5B video generation 加载工作流。 2.2 生成视频 Load Diffusion Model → Wan_2.2_ComfyUI_Repackaged/split_files/diffusion_models/wan2.2_ti2v_5B_fp16.safetensors Load CLIP → Wan_2.2_ComfyUI_Repackaged/split_files/text_encoders/umt5_xxl_fp8_e4m3fn_scaled.safetensors Load VAE → Wan_2.2_ComfyUI_Repackaged/split_files/vae/wan2.2_vae.safetensors CLIP Text Encoder →

推理应用故障排查清单
· ☕ 1 分钟
Pod 查看 1 号进程的子进程 1 ps --ppid 1 -f 查看 Time_Wait 连接 1 netstat -anp | grep TIME_WAIT Istio Ingress 1 kubectl -n istio-ingress logs -l app=istio-ingress |grep vlm-tag-v1 EastWestGateway 1 kubectl -n istio-ingress logs -l app=istio-eastwestgateway |grep vlm-tag-v1 XDS 推送慢 1 2 3 4 5 histogram_quantile(0.99, sum by (le, pod, type) ( rate(pilot_xds_push_time_bucket{}[1m]) ) ) 达到 30s 就需要注意优化推送。 Node 抓包 1 tcpdump -i bond0 -n -v -tttt 指定目标 IP 和端口 1 tcpdump -i bond0 -n -v -tttt host 10.0.0.10 AI 安装 Nodejs 1 2 3 4 5 6 7 curl -o-

Elasticsearch troubleshooting
· ☕ 1 分钟
处理 Red 状态的 ES 索引 GET _cat/shards?v=true&h=index,shard,prirep,state,node,unassigned.reason&s=state 1 2 ops-pod-loggie-2026.06.11 0 p UNASSIGNED NODE_LEFT ops-pod-loggie-2026.06.11 0 r UNASSIGNED ALLOCATION_FAILED 尝试重新分配 1 POST _cluster/reroute?retry_failed=true 或者直接删除 1 DELETE ops-pod-loggie-2026.06.11 定时清理索引 全部索引仅保留 7 天 创建 ILM 策略 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 PUT _ilm/policy/ops-delete-after-7d { "policy": { "phases": { "hot": { "actions": {} }, "delete": { "min_age": "7d", "actions": { "delete": {} } } } } } 创建索引模板 1 2 3 4 5 6 7 8 9 10 PUT _index_template/ops-delete-after-7d