输入一个 GitHub repo URL,自动分析该项目、生成符合 Vibe-coding-Cemetery 的 Issue 内容并提交 Issue。适合贡献者使用 /bury-my-project 快速埋葬自己的失败项目。
给定一个 GitHub 仓库 URL,自动完成以下步骤:
用户传入参数格式:$ARGUMENTS 为 GitHub repo URL,例如 https://github.com/user/failed-project
使用 Agent 工具(Explore subagent)读取并分析目标仓库内容:
判断分类:
根据分析结果,生成符合 Issue 模板格式的内容:
### 项目名称
{项目名}
### 归属分类
{分类名(下拉选项文字)}
### 当初的幻觉 (Vision)
{一句话描述当初想做什么}
### 死亡原因 (Cause of Death)
{详细的尸检报告:失败原因、发现的问题、放弃的契机}
### 技术栈
{列出主要技术/AI 模型}
### 项目链接
{原始仓库 URL}
### 墓志铭(可选)
{一句幽默或深刻的总结}
分类选项(必须与 Issue 模板下拉选项一致):
用 gh issue create 在 Vibe-coding-Cemetery 仓库创建 Issue,同时打上 auto-generated 和 pending 标签:
gh issue create \
--repo codetodamoon/Vibe-coding-Cemetery \
--title "🪦 Bury: {项目名}" \
--body "$(cat <<'EOF'
### 项目名称
{项目名}
### 归属分类
{分类名(下拉选项文字)}
### 当初的幻觉 (Vision)
{愿景}
### 死亡原因 (Cause of Death)
{死亡笔记摘要}
### 技术栈
{技术栈}
### 项目链接
{原始仓库 URL}
### 墓志铭(可选)
{墓志铭}
---
*由 /bury-my-project 自动生成*
EOF
)" \
--label "auto-generated" \
--label "pending"
github.com/user/repo、user/repo、https://github.com/user/repo